]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove DO_NOT_USE_THIS conditionals.
[glibc.git] / ChangeLog
CommitLineData
c7cabd13
OB
12013-09-10 Ondřej Bílka <neleai@seznam.cz>
2
3 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8
cdfc721b
AM
92013-09-10 Allan McRae <allan@archlinux.org>
10
aa04af00
AM
11 [BZ #15748]
12 * manual/arith.texi (Parsing of Floats): Clarify
13 cross-reference.
14
cdfc721b
AM
15 [BZ #15849]
16 * manual/install.texi (Running make install): Mention
17 --enable-pt-chown.
18 * INSTALL: Regenerated.
19
95e7cf29
MR
202013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21
22 * csu/init-first.c (_init): Remove the !SHARED condition around
23 FPU control word initialization.
24 * elf/dl-support.c (_dl_fpu_control): New variable.
25 (_dl_aux_init) <AT_FPUCW>: Initialize it.
26 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28 * math/test-fpucw-static.c: New file.
29 * math/test-fpucw-ieee.c: New file.
30 * math/test-fpucw-ieee-static.c: New file.
31 * math/Makefile (tests): Add `test-fpucw-ieee' and
32 `$(tests-static)'.
33 (tests-static): New variable.
34 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
35 dependency to...
36 [($(build-shared),yes)]
37 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38 ... this.
39 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40 New dependency.
41
83e43bf0
AM
422013-09-09 Allan McRae <allan@archlinux.org>
43
a9f5ce09
AM
44 [BZ #15939]
45 * manual/string.texi (Collation Functions): Fix typo in
46 strcoll example.
47 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48
34829bc2
AM
49 [BZ #15893]
50 * stdlib/isomac.c (get_null_defines): Fix memory leak.
51
3932737d
AM
52 [BZ #15892]
53 * libio/memstream.c (open_memstream): Fix memory leak.
54 * libio/wmemstream.c (open_wmemstream): Likewise.
55
83e43bf0
AM
56 [BZ #15895]
57 * nscd/netgroupcache.c: Fix nesting of ifdefs.
58
0c66b8e9
WN
592013-09-09 Will Newton <will.newton@linaro.org>
60
61 * malloc/Makefile: Add tst-realloc to tests.
62 * malloc/tst-realloc.c: New file.
63
f6b00fd1
AM
642013-09-09 Allan McRae <allan@archlinux.org>
65
66 [BZ #15844]
67 * COPYING: Update from GNU website to fix FSF address.
68 * COPYING.LIB: Likewise.
69
eec55e16
DM
702013-09-06 David S. Miller <davem@davemloft.net>
71
72 * po/zh_TW.po: Update Chinese (traditional) translation from
73 translation project.
74
1ecbb381
RS
752013-09-06 Richard Sandiford <richard@codesourcery.com>
76 Joseph Myers <joseph@codesourcery.com>
77
78 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
79 "localeinfo.h".
80 (obstack_chunk_alloc): New macro.
81 (obstack_chunk_free): Likewise.
82 (record_offset): New function.
83 (init_locale_data): Likewise.
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): Take locale_file structure rather than an
98 iovec.
99 * locale/programs/locfile.h: Include "obstack.h".
100 (struct locale_file): Change to store locale file contents instead
101 of header.
102 (init_locale_data): New prototype.
103 (align_locale_data): Likewise.
104 (add_locale_empty): Likewise.
105 (add_locale_raw_data): Likewise.
106 (add_locale_raw_obstack): Likewise.
107 (add_locale_string): Likewise.
108 (add_locale_wstring): Likewise.
109 (add_locale_uint32): Likewise.
110 (add_locale_uint32_array): Likewise.
111 (add_locale_char): Likewise.
112 (start_locale_structure): Likewise.
113 (end_locale_structure): Likewise.
114 (start_locale_prelude): Likewise.
115 (end_locale_prelude): Likewise.
116 (write_locale_data): Update prototype.
117 * locale/programs/3level.h (struct TABLE): Remove result field.
118 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
119 Use new locale_file interface.
120 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
121 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
122 * locale/programs/ld-address.c (address_output): Use new
123 locale_file interface.
124 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
125 NO_ADD_LOCALE.
126 (collate_finish): Don't call collseq_table_finalize.
127 (collate_output): Use new locale_file interface.
128 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
129 in file.
130 (NO_FINALIZE): Change to NO_ADD_LOCALE.
131 (TABLE): Move defines earlier in file.
132 (ELEMENT): Likewise.
133 (DEFAULT): Likewise.
134 (wctrans_table_add): Move macro and inline function earlier in
135 file.
136 (struct wctype_table): Move type earlier in file.
137 (add_locale_wctype_table): New static prototype.
138 (struct locale_ctype_t): Use logical types instead of struct iovec
139 pointers for members.
140 (ctype_output): Use new locale_file interface.
141 (wctype_table_finalize): Change to add_locale_wctype_table. Use
142 new locale_file interface.
143 (allocate_arrays): Update for use of new locale_file interface.
144 * locale/programs/ld-identification.c (identification_output): Use
145 new locale_file interface.
146 * locale/programs/ld-measurement.c (measurement_output): Likewise.
147 * locale/programs/ld-messages.c (messages_output): Likewise.
148 * locale/programs/ld-monetary.c (monetary_output): Likewise.
149 * locale/programs/ld-name.c (name_output): Likewise.
150 * locale/programs/ld-numeric.c (numeric_output): Likewise.
151 * locale/programs/ld-paper.c (paper_output): Likewise.
152 * locale/programs/ld-telephone.c (telephone_output): Likewise.
153 * locale/programs/ld-time.c (time_output): Likewise.
154
e029e2e5
AZ
1552013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
156
157 * benchtests/Makefile: Add memrchr benchmark.
158 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
159 benchmark as memrchr.
160 * benchtests/bench-memrchr-ifunc.c: New file.
161 * benchtests/bench-memrchr.c: New file.
162
bbf6e8e4
WN
1632013-09-06 Will Newton <will.newton@linaro.org>
164
165 * benchtests/Makefile (string-bench): Add memcpy.
166
6c82a2f8
CD
1672013-09-05 Carlos O'Donell <carlos@redhat.com>
168 Cong Wang <amwang@redhat.com>
169
170 * sysdeps/unix/sysv/linux/bits/in.h
171 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
172 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
173 before __USE_KERNEL_IPV6_DEFS uses.
174 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
175 IPPROTO_BEETPH.
176 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
177 sockaddr_in6, or ipv6_mreq.
178
5430fc65
AZ
1792013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
180
181 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
182 memory access for final bytes in some large inputs.
183 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
184
4660856c
AZ
1852013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
186
187 * string/test-memrchr.c: New file.
188 * string/test-memrchr-ifunc.c: New file.
189 * string/Makefile: Add new memrchr testcase.
190
bb8ea713
MF
1912013-09-05 Mike Frysinger <vapier@gentoo.org>
192
193 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
194 fanotify_init returns EPERM.
195
b92a20b5
JM
1962013-09-04 Joseph Myers <joseph@codesourcery.com>
197
198 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
199 errors.
200 (top level): Treat second token from macro or constant entries for
201 allowed headers as allowed.
202 * include/complex.h: Condition internal declarations on
203 [!_ISOMAC].
204 * include/fenv.h: Condition include of <stdbool.h> and internal
205 declarations on [!_ISOMAC].
7447ccd9
CL
206
2072013-09-04 Chris Leonard <cjl@sugarlabs,.org>
208
209 [BZ #15923]
210 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
211
3f2e46a4
JM
2122013-09-04 Joseph Myers <joseph@codesourcery.com>
213
214 * configure.in (--enable-versioning): Remove configure option.
215 (libc_cv_asm_symver_directive): Remove configure test.
216 (libc_cv_ld_version_script_option): Likewise.
217 (VERSIONING): Remove variable and AC_SUBST.
218 (DO_VERSIONING): Remove AC_DEFINE.
219 * configure: Regenerated.
220 * config.h.in (DO_VERSIONING): Remove macro.
221 * Makerules [$(versioning) = yes]: Change conditionals to
222 [$(build-shared) = yes].
223 * config.make.in (versioning): Remove variable.
224 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
225 [$(build-shared) = yes].
226 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
227 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
228 * elf/Makefile [$(versioning) = yes]: Change conditionals to
229 [$(build-shared) = yes].
230 * extra-lib.mk [$(versioning) = yes]: Likewise.
231 * hurd/Makefile [$(versioning) = yes]: Likewise.
232 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
233 [SHARED].
234 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
235 [SHARED].
236 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
237 [SHARED && !NO_HIDDEN].
238 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
239 [SHARED].
240 [SHARED && DO_VERSIONING]: Likewise..
241 * libio/Makefile [$(versioning) = yes]: Change conditionals to
242 [$(build-shared) = yes].
243 * manual/install.texi (--disable-versioning): Remove
244 documentation.
245 * INSTALL: Regenerated.
246 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
247 to [SHARED].
248 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
249 [$(build-shared) = yes].
250 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
251 * sysdeps/i386/i686/multiarch/strstr-c.c
252 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
253 [SHARED && !NO_HIDDEN].
254 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
255 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
256 * sysdeps/powerpc/powerpc32/dl-machine.c
257 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
258 * sysdeps/powerpc/powerpc32/sysdep.h
259 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
260 to [SHARED && PIC && !NO_HIDDEN].
261 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
262 conditional to [SHARED].
263
44558701
WN
2642013-09-04 Will Newton <will.newton@linaro.org>
265
266 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
267 * benchtests/bench-string.h: Include bench-timing.h instead
268 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
269 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
270 call to HP_TIMING_DIFF_INIT.
271 * benchtests/bench-memccpy.c: Use bench-timing.h macros
272 instead of hp-timing.h macros.
273 * benchtests/bench-memchr.c: Likewise.
274 * benchtests/bench-memcmp.c: Likewise.
275 * benchtests/bench-memcpy.c: Likewise.
276 * benchtests/bench-memmem.c: Likewise.
277 * benchtests/bench-memmove.c: Likewise.
278 * benchtests/bench-memset.c: Likewise.
279 * benchtests/bench-rawmemchr.c: Likewise.
280 * benchtests/bench-strcasecmp.c: Likewise.
281 * benchtests/bench-strcasestr.c: Likewise.
282 * benchtests/bench-strcat.c: Likewise.
283 * benchtests/bench-strchr.c: Likewise.
284 * benchtests/bench-strcmp.c: Likewise.
285 * benchtests/bench-strcpy.c: Likewise.
286 * benchtests/bench-strcpy_chk.c: Likewise.
287 * benchtests/bench-strlen.c: Likewise.
288 * benchtests/bench-strncasecmp.c: Likewise.
289 * benchtests/bench-strncat.c: Likewise.
290 * benchtests/bench-strncmp.c: Likewise.
291 * benchtests/bench-strncpy.c: Likewise.
292 * benchtests/bench-strnlen.c: Likewise.
293 * benchtests/bench-strpbrk.c: Likewise.
294 * benchtests/bench-strrchr.c: Likewise.
295 * benchtests/bench-strspn.c: Likewise.
296 * benchtests/bench-strstr.c: Likewise.
297
cae16d66
WN
2982013-09-04 Will Newton <will.newton@linaro.org>
299
300 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
301
ffa3cd7f
JM
3022013-09-03 Joseph Myers <joseph@codesourcery.com>
303
304 [BZ #15427]
305 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
306 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
307 * math/libm-test.inc (lgamma_test_data): Add more tests.
308 * sysdeps/i386/fpu/libm-test-ulps: Update.
309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
310
8f02859f
OB
3112013-09-03 Ondřej Bílka <neleai@seznam.cz>
312
313 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
315 Add ifunc.
316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
317 Add strcmp-sse2-unaligned
318 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
319
18d43716
MF
3202013-09-02 Mike Frysinger <vapier@gentoo.org>
321
322 * Versions.def (libc): Add GLIBC_2.19.
323
ac444012
MF
3242013-09-02 Mike Frysinger <vapier@gentoo.org>
325
326 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
327 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
328
b7835e32
JM
3292013-09-02 Joseph Myers <joseph@codesourcery.com>
330
331 [BZ #14155]
332 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
333 intermediate calculations in recurrence.
334 (__ieee754_ynf): Likewise.
335 * math/libm-test.inc (jn_test_data): Do not allow spurious
336 underflow exception. Add more tests.
337 (yn_test_data): Add more tests.
338 * sysdeps/i386/fpu/libm-test-ulps: Update.
339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
340
8220f4f0
OB
3412013-09-02 Ondřej Bílka <neleai@seznam.cz>
342
343 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
344
f24a6d08
OB
3452013-08-30 Ondřej Bílka <neleai@seznam.cz>
346
347 * csu/init-first.c: Fix then/than typos.
348 * locale/programs/ld-collate.c: Likewise.
349 * locale/programs/linereader.h: Likewise.
350 * manual/charset.texi: Likewise.
351 * manual/filesys.texi: Likewise.
352 * manual/stdio.texi: Likewise.
353 * manual/string.texi: Likewise.
354 * stdlib/fmtmsg.c: Likewise.
355 * sysdeps/i386/stpncpy.S: Likewise.
356 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
357 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
358 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
359 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
360
382466e0
OB
3612013-08-30 Ondřej Bílka <neleai@seznam.cz>
362
363 * elf/dl-open.c: Fix typos.
364 * iconvdata/gbbig5.c: Likewise.
365 * iconvdata/iso-2022-jp.c: Likewise.
366 * iconv/gconv_int.h: Likewise.
367 * iconv/loop.c: Likewise.
368 * nis/rpcsvc/nis.h: Likewise.
369 * resolv/ns_name.c: Likewise.
370 * stdio-common/vfscanf.c: Likewise.
371 * streams/stropts.h: Likewise.
372 * sunrpc/rpc_thread.c: Likewise.
373 * sysdeps/i386/strpbrk.S: Likewise.
374 * sysdeps/ieee754/k_standard.c: Likewise.
375 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
376 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
377 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
378 * sysdeps/mach/hurd/profil.c: Likewise.
379 * sysdeps/s390/dl-procinfo.h: Likewise.
380 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
381 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
382 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
383 * sysdeps/x86_64/dl-trampoline.S: Likewise.
384 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
385
0186c6e9
OB
3862013-08-30 Ondřej Bílka <neleai@seznam.cz>
387
388 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
390
d4e16af1
OB
3912013-08-29 Ondřej Bílka <neleai@seznam.cz>
392
393 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
394 aix specific files.
395 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
396 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
397 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
398 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
399 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
400 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
401 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
402 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
403
88335980
TS
4042013-08-29 Thomas Schwinge <thomas@codesourcery.com>
405 Roland McGrath <roland@hack.frob.com>
406
407 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
408 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
409
ed479b02
ST
4102013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
411
412 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
413 __executable_start symbol instead of _start.
414
f1cc4c86
TS
4152013-08-29 Thomas Schwinge <thomas@codesourcery.com>
416
d821f07c
TS
417 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
418 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
419 Move macros to...
420 * sysdeps/gnu/ldsodefs.h: ... this new file.
421
c54290cf
TS
422 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
423 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
424 instead of ELFOSABI_LINUX.
425
0007fc9b 426 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
427 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
428 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
429 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
430 Likewise.
431 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
432 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
433 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
434 Likewise.
435 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
436 (ibm_extended_long_double): Add ieee_nan member.
437 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
438 (do_test): New function.
439
f1cc4c86
TS
440 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
441 TEST_TRUNC.
442 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
443 functions, renamed from truncdfsf_test, trunctfsf_test,
444 trunctfdf_test.
445 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
446 functions.
447 (do_test): Run all these.
448
6f65e668
OB
4492013-08-29 Ondřej Bílka <neleai@seznam.cz>
450
451 * argp/argp-help.c: Fix typos.
452 * argp/argp-parse.c: Likewise.
453 * debug/backtracesyms.c: Likewise.
454 * elf/elf.h: Likewise.
455 * malloc/malloc.c: Likewise.
456 * nis/nis_print.c: Likewise.
457 * resolv/res_comp.c: Likewise.
458 * stdlib/stdlib.h: Likewise.
459 * sunrpc/clnt_tcp.c: Likewise.
460 * sunrpc/clnt_udp.c: Likewise.
461 * sunrpc/clnt_unix.c: Likewise.
462 * sysdeps/unix/bsd/ptsname.c: Likewise.
463 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
464 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
466 Likewise.
467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
468 Likewise.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
470 Likewise.
6f65e668
OB
471 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
472
3a309239
SP
4732013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
474
475 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
477
3b813b29
MF
4782013-08-27 Mike Frysinger <vapier@gentoo.org>
479
480 [BZ #15897]
481 * dlfcn/Makefile (tests): Add bug-dl-leaf.
482 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
483 ($(objpfx)bug-dl-leaf): New rule.
484 ($(objpfx)bug-dl-leaf.so): Likewise.
485 ($(objpfx)bug-dl-leaf.out): Likewise.
486 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
487 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
488 * dlfcn/bug-dl-leaf.c: New test.
489 * dlfcn/bug-dl-leaf-lib.c: Likewise.
490 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
491 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
492 (dlclose): Likewise.
493 (dlmopen): Likewise.
494
8cc3269f
RM
4952013-08-27 Roland McGrath <roland@hack.frob.com>
496
7f9d0034
RM
497 * include/netdb.h [!_ISOMAC]:
498 Don't include <tls.h>.
499 (h_errno, __libc_h_errno): Move declaration and macros out of
500 [_LIBC_REENTRANT].
501
fb431262
RM
502 * include/resolv.h [_RESOLV_H_]:
503 Don't include <tls.h>.
504 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
505 * resolv/res_libc.c: Don't include <tls.h>.
506 (_res): Use __attribute__ ((nocommon)) in place of
507 __attribute__ ((section (".bss"))).
508
bd81123a
RM
509 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
510 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
511
c4e42566
RM
512 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
513
f890a59b
RM
514 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
515 only under [SIOCGIFCONF && SIOCGIFNETMASK].
516
517 * resolv/res_mkquery.c: Include <sys/time.h>.
518
5d1f0a09
RM
519 * inet/ifreq.c: Moved to ...
520 * sysdeps/unix/ifreq.c: ... here.
521 * inet/ifreq.c: New file, true stub version.
522
6fcf28b3
RM
523 * socket/sa_len.c: New file.
524 * socket/Makefile (aux): Add it.
525 * sysdeps/unix/sysv/linux/Makefile
526 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
527 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
528 and #include <socket/sa_len.c>.
529 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
530 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
531
e041fb8b
RM
532 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
533 * bits/socket.h: ... here.
534
8cc3269f
RM
535 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
536 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
537 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
538
5d228a43
AS
5392013-08-27 Andreas Schwab <schwab@suse.de>
540
45b8accc
AS
541 [BZ #15736]
542 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
543 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
544 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
545 * string/test-strcasecmp.c (test_main): Run tests in several
546 locales.
547 * string/test-strncasecmp.c (test_main): Likewise.
548
5d228a43
AS
549 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
550 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
551 to __strcasecmp_nonascii and __strncasecmp_nonascii.
552 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
553 (__strncasecmp_ssse3) [PIC]: Likewise.
554
59d112a4
RM
5552013-08-26 Roland McGrath <roland@hack.frob.com>
556
53234cc3
RM
557 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
558
59d112a4
RM
559 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
560 instead of explicitly declaring xdecrypt.
561 * nis/nss_nis/nis-publickey.c: Likewise.
562
595aba70
SP
5632013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
564
565 [BZ #15890]
566 * nscd/aicache.c: Include res_hconf.h.
567 (addhstaiX): Initialize res_hconf.
568
ffabd393
AS
5692013-08-26 Andreas Schwab <schwab@suse.de>
570
571 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
572 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
573
e0a69f5c
SP
5742013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
575
576 * nscd/aicache.c (addhstaiX): Fix indentation.
577
8c12f01d
MF
5782013-08-25 Mike Frysinger <vapier@gentoo.org>
579
580 * configure.ac: Quote $build_pt_chown test.
581 * configure: Regenerated.
582
8fe89494
JM
5832013-08-23 Joseph Myers <joseph@codesourcery.com>
584
585 [BZ #15532]
586 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
587 * math/s_cexpf.c (__cexpf): Likewise.
588 * math/s_cexpl.c (__cexpl): Likewise.
589 * math/libm-test.inc (cexp_test_data): Correct expected return
590 value for NaN + i0. Add another test.
591
75b181d6
DM
5922013-08-22 David S. Miller <davem@davemloft.net>
593
594 * po/ca.po: Update Catalan translation from translation project.
936241e4 595 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 596
acd06bb1
JM
5972013-08-21 Joseph Myers <joseph@codesourcery.com>
598
599 [BZ #15797]
600 * math/s_fdim.c (__fdim): Check for infinite arguments if result
601 is infinite, not alongside NaN test.
602 * math/s_fdimf.c (__fdimf): Likewise.
603 * math/s_fdiml.c (__fdiml): Likewise.
604 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
605 errno is unchanged.
606
c0c3f78a
OB
6072013-08-21 Ondřej Bílka <neleai@seznam.cz>
608
609 * argp/argp-help.c: Fix typos.
610 * crypt/speeds.c: Likewise.
611 * csu/check_fds.c: Likewise.
612 * elf/dl-load.c: Likewise.
613 * elf/dl-open.c: Likewise.
614 * elf/reldep3.c: Likewise.
615 * elf/reldep.c: Likewise.
616 * elf/sprof.c: Likewise.
617 * iconv/iconv_charmap.c: Likewise.
618 * iconv/skeleton.c: Likewise.
619 * iconv/strtab.c: Likewise.
620 * io/lockf64.c: Likewise.
621 * libio/libioP.h: Likewise.
622 * resolv/gai_notify.c: Likewise.
623 * resolv/ns_name.c: Likewise.
624 * resolv/ns_samedomain.c: Likewise.
625 * resolv/res_send.c: Likewise.
626 * stdlib/random.c: Likewise.
627 * sunrpc/rpc/xdr.h: Likewise.
628 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
629 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
630 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
631 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
632 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
633 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
634 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
635 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
636 * sysdeps/mach/hurd/check_fds.c: Likewise.
637 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
638 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
639 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
640 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
641 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
642 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
643 * sysdeps/pthread/aio_notify.c: Likewise.
644 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
645 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
646 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
647 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
648 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
649
46ed1038
LD
6502013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
651
652 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
653 version if bit_Slow_SSE4_2 is set.
654 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
655 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
656
d400dcac
AZ
6572013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
658
659 [BZ #15867]
660 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
661 trampoline stack frame information.
662 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
663 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
664 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
665 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
666 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
667 * sysdeps/unix/sysv/linux/powerpc/init-first.c
668 (_libc_vdso_platform_setup): Initialize the signal trampolines.
669 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
670 sa_flags value.
671 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
672 interrupting a syscall and set with option SA_SIGINFO.
673
42c8fdd8
JM
6742013-08-20 Joseph Myers <joseph@codesourcery.com>
675
c980f2f4
JM
676 [BZ #15531]
677 * math/s_cproj.c (__cproj): Only return an infinity if one part of
678 argument is infinite.
679 * math/s_cprojf.c (__cprojf): Likewise.
680 * math/s_cprojl.c (__cprojl): Likewise.
681 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
682 * math/libm-test.inc (cproj_test_data): Add more tests.
683
0716c4fc
JM
684 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
685
42c8fdd8
JM
686 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
687 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
688 size. Use __ffs to determine corresponding shift.
689
b31469d0
JM
6902013-08-20 Joseph Myers <joseph@codesourcery.com>
691 Roland McGrath <roland@hack.frob.com>
692
693 * Makefile (INSTALL): Remove trailing blank lines from output of
694 makeinfo.
695
4e39af6e
AK
6962013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
697
698 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
699 Align 32 bit compat elf_greg to 8 bytes.
700
f315524e
AA
7012013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
702
703 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
704
1326ba1a
SP
7052013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
706
707 * string/strcoll_l.c (coll_seq): New structure.
708 (get_next_seq_cached): New function.
709 (get_next_seq): New function.
710 (do_compare): New function.
711 (STRCOLL): Use GNU style definition. Simplify implementation
712 by using get_next_seq, get_next_seq_cached and do_compare.
713
91ce4085
FW
7142013-08-16 Florian Weimer <fweimer@redhat.com>
715
716 [BZ #14699]
717 CVE-2013-4237
718 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
719 member.
720 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
721 member.
722 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
723 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
724 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
725 conditional.
726 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
727 GETDENTS_64BIT_ALIGNED.
728 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
729 * manual/filesys.texi (Reading/Closing Directory): Document
730 ENAMETOOLONG return value of readdir_r. Recommend readdir more
731 strongly.
732 * manual/conf.texi (Limits for Files): Add portability note to
733 NAME_MAX, PATH_MAX.
734 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
735
ca0a6bc4
AS
7362013-08-13 Andreas Schwab <schwab@suse.de>
737
738 [BZ #15749]
739 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
740 of fabs.
741 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
742 LDBL_MAX_EXP >= 16384]: Add tests for it.
743
6c1fd795
DM
7442013-08-12 David S. Miller <davem@davemloft.net>
745
746 * version.h (RELEASE): Set to "development".
747 (VERSION): Set to "2.18.90".
748 * NEWS: Add 2.19 section.
749
31ad488d
DM
7502013-08-03 David S. Miller <davem@davemloft.net>
751
752 * po/ko.po: Update Korean translation from translation project.
753
db24e684
DM
7542013-08-01 David S. Miller <davem@davemloft.net>
755
756 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
757 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
758 Bilka.
759
f723285b
DM
7602013-07-30 David S. Miller <davem@davemloft.net>
761
762 * po/fr.po: Update French translation from translation project.
763
3cbc52db
DM
7642013-07-28 David S. Miller <davem@davemloft.net>
765
30bbc0cc
DM
766 * po/cs.po: Update Czech translation from translation project.
767
3cbc52db
DM
768 * po/sv.po: Update Swedish translation from translation project.
769
d492e6d0
DM
7702013-07-27 David S. Miller <davem@davemloft.net>
771
f1a7f492
DM
772 * po/eo.po: Update Esperanto translation from translation project.
773
90e62a4a
DM
774 * po/vi.po: Update Vietnamese translation from translation project.
775
d492e6d0
DM
776 * po/de.po: Update German translation from translation project.
777
d4baa62d
DM
7782013-07-26 David S. Miller <davem@davemloft.net>
779
641aa7b4
DM
780 * po/bg.po: Update Bulgarian translation from translation project.
781
d4baa62d
DM
782 * po/nl.po: Update Dutch translation from translation project.
783 * po/pl.po: Update Polish translation from translation project.
784 * po/ru.po: Update Russian translation from translation project.
785
61a9dcb9
DM
7862013-07-24 David S. Miller <davem@davemloft.net>
787
788 * po/libc.pot: Update.
789
7b1f8b58
AZ
7902013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
791
792 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
793 variable page size.
794 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
795 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
796 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
797
a8fc7a03
AK
7982013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
799
800 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
801
e4608715
CD
8022013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
803 Andreas Schwab <schwab@suse.de>
804 Roland McGrath <roland@hack.frob.com>
805 Joseph Myers <joseph@codesourcery.com>
806 Carlos O'Donell <carlos@redhat.com>
807
808 [BZ #15755]
809 * config.h.in: Define HAVE_PT_CHOWN.
810 * config.make.in (build-pt-chown): New variable.
811 * configure.in (--enable-pt_chown): New configure option.
812 * configure: Regenerate.
813 * login/Makefile: Include Makeconfig. Build pt_chown only if
814 build-pt-chown is enabled.
815 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
816 pt_chown to fix pty ownership.
817 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
818 CLOSE_ALL_FDS.
819 * manual/install.texi (Configuring and compiling): Mention
820 --enable-pt_chown. Add @findex for grantpt.
821 * INSTALL: Regenerate.
822
da2d62df
DM
8232013-07-20 David S. Miller <davem@davemloft.net>
824
825 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
826 difference between 32-bit and 64-bit.
827
d7e06450
CD
8282013-07-15 Carlos O'Donell <carlos@redhat.com>
829
830 [BZ #15711]
831 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
832 Avoid system header dependency with -ffreestanding.
833 ($(objpfx)bits/syscall%d): Likewise.
834
f959cfd7
DM
8352013-07-13 David S. Miller <davem@davemloft.net>
836
837 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
838 underflows from atanl/atan2l due to bug 15319.
839 (casinh_test_data): Likewise.
840
c61f8513
DM
8412013-07-07 David S. Miller <davem@davemloft.net>
842
843 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
844
72c90ed0
JA
8452013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
846
847 * sysdeps/i386/fpu/libm-test-ulps: Update.
848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
849
52dfbe13
SP
8502013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
851
852 * configure.in (--enable-lock-elision): Fix message text.
853 * INSTALL: Regenerate.
854 * configure: Regenerate.
855
3f169543
AZ
8562013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
857
858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
859
521c6785
AJ
8602013-07-03 Andreas Jaeger <aj@suse.de>
861
862 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
863 define.
864 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
865 (ptrace_peeksiginfo_args): Add.
866 (__ptrace_peeksiginfo_flags): Add.
867 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
868 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
869 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
870
d2cc15cb
AM
8712013-07-03 Allan McRae <allan@archlinux.org>
872
873 * sysdeps/i386/fpu/libm-test-ulps: Update.
874
3aaeeca7
DM
8752013-07-02 David S. Miller <davem@davemloft.net>
876
877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
878
5314ed1a
MT
8792013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
880
881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
882
67338156
JM
8832013-07-02 Joseph Myers <joseph@codesourcery.com>
884
885 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
887
1717da59
AK
8882013-07-02 Andi Kleen <ak@linux.intel.com>
889
890 * config.h.in (ENABLE_LOCK_ELISION): Add.
891 * configure.in (--enable-lock-elision): Add option.
892 * manual/install.texi: Document --enable lock elision.
893 * configure: Regenerate
894 * INSTALL: Regenerate.
895
1c81621c
L
8962013-07-02 H.J. Lu <hongjiu.lu@intel.com>
897
898 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
899 SSE4.2 strcasecmp for libc.a.
900 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
901
77f01ab5
JM
9022013-07-02 Joseph Myers <joseph@codesourcery.com>
903
904 [BZ #13304]
905 * soft-fp/op-common.h (_FP_FMA): New macro.
906 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
907 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
908 (_FP_MUL_MEAT_1_imm): ... here.
909 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
910 (_FP_MUL_MEAT_1_wide): ... here.
911 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
912 (_FP_MUL_MEAT_1_hard): ... here.
913 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
914 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
915 (_FP_MUL_MEAT_2_wide): ... here.
916 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
917 (_FP_MUL_MEAT_2_wide_3mul): ... here.
918 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
919 (_FP_MUL_MEAT_2_gmp): ... here.
920 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
921 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
922 (_FP_MUL_MEAT_4_wide): ... here.
923 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
924 (_FP_MUL_MEAT_4_gmp): ... here.
925 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
926 (_FP_WFRACBITS_DW_S): Likewise.
927 (_FP_WFRACXBITS_DW_S): Likewise.
928 (_FP_HIGHBIT_DW_S): Likewise.
929 (FP_FMA_S): Likewise.
930 (_FP_FRAC_HIGH_DW_S): Likewise.
931 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
932 (_FP_WFRACBITS_DW_D): Likewise.
933 (_FP_WFRACXBITS_DW_D): Likewise.
934 (_FP_HIGHBIT_DW_D): Likewise.
935 (FP_FMA_D): Likewise.
936 (_FP_FRAC_HIGH_DW_D): Likewise.
937 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
938 (_FP_WFRACBITS_DW_E): Likewise.
939 (_FP_WFRACXBITS_DW_E): Likewise.
940 (_FP_HIGHBIT_DW_E): Likewise.
941 (FP_FMA_E): Likewise.
942 (_FP_FRAC_HIGH_DW_E): Likewise.
943 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
944 (_FP_WFRACBITS_DW_Q): Likewise.
945 (_FP_WFRACXBITS_DW_Q): Likewise.
946 (_FP_HIGHBIT_DW_Q): Likewise.
947 (FP_FMA_Q): Likewise.
948 (_FP_FRAC_HIGH_DW_Q): Likewise.
949 * soft-fp/fmasf4.c: New file.
950 * soft-fp/fmadf4.c: Likewise.
951 * soft-fp/fmatf4.c: Likewise.
952
6308fd9a
LD
9532013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
954
955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
956 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
957 Silvermont.
958 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
959 macro.
960 (index_Slow_SSE4_2): Likewise.
961 (index_Prefer_PMINUB_for_stringop): Likewise.
962 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
963 bit_Slow_SSE4_2 is set.
964 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
965 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
966
89cd9569
RA
9672013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
968
969 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
970 rtld_global._dl_hwcap2.
971 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
972 POWER8.
973 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
974 POWER8 feature descriptions defined in _dl_hwcap2.
975 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
976 string handling for POWER8 feature bits.
977 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
978 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
979 _dl_powerpc_cap_flags.
980 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
981 * sysdeps/powerpc/rtld-global-offsets.sym
982 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
983 _dl_hwcap2 in the rtld_global_ro structure.
984
1ae8bfe0
RA
9852013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
986
987 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
988 hardware capabilities in support of AT_HWCAP2.
989 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
990 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
991 GLRO(dl_hwcap2).
992 (_dl_show_auxv): Add support for calling _dl_procinfo to display
993 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
994 explicitly the unknown a_type display mechanism is used.
995 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
996 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
997 struct member.
998 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
999 to macro prototype for AT_HWCAP2 support.
1000 * sysdeps/i386/dl-procinfo.h: Likewise.
1001 * sysdeps/s390/dl-procinfo.h: Likewise.
1002 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1003 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1004 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1005 return -1 for unknown a_type display fallback.
1006 * sysdeps/sparc/dl-procinfo.h: Likewise.
1007 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1008 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1009
8fbec010
JM
10102013-06-28 Joseph Myers <joseph@codesourcery.com>
1011
1012 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1013 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1014
0432680e
PY
10152013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1016
1017 [BZ #12492]
1018 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1019 mprotect making __stack_prot writable.
1020
ce61a2ad
NF
10212013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1022 Joseph Myers <joseph@codesourcery.com>
1023
1024 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1025 as being properly aligned.
1026
f91f1c0f
MR
10272013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1028
3d0f5d0c
MR
1029 * dlfcn/modstatic5.c: New file.
1030 * dlfcn/tststatic5.c: New file.
1031 * dlfcn/Makefile (tests): Add tststatic5.
1032 (tests-static): Likewise.
1033 (modules-names): Add modstatic5.
1034 (tststatic5-ENV): New variable.
1035 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1036
f91f1c0f
MR
1037 [BZ #15022]
1038 * elf/dl-support.c (_dl_main_map): New variable.
1039 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1040 (_dl_nns, _dl_load_adds): Set to 1.
1041 (_dl_initial_searchlist): Refer to _dl_main_map.
1042 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1043 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1044 call to _dl_get_origin.
1045 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1046 around call_map.
1047 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1048 * dlfcn/modstatic3.c: New file.
1049 * dlfcn/tststatic3.c: New file.
1050 * dlfcn/tststatic4.c: New file.
1051 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1052 (tests-static): Likewise.
1053 (modules-names): Add modstatic3.
1054 (tststatic3-ENV, tststatic4-ENV): New variables.
1055 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1056 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1057
cbe7d24b
JM
10582013-06-26 Joseph Myers <joseph@codesourcery.com>
1059
1060 * configure.in (CC): Require GCC version 4.4 or later.
1061 * configure: Regenerated.
1062 * manual/install.texi (Tools for Compilation): Update GCC version
1063 requirement.
1064 * INSTALL: Regenerated.
1065
11b8a0e1
LD
10662013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1067
1068 [BZ #15674]
bb5bb87c
L
1069 * string/test-memcmp.c (check2): New.
1070 (main): Call check2.
1071
11b8a0e1
LD
1072 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1073
b0037103
MR
10742013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1075
1076 [BZ #15022]
1077 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1078 over to...
1079 (dl_open_worker) [!SHARED]: ... here.
1080
c18c701d
RA
10812013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1082
1083 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1084
1d17fa5f
RH
10852013-06-25 Richard Henderson <rth@redhat.com>
1086
1087 * locale/programs/locarchive.c: Include <libc-internal.h>
1088
8fcb833a
JM
10892013-06-25 Joseph Myers <joseph@codesourcery.com>
1090
1091 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1092 trailing whitespace removed.
1093
17db6e8d
MF
10942013-06-24 Mike Frysinger <vapier@gentoo.org>
1095
1096 [BZ #10283]
17db6e8d
MF
1097 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1098 * locale/programs/locarchive.c: Include libc-mmap.h.
1099 (prepare_address_space): Take two new outputs (the mmap base and len).
1100 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1101 values.
1102 (create_archive): Declare new mmap base and len values for
1103 prepare_address_space, and store the result in ah.
1104 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1105 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1106 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1107 Declare new mmap base and len values for
1108 prepare_address_space, and store the result in new_ah.
1109 (open_archive): Declare new mmap base and len values for
1110 prepare_address_space, and store the result in ah.
1111 (close_archive): If ah->mmap_base is not NULL, use that and
1112 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1113 * sysdeps/generic/libc-mmap.h: New file.
1114
d605071e
MF
11152013-06-24 Mike Frysinger <vapier@gentoo.org>
1116
1117 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1118 (ALIGN_UP): Likewise.
1119 (PTR_ALIGN_DOWN): Likewise.
1120 (PTR_ALIGN_UP): Likewise.
1121
2f063a6e
RA
11222013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1123
1124 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1125 entry mapped to PPC_PLATFORM_POWER8.
1126 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1127 POWER8.
1128 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1129 (_dl_string_platform): Add case for exporting platform position for
1130 POWER8.
1131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1132 search path to sysdeps/powerpc/powerpc32/power8 directory.
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1134 search path to sysdeps/powerpc/powerpc64/power8 directory.
1135 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1136 power7 directories.
1137 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1138 power7 directories.
1139
a31ee4b3
SP
11402013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1141
a74ca98f
SP
1142 * INSTALL: Regenerate.
1143
a31ee4b3
SP
1144 * nscd/connections.c (nscd_init): Fix comment.
1145
695c378f
JM
11462013-06-22 Joseph Myers <joseph@codesourcery.com>
1147
d8412221
JM
1148 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1149
695c378f
JM
1150 [BZ #15667]
1151 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1152 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1153
d1d54715
MR
11542013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1155
1156 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1157 DL_DST_REQ_STATIC.
1158 (DL_DST_REQ_STATIC): Remove macro.
1159
8fdda7af
JM
11602013-06-21 Joseph Myers <joseph@codesourcery.com>
1161
1162 [BZ #7006]
1163 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1164 with a shift of 0 bits.
1165
f3bc5e5a
MR
11662013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1167
1168 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1169 $(tststatic-ENV).
1170
be09e8c9
KK
11712013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1172
1173 [BZ #15655]
1174 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1175
85c2e611
AZ
11762013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1177
1178 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1179 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1180 accepts -fno-tree-loop-distribute-patterns.
1181 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1182 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1183 recursive call.
1184 * string/memset.c (memset): Likewise.
1185 * string/test-memmove.c (simple_memmove): Disable loop transformation
1186 to library calls.
1187 * string/test-memset.c (simple_memset): Likewise.
1188 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1189 * benchtests/bench-memset.c (simple_memset): Likewise.
1190 * configure: Regenerated.
1191
c91e0825
JM
11922013-06-20 Joseph Myers <joseph@codesourcery.com>
1193
b8c792af
JM
1194 * math/test-misc.c (main): Ignore fesetround failure when failures
1195 of subsequent rounding tests would be ignored.
1196
c91e0825
JM
1197 [BZ #15654]
1198 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1199 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1200 * math/fegetenv.c (__fegetenv): Return 0.
1201 * math/fegetexcept.c (fegetexcept): Return 0.
1202 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1203 FE_TONEAREST.
1204 * math/feholdexcpt.c (feholdexcept): Return 0.
1205 * math/fesetenv.c (__fesetenv): Return 0.
1206 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1207 argument FE_TONEAREST.
1208 * math/feupdateenv.c (__feupdateenv): Return 0.
1209 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1210
bfcacbde
RM
12112013-06-18 Roland McGrath <roland@hack.frob.com>
1212
1213 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1214 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1215 ($(objpfx)rtld-%.os rules): Use them.
1216
e55a9b25
AZ
12172013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1218
1219 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1220 fields.
1221
346d65b3
RM
12222013-06-17 Roland McGrath <roland@hack.frob.com>
1223
12086fb4
RM
1224 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1225 length of target pattern, then descending length of dependency pattern.
1226 * configure.in (AWK): Require gawk 3.1.2 or newer.
1227 * manual/install.texi (Tools for Compilation): Say that we do.
1228 * configure: Regenerated.
1229
346d65b3
RM
1230 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1231 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1232 * scripts/sysd-rules.awk: ... this new script.
1233 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1234 than a glob-style pattern.
1235
1a846317
JM
12362013-06-17 Joseph Myers <joseph@codesourcery.com>
1237
1238 * math/test-misc.c (main): Do not treat incorrectly rounded
1239 conversions as failure unless ROUNDING_TESTS passes.
1240
8fc75e6f
JM
12412013-06-15 Joseph Myers <joseph@codesourcery.com>
1242
3711a167
JM
1243 [BZ #15631]
1244 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1245 restore exception state around main square root computation, then
1246 check for inexactness explicitly.
1247
8fc75e6f
JM
1248 * math/libm-test.inc (fma_test_data): Add another test.
1249
61dd6208
SP
12502013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1251
adf23d2c
SP
1252 * manual/threads.texi (Non-POSIX Extensions): New document
1253 node. Document pthread_getattr_default_np and
1254 pthread_setattr_default_np.
1255
61dd6208
SP
1256 * Versions.def (libpthread): Add GLIBC_2.18.
1257 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1259 Likewise.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1261 Likewise.
1262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1263 Likewise.
1264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1265 Likewise.
1266 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1267 Likewise.
1268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1269 Likewise.
1270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1271 Likewise.
1272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1273 Likewise.
1274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1275 Likewise.
1276
d086fc7b
LD
12772013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1278
1279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1280 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1281
747ef469
SP
12822013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1283 H.J. Lu <hjl.tools@gmail.com>
1284
1285 [BZ #15627]
1286 * sysdeps/x86_64/rtld-memset.c: Remove file.
1287 * sysdeps/x86_64/rtld-memset.S: New file.
1288
1b2feed2
JM
12892013-06-14 Joseph Myers <joseph@codesourcery.com>
1290
1291 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1292 (test_in_one_mode): Take arguments for whether the rounding mode
1293 is supported for each floating-point type.
1294 (do_test): Pass new arguments to test_in_one_mode using
1295 ROUNDING_TESTS.
1296
a58ad3f8
RM
12972013-06-13 Roland McGrath <roland@hack.frob.com>
1298
1299 * posix/tst-waitid.c (do_test): Distinguish different instances of
1300 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1301 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1302 before entering the kernel for waitpid.
1303
c204ab28
SP
13042013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1305
1306 * NEWS: Fix note on clock function precision. Text by Roland
1307 McGrath.
1308
f4a29fba
RM
13092013-06-13 Roland McGrath <roland@hack.frob.com>
1310
1311 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1312 it into place only when and if the sanity check passes.
1313
1f24b9ad
JM
13142013-06-13 Joseph Myers <joseph@codesourcery.com>
1315
1316 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1317 output for whether conversion result is exact. Take argument
1318 indicating whether type is IBM long double.
1319 (round_for_all): Change need_exact field to ibm_ld.
1320 * stdlib/tst-strtod-round.c (struct exactness): New type.
1321 (struct test): Change bool ld_ok field to struct exactness exact.
1322 (TEST): Update all definitions for change to field.
1323 (tests): Regenerate array contents.
1324 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1325 field value. Check for IBM long double here.
1326 (do_test): Update calls to test_in_one_mode.
1327
58206c68
SP
13282013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1329
1330 [BZ #12515]
1331 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1332 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1333
2d6f4c5b 13342013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1335
1336 [BZ #15605]
1337 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1338 generated by the compiler on loop optimizations.
1339 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1340 general definitions.
1341
94f2c076
JM
13422013-06-12 Joseph Myers <joseph@codesourcery.com>
1343
1344 * math/bug-nextafter.c: Include <math-tests.h>.
1345 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1346 the relevant type.
1347 * math/bug-nexttoward.c: Include <math-tests.h>.
1348 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1349 the relevant type.
1350 * math/test-misc.c: Include <math-tests.h>.
1351 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1352 the relevant type.
1353
e0e50a0a
AJ
13542013-06-12 Andreas Jaeger <aj@suse.de>
1355
1356 * po/ia.po: Update Interlingua translation from translation
1357 project.
1358
25061094
SP
13592013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1360
1361 * include/fenv.h: Include stdbool.h.
1362 (struct rm_ctx): New structure.
1363 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1364 Define macro.
1365 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1366 (SET_RESTORE_ROUNDF): Likewise.
1367 (SET_RESTORE_ROUNDL): Likewise.
1368 (SET_RESTORE_ROUND_NOEX): Likewise.
1369 (SET_RESTORE_ROUND_NOEXF): Likewise.
1370 (SET_RESTORE_ROUND_NOEXL): Likewise.
1371 (SET_RESTORE_ROUND_53BIT): Likewise.
1372 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1373 (libc_feresetround_noexf_ctx): Likewise.
1374 (libc_feresetround_noexl_ctx): Likewise.
1375 (libc_feholdsetround_53bit_ctx): Likewise.
1376 (libc_feresetround_53bit_ctx): Likewise.
1377 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1378 (libc_feholdexcept_setround_sse_ctx): New function.
1379 (libc_fesetenv_sse_ctx): Likewise.
1380 (libc_feupdateenv_sse_ctx): Likewise.
1381 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1382 (libc_feholdexcept_setround_387_ctx): Likewise.
1383 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1384 (libc_feholdsetround_387_prec_ctx): Likewise.
1385 (libc_feholdsetround_387_ctx): Likewise.
1386 (libc_feholdsetround_387_53bit_ctx): Likewise.
1387 (libc_feholdsetround_sse_ctx): Likewise.
1388 (libc_feresetround_sse_ctx): Likewise.
1389 (libc_feresetround_387_ctx): Likewise.
1390 (libc_feupdateenv_387_ctx): Likewise.
1391 (libc_feholdexcept_setroundf_ctx): Define macro.
1392 (libc_fesetenvf_ctx): Likewise.
1393 (libc_feupdateenvf_ctx): Likewise.
1394 (libc_feholdsetroundf_ctx): Likewise.
1395 (libc_feresetroundf_ctx): Likewise.
1396 (libc_feholdexcept_setround_ctx): Likewise.
1397 (libc_fesetenv_ctx): Likewise.
1398 (libc_feupdateenv_ctx): Likewise.
1399 (libc_feholdsetround_ctx): Likewise.
1400 (libc_feresetround_ctx): Likewise.
1401 (libc_feholdexcept_setroundl_ctx): Likewise.
1402 (libc_feupdateenvl_ctx): Likewise.
1403 (libc_feholdsetroundl_ctx): Likewise.
1404 (libc_feresetroundl_ctx): Likewise.
1405 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1406 (libc_feresetround_53bit_ctx): Likewise.
1407
59b30555
SP
14082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1409
1410 * locale/iso-639.def: Convert to UTF-8.
1411
f1d73d30
JM
14122013-06-11 Joseph Myers <joseph@codesourcery.com>
1413
1414 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1415 (EXCEPTION_TESTS_double): Likewise.
1416 (EXCEPTION_TESTS_long_double): Likewise.
1417 (EXCEPTION_TESTS): Likewise.
1418 * math/libm-test.inc (test_exceptions): Only test exceptions if
1419 EXCEPTION_TESTS (FLOAT).
1420
94aca5e7
SP
14212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1422
1423 * benchtests/Makefile (string-bench): Add strcpy_chk and
1424 stpcpy_chk.
1425 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1426 * benchtests/bench-stpcpy_chk.c: New file.
1427 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1428 * benchtests/bench-strcpy_chk.c: New file.
1429 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1430 code.
1431 (do_test): Likewise.
1432
fac0c5f2
RA
14332013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1434
1435 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1436 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1437 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1438 with tabs where appropriate.
1439 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1440 dl-procinfo.h.
1441 [PPC_PLATFORM_PPC440]: Likewise.
1442 [PPC_PLATFORM_PPC464]: Likewise.
1443 [PPC_PLATFORM_PPC476]: Likewise.
1444 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1445 ppc464, and ppc476 platform strings merging from ports/
1446 dl-procinfo.h.
1447
f22bc486
AS
14482013-06-11 Andreas Schwab <schwab@suse.de>
1449
1450 [BZ #14991]
1451 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1452 (from_ucs4_idx): Regenerate.
1453 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1454 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1455 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1456 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1457 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1458 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1459 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1460 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1461 from FROM_LOOP and TO_LOOP specific macros.
1462 (BODY): Handle combining characters.
1463 * iconvdata/BIG5HKSCS.irreversible: Update.
1464 * iconvdata/BIG5HKSCS.precomposed: New file.
1465 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1466 characters.
1467 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1468
c1f75dc3
SP
14692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1470
4eacded2
SP
1471 * include/sys/time.h: Fix indentation and add copyright header.
1472
fec799f8
SP
1473 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1474 (do_test): Likewise.
1475 * string/test-memchr.c (do_one_test): Likewise.
1476 (do_test): Likewise.
1477 * string/test-memcmp.c (do_one_test): Likewise.
1478 (do_test): Likewise.
1479 * string/test-memcpy.c (do_one_test): Likewise.
1480 (do_test): Likewise.
1481 * string/test-memmem.c (do_one_test): Likewise.
1482 (do_test): Likewise.
1483 (do_random_tests): Likewise.
1484 * string/test-memmove.c (do_one_test): Likewise.
1485 (do_test): Likewise.
1486 * string/test-memset.c (do_one_test): Likewise.
1487 (do_test): Likewise.
1488 * string/test-rawmemchr.c (do_one_test): Likewise.
1489 (do_test): Likewise.
1490 * string/test-strcasecmp.c (do_one_test): Likewise.
1491 (do_test): Likewise.
1492 * string/test-strcasestr.c (do_one_test): Likewise.
1493 (do_test): Likewise.
1494 * string/test-strcat.c (do_one_test): Likewise.
1495 (do_test): Likewise.
1496 * string/test-strchr.c (do_one_test): Likewise.
1497 (do_test): Likewise.
1498 * string/test-strcmp.c (do_one_test): Likewise.
1499 (do_test): Likewise.
1500 * string/test-strcpy.c (do_one_test): Likewise.
1501 (do_test): Likewise.
1502 * string/test-string.h: Likewise.
1503 (test_init): Likewise.
1504 * string/test-strlen.c (do_one_test): Likewise.
1505 (do_test): Likewise.
1506 * string/test-strncasecmp.c (do_one_test): Likewise.
1507 (do_test): Likewise.
1508 * string/test-strncat.c (do_one_test): Likewise.
1509 (do_test): Likewise.
1510 * string/test-strncmp.c (do_one_test): Likewise.
1511 (do_test_limit): Likewise.
1512 (do_test): Likewise.
1513 * string/test-strncpy.c (do_one_test): Likewise.
1514 (do_test): Likewise.
1515 * string/test-strnlen.c (do_one_test): Likewise.
1516 (do_test): Likewise.
1517 * string/test-strpbrk.c (do_one_test): Likewise.
1518 (do_test): Likewise.
1519 * string/test-strrchr.c (do_one_test): Likewise.
1520 (do_test): Likewise.
1521 * string/test-strspn.c (do_one_test): Likewise.
1522 (do_test): Likewise.
1523 * string/test-strstr.c (do_one_test): Likewise.
1524 (do_test): Likewise.
1525
97020474
SP
1526 * benchtests/Makefile (string-bench): Add string benchmarks.
1527 * benchtests/bench-bcopy-ifunc.c: New file.
1528 * benchtests/bench-bcopy.c: New file.
1529 * benchtests/bench-bzero-ifunc.c: New file.
1530 * benchtests/bench-bzero.c: New file.
1531 * benchtests/bench-memccpy-ifunc.c: New file.
1532 * benchtests/bench-memccpy.c: New file.
1533 * benchtests/bench-memchr-ifunc.c: New file.
1534 * benchtests/bench-memchr.c: New file.
1535 * benchtests/bench-memcmp-ifunc.c: New file.
1536 * benchtests/bench-memcmp.c: New file.
1537 * benchtests/bench-memmem-ifunc.c: New file.
1538 * benchtests/bench-memmem.c: New file.
1539 * benchtests/bench-memmove-ifunc.c: New file.
1540 * benchtests/bench-memmove.c: New file.
1541 * benchtests/bench-mempcpy-ifunc.c: New file.
1542 * benchtests/bench-mempcpy.c: New file.
1543 * benchtests/bench-memset-ifunc.c: New file.
1544 * benchtests/bench-memset.c: New file.
1545 * benchtests/bench-rawmemchr-ifunc.c: New file.
1546 * benchtests/bench-rawmemchr.c: New file.
1547 * benchtests/bench-stpcpy-ifunc.c: New file.
1548 * benchtests/bench-stpcpy.c: New file.
1549 * benchtests/bench-stpncpy-ifunc.c: New file.
1550 * benchtests/bench-stpncpy.c: New file.
1551 * benchtests/bench-strcasecmp-ifunc.c: New file.
1552 * benchtests/bench-strcasecmp.c: New file.
1553 * benchtests/bench-strcasestr-ifunc.c: New file.
1554 * benchtests/bench-strcasestr.c: New file.
1555 * benchtests/bench-strcat-ifunc.c: New file.
1556 * benchtests/bench-strcat.c: New file.
1557 * benchtests/bench-strchr-ifunc.c: New file.
1558 * benchtests/bench-strchr.c: New file.
1559 * benchtests/bench-strchrnul-ifunc.c: New file.
1560 * benchtests/bench-strchrnul.c: New file.
1561 * benchtests/bench-strcmp-ifunc.c: New file.
1562 * benchtests/bench-strcmp.c: New file.
1563 * benchtests/bench-strcpy-ifunc.c: New file.
1564 * benchtests/bench-strcpy.c: New file.
1565 * benchtests/bench-strcspn-ifunc.c: New file.
1566 * benchtests/bench-strcspn.c: New file.
1567 * benchtests/bench-strlen-ifunc.c: New file.
1568 * benchtests/bench-strlen.c: New file.
1569 * benchtests/bench-strncasecmp-ifunc.c: New file.
1570 * benchtests/bench-strncasecmp.c: New file.
1571 * benchtests/bench-strncat-ifunc.c: New file.
1572 * benchtests/bench-strncat.c: New file.
1573 * benchtests/bench-strncmp-ifunc.c: New file.
1574 * benchtests/bench-strncmp.c: New file.
1575 * benchtests/bench-strncpy-ifunc.c: New file.
1576 * benchtests/bench-strncpy.c: New file.
1577 * benchtests/bench-strnlen-ifunc.c: New file.
1578 * benchtests/bench-strnlen.c: New file.
1579 * benchtests/bench-strpbrk-ifunc.c: New file.
1580 * benchtests/bench-strpbrk.c: New file.
1581 * benchtests/bench-strrchr-ifunc.c: New file.
1582 * benchtests/bench-strrchr.c: New file.
1583 * benchtests/bench-strspn-ifunc.c: New file.
1584 * benchtests/bench-strspn.c: New file.
1585 * benchtests/bench-strstr-ifunc.c: New file.
1586 * benchtests/bench-strstr.c: New file.
1587
c1f75dc3
SP
1588 * benchtests/Makefile: Disable parallel execution of targets.
1589 (string-bench): Add memcpy.
1590 (benchset): New variable to store a list of benchmark sets.
1591 (bench-func): Renamed from bench.
1592 (bench-set): New target.
1593 (bench): Depend on bench-func and bench-set.
1594 * benchtests/README: Add section on benchmark sets.
1595 * benchtests/bench-memcpy-ifunc.c: New file.
1596 * benchtests/bench-memcpy.c: New file.
1597 * benchtests/bench-string.h: New file.
1598
50fd745b
AS
15992013-06-11 Andreas Schwab <schwab@suse.de>
1600
1601 [BZ #15577]
1602 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1603 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1604 values in the triple.
1605 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1606 terminator in the group key.
1607
3ee7e9fe
AJ
16082013-06-11 Andreas Jaeger <aj@suse.de>
1609
1610 * po/zh_TW.po: Update Chinese (traditional) translation from
1611 translation project.
1612
89fb6835
SP
16132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1614
1615 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1616 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1617 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1618 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1619 (clock_getcpuclockid): Likewise.
1620 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1621 Add weak_alias and libc_hidden_def.
1622 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1623 * rt/clock_gettime.c (clock_gettime): Rename to
1624 __clock_gettime. Add weak_alias and libc_hidden_def.
1625 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1626 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1627 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1628 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1629 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1630 Likewise.
1631 * rt/clock_settime.c (clock_settime): Rename to
1632 __clock_settime. Add weak_alias and libc_hidden_def.
1633 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1634
0efa6f8b
JM
16352013-06-10 Joseph Myers <joseph@codesourcery.com>
1636
b8c61b4b
JM
1637 * mach/err_boot.sub: Remove trailing whitespace.
1638 * mach/err_ipc.sub: Likewise.
1639 * mach/err_mach.sub: Likewise.
1640
0efa6f8b
JM
1641 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1642 (ROUNDING_TESTS_double): Likewise.
1643 (ROUNDING_TESTS_long_double): Likewise.
1644 (ROUNDING_TESTS): Likewise.
1645 * math/libm-test.inc: Include <math-tests.h>.
1646 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1647 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1648 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1649 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1650
50b818bf
SP
16512013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1652
1653 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1654 of assigning.
1655
60d2f8f3
JM
16562013-06-08 Joseph Myers <joseph@codesourcery.com>
1657
4902d2c3
JM
1658 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1659 otherwise empty TRANS lines.
1660 * sysdeps/gnu/errlist.c: Regenerated.
1661
60d2f8f3
JM
1662 * catgets/gencat.c (error_print): Use (void) in function
1663 definition.
1664 * crypt/crypt_util.c (__init_des): Likewise.
1665 * crypt/speeds.c (Stop): Likewise.
1666 (main): Likewise.
1667 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1668 * inet/ruserpass.c (token): Likewise.
1669 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1670 * intl/localealias.c (extend_alias_table): Likewise.
1671 * intl/plural-exp.c (init_germanic_plural): Likewise.
1672 * libio/fcloseall.c (__fcloseall): Likewise.
1673 * libio/genops.c (_IO_flush_all): Likewise.
1674 (_IO_flush_all_linebuffered): Likewise.
1675 (_IO_cleanup): Likewise.
1676 (_IO_iter_begin): Likewise.
1677 (_IO_iter_end): Likewise.
1678 (_IO_list_lock): Likewise.
1679 (_IO_list_unlock): Likewise.
1680 (_IO_list_resetlock): Likewise.
1681 * libio/getchar.c (getchar): Likewise.
1682 * libio/getchar_u.c (getchar_unlocked): Likewise.
1683 * libio/getwchar.c (getwchar): Likewise.
1684 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1685 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1686 * login/getpt.c (__getpt): Likewise.
1687 * login/tst-utmp.c (main): Likewise.
1688 * malloc/hooks.c (__malloc_check_init): Likewise.
1689 * malloc/malloc.c (__malloc_stats): Likewise.
1690 * malloc/mtrace.c (tr_break): Likewise.
1691 (mtrace): Likewise.
1692 (muntrace): Likewise.
1693 * misc/fstab.c (endfsent): Likewise.
1694 * misc/getclktck.c (__getclktck): Likewise.
1695 * misc/getdtsz.c (__getdtablesize): Likewise.
1696 * misc/gethostid.c (gethostid): Likewise.
1697 * misc/getpagesize.c (__getpagesize): Likewise.
1698 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1699 (__get_nprocs): Likewise.
1700 (__get_phys_pages): Likewise.
1701 (__get_avphys_pages): Likewise.
1702 * misc/getttyent.c (getttyent): Likewise.
1703 (setttyent): Likewise.
1704 (endttyent): Likewise.
1705 * misc/getusershell.c (getusershell): Likewise.
1706 (endusershell): Likewise.
1707 (setusershell): Likewise.
1708 (initshells): Likewise.
1709 * misc/hsearch.c (__hdestroy): Likewise.
1710 * misc/sync.c (sync): Likewise.
1711 * misc/syslog.c (closelog_internal): Likewise.
1712 (closelog): Likewise.
1713 * misc/ttyslot.c (ttyslot): Likewise.
1714 * misc/vhangup.c (vhangup): Likewise.
1715 * posix/fork.c (__fork): Likewise.
1716 * posix/getegid.c (__getegid): Likewise.
1717 * posix/geteuid.c (__geteuid): Likewise.
1718 * posix/getgid.c (__getgid): Likewise.
1719 * posix/getpid.c (__getpid): Likewise.
1720 * posix/getppid.c (__getppid): Likewise.
1721 * posix/getuid.c (__getuid): Likewise.
1722 * posix/pause.c (pause): Likewise.
1723 * posix/setpgrp.c (setpgrp): Likewise.
1724 * posix/setsid.c (__setsid): Likewise.
1725 * posix/test-vfork.c (noop): Likewise.
1726 * resolv/gethnamaddr.c (_endhtent): Likewise.
1727 (_gethtent): Likewise.
1728 (ht_endhostent): Likewise.
1729 (gethostent): Likewise.
1730 (dns_service): Likewise.
1731 * stdlib/drand48.c (drand48): Likewise.
1732 * stdlib/lrand48.c (lrand48): Likewise.
1733 * stdlib/mrand48.c (mrand48): Likewise.
1734 * stdlib/rand.c (rand): Likewise.
1735 * stdlib/random.c (__random): Likewise.
1736 * stdlib/setenv.c (clearenv): Likewise.
1737 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1738 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1739 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1740 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1741 (__get_nprocs): Likewise.
1742 (__get_phys_pages): Likewise.
1743 (__get_avphys_pages): Likewise.
1744 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1745 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1746 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1747 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1748 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1749 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1750 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1751 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1752 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1753 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1754 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1755 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1756 * sysdeps/posix/clock.c (clock): Likewise.
1757 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1758 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1759 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1760 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1761 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1762 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1763 (__get_nprocs_conf): Likewise.
1764 (__get_phys_pages): Likewise.
1765 (__get_avphys_pages): Likewise.
1766 * time/clock.c (clock): Likewise.
1767 * time/tzset.c (__tzname_max): Likewise.
1768
2e09a79a
JM
17692013-06-07 Joseph Myers <joseph@codesourcery.com>
1770
1771 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1772 (__bswap_32): Do not use "register".
1773 * crypt/crypt.c (_ufc_doit_r): Likewise.
1774 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1775 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1776 * gmon/gmon.c (__monstartup): Likewise.
1777 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1778 * hurd/hurdmalloc.c (more_memory): Likewise.
1779 (malloc): Likewise.
1780 (free): Likewise.
1781 (realloc): Likewise.
1782 (malloc_fork_prepare): Likewise.
1783 (malloc_fork_parent): Likewise.
1784 (malloc_fork_child): Likewise.
1785 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1786 (_svcauth_des): Likewise.
1787 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1788 * inet/inet_net.c (inet_network): Likewise.
1789 * inet/inet_netof.c (inet_netof): Likewise.
1790 * inet/rcmd.c (__validuser2_sa): Likewise.
1791 * io/fts.c (fts_open): Likewise.
1792 (fts_load): Likewise.
1793 (fts_close): Likewise.
1794 (fts_read): Likewise.
1795 (fts_children): Likewise.
1796 (fts_build): Likewise.
1797 (fts_stat): Likewise.
1798 (fts_sort): Likewise.
1799 (fts_alloc): Likewise.
1800 (fts_lfree): Likewise.
1801 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1802 (_IO_file_xsgetn): Likewise.
1803 (_IO_file_xsgetn_mmap): Likewise.
1804 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1805 (_IO_cookie_write): Likewise.
1806 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1807 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1808 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1809 * malloc/obstack.c (_obstack_begin): Likewise.
1810 (_obstack_begin_1): Likewise.
1811 (_obstack_newchunk): Likewise.
1812 (_obstack_allocated_p): Likewise.
1813 (obstack_free): Likewise.
1814 (_obstack_memory_used): Likewise.
1815 * misc/getttyent.c (getttynam): Likewise.
1816 (getttyent): Likewise.
1817 (skip): Likewise.
1818 (value): Likewise.
1819 * misc/getusershell.c (initshells): Likewise.
1820 * misc/syslog.c (__vsyslog_chk): Likewise.
1821 * misc/ttyslot.c (ttyslot): Likewise.
1822 * nis/nis_hash.c (__nis_hash): Likewise.
1823 * posix/fnmatch_loop.c (FCT): Likewise.
1824 * posix/getconf.c (print_all): Likewise.
1825 (main): Likewise.
1826 * posix/getopt.c (exchange): Likewise.
1827 * posix/glob.c (globfree): Likewise.
1828 (prefix_array): Likewise.
1829 (__glob_pattern_type): Likewise.
1830 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1831 (NS_GET32): Likewise.
1832 (NS_PUT16): Likewise.
1833 (NS_PUT32): Likewise.
1834 * resolv/gethnamaddr.c (getanswer): Likewise.
1835 (gethostbyname2): Likewise.
1836 (gethostbyaddr): Likewise.
1837 (_gethtent): Likewise.
1838 (_gethtbyname2): Likewise.
1839 (_gethtbyaddr): Likewise.
1840 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1841 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1842 * resolv/res_init.c (__res_vinit): Likewise.
1843 (net_mask): Likewise.
1844 * resolv/res_mkquery.c (outchar): Likewise.
1845 (PRINT): Likewise.
1846 * stdio-common/printf_fp.c (outchar): Likewise.
1847 (PRINT): Likewise.
1848 * stdio-common/printf_fphex.c (outchar): Likewise.
1849 (PRINT): Likewise.
1850 * stdio-common/printf_size.c (outchar): Likewise.
1851 (PRINT): Likewise.
1852 * stdio-common/test_rdwr.c (main): Likewise.
1853 * stdio-common/tfformat.c (matches): Likewise.
1854 * stdio-common/vfprintf.c (outchar): Likewise.
1855 (printf_unknown): Likewise.
1856 (buffered_vfprintf): Likewise.
1857 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1858 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1859 (ReadFile): Likewise.
1860 * stdlib/qsort.c (SWAP): Likewise.
1861 (_quicksort): Likewise.
1862 * stdlib/setenv.c (__add_to_environ): Likewise.
1863 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1864 * stdlib/strtol_l.c (__strtol_l): Likewise.
1865 * stdlib/tst-strtod.c (main): Likewise.
1866 * stdlib/tst-strtol.c (main): Likewise.
1867 * stdlib/tst-strtoll.c (main): Likewise.
1868 * string/bits/string2.h (__strcmp_cc): Likewise.
1869 (__strcmp_cg): Likewise.
1870 (__strcspn_c1): Likewise.
1871 (__strcspn_c2): Likewise.
1872 (__strcspn_c3): Likewise.
1873 (__strspn_c1): Likewise.
1874 (__strspn_c2): Likewise.
1875 (__strspn_c3): Likewise.
1876 (__strsep_1c): Likewise.
1877 (__strsep_2c): Likewise.
1878 (__strsep_3c): Likewise.
1879 * string/memccpy.c (__memccpy): Likewise.
1880 * string/stpcpy.c (__stpcpy): Likewise.
1881 * string/strcmp.c (strcmp): Likewise.
1882 * string/strrchr.c (strrchr): Likewise.
1883 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1884 Likewise.
1885 * sysdeps/mach/hurd/getcwd.c
1886 (_hurd_canonicalize_directory_name_internal): Likewise.
1887 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1888 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1889 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1890 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1891 Likewise, in both definitions.
1892 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1893 definitions.
1894 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1895 64] (__bswap_64): Likewise.
1896 * time/test_time.c (main): Likewise.
1897 * time/tzfile.c (__tzfile_read): Likewise.
1898 (__tzfile_compute): Likewise.
1899 * time/tzset.c (__tzset_parse_tz): Likewise.
1900 (tzset_internal): Likewise.
1901 (compute_change): Likewise.
1902 * wcsmbs/wcscat.c (__wcscat): Likewise.
1903 * wcsmbs/wcschr.c (wcschr): Likewise.
1904 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1905 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1906 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1907 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1908 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1909 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1910 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1911 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1912 * wcsmbs/wmemset.c (wmemset): Likewise.
1913
9e54314b
JM
19142013-06-06 Joseph Myers <joseph@codesourcery.com>
1915
1916 * scripts/config.guess: Update to version 2013-05-16.
1917 * scripts/config.sub: Update to version 2013-04-24.
1918 * scripts/install-sh: Update to version 2011-11-20.07.
1919 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1920 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1921
350635a5
OB
19222013-06-06 Ondřej Bílka <neleai@seznam.cz>
1923
1924 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1925 * elf/sln.c: Likewise.
1926 * hurd/hurd/ioctl.h: Likewise.
1927 * hurd/hurdmalloc.c: Likewise.
1928 * hurd/xattr.c: Likewise.
1929 * include/shlib-compat.h: Likewise.
1930 * inet/ruserpass.c: Likewise.
1931 * libio/iofgets_u.c: Likewise.
1932 * libio/iofgetws_u.c: Likewise.
1933 * locale/programs/ld-identification.c: Likewise.
1934 * locale/programs/ld-time.c: Likewise.
1935 * mach/msg-destroy.c: Likewise.
1936 * nss/nss_files/files-netgrp.c: Likewise.
1937 * resolv/res_data.c: Likewise.
1938 * soft-fp/op-1.h: Likewise.
1939 * soft-fp/op-2.h: Likewise.
1940 * soft-fp/op-4.h: Likewise.
1941 * soft-fp/op-common.h: Likewise.
1942 * stdio-common/printf_fphex.c: Likewise.
1943 * stdlib/strtod_l.c: Likewise.
1944 * sunrpc/rpc/clnt.h: Likewise.
1945 * sysdeps/generic/framestate.c: Likewise.
1946 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1947 * sysdeps/i386/bsd-setjmp.S: Likewise.
1948 * sysdeps/i386/__longjmp.S: Likewise.
1949 * sysdeps/i386/setjmp.S: Likewise.
1950 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1951 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1952 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1953 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1955 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1956 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1957 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1959 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1960 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1963 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1964 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1965 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1966 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1967 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1968 * sysdeps/ieee754/support.c: Likewise.
1969 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1970 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1971 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1972 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1973 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1974 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1975 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1976 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1977 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1978 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1979 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1980 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1981 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1982 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1983 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1984 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1985 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1987
44a988af
OB
19882013-06-05 Ondřej Bílka <neleai@seznam.cz>
1989
25506f09 1990 * posix/transbug.c: Remove executable mode.
44a988af 1991
9c84384c
JM
19922013-06-05 Joseph Myers <joseph@codesourcery.com>
1993
1994 * crypt/speeds.c: Remove trailing whitespace.
1995 * dlfcn/default.c: Likewise.
1996 * elf/ifuncdep2.c: Likewise.
1997 * elf/ifuncmain1.c: Likewise.
1998 * elf/ifuncmain1vis.c: Likewise.
1999 * elf/testobj.h: Likewise.
2000 * elf/tst-stackguard1.c: Likewise.
2001 * gmon/sys/gmon.h: Likewise.
2002 * hurd/hurdmsg.c: Likewise.
2003 * hurd/new-fd.c: Likewise.
2004 * hurd/ports-get.c: Likewise.
2005 * iconvdata/ibm1008_420.c: Likewise.
2006 * inet/tst-getni1.c: Likewise.
2007 * inet/tst-getni2.c: Likewise.
2008 * libio/ioungetc.c: Likewise.
2009 * libio/wfiledoalloc.c: Likewise.
2010 * manual/libm-err-tab.pl: Likewise.
2011 * math/w_dremf.c: Likewise.
2012 * misc/ftruncate.c: Likewise.
2013 * posix/bug-glob2.c: Likewise.
2014 * posix/tst-pcre.c: Likewise.
2015 * posix/wait4.c: Likewise.
2016 * resolv/README: Likewise.
2017 * resolv/res_debug.h: Likewise.
2018 * resolv/tst-inet_ntop.c: Likewise.
2019 * setjmp/bug269-setjmp.c: Likewise.
2020 * soft-fp/extended.h: Likewise.
2021 * soft-fp/op-1.h: Likewise.
2022 * soft-fp/op-2.h: Likewise.
2023 * soft-fp/op-4.h: Likewise.
2024 * soft-fp/op-8.h: Likewise.
2025 * soft-fp/testit.c: Likewise.
2026 * stdio-common/bug16.c: Likewise.
2027 * stdlib/random.c: Likewise.
2028 * sunrpc/rpcsvc/rquota.x: Likewise.
2029 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2030 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2032 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2033 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2034 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2035 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2036 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2037 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2038 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2039 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2043 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2045 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2047 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2048 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2049 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2056 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2058 * sysdeps/ieee754/s_lib_version.c: Likewise.
2059 * sysdeps/mach/hurd/check_fds.c: Likewise.
2060 * sysdeps/mach/hurd/getsockname.c: Likewise.
2061 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2062 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2063 * sysdeps/powerpc/bits/link.h: Likewise.
2064 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2065 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2066 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2067 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2068 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2069 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2070 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2071 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2072 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2073 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2074 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2075 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2076 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2077 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2078 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2079 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2080 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2081 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2082 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2083 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2084 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2085 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2086 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2087 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2088 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2089 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2090 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2091 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2092 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2093 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2094 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2095 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2096 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2097 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2098 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2099 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2100 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2101 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2102 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2103 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2104 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2105 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2106 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2107 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2108 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2109 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2110 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2111 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2112 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2113 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2114 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2115 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2116 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2117 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2118 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2119 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2120 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2121 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2122 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2123 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2124 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2125 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2126 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2127 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2128 * sysdeps/powerpc/sysdep.h: Likewise.
2129 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2130 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2131 * sysdeps/sh/dl-trampoline.S: Likewise.
2132 * sysdeps/sh/memset.S: Likewise.
2133 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2134 * sysdeps/sh/strlen.S: Likewise.
2135 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2136 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2137 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2138 * sysdeps/sparc/sparc32/rem.S: Likewise.
2139 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2140 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2141 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2142 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2143 * sysdeps/sparc/sparc32/urem.S: Likewise.
2144 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2145 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2146 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2147 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2148 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2149 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2150 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2151 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2152 * sysdeps/unix/bsd/times.c: Likewise.
2153 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2154 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2158 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2159 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2160 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2161 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2162 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2163 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2164 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2165 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2166 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2167 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2168 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2169 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2170 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2171 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2172 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2173 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2174 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2175 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2176 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2177 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2178 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2179 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2180 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2181 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2182 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2183 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2184 * sysdeps/x86_64/strcspn.S: Likewise.
2185
869378a5
RA
21862013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2187
2188 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2189 generated file. Regenerate properly from gen-translit.pl.
2190 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2191 locale/C-translit.h.
2192
840e2943
AS
21932013-06-05 Andreas Schwab <schwab@suse.de>
2194
2195 [BZ #15100]
2196 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2197 week as 6 instead of -1.
2198 * time/tst-strptime.c (day_tests): Add test case.
2199
4c60cb0c
SP
22002013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2201
2202 * sysdeps/generic/math_private.h
2203 (libc_feholdexcept_setround_53bit): Replace with
2204 libc_feholdsetround_53bit.
2205 (libc_feupdateenv_53bit): Replace with
2206 libc_feresetround_53bit.
2207 (SET_RESTORE_ROUND_53BIT): Adjust.
2208
d180203e
SP
22092013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2210
96df079a
SP
2211 * string/test-strchrnul.c: Add copyright header.
2212
d180203e
SP
2213 * posix/tst-getaddrinfo4.c: Increase test timeout.
2214
8b0ccb2d
CD
22152013-06-03 Carlos O'Donell <carlos@redhat.com>
2216
2217 [BZ #15536]
2218 * math/libm-test.inc (MAX_EXP): Remove
2219 (MIN_EXP): Define.
2220 (ulp): Use MIN_EXP - MANT_DIG.
2221 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2222
3b3c4d40
CD
22232013-05-31 Carlos O'Donell <carlos@redhat.com>
2224
2225 * po/be.po: Revert last change.
2226 * po/zh_CN.po: Likewise.
2227 * po/header.pot: Likewise.
2228
fab7ce3f
JM
22292013-05-31 Joseph Myers <joseph@codesourcery.com>
2230
2231 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2232 link-libc-deps to empty as target-specific variable.
2233 * Makerules (link-libc-args): New variable.
2234 (libc-for-link): Likewise.
2235 (link-libc-deps): Likewise.
2236 (lib%.so): Depend on $(link-libc-deps). Link with
2237 $(link-libc-args).
2238 (build-module): Link with $(link-libc-args).
2239 (build-module-asneeded): Likewise.
2240 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2241 list of objects.
2242 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2243 target-specific variable.
2244 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2245 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2246 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2247 libc.
2248 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2249 libc and ld.so.
2250 ($(objpfx)libpcprofile.so): Likewise.
2251 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2252 libc_nonshared.a.
2253 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2254 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2255 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2256 $(link-libc-deps).
2257 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2258 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2259 * login/Makefile ($(objpfx)libutil.so): Likewise.
2260 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2261 * math/Makefile ($(objpfx)libm.so): Likewise.
2262 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2263 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2264 variable instead of depending directly on libc.
2265 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2266 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2267 $(link-libc-deps).
2268 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2269 libc.
2270 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2271 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2272 ($(objpfx)libanl.so): Likewise.
2273 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2274 ld.so.
2275 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2276 $(link-libc-deps).
2277 * sysdeps/i386/fpu/Makefile: Remove file.
2278 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2279 ($(objpfx)libm.so): Remove dependency on ld.so.
2280
eca5920c
PF
22812013-05-30 Patsy Franklin <pfrankli@redhat.com>
2282
2283 [BZ # 15553]
2284 * nis/yp_xdr.c (XDRMAXNAME): Define.
2285 (XDRMAXRECORD): Define.
2286 (xdr_domainname): Use XDRMAXNAME.
2287 (xdr_mapname): Likewise.
2288 (xdr_peername): Likewise.
2289 (xdr_keydat): Use XDRMAXRECORD.
2290 (xdr_valdat): Likewise.
2291
22922013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2293
2294 [BZ #14256]
2295 * manual/errno.texi (ESTALE): Update to account for more than
2296 just NFS file systems.
2297 * sysdeps/gnu/errlist.c: Regenerated.
2298
b9375348
SP
22992013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2300
2301 [BZ #15465]
2302 * elf/Makefile (tests): Add tst-null-argv.
2303 (modules-names): Add tst-null-argv-lib.
2304 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2305 (tst-null-argv-ENV): Set environment for tst-null-argv.
2306 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2307 (RTLD_PROGNAME): New macro.
2308 * elf/tst-null-argv.c: New test case.
2309 * elf/tst-null-argv-lib.c: Library for test case.
2310 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2311 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2312 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2313 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2314 * elf/dl-init.c (call_init): Likewise.
2315 (_dl_init): Likewise.
2316 * elf/dl-load.c (print_search_path): Likewise.
2317 (_dl_map_object): Likewise.
2318 * elf/dl-lookup.c (do_lookup_x): Likewise.
2319 (add_dependency): Likewise.
2320 (_dl_lookup_symbol_x): Likewise.
2321 (_dl_debug_bindings): Likewise.
2322 * elf/dl-open.c (_dl_show_scope): Likewise.
2323 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2324 * elf/dl-version.c (match_symbol): Likewise.
2325 (_dl_check_map_versions): Likewise.
2326 * elf/rtld.c (dl_main): Likewise.
2327 (print_unresolved): Use RTLD_PROGNAME.
2328 (print_missing_version): Likewise.
2329 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2330 (elf_machine_rela): Likewise.
2331 * sysdeps/powerpc/powerpc32/dl-machine.c
2332 (__process_machine_rela): Likewise.
2333 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2334 Likewise.
2335 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2336 Likewise.
2337 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2338 Likewise.
2339 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2340 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2341 Likewise.
2342 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2343 Likewise.
2344 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2345
8a9f20c8
CD
23462013-05-28 Carlos O'Donell <carlos@redhat.com>
2347
2348 * po/be.po: Add descriptive title.
2349 * po/zh_CN.po: Likewise.
2350 * po/header.pot: Likewise.
2351
0e60d68e
MF
23522013-05-28 Mike Frysinger <vapier@gentoo.org>
2353
2354 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2355 error message.
2356 (enlarge_archive): Likewise.
2357
56b672e9
BN
23582013-05-28 Ben North <ben@redfrontdoor.org>
2359
2360 * manual/arith.texi (frexp): It is the magnitude of the return
2361 value which lies in [0.5, 1), not the return value itself.
2362
5e056687
AZ
23632013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2364
2365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2366
2b66ef5d
TS
23672013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2368
528c2405
TS
2369 * stdio-common/bug26.c (main): Correct fscanf template.
2370
07b4c13d
TS
2371 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2372 declare _dl_skip_args.
2373
ec9dd97c
TS
2374 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2375 Don't declare.
2376
2b66ef5d
TS
2377 * manual/platform.texi: Add missing @end deftypefun.
2378
4f8dfe27
JM
23792013-05-24 Joseph Myers <joseph@codesourcery.com>
2380
0323d086
JM
2381 [BZ #15529]
2382 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2383 bit of mantissa of 2^16382.
2384 * math/libm-test.inc (hypot_test_data): Add more tests.
2385
dd4259b9
JM
2386 * math/libm-test.inc: Add drem and pow10 to list of tested
2387 functions.
2388 (pow10_test): New function.
2389 (drem_test): Likewise.
2390 (drem_test_tonearest): Likewise.
2391 (drem_test_towardzero): Likewise.
2392 (drem_test_downward): Likewise.
2393 (drem_test_upward): Likewise.
2394 (main): Call the new functions.
2395
4f8dfe27
JM
2396 * math/libm-test.inc (finite_test_data): Remove.
2397 (finite_test): Run tests from isfinite_test_data.
2398 (gamma_test_data): Remove.
2399 (gamma_test): Run tests from lgamma_test_data.
2400 * sysdeps/i386/fpu/libm-test-ulps: Update.
2401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2402
d116b7c4
AZ
24032013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2404
2405 * manual/platform.texi: Add PowerPC PPR function set documentation.
2406 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2407 implementation.
2408
e96e3767
CD
24092013-05-24 Carlos O'Donell <carlos@redhat.com>
2410
2411 * math/libm-test.inc (MAX_EXP): Define.
2412 (ULPDIFF): Define.
2413 (ulp): New function.
2414 (check_float_internal): Use ULPDIFF.
2415 (cpow_test): Disable failing test.
2416 (check_ulp): Test ulp() implemetnation.
2417 (main): Call check_ulp before starting tests.
2418
b679a606
JM
24192013-05-24 Joseph Myers <joseph@codesourcery.com>
2420
e8bdba36
JM
2421 * math/gen-libm-test.pl (generate_testfile): Do not handle
2422 START_DATA and END_DATA.
2423 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2424 END_DATA.
2425 (acos_tonearest_test_data): Likewise.
2426 (acos_towardzero_test_data): Likewise.
2427 (acos_downward_test_data): Likewise.
2428 (acos_upward_test_data): Likewise.
2429 (acosh_test_data): Likewise.
2430 (asin_test_data): Likewise.
2431 (asin_tonearest_test_data): Likewise.
2432 (asin_towardzero_test_data): Likewise.
2433 (asin_downward_test_data): Likewise.
2434 (asin_upward_test_data): Likewise.
2435 (asinh_test_data): Likewise.
2436 (atan_test_data): Likewise.
2437 (atanh_test_data): Likewise.
2438 (atan2_test_data): Likewise.
2439 (cabs_test_data): Likewise.
2440 (cacos_test_data): Likewise.
2441 (cacosh_test_data): Likewise.
2442 (carg_test_data): Likewise.
2443 (casin_test_data): Likewise.
2444 (casinh_test_data): Likewise.
2445 (catan_test_data): Likewise.
2446 (catanh_test_data): Likewise.
2447 (cbrt_test_data): Likewise.
2448 (ccos_test_data): Likewise.
2449 (ccosh_test_data): Likewise.
2450 (ceil_test_data): Likewise.
2451 (cexp_test_data): Likewise.
2452 (cimag_test_data): Likewise.
2453 (clog_test_data): Likewise.
2454 (clog10_test_data): Likewise.
2455 (conj_test_data): Likewise.
2456 (copysign_test_data): Likewise.
2457 (cos_test_data): Likewise.
2458 (cos_tonearest_test_data): Likewise.
2459 (cos_towardzero_test_data): Likewise.
2460 (cos_downward_test_data): Likewise.
2461 (cos_upward_test_data): Likewise.
2462 (cosh_test_data): Likewise.
2463 (cosh_tonearest_test_data): Likewise.
2464 (cosh_towardzero_test_data): Likewise.
2465 (cosh_downward_test_data): Likewise.
2466 (cosh_upward_test_data): Likewise.
2467 (cpow_test_data): Likewise.
2468 (cproj_test_data): Likewise.
2469 (creal_test_data): Likewise.
2470 (csin_test_data): Likewise.
2471 (csinh_test_data): Likewise.
2472 (csqrt_test_data): Likewise.
2473 (ctan_test_data): Likewise.
2474 (ctan_tonearest_test_data): Likewise.
2475 (ctan_towardzero_test_data): Likewise.
2476 (ctan_downward_test_data): Likewise.
2477 (ctan_upward_test_data): Likewise.
2478 (ctanh_test_data): Likewise.
2479 (ctanh_tonearest_test_data): Likewise.
2480 (ctanh_towardzero_test_data): Likewise.
2481 (ctanh_downward_test_data): Likewise.
2482 (ctanh_upward_test_data): Likewise.
2483 (erf_test_data): Likewise.
2484 (erfc_test_data): Likewise.
2485 (exp_test_data): Likewise.
2486 (exp_tonearest_test_data): Likewise.
2487 (exp_towardzero_test_data): Likewise.
2488 (exp_downward_test_data): Likewise.
2489 (exp_upward_test_data): Likewise.
2490 (exp10_test_data): Likewise.
2491 (exp2_test_data): Likewise.
2492 (expm1_test_data): Likewise.
2493 (fabs_test_data): Likewise.
2494 (fdim_test_data): Likewise.
2495 (finite_test_data): Likewise.
2496 (floor_test_data): Likewise.
2497 (fma_test_data): Likewise.
2498 (fma_towardzero_test_data): Likewise.
2499 (fma_downward_test_data): Likewise.
2500 (fma_upward_test_data): Likewise.
2501 (fmax_test_data): Likewise.
2502 (fmin_test_data): Likewise.
2503 (fmod_test_data): Likewise.
2504 (fpclassify_test_data): Likewise.
2505 (frexp_test_data): Likewise.
2506 (gamma_test_data): Likewise.
2507 (hypot_test_data): Likewise.
2508 (ilogb_test_data): Likewise.
2509 (isfinite_test_data): Likewise.
2510 (isgreater_test_data): Likewise.
2511 (isgreaterequal_test_data): Likewise.
2512 (isinf_test_data): Likewise.
2513 (isless_test_data): Likewise.
2514 (islessequal_test_data): Likewise.
2515 (islessgreater_test_data): Likewise.
2516 (isnan_test_data): Likewise.
2517 (isnormal_test_data): Likewise.
2518 (issignaling_test_data): Likewise.
2519 (isunordered_test_data): Likewise.
2520 (j0_test_data): Likewise.
2521 (j1_test_data): Likewise.
2522 (jn_test_data): Likewise.
2523 (ldexp_test_data): Likewise.
2524 (lgamma_test_data): Likewise.
2525 (lrint_test_data): Likewise.
2526 (lrint_tonearest_test_data): Likewise.
2527 (lrint_towardzero_test_data): Likewise.
2528 (lrint_downward_test_data): Likewise.
2529 (lrint_upward_test_data): Likewise.
2530 (llrint_test_data): Likewise.
2531 (llrint_tonearest_test_data): Likewise.
2532 (llrint_towardzero_test_data): Likewise.
2533 (llrint_downward_test_data): Likewise.
2534 (llrint_upward_test_data): Likewise.
2535 (log_test_data): Likewise.
2536 (log10_test_data): Likewise.
2537 (log1p_test_data): Likewise.
2538 (log2_test_data): Likewise.
2539 (logb_test_data): Likewise.
2540 (logb_downward_test_data): Likewise.
2541 (lround_test_data): Likewise.
2542 (llround_test_data): Likewise.
2543 (modf_test_data): Likewise.
2544 (nearbyint_test_data): Likewise.
2545 (nextafter_test_data): Likewise.
2546 (nexttoward_test_data): Likewise.
2547 (pow_test_data): Likewise.
2548 (pow_tonearest_test_data): Likewise.
2549 (pow_towardzero_test_data): Likewise.
2550 (pow_downward_test_data): Likewise.
2551 (pow_upward_test_data): Likewise.
2552 (remainder_test_data): Likewise.
2553 (remainder_tonearest_test_data): Likewise.
2554 (remainder_towardzero_test_data): Likewise.
2555 (remainder_downward_test_data): Likewise.
2556 (remainder_upward_test_data): Likewise.
2557 (remquo_test_data): Likewise.
2558 (rint_test_data): Likewise.
2559 (rint_tonearest_test_data): Likewise.
2560 (rint_towardzero_test_data): Likewise.
2561 (rint_downward_test_data): Likewise.
2562 (rint_upward_test_data): Likewise.
2563 (round_test_data): Likewise.
2564 (scalb_test_data): Likewise.
2565 (scalbn_test_data): Likewise.
2566 (scalbln_test_data): Likewise.
2567 (signbit_test_data): Likewise.
2568 (sin_test_data): Likewise.
2569 (sin_tonearest_test_data): Likewise.
2570 (sin_towardzero_test_data): Likewise.
2571 (sin_downward_test_data): Likewise.
2572 (sin_upward_test_data): Likewise.
2573 (sincos_test_data): Likewise.
2574 (sinh_test_data): Likewise.
2575 (sinh_tonearest_test_data): Likewise.
2576 (sinh_towardzero_test_data): Likewise.
2577 (sinh_downward_test_data): Likewise.
2578 (sinh_upward_test_data): Likewise.
2579 (sqrt_test_data): Likewise.
2580 (tan_test_data): Likewise.
2581 (tan_tonearest_test_data): Likewise.
2582 (tan_towardzero_test_data): Likewise.
2583 (tan_downward_test_data): Likewise.
2584 (tan_upward_test_data): Likewise.
2585 (tanh_test_data): Likewise.
2586 (tgamma_test_data): Likewise.
2587 (trunc_test_data): Likewise.
2588 (y0_test_data): Likewise.
2589 (y1_test_data): Likewise.
2590 (yn_test_data): Likewise.
2591 (significand_test_data): Likewise.
2592
b679a606
JM
2593 * math/gen-libm-test.pl (@functions): Remove variable.
2594 (generate_testfile): Don't handle START and END lines.
2595 * math/libm-test.inc (START): New macro.
2596 (END): Likewise.
2597 (END_COMPLEX): Likewise.
2598 (acos_test): Use END macro without arguments.
2599 (acos_test_tonearest): Likewise.
2600 (acos_test_towardzero): Likewise.
2601 (acos_test_downward): Likewise.
2602 (acos_test_upward): Likewise.
2603 (acosh_test): Likewise.
2604 (asin_test): Likewise.
2605 (asin_test_tonearest): Likewise.
2606 (asin_test_towardzero): Likewise.
2607 (asin_test_downward): Likewise.
2608 (asin_test_upward): Likewise.
2609 (asinh_test): Likewise.
2610 (atan_test): Likewise.
2611 (atanh_test): Likewise.
2612 (atan2_test): Likewise.
2613 (cabs_test): Likewise.
2614 (cacos_test): Use END_COMPLEX macro without arguments.
2615 (cacosh_test): Likewise.
2616 (carg_test): Use END macro without arguments.
2617 (casin_test): Use END_COMPLEX macro without arguments.
2618 (casinh_test): Likewise.
2619 (catan_test): Likewise.
2620 (catanh_test): Likewise.
2621 (cbrt_test): Use END macro without arguments.
2622 (ccos_test): Use END_COMPLEX macro without arguments.
2623 (ccosh_test): Likewise.
2624 (ceil_test): Use END macro without arguments.
2625 (cexp_test): Use END_COMPLEX macro without arguments.
2626 (cimag_test): Use END macro without arguments.
2627 (clog_test): Use END_COMPLEX macro without arguments.
2628 (clog10_test): Likewise.
2629 (conj_test): Likewise.
2630 (copysign_test): Use END macro without arguments.
2631 (cos_test): Likewise.
2632 (cos_test_tonearest): Likewise.
2633 (cos_test_towardzero): Likewise.
2634 (cos_test_downward): Likewise.
2635 (cos_test_upward): Likewise.
2636 (cosh_test): Likewise.
2637 (cosh_test_tonearest): Likewise.
2638 (cosh_test_towardzero): Likewise.
2639 (cosh_test_downward): Likewise.
2640 (cosh_test_upward): Likewise.
2641 (cpow_test): Use END_COMPLEX macro without arguments.
2642 (cproj_test): Likewise.
2643 (creal_test): Use END macro without arguments.
2644 (csin_test): Use END_COMPLEX macro without arguments.
2645 (csinh_test): Likewise.
2646 (csqrt_test): Likewise.
2647 (ctan_test): Likewise.
2648 (ctan_test_tonearest): Likewise.
2649 (ctan_test_towardzero): Likewise.
2650 (ctan_test_downward): Likewise.
2651 (ctan_test_upward): Likewise.
2652 (ctanh_test): Likewise.
2653 (ctanh_test_tonearest): Likewise.
2654 (ctanh_test_towardzero): Likewise.
2655 (ctanh_test_downward): Likewise.
2656 (ctanh_test_upward): Likewise.
2657 (erf_test): Use END macro without arguments.
2658 (erfc_test): Likewise.
2659 (exp_test): Likewise.
2660 (exp_test_tonearest): Likewise.
2661 (exp_test_towardzero): Likewise.
2662 (exp_test_downward): Likewise.
2663 (exp_test_upward): Likewise.
2664 (exp10_test): Likewise.
2665 (exp2_test): Likewise.
2666 (expm1_test): Likewise.
2667 (fabs_test): Likewise.
2668 (fdim_test): Likewise.
2669 (finite_test): Likewise.
2670 (floor_test): Likewise.
2671 (fma_test): Likewise.
2672 (fma_test_towardzero): Likewise.
2673 (fma_test_downward): Likewise.
2674 (fma_test_upward): Likewise.
2675 (fmax_test): Likewise.
2676 (fmin_test): Likewise.
2677 (fmod_test): Likewise.
2678 (fpclassify_test): Likewise.
2679 (frexp_test): Likewise.
2680 (gamma_test): Likewise.
2681 (hypot_test): Likewise.
2682 (ilogb_test): Likewise.
2683 (isfinite_test): Likewise.
2684 (isgreater_test): Likewise.
2685 (isgreaterequal_test): Likewise.
2686 (isinf_test): Likewise.
2687 (isless_test): Likewise.
2688 (islessequal_test): Likewise.
2689 (islessgreater_test): Likewise.
2690 (isnan_test): Likewise.
2691 (isnormal_test): Likewise.
2692 (issignaling_test): Likewise.
2693 (isunordered_test): Likewise.
2694 (j0_test): Likewise.
2695 (j1_test): Likewise.
2696 (jn_test): Likewise.
2697 (ldexp_test): Likewise.
2698 (lgamma_test): Likewise.
2699 (lrint_test): Likewise.
2700 (lrint_test_tonearest): Likewise.
2701 (lrint_test_towardzero): Likewise.
2702 (lrint_test_downward): Likewise.
2703 (lrint_test_upward): Likewise.
2704 (llrint_test): Likewise.
2705 (llrint_test_tonearest): Likewise.
2706 (llrint_test_towardzero): Likewise.
2707 (llrint_test_downward): Likewise.
2708 (llrint_test_upward): Likewise.
2709 (log_test): Likewise.
2710 (log10_test): Likewise.
2711 (log1p_test): Likewise.
2712 (log2_test): Likewise.
2713 (logb_test): Likewise.
2714 (logb_test_downward): Likewise.
2715 (lround_test): Likewise.
2716 (llround_test): Likewise.
2717 (modf_test): Likewise.
2718 (nearbyint_test): Likewise.
2719 (nextafter_test): Likewise.
2720 (nexttoward_test): Likewise.
2721 (pow_test): Likewise.
2722 (pow_test_tonearest): Likewise.
2723 (pow_test_towardzero): Likewise.
2724 (pow_test_downward): Likewise.
2725 (pow_test_upward): Likewise.
2726 (remainder_test): Likewise.
2727 (remainder_test_tonearest): Likewise.
2728 (remainder_test_towardzero): Likewise.
2729 (remainder_test_downward): Likewise.
2730 (remainder_test_upward): Likewise.
2731 (remquo_test): Likewise.
2732 (rint_test): Likewise.
2733 (rint_test_tonearest): Likewise.
2734 (rint_test_towardzero): Likewise.
2735 (rint_test_downward): Likewise.
2736 (rint_test_upward): Likewise.
2737 (round_test): Likewise.
2738 (scalb_test): Likewise.
2739 (scalbn_test): Likewise.
2740 (scalbln_test): Likewise.
2741 (signbit_test): Likewise.
2742 (sin_test): Likewise.
2743 (sin_test_tonearest): Likewise.
2744 (sin_test_towardzero): Likewise.
2745 (sin_test_downward): Likewise.
2746 (sin_test_upward): Likewise.
2747 (sincos_test): Likewise.
2748 (sinh_test): Likewise.
2749 (sinh_test_tonearest): Likewise.
2750 (sinh_test_towardzero): Likewise.
2751 (sinh_test_downward): Likewise.
2752 (sinh_test_upward): Likewise.
2753 (sqrt_test): Likewise.
2754 (tan_test): Likewise.
2755 (tan_test_tonearest): Likewise.
2756 (tan_test_towardzero): Likewise.
2757 (tan_test_downward): Likewise.
2758 (tan_test_upward): Likewise.
2759 (tanh_test): Likewise.
2760 (tgamma_test): Likewise.
2761 (trunc_test): Likewise.
2762 (y0_test): Likewise.
2763 (y1_test): Likewise.
2764 (yn_test): Likewise.
2765 (significand_test): Likewise.
2766
bae143d2
OB
27672013-05-24 Ondřej Bílka <neleai@seznam.cz>
2768
2769 [BZ #15381]
2770 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2771
9323d39b
EM
27722013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2773
d4ea44a0 2774 [BZ #14894]
9323d39b
EM
2775 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2776 __ppc_mdoio and __ppc_mdoom.
2777 * manual/platform.texi: Document new functions __ppc_yield,
2778 __ppc_mdoio and __ppc_mdoom.
2779
13e23af7
CD
27802013-05-22 Carlos O'Donell <carlos@redhat.com>
2781
2782 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2783 (main): Mention "tls" pseudo-hwcap is legacy.
2784 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2785
351fe550
JM
27862013-05-22 Joseph Myers <joseph@codesourcery.com>
2787
2788 * math/gen-libm-test.pl (parse_args): Output only string of
2789 arguments as text for test name, not full call or descriptions of
2790 tests for extra outputs.
2791 (generate_testfile): Do not pass function name to parse_args.
2792 Generate this_func variable from START.
2793 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2794 field to arg_str.
2795 (struct test_ff_f_data): Likewise.
2796 (test_ff_f_data_nexttoward): Likewise.
2797 (struct test_fi_f_data): Likewise.
2798 (struct test_fl_f_data): Likewise.
2799 (struct test_if_f_data): Likewise.
2800 (struct test_fff_f_data): Likewise.
2801 (struct test_c_f_data): Likewise.
2802 (struct test_f_f1_data): Likewise. Remove field extra_name.
2803 (struct test_fF_f1_data): Likewise.
2804 (struct test_ffI_f1_data): Likewise.
2805 (struct test_c_c_data): Rename test_name field to arg_str.
2806 (struct test_cc_c_data): Likewise.
2807 (struct test_f_i_data): Likewise.
2808 (struct test_ff_i_data): Likewise.
2809 (struct test_f_l_data): Likewise.
2810 (struct test_f_L_data): Likewise.
2811 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2812 and extra2_name.
2813 (COMMON_TEST_SETUP): New macro.
2814 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2815 (COMMON_TEST_CLEANUP): Likewise.
2816 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2817 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2818 macros.
2819 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2820 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2821 macros.
2822 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2823 (RUN_TEST_fff_f): Take argument string. Call new setup and
2824 cleanup macros.
2825 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2826 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2827 macros.
2828 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2829 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2830 macros.
2831 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2832 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2833 cleanup macros.
2834 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2835 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2836 cleanup macros.
2837 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2838 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2839 cleanup macros.
2840 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2841 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2842 macros.
2843 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2844 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2845 macros.
2846 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2847 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2848 macros.
2849 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2850 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2851 cleanup macros.
2852 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2853 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2854 cleanup macros.
2855 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2856 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2857 macros.
2858 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2859 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2860 cleanup macros.
2861 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2862 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2863 macros.
2864 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2865 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2866 macros.
2867 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2868 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2869 cleanup macros.
2870 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2871
85118d4d
EBM
28722013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2873
2874 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2875 to _sifields.sigfault.
2876 (si_addr_lsb): Define new macro.
2877 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2878 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2879 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2880
7a44c18f
CD
28812013-05-03 Carlos O'Donell <carlos at redhat.com>
2882
2883 [BZ #15441]
2884 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2885 returns -1.
2886 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2887 null return -1.
2888 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2889 loading the domain.
2890
b50a7181
JM
28912013-05-22 Joseph Myers <joseph@codesourcery.com>
2892
2893 * math/gen-libm-test.pl (parse_args): Do not include expected
2894 result in test name.
2895 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2896 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2897 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2898 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2899 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2901
051063c8
SP
29022013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2903
3ce9e010
SP
2904 * benchtests/Makefile: Sort function entries.
2905
051063c8
SP
2906 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2907 tanh, asinh, acosh, atanh.
2908 * benchtests/acos-inputs: New file.
2909 * benchtests/acosh-inputs: New file.
2910 * benchtests/asin-inputs: New file.
2911 * benchtests/asinh-inputs: New file.
2912 * benchtests/atanh-inputs: New file.
2913 * benchtests/cosh-inputs: New file.
2914 * benchtests/log-inputs: New file.
2915 * benchtests/sinh-inputs: New file.
2916 * benchtests/tanh-inputs: New file.
2917
47c22455
DL
29182013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2919
2920 [BZ #15339]
2921 * posix/tst-getaddrinfo4.c: New test.
2922 * posix/Makefile (tests): Add it.
2923
3d04f5db
SP
29242013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2925
2926 [BZ #15339]
2927 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2928 when no services were used.
2929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2930 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2931
d5dd6189
AS
29322013-05-21 Andreas Schwab <schwab@suse.de>
2933
2934 [BZ #15014]
2935 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2936 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2937 successful.
2938 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2939 redundant variable declarations and reallocation of buffer when
2940 parsing as IPv6 address. Always set NSS status when called from
2941 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2942 buffer too small. Correct computation of needed size.
2943 * nss/Makefile (tests): Add test-digits-dots.
2944 * nss/test-digits-dots.c: New test.
2945
fef94eab
SP
29462013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2947
2948 * benchtests/Makefile: Remove instructions for adding
2949 benchmark tests.
2950 * benchtests/README: New file to explain how to execute and
2951 enhance the benchmark tests.
2952
e39adf43
AS
29532013-05-21 Andreas Schwab <schwab@suse.de>
2954
2955 [BZ #15493]
2956 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2957 * setjmp/tst-sigsetjmp.c: New test.
2958
b2b671b6
OB
29592013-05-20 Ondřej Bílka <neleai@seznam.cz>
2960
2961 * sysdeps/x86_64/memset.S (memset): New implementation.
2962 (__bzero): Likewise.
2963 (__memset_tail): New function.
2964
2d48b41c
OB
29652013-05-20 Ondřej Bílka <neleai@seznam.cz>
2966
2967 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2968 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2969 __memcpy_sse2_unaligned ifunc selection.
2970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2971 Add memcpy-sse2-unaligned.S.
2972 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2973 Add: __memcpy_sse2_unaligned.
2974
f16cc3eb
JM
29752013-05-19 Joseph Myers <joseph@codesourcery.com>
2976
3e694268
JM
2977 [BZ #15490]
2978 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2979 math_force_eval before restoring floating-point envrionment.
2980 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2981 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2982 Likewise.
2983 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2984 <math_private.h>.
2985 (__nearbyintl): Use math_force_eval before restoring
2986 floating-point environment.
2987 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2988
db62a907
JM
2989 * math/gen-libm-test.pl (special_functions): Remove.
2990 (parse_args): Don't handle TEST_extra. Handle functions with no
2991 return value.
2992 * math/libm-test.inc (struct test_sincos_data): Replace with
2993 struct test_fFF_11_data.
2994 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2995 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2996 (sincos_test_data): Change element type to struct
2997 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2998 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2999 RUN_TEST_LOOP_sincos.
3000 * math/README.libm-test: Don't mention special handling of
3001 individual functions.
3002 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3003 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3004 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3005 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3006 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3008
f16cc3eb
JM
3009 * math/gen-libm-test.pl (get_variable): Remove function.
3010 (parse_args): Don't show pointer parameters to call in test
3011 names. Use "extra output N" in test names for extra outputs
3012 rather than naming variables.
3013
3779b5b6
JM
30142013-05-18 Joseph Myers <joseph@codesourcery.com>
3015
2ee094ff
JM
3016 [BZ #15488]
3017 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3018 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3019 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3020 double tests.
3021 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3022 disable.
3023 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3024 check_long_double.
3025
3779b5b6
JM
3026 * math/gen-libm-test.pl (@tests): Remove variable.
3027 ($count): Likewise.
3028 (new_test): Remove function.
3029 (show_exceptions): New function.
3030 (special_functions): Use show_exceptions instead of new_test.
3031 (parse_args): Likewise.
3032 (generate_testfile): Pass only function name in generated call to
3033 print_max_error or print_complex_max_error.
3034 (get_ulps): Do not handle complex tests specially.
3035 (output_test): Rename to ...
3036 (get_all_ulps_for_test): ... this. Return a string rather than
3037 printing to a file. Require ulps to be present.
3038 (output_ulps): Generate arrays rather than #defines.
3039 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3040 (struct ulp_data): New type.
3041 (BUILD_COMPLEX_ULP): Remove macro.
3042 (compare_ulp_data): New function.
3043 (find_ulps): Likewise.
3044 (find_test_ulps): Likewise.
3045 (find_function_ulps): Likewise.
3046 (find_complex_function_ulps): Likewise.
3047 (print_max_error): Determine allowed ulps using
3048 find_function_ulps.
3049 (print_complex_max_error): Determine allowed ulps using
3050 find_complex_function_ulps.
3051 (check_float_internal): Determine max ulps using find_test_ulps.
3052 (check_float): Do not take max_ulp parameter. Update call to
3053 check_float_internal.
3054 (check_complex): Likewise.
3055 (check_int): Do not take max_ulp parameter.
3056 (check_long): Likewise.
3057 (check_bool): Likewise.
3058 (check_longlong): Likewise.
3059 (struct test_f_f_data): Remove max_ulp field.
3060 (struct test_ff_f_data): Likewise.
3061 (struct test_ff_f_data_nexttoward): Likewise.
3062 (struct test_fi_f_data): Likewise.
3063 (struct test_fl_f_data): Likewise.
3064 (struct test_if_f_data): Likewise.
3065 (struct test_fff_f_data): Likewise.
3066 (struct test_c_f_data): Likewise.
3067 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3068 (struct test_fF_f1_data): Likewise.
3069 (struct test_ffI_f1_data): Likewise.
3070 (struct test_c_c_data): Remove max_ulp field.
3071 (struct test_cc_c_data): Likewise.
3072 (struct test_f_i_data): Likewise.
3073 (struct test_ff_i_data): Likewise.
3074 (struct test_f_l_data): Likewise.
3075 (struct test_f_L_data): Likewise.
3076 (struct test_sincos_data): Likewise.
3077 (RUN_TEST_f_f): Do not handle ulps.
3078 (RUN_TEST_LOOP_f_f): Likewise.
3079 (RUN_TEST_2_f): Likewise.
3080 (RUN_TEST_LOOP_2_f): Likewise.
3081 (RUN_TEST_fff_f): Likewise.
3082 (RUN_TEST_LOOP_fff_f): Likewise.
3083 (RUN_TEST_c_f): Likewise.
3084 (RUN_TEST_LOOP_c_f): Likewise.
3085 (RUN_TEST_f_f1): Likewise.
3086 (RUN_TEST_LOOP_f_f1): Likewise.
3087 (RUN_TEST_fF_f1): Likewise.
3088 (RUN_TEST_LOOP_fF_f1): Likewise.
3089 (RUN_TEST_fI_f1): Likewise.
3090 (RUN_TEST_LOOP_fI_f1): Likewise.
3091 (RUN_TEST_ffI_f1): Likewise.
3092 (RUN_TEST_LOOP_ffI_f1): Likewise.
3093 (RUN_TEST_c_c): Likewise.
3094 (RUN_TEST_LOOP_c_c): Likewise.
3095 (RUN_TEST_cc_c): Likewise.
3096 (RUN_TEST_LOOP_cc_c): Likewise.
3097 (RUN_TEST_f_i): Likewise.
3098 (RUN_TEST_LOOP_f_i): Likewise.
3099 (RUN_TEST_f_i_tg): Likewise.
3100 (RUN_TEST_LOOP_f_i_tg): Likewise.
3101 (RUN_TEST_ff_i_tg): Likewise.
3102 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3103 (RUN_TEST_f_b): Likewise.
3104 (RUN_TEST_LOOP_f_b): Likewise.
3105 (RUN_TEST_f_b_tg): Likewise.
3106 (RUN_TEST_LOOP_f_b_tg): Likewise.
3107 (RUN_TEST_f_l): Likewise.
3108 (RUN_TEST_LOOP_f_l): Likewise.
3109 (RUN_TEST_f_L): Likewise.
3110 (RUN_TEST_LOOP_f_L): Likewise.
3111 (RUN_TEST_sincos): Likewise.
3112 (RUN_TEST_LOOP_sincos): Likewise.
3113
8269107f
JM
31142013-05-17 Joseph Myers <joseph@codesourcery.com>
3115
bb38759d
JM
3116 [BZ #15480]
3117 [BZ #15485]
3118 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3119 main case of finite arguments, set rounding mode to FE_TONEAREST
3120 and discard exceptions.
3121 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3122 exceptions.
3123 (remainder_tonearest_test_data): New variable.
3124 (remainder_test_tonearest): New function.
3125 (remainder_towardzero_test_data): New variable.
3126 (remainder_test_towardzero): New function.
3127 (remainder_downward_test_data): New variable.
3128 (remainder_test_downward): New function.
3129 (remainder_upward_test_data): New variable.
3130 (remainder_test_upward): New function.
3131 (main): Call the new test functions.
3132
a00bdcf0
JM
3133 * math/libm-test.inc (struct test_f_f1_data): Remove field
3134 extra_init.
3135 (struct test_fF_f1_data): Likewise.
3136 (struct test_ffI_f1_data): Likewise.
3137 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3138 based on value of EXTRA_EXPECTED.
3139 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3140 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3141 EXTRA_VAR based on value of EXTRA_EXPECTED.
3142 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3143 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3144 EXTRA_VAR based on value of EXTRA_EXPECTED.
3145 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3146 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3147 EXTRA_VAR based on value of EXTRA_EXPECTED.
3148 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3149 * math/gen-libm-test.pl (parse_args): Don't output initializers
3150 for extra output values.
3151
de407f79
JM
3152 * math/libm-test.inc (check_int): Expect result to be exactly
3153 equal to expected value and do not handle ulps.
3154 (check_long): Likewise.
3155 (check_longlong): Likewise.
3156
8269107f
JM
3157 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3158 exceptions.
3159 (cimag_test_data): Likewise.
3160 (conj_test_data): Likewise.
3161 (copysign_test_data): Likewise.
3162 (cproj_test_data): Likewise.
3163 (creal_test_data): Likewise.
3164 (fabs_test_data): Likewise.
3165 (fdim_test_data): Likewise.
3166 (finite_test_data): Likewise.
3167 (floor_test_data): Likewise.
3168 (fmax_test_data): Likewise.
3169 (fmin_test_data): Likewise.
3170 (fmod_test_data): Likewise.
3171 (fpclassify_test_data): Likewise.
3172 (frexp_test_data): Likewise.
3173 (ilogb_test_data): Likewise.
3174 (isfinite_test_data): Likewise.
3175 (isgreater_test_data): Likewise.
3176 (isgreaterequal_test_data): Likewise.
3177 (isinf_test_data): Likewise.
3178 (isless_test_data): Likewise.
3179 (islessequal_test_data): Likewise.
3180 (islessgreater_test_data): Likewise.
3181 (isnan_test_data): Likewise.
3182 (isnormal_test_data): Likewise.
3183 (issignaling_test_data): Likewise.
3184 (isunordered_test_data): Likewise.
3185 (ldexp_test_data): Likewise.
3186 (lrint_test_data): Likewise.
3187 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3188 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3189 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3190 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3191 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3192 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3193 test input.
3194 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3195 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3196 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3197 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3198 that test input.
3199 (lrint_downward_test_data): Test for "inexact" exceptions.
3200 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3201 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3202 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3203 test input.
3204 (lrint_upward_test_data): Test for "inexact" exceptions.
3205 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3206 test input.
3207 (llrint_test_data): Test for "inexact" exceptions.
3208 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3209 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3210 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3211 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3212 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3213 (llrint_downward_test_data): Test for "inexact" exceptions.
3214 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3215 (llrint_upward_test_data): Test for "inexact" exceptions.
3216 (logb_test_data): Likewise.
3217 (logb_downward_test_data): Likewise.
3218 (nextafter_test_data): Likewise.
3219 (nexttoward_test_data): Likewise.
3220 (remainder_test_data): Likewise.
3221 (remquo_test_data): Likewise.
3222 (scalbn_test_data): Likewise.
3223 (scalbln_test_data): Likewise.
3224 (signbit_test_data): Likewise.
3225 (sqrt_test_data): Likewise.
3226 (significand_test_data): Likewise.
3227
48a18de1
SP
32282013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3229
3230 [BZ #15424]
3231 * benchtests/bench-modf.c (struct args): Mark arg0 as
3232 volatile.
3233 * scripts/bench.pl: Mark members of struct args as volatile.
3234
13d3b41a
AZ
32352013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3236
68191c1d 3237 [BZ # 15497]
13d3b41a
AZ
3238 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3239 negative infinity on POWER6 or lower.
3240 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3241
2848b105
MR
32422013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3243
3244 [BZ #15442]
3245 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3246 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3247 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3248 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3249 (_FP_SETQNAN): New macro.
3250 (_FP_SETQNAN_SEMIRAW): Likewise.
3251 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3252 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3253 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3254 (FP_EXTEND): Use _FP_FRAC_SNANP.
3255 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3256 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3257 into account.
3258 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3259 New macro.
3260 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3261 Likewise.
3262
323e5cb7
JM
32632013-05-16 Joseph Myers <joseph@codesourcery.com>
3264
c58b274f
JM
3265 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3266 with DIVIDE_BY_ZERO_EXCEPTION.
3267 (gamma_test_data): Likewise.
3268 (lgamma_test_data): Likewise.
3269 (log_test_data): Likewise.
3270 (log10_test_data): Likewise.
3271 (log2_test_data): Likewise.
3272 (tgamma_test_data): Likewise.
3273
0ab34904
JM
3274 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3275 (acos_test_tonearest): Likewise.
3276 (acos_test_towardzero): Likewise.
3277 (acos_test_downward): Likewise.
3278 (acos_test_upward): Likewise.
3279 (acosh_test): Likewise.
3280 (asin_test): Likewise.
3281 (asin_test_tonearest): Likewise.
3282 (asin_test_towardzero): Likewise.
3283 (asin_test_downward): Likewise.
3284 (asin_test_upward): Likewise.
3285 (asinh_test): Likewise.
3286 (atan_test): Likewise.
3287 (atanh_test): Likewise.
3288 (atan2_test): Likewise.
3289 (cabs_test): Likewise.
3290 (cacos_test): Likewise.
3291 (cacosh_test): Likewise.
3292 (casin_test): Likewise.
3293 (casinh_test): Likewise.
3294 (catan_test): Likewise.
3295 (catanh_test): Likewise.
3296 (cbrt_test): Likewise.
3297 (ccos_test): Likewise.
3298 (ccosh_test): Likewise.
3299 (cexp_test): Likewise.
3300 (clog_test): Likewise.
3301 (clog10_test): Likewise.
3302 (cos_test): Likewise.
3303 (cos_test_tonearest): Likewise.
3304 (cos_test_towardzero): Likewise.
3305 (cos_test_downward): Likewise.
3306 (cos_test_upward): Likewise.
3307 (cosh_test): Likewise.
3308 (cosh_test_tonearest): Likewise.
3309 (cosh_test_towardzero): Likewise.
3310 (cosh_test_downward): Likewise.
3311 (cosh_test_upward): Likewise.
3312 (cpow_test): Likewise.
3313 (csin_test): Likewise.
3314 (csinh_test): Likewise.
3315 (csqrt_test): Likewise.
3316 (ctan_test): Likewise.
3317 (ctan_test_tonearest): Likewise.
3318 (ctan_test_towardzero): Likewise.
3319 (ctan_test_downward): Likewise.
3320 (ctan_test_upward): Likewise.
3321 (ctanh_test): Likewise.
3322 (ctanh_test_tonearest): Likewise.
3323 (ctanh_test_towardzero): Likewise.
3324 (ctanh_test_downward): Likewise.
3325 (ctanh_test_upward): Likewise.
3326 (erf_test): Likewise.
3327 (erfc_test): Likewise.
3328 (exp_test): Likewise.
3329 (exp_test_tonearest): Likewise.
3330 (exp_test_towardzero): Likewise.
3331 (exp_test_downward): Likewise.
3332 (exp_test_upward): Likewise.
3333 (exp10_test): Likewise.
3334 (exp2_test): Likewise.
3335 (expm1_test): Likewise.
3336 (fmod_test): Likewise.
3337 (gamma_test): Likewise.
3338 (hypot_test): Likewise.
3339 (j0_test): Likewise.
3340 (j1_test): Likewise.
3341 (jn_test): Likewise.
3342 (lgamma_test): Likewise.
3343 (log_test): Likewise.
3344 (log10_test): Likewise.
3345 (log1p_test): Likewise.
3346 (log2_test): Likewise.
3347 (logb_test_downward): Likewise.
3348 (pow_test): Likewise.
3349 (pow_test_tonearest): Likewise.
3350 (pow_test_towardzero): Likewise.
3351 (pow_test_downward): Likewise.
3352 (pow_test_upward): Likewise.
3353 (remainder_test): Likewise.
3354 (remquo_test): Likewise.
3355 (sin_test): Likewise.
3356 (sin_test_tonearest): Likewise.
3357 (sin_test_towardzero): Likewise.
3358 (sin_test_downward): Likewise.
3359 (sin_test_upward): Likewise.
3360 (sincos_test): Likewise.
3361 (sinh_test): Likewise.
3362 (sinh_test_tonearest): Likewise.
3363 (sinh_test_towardzero): Likewise.
3364 (sinh_test_downward): Likewise.
3365 (sinh_test_upward): Likewise.
3366 (sqrt_test): Likewise.
3367 (tan_test): Likewise.
3368 (tan_test_tonearest): Likewise.
3369 (tan_test_towardzero): Likewise.
3370 (tan_test_downward): Likewise.
3371 (tan_test_upward): Likewise.
3372 (tanh_test): Likewise.
3373 (tgamma_test): Likewise.
3374 (y0_test): Likewise.
3375 (y1_test): Likewise.
3376 (yn_test): Likewise.
3377
323e5cb7
JM
3378 * math/gen-libm-test.pl (adjust_arg): Remove function.
3379 (special_function): Remove argument $in_func. Only handle
3380 generating output for tables of tests, not inside functions.
3381 (parse_args): Likewise.
3382 (generate_testfile): Remove variable $in_func. Update call to
3383 parse_args.
3384 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3385 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3386 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3387 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3388 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3389 (MAX_VALUE_INIT): Rename macro to max_value.
3390 (MIN_VALUE_INIT): Rename macro to min_value.
3391 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3392 (plus_zero): Remove variable.
3393 (minus_zero): Likewise.
3394 (plus_infty): Likewise.
3395 (minus_infty): Likewise.
3396 (qnan_value): Likewise.
3397 (max_value): Likewise.
3398 (min_value): Likewise.
3399 (min_subnorm_value): Likewise.
3400
e054f494
RA
34012013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3402
3403 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3404 uint64_t or uint32_t usage.
3405 * crypt/sha256-block.c: Likewise.
3406 * crypt/sha256-crypt.c: Likewise.
3407 * crypt/sha256.c: Likewise.
3408 * crypt/sha512-block.c: Likewise.
3409 * crypt/sha512-crypt.c: Likewise.
3410 * crypt/sha512.c: Likewise.
3411 * debug/backtrace-tst.c: Likewise.
3412 * debug/pcprofiledump.c: Likewise.
3413 * elf/cache.c: Likewise.
3414 * elf/dl-cache.c: Likewise.
3415 * elf/dl-misc.c: Likewise.
3416 * elf/dl-profile.c: Likewise.
3417 * elf/dl-support.c: Likewise.
3418 * elf/ldconfig.c: Likewise.
3419 * elf/sprof.c: Likewise.
3420 * iconv/dummy-repertoire.c: Likewise.
3421 * iconv/iconv_charmap.c: Likewise.
3422 * iconv/skeleton.c: Likewise.
3423 * iconvdata/8bit-generic.c: Likewise.
3424 * iconvdata/cp737.h: Likewise.
3425 * iconvdata/cp775.h: Likewise.
3426 * iconvdata/ibm1008.h: Likewise.
3427 * iconvdata/ibm1025.h: Likewise.
3428 * iconvdata/ibm1046.h: Likewise.
3429 * iconvdata/ibm1097.h: Likewise.
3430 * iconvdata/ibm1112.h: Likewise.
3431 * iconvdata/ibm1122.h: Likewise.
3432 * iconvdata/ibm1123.h: Likewise.
3433 * iconvdata/ibm1124.h: Likewise.
3434 * iconvdata/ibm1129.h: Likewise.
3435 * iconvdata/ibm1130.h: Likewise.
3436 * iconvdata/ibm1132.h: Likewise.
3437 * iconvdata/ibm1133.h: Likewise.
3438 * iconvdata/ibm1137.h: Likewise.
3439 * iconvdata/ibm1140.h: Likewise.
3440 * iconvdata/ibm1141.h: Likewise.
3441 * iconvdata/ibm1142.h: Likewise.
3442 * iconvdata/ibm1143.h: Likewise.
3443 * iconvdata/ibm1144.h: Likewise.
3444 * iconvdata/ibm1145.h: Likewise.
3445 * iconvdata/ibm1146.h: Likewise.
3446 * iconvdata/ibm1147.h: Likewise.
3447 * iconvdata/ibm1148.h: Likewise.
3448 * iconvdata/ibm1149.h: Likewise.
3449 * iconvdata/ibm1153.h: Likewise.
3450 * iconvdata/ibm1154.h: Likewise.
3451 * iconvdata/ibm1155.h: Likewise.
3452 * iconvdata/ibm1156.h: Likewise.
3453 * iconvdata/ibm1157.h: Likewise.
3454 * iconvdata/ibm1158.h: Likewise.
3455 * iconvdata/ibm1160.h: Likewise.
3456 * iconvdata/ibm1161.h: Likewise.
3457 * iconvdata/ibm1162.h: Likewise.
3458 * iconvdata/ibm1163.h: Likewise.
3459 * iconvdata/ibm1164.h: Likewise.
3460 * iconvdata/ibm1166.h: Likewise.
3461 * iconvdata/ibm1167.h: Likewise.
3462 * iconvdata/ibm12712.h: Likewise.
3463 * iconvdata/ibm1390.h: Likewise.
3464 * iconvdata/ibm1399.h: Likewise.
3465 * iconvdata/ibm16804.h: Likewise.
3466 * iconvdata/ibm4517.h: Likewise.
3467 * iconvdata/ibm4899.h: Likewise.
3468 * iconvdata/ibm4909.h: Likewise.
3469 * iconvdata/ibm4971.h: Likewise.
3470 * iconvdata/ibm5347.h: Likewise.
3471 * iconvdata/ibm803.h: Likewise.
3472 * iconvdata/ibm856.h: Likewise.
3473 * iconvdata/ibm901.h: Likewise.
3474 * iconvdata/ibm902.h: Likewise.
3475 * iconvdata/ibm9030.h: Likewise.
3476 * iconvdata/ibm9066.h: Likewise.
3477 * iconvdata/ibm921.h: Likewise.
3478 * iconvdata/ibm922.h: Likewise.
3479 * iconvdata/ibm9448.h: Likewise.
3480 * iconvdata/isiri-3342.h: Likewise.
3481 * iconvdata/jis0201.h: Likewise.
3482 * include/link.h: Likewise.
3483 * include/netdb.h: Likewise.
3484 * inet/check_native.c: Likewise.
3485 * inet/check_pf.c: Likewise.
3486 * inet/getipv4sourcefilter.c: Likewise.
3487 * inet/getnameinfo.c: Likewise.
3488 * inet/getsourcefilter.c: Likewise.
3489 * inet/htonl.c: Likewise.
3490 * inet/setipv4sourcefilter.c: Likewise.
3491 * inet/setsourcefilter.c: Likewise.
3492 * inet/test-inet6_opt.c: Likewise.
3493 * inet/tst-network.c: Likewise.
3494 * locale/C-collate.c: Likewise.
3495 * locale/C-ctype.c: Likewise.
3496 * locale/C-time.c: Likewise.
3497 * locale/C-translit.h: Likewise.
3498 * locale/loadarchive.c: Likewise.
3499 * locale/programs/3level.h: Likewise.
3500 * locale/programs/charmap.c: Likewise.
3501 * locale/programs/charmap.h: Likewise.
3502 * locale/programs/ld-address.c: Likewise.
3503 * locale/programs/ld-collate.c: Likewise.
3504 * locale/programs/ld-ctype.c: Likewise.
3505 * locale/programs/ld-identification.c: Likewise.
3506 * locale/programs/ld-measurement.c: Likewise.
3507 * locale/programs/ld-messages.c: Likewise.
3508 * locale/programs/ld-monetary.c: Likewise.
3509 * locale/programs/ld-name.c: Likewise.
3510 * locale/programs/ld-numeric.c: Likewise.
3511 * locale/programs/ld-paper.c: Likewise.
3512 * locale/programs/ld-telephone.c: Likewise.
3513 * locale/programs/ld-time.c: Likewise.
3514 * locale/programs/linereader.c: Likewise.
3515 * locale/programs/locale.c: Likewise.
3516 * locale/programs/locarchive.c: Likewise.
3517 * locale/programs/locfile.h: Likewise.
3518 * locale/programs/repertoire.c: Likewise.
3519 * locale/programs/simple-hash.c: Likewise.
3520 * locale/programs/simple-hash.h: Likewise.
3521 * malloc/memusage.c: Likewise.
3522 * malloc/memusagestat.c: Likewise.
3523 * nis/nis_defaults.c: Likewise.
3524 * nis/nis_hash.c: Likewise.
3525 * nis/nis_print.c: Likewise.
3526 * nis/nis_xdr.c: Likewise.
3527 * nscd/connections.c: Likewise.
3528 * nscd/hstcache.c: Likewise.
3529 * nscd/nscd_gethst_r.c: Likewise.
3530 * nscd/nscd_getserv_r.c: Likewise.
3531 * nscd/nscd_helper.c: Likewise.
3532 * nscd/servicescache.c: Likewise.
3533 * nss/makedb.c: Likewise.
3534 * nss/nss_db/db-XXX.c: Likewise.
3535 * nss/nss_db/db-initgroups.c: Likewise.
3536 * nss/nss_db/db-netgrp.c: Likewise.
3537 * nss/nss_files/files-network.c: Likewise.
3538 * nss/nss_files/files-parse.c: Likewise.
3539 * posix/bug-regex5.c: Likewise.
3540 * posix/fnmatch_loop.c: Likewise.
3541 * posix/regcomp.c: Likewise.
3542 * posix/regexec.c: Likewise.
3543 * posix/tst-rfc3484-2.c: Likewise.
3544 * posix/tst-rfc3484-3.c: Likewise.
3545 * posix/tst-rfc3484.c: Likewise.
3546 * resolv/nss_dns/dns-canon.c: Likewise.
3547 * resolv/nss_dns/dns-network.c: Likewise.
3548 * resolv/res_init.c: Likewise.
3549 * resolv/res_mkquery.c: Likewise.
3550 * resolv/tst-aton.c: Likewise.
3551 * stdlib/cxa_atexit.c: Likewise.
3552 * stdlib/cxa_finalize.c: Likewise.
3553 * stdlib/gen-fpioconst.c: Likewise.
3554 * stdlib/strtol_l.c: Likewise.
3555 * string/tst-endian.c: Likewise.
3556 * sunrpc/auth_des.c: Likewise.
3557 * sunrpc/clnt_udp.c: Likewise.
3558 * sunrpc/rtime.c: Likewise.
3559 * sunrpc/svcauth_des.c: Likewise.
3560 * sunrpc/xdr.c: Likewise.
3561 * sunrpc/xdr_intXX_t.c: Likewise.
3562 * sunrpc/xdr_rec.c: Likewise.
3563 * sysdeps/generic/ldconfig.h: Likewise.
3564 * sysdeps/generic/ldsodefs.h: Likewise.
3565 * sysdeps/generic/memusage.h: Likewise.
3566 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3567 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3568 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3569 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3570 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3575 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3576 * sysdeps/posix/getaddrinfo.c: Likewise.
3577 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3578 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3579 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3580 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3581 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3582 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3583 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3584 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3585 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3586 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3587 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3588 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3589 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3590 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3591 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3592 * sysdeps/x86_64/dl-tls.h: Likewise.
3593 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3594 * time/alt_digit.c: Likewise.
3595 * time/era.c: Likewise.
3596 * wcsmbs/tst-c16c32-1.c: Likewise.
3597
8c75f674
JM
35982013-05-16 Joseph Myers <joseph@codesourcery.com>
3599
3600 * math/libm-test.inc (struct test_sincos_data): New type.
3601 (RUN_TEST_LOOP_sincos): New macro.
3602 (sincos_test_data): New variable.
3603 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3604
e6e49e59
RH
36052013-05-16 Richard Henderson <rth@redhat.com>
3606
3607 * math/atest-exp2.c (LIMB64): New macro.
3608 (CONSTSZ): New macro.
3609 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3610 (hexdig): Move ...
3611 (print_mpn_fp): ... to function scope.
3612 (read_mpn_hex): Remove.
3613 (get_log2): Remove.
3614 (exp2_mpn): Use mp_log2.
3615 (main): Use mp_exp1.
3616
15c7c18d
JM
36172013-05-16 Joseph Myers <joseph@codesourcery.com>
3618
105a07df
JM
3619 * math/libm-test.inc: Remove comment about not testing "inexact"
3620 exceptions.
3621 (INEXACT_EXCEPTION): New macro.
3622 (NO_INEXACT_EXCEPTION): Likewise.
3623 (INVALID_EXCEPTION_OK): Update value.
3624 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3625 (OVERFLOW_EXCEPTION_OK): Likewise.
3626 (UNDERFLOW_EXCEPTION_OK): Likewise.
3627 (IGNORE_ZERO_INF_SIGN): Likewise.
3628 (ERRNO_UNCHANGED): Likewise.
3629 (ERRNO_EDOM): Likewise.
3630 (ERRNO_ERANGE): Likewise.
3631 (test_exceptions): Handle testing "inexact" exceptions.
3632 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3633 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3634 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3635 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3636 INEXACT_EXCEPTION.
3637 (rint_towardzero_test_data): Likewise.
3638 (rint_downward_test_data): Likewise.
3639 (rint_upward_test_data): Likewise.
3640
e9eee333
JM
3641 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3642 with OVERFLOW_EXCEPTION.
3643 (exp10_test_data): Likewise.
3644 (exp2_test_data): Likewise.
3645 (expm1_test_data): Likewise.
3646 (lgamma_test_data): Likewise.
3647 (pow_test_data): Likewise.
3648 (tgamma_test_data): Likewise.
3649 (yn_test_data): Remove duplicate test of overflow.
3650
1c38ff73
JM
3651 * math/libm-test.inc (struct test_cc_c_data): New type.
3652 (RUN_TEST_LOOP_cc_c): New macro.
3653 (cpow_test_data): New variable.
3654 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3655
15c7c18d
JM
3656 * math/libm-test.inc (struct test_f_L_data): New type.
3657 (RUN_TEST_LOOP_f_L): New macro.
3658 (llrint_test_data): New variable.
3659 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3660 (llrint_tonearest_test_data): New variable.
3661 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3662 (llrint_towardzero_test_data): New variable.
3663 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3664 (llrint_downward_test_data): New variable.
3665 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3666 (llrint_upward_test_data): New variable.
3667 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3668 (llround_test_data): New variable.
3669 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3670
f137ff13
PC
36712013-05-13 Peter Collingbourne <pcc@google.com>
3672
3673 * math/atest-exp2.c (get_log2): Remove const attribute.
3674
3608cb24
JM
36752013-05-15 Joseph Myers <joseph@codesourcery.com>
3676
3677 * math/libm-test.inc (struct test_f_l_data): New type.
3678 (RUN_TEST_LOOP_f_l): New macro.
3679 (lrint_test_data): New variable.
3680 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3681 (lrint_tonearest_test_data): New variable.
3682 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3683 (lrint_towardzero_test_data): New variable.
3684 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3685 (lrint_downward_test_data): New variable.
3686 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3687 (lrint_upward_test_data): New variable.
3688 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3689 (lround_test_data): New variable.
3690 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3691
39b1f617
PC
36922013-05-15 Peter Collingbourne <pcc@google.com>
3693
1deff3dc
PC
3694 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3695 (EXTRACT_WORDS64) Use where appropriate.
3696 (INSERT_WORDS64) Likewise.
3697
791f3ba0
PC
3698 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3699 constraints with x constraints.
3700 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3701
39b1f617
PC
3702 * malloc/obstack.c (_obstack_compat): Add initializer.
3703
12fba011
EM
37042013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3705
3706 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3707 si_trapno and add si_addr_lsb to _sifields.sigfault.
3708 (si_trapno): Remove macro.
3709 (si_addr_lsb): Define new macro.
3710 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3711
d369f531
JM
37122013-05-15 Joseph Myers <joseph@codesourcery.com>
3713
b861c6c4
JM
3714 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3715 instead of TEST_f_l.
3716 (llrint_test_tonearest): Likewise.
3717 (llrint_test_towardzero): Likewise.
3718 (llrint_test_downward): Likewise.
3719 (llrint_test_upward): Likewise.
3720 (llround_test): Likewise.
3721
7abeee12
JM
3722 * math/libm-test.inc (struct test_f_i_data): Add comment.
3723 (RUN_TEST_LOOP_f_b): New macro.
3724 (RUN_TEST_LOOP_f_b_tg): Likewise.
3725 (finite_test_data): New variable.
3726 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3727 (isfinite_test_data): New variable.
3728 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3729 (isinf_test_data): New variable.
3730 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3731 (isnan_test_data): New variable.
3732 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3733 (isnormal_test_data): New variable.
3734 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3735 (issignaling_test_data): New variable.
3736 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3737 (signbit_test_data): New variable.
3738 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3739
cbe8c4d3
JM
3740 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3741 with INVALID_EXCEPTION.
3742 (acosh_test_data): Likewise.
3743 (asin_test_data): Likewise.
3744 (atanh_test_data): Likewise.
3745 (fmod_test_data): Likewise.
3746 (log_test_data): Likewise.
3747 (log10_test_data): Likewise.
3748 (log2_test_data): Likewise.
3749 (pow_test_data): Likewise.
3750 (sqrt_test_data): Likewise.
3751 (y0_test_data): Likewise.
3752 (y1_test_data): Likewise.
3753 (yn_test_data): Likewise.
3754
5575c0e5
JM
3755 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3756 function contents.
3757
d369f531
JM
3758 * math/libm-test.inc (struct test_ff_i_data): New type.
3759 (RUN_TEST_LOOP_ff_i_tg): New macro.
3760 (isgreater_test_data): New variable.
3761 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3762 (isgreaterequal_test_data): New variable.
3763 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3764 (isless_test_data): New variable.
3765 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3766 (islessequal_test_data): New variable.
3767 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3768 (islessgreater_test_data): New variable.
3769 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3770 (isunordered_test_data): New variable.
3771 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3772
781fd748
DM
37732013-05-14 David S. Miller <davem@davemloft.net>
3774
3775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3776
87aa21df
JM
37772013-05-14 Joseph Myers <joseph@codesourcery.com>
3778
5e908270
JM
3779 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3780
f71172e5
JM
3781 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3782 extra_test to int.
3783 (struct test_f_i_data): Change type of max_ulp to int.
3784
8cfa635a
JM
3785 * math/libm-test.inc (test_ffI_f1_data): New type.
3786 (RUN_TEST_LOOP_ffI_f1): New macro.
3787 (remquo_test_data): New variable.
3788 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3789
2bcb36b2
JM
3790 * setjmp/tst-setjmp-fp.c: New file.
3791 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3792 (link-libm): New variable.
3793 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3794
acbd839a
JM
3795 * math/libm-test.inc (struct test_f_i_data): New type.
3796 (RUN_TEST_LOOP_f_i): New macro.
3797 (RUN_TEST_LOOP_f_i_tg): Likewise.
3798 (fpclassify_test_data): New variable.
3799 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3800 (ilogb_test_data): New variable.
3801 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3802
e414d745
JM
3803 * math/libm-test.inc (scalbln_test): Correct function name in END
3804 call.
3805
d9c2a0fd
JM
3806 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3807 (RUN_TEST_LOOP_fI_f1): New macro.
3808 (frexp_test_data): New variable.
3809 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3810
9dc9095d
JM
3811 * math/libm-test.inc (struct test_fF_f1_data): New type.
3812 (RUN_TEST_LOOP_fF_f1): New macro.
3813 (modf_test_data): New variable.
3814 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3815
87aa21df
JM
3816 * math/libm-test.inc (struct test_f_f1_data): New type.
3817 (RUN_TEST_LOOP_f_f1): New macro.
3818 (gamma_test_data): New variable.
3819 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3820 (lgamma_test_data): New variable.
3821 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3822
141af660
CD
38232013-05-13 Carlos O'Donell <carlos@redhat.com>
3824
3825 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3826 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3827 (main): Comment "tls" pseudo-hwcap.
3828
6d33265c
JM
38292013-05-13 Joseph Myers <joseph@codesourcery.com>
3830
68fc074c
JM
3831 * math/libm-test.inc (struct test_fl_f_data): New type.
3832 (RUN_TEST_LOOP_fl_f): New variable.
3833 (scalbln_test_data): New variable.
3834 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3835
243216e1
JM
3836 * math/libm-test.inc (struct test_fi_f_data): New type.
3837 (RUN_TEST_LOOP_fi_f): New macro.
3838 (ldexp_test_data): New variable.
3839 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3840 (scalbn_test_data): New variable.
3841 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3842
6a1992e2
JM
3843 * math/libm-test.inc (struct test_c_f_data): New type.
3844 (RUN_TEST_LOOP_c_f): New macro.
3845 (cabs_test_data): New variable.
3846 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3847 (carg_test_data): New variable.
3848 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3849 (cimag_test_data): New variable.
3850 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3851 (creal_test_data): New variable.
3852 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3853
0e400df5
JM
3854 * math/libm-test.inc (struct test_if_f_data): New type.
3855 (RUN_TEST_LOOP_if_f): New macro.
3856 (jn_test_data): New variable.
3857 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3858 (yn_test_data): New variable.
3859 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3860
6d33265c
JM
3861 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3862
f98ece5f
AZ
38632013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3864
3865 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3866 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3867
0f7d347b
SP
38682013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3869
43fe811b
SP
3870 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3871 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3872 (bench-deps): Add bench-timing.h.
3873 * benchtests-bench-skeleton.c: Include bench-timing.h.
3874 (main): Use TIMING_* macros instead of clock_gettime.
3875 * benchtests/bench-timing.h: New file.
3876
0f7d347b
SP
3877 [BZ #14582]
3878 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3879 Renamed from _LIB_VERSION.
3880 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3881
601a3a5f
JM
38822013-05-12 Joseph Myers <joseph@codesourcery.com>
3883
4f184d30
JM
3884 * math/libm-test.inc (struct test_fff_f_data): New type.
3885 (RUN_TEST_LOOP_fff_f): New macro.
3886 (fma_test_data): New variable.
3887 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3888 (fma_towardzero_test_data): New variable.
3889 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3890 (fma_downward_test_data): New variable.
3891 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3892 (fma_upward_test_data): New variable.
3893 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3894
08198877
JM
3895 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3896 (struct test_c_c_data): New type.
3897 (RUN_TEST_LOOP_c_c): New macro.
3898 (cacos_test_data): New variable.
3899 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3900 (cacosh_test_data): New variable.
3901 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3902 (casin_test_data): New variable.
3903 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3904 (casinh_test_data): New variable.
3905 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3906 (catan_test_data): New variable.
3907 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3908 (catanh_test_data): New variable.
3909 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3910 (ccos_test_data): New variable.
3911 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3912 (ccosh_test_data): New variable.
3913 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3914 (cexp_test_data): New variable.
3915 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3916 (clog_test_data): New variable.
3917 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3918 (clog10_test_data): New variable.
3919 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3920 (conj_test_data): New variable.
3921 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3922 (cproj_test_data): New variable.
3923 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3924 (csin_test_data): New variable.
3925 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3926 (csinh_test_data): New variable.
3927 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3928 (csqrt_test_data): New variable.
3929 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3930 (ctan_test_data): New variable.
3931 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3932 (ctan_tonearest_test_data): New variable.
3933 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3934 (ctan_towardzero_test_data): New variable.
3935 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3936 (ctan_downward_test_data): New variable.
3937 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3938 (ctan_upward_test_data): New variable.
3939 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3940 (ctanh_test_data): New variable.
3941 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3942 (ctanh_tonearest_test_data): New variable.
3943 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3944 (ctanh_towardzero_test_data): New variable.
3945 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3946 (ctanh_downward_test_data): New variable.
3947 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3948 (ctanh_upward_test_data): New variable.
3949 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3950 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3951 of BUILD_COMPLEX.
3952
601a3a5f
JM
3953 * math/libm-test.inc (struct test_ff_f_data): New type.
3954 (struct test_ff_f_data_nexttoward): Likewise.
3955 (RUN_TEST_LOOP_2_f): New macro.
3956 (RUN_TEST_LOOP_ff_f): Likewise.
3957 (atan2_test_data): New variable.
3958 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3959 (copysign_test_data): New variable.
3960 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3961 (fdim_test_data): New variable.
3962 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3963 (fmax_test_data): New variable.
3964 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3965 (fmin_test_data): New variable.
3966 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3967 (fmod_test_data): New variable.
3968 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3969 (hypot_test_data): New variable.
3970 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3971 (nextafter_test_data): New variable.
3972 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3973 (nexttoward_test_data): New variable.
3974 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3975 (pow_test_data): New variable.
3976 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3977 (pow_tonearest_test_data): New variable.
3978 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3979 (pow_towardzero_test_data): New variable.
3980 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3981 (pow_downward_test_data): New variable.
3982 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3983 (pow_upward_test_data): New variable.
3984 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3985 (remainder_test_data): New variable.
3986 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3987 (scalb_test_data): New variable.
3988 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3989 * sysdeps/i386/fpu/libm-test-ulps: Update.
3990
74c57478
JM
39912013-05-11 Joseph Myers <joseph@codesourcery.com>
3992
8329e4da
JM
3993 * math/libm-test.inc (fma_test): Use max_value instead of local
3994 variable fltmax.
3995 (nextafter_test): Likewise.
3996
74c57478
JM
3997 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3998 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3999 (acos_downward_test_data): New variable.
4000 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4001 (acos_upward_test_data): New variable.
4002 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4003 (acosh_test_data): New variable.
4004 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4005 (asin_test_data): New variable.
4006 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4007 (asin_tonearest_test_data): New variable.
4008 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4009 (asin_towardzero_test_data): New variable.
4010 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4011 (asin_downward_test_data): New variable.
4012 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4013 (asin_upward_test_data): New variable.
4014 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4015 (asinh_test_data): New variable.
4016 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4017 (atan_test_data): New variable.
4018 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4019 (atanh_test_data): New variable.
4020 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4021 (cbrt_test_data): New variable.
4022 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4023 (ceil_test_data): New variable.
4024 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4025 (cos_test_data): New variable.
4026 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4027 (cos_tonearest_test_data): New variable.
4028 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4029 (cos_towardzero_test_data): New variable.
4030 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4031 (cos_downward_test_data): New variable.
4032 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4033 (cos_upward_test_data): New variable.
4034 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4035 (cosh_test_data): New variable.
4036 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4037 (cosh_tonearest_test_data): New variable.
4038 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4039 (cosh_towardzero_test_data): New variable.
4040 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4041 (cosh_downward_test_data): New variable.
4042 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4043 (cosh_upward_test_data): New variable.
4044 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4045 (erf_test_data): New variable.
4046 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4047 (erfc_test_data): New variable.
4048 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4049 (exp_test_data): New variable.
4050 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4051 (exp_tonearest_test_data): New variable.
4052 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4053 (exp_towardzero_test_data): New variable.
4054 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4055 (exp_downward_test_data): New variable.
4056 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4057 (exp_upward_test_data): New variable.
4058 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4059 (exp10_test_data): New variable.
4060 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4061 (exp2_test_data): New variable.
4062 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4063 (expm1_test_data): New variable.
4064 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4065 (fabs_test_data): New variable.
4066 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4067 (floor_test_data): New variable.
4068 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4069 (j0_test_data): New variable.
4070 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4071 (j1_test_data): New variable.
4072 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4073 (log_test_data): New variable.
4074 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4075 (log10_test_data): New variable.
4076 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4077 (log1p_test_data): New variable.
4078 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4079 (log2_test_data): New variable.
4080 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4081 (logb_test_data): New variable.
4082 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4083 (logb_downward_test_data): New variable.
4084 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4085 (nearbyint_test_data): New variable.
4086 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4087 (rint_test_data): New variable.
4088 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4089 (rint_tonearest_test_data): New variable.
4090 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4091 (rint_towardzero_test_data): New variable.
4092 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4093 (rint_downward_test_data): New variable.
4094 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4095 (rint_upward_test_data): New variable.
4096 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4097 (round_test_data): New variable.
4098 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4099 (sin_test_data): New variable.
4100 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4101 (sin_tonearest_test_data): New variable.
4102 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4103 (sin_towardzero_test_data): New variable.
4104 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4105 (sin_downward_test_data): New variable.
4106 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4107 (sin_upward_test_data): New variable.
4108 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4109 (sinh_test_data): New variable.
4110 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4111 (sinh_tonearest_test_data): New variable.
4112 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4113 (sinh_towardzero_test_data): New variable.
4114 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4115 (sinh_downward_test_data): New variable.
4116 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4117 (sinh_upward_test_data): New variable.
4118 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4119 (sqrt_test_data): New variable.
4120 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4121 (tan_test_data): New variable.
4122 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4123 (tan_tonearest_test_data): New variable.
4124 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4125 (tan_towardzero_test_data): New variable.
4126 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4127 (tan_downward_test_data): New variable.
4128 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4129 (tan_upward_test_data): New variable.
4130 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4131 (tanh_test_data): New variable.
4132 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4133 (tgamma_test_data): New variable.
4134 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4135 (trunc_test_data): New variable.
4136 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4137 (y0_test_data): New variable.
4138 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4139 (y1_test_data): New variable.
4140 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4141 (significand_test_data): New variable.
4142 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4143
7187d844
CG
41442013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4145
4146 [BZ #12387]
4147 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4148
f63fae73
PT
41492013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4150
4151 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4152
8a67a4b3
AJ
41532013-05-10 Andreas Jaeger <aj@suse.de>
4154
4155 [BZ #15448]
4156 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4157 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4158
51df539d
JM
41592013-05-10 Joseph Myers <joseph@codesourcery.com>
4160
4161 * math/gen-libm-test.pl (adjust_arg): New function.
4162 (special_functions): Handle generating output in both functions
4163 and arrays.
4164 (parse_args): Likewise.
4165 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4166 $in_func argument to parse_args.
4167 * math/libm-test.inc (struct test_f_f_data): New type.
4168 (IF_ROUND_INIT_): New macro.
4169 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4170 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4171 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4172 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4173 (ROUND_RESTORE_): Likewise.
4174 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4175 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4176 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4177 (ROUND_RESTORE_FE_UPWARD): Likewise.
4178 (RUN_TEST_LOOP_f_f): New macro.
4179 (acos_test_data): New variable.
4180 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4181 (acos_tonearest_test_data): New variable.
4182 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4183
5c637fe5
SP
41842013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4185
4186 * benchtests/bench-skeleton.c (startup): Fix coding style.
4187
ab2b9461
JM
41882013-05-10 Joseph Myers <joseph@codesourcery.com>
4189
4190 [BZ #6809]
4191 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4192 negative infinity argument.
4193 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4194 negative infinity argument.
4195 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4196 negative infinity argument.
4197 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4198 domain errors.
4199
4c0fe6fe
FW
42002013-05-10 Florian Weimer <fweimer@redhat.com>
4201
4202 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4203 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4204 * iconv/iconv_prog.c (main): Likewise.
4205 * locale/programs/charmap-dir.c (charmap_readdir)
4206 (fopen_uncompressed): Likewise.
4207 * locale/programs/locfile.c (siblings_uncached)
4208 (write_locale_data): Use lstat64 instead of lstat.
4209 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4210 stat.
4211
a3375d29
AJ
42122013-05-10 Andreas Jaeger <aj@suse.de>
4213
4214 [BZ #15395]
4215 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4216 localization.
4217 Include <locale.h>.
4218
36129722
CD
42192013-05-09 Carlos O'Donell <carlos@redhat.com>
4220
4221 * elf/dl-close.c (_dl_close_worker): Add comments.
4222
faa7f811
JM
42232013-05-09 Joseph Myers <joseph@codesourcery.com>
4224
ed41ffef
JM
4225 [BZ #15359]
4226 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4227 high part of pi/2.
4228 (__ieee754_rem_pio2l): Update comments.
4229
d0213cd0
JM
4230 [BZ #15429]
4231 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4232 high part of pi/2.
4233 (__ieee754_rem_pio2l): Update comments.
4234
0d3e777a
JM
4235 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4236 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4237
24f56066
JM
4238 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4239 M_PI_4l.
4240
faa7f811
JM
4241 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4242 (M_PI_34_LOG10El): Likewise.
4243 (M_PI2_LOG10El): Likewise.
4244 (M_PI4_LOG10El): Likewise.
4245 (M_PI_LOG10El): Likewise.
4246
e9a5e0fd
AZ
42472013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4248
4249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4250
d8cd06db
JM
42512013-05-08 Joseph Myers <joseph@codesourcery.com>
4252
a0d9f9d7
JM
4253 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4254 (MINUS_ZERO_INIT): Likewise.
4255 (PLUS_INFTY_INIT): Likewise.
4256 (MINUS_INFTY_INIT): Likewise.
4257 (QNAN_VALUE_INIT): Likewise.
4258 (MAX_VALUE_INIT): Likewise.
4259 (MIN_VALUE_INIT): Likewise.
4260 (MIN_SUBNORM_VALUE_INIT): Likewise.
4261 (plus_zero): Initialize with PLUS_ZERO_INIT.
4262 (minus_zero): Initialize with MINUS_ZERO_INIT.
4263 (plus_infty): Initialize with PLUS_INFTY_INIT.
4264 (minus_infty): Initialize with MINUS_INFTY_INIT.
4265 (qnan_value): Initialize with QNAN_VALUE_INIT.
4266 (max_value): Initialize with MAX_VALUE_INIT.
4267 (min_value): Initialize with MIN_VALUE_INIT.
4268 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4269
ae08db3b
JM
4270 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4271 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4272 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4273 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4274
f44bf14a
JM
4275 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4276 (RUN_TEST_2_f): Likewise.
4277 (RUN_TEST_ff_f): Likewise.
4278 (RUN_TEST_fi_f): Likewise.
4279 (RUN_TEST_fl_f): Likewise.
4280 (RUN_TEST_fff_f): Likewise.
4281 (RUN_TEST_c_f): Likewise.
4282 (RUN_TEST_f_f1): Likewise.
4283 (RUN_TEST_fF_f1): Likewise.
4284 (RUN_TEST_fI_f1): Likewise.
4285 (RUN_TEST_ffI_f1): Likewise.
4286 (RUN_TEST_c_c): Likewise.
4287 (RUN_TEST_cc_c): Likewise.
4288 (RUN_TEST_f_i): Likewise.
4289 (RUN_TEST_f_i_tg): Likewise.
4290 (RUN_TEST_ff_i_tg): Likewise.
4291 (RUN_TEST_f_b): Likewise.
4292 (RUN_TEST_f_b_tg): Likewise.
4293 (RUN_TEST_f_l): Likewise.
4294 (RUN_TEST_f_L): Likewise.
4295 (RUN_TEST_sincos): Likewise.
4296 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4297 whether to show exceptions. Do not include ");\n" in return
4298 value.
4299 (special_functions): Output call to RUN_TEST_sincos instead of
4300 check_float calls. Update calls to new_test.
4301 (parse_args): Output call to single RUN_TEST_* macro instead of
4302 check_* calls and other assignments. Update calls to new_test.
4303
d8cd06db
JM
4304 [BZ #2546]
4305 [BZ #2560]
4306 [BZ #5159]
4307 [BZ #15426]
4308 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4309 input to result for tgamma overflow.
4310 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4311 (gamma_coeff): New variable.
4312 (NCOEFF): New macro.
4313 (gamma_positive): New function.
4314 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4315 underflow here. Use gamma_positive instead of exp (lgamma) for
4316 other arguments.
4317 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4318 (gamma_coeff): New variable.
4319 (NCOEFF): New macro.
4320 (gammaf_positive): New function.
4321 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4322 underflow here. Use gamma_positive instead of exp (lgamma) for
4323 other arguments.
4324 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4325 (gamma_coeff): New variable.
4326 (NCOEFF): New macro.
4327 (gammal_positive): New function.
4328 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4329 underflow here. Use gamma_positive instead of exp (lgamma) for
4330 other arguments.
4331 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4332 (gamma_coeff): New variable.
4333 (NCOEFF): New macro.
4334 (gammal_positive): New function.
4335 (__ieee754_gammal_r): Handle positive infinity, overflow and
4336 underflow here. Handle NaN the same as positive infinity. Remove
4337 check x < 0xffffffff for negative integers. Use gamma_positive
4338 instead of exp (lgamma) for other arguments.
4339 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4340 (gamma_coeff): New variable.
4341 (NCOEFF): New macro.
4342 (gammal_positive): New function.
4343 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4344 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4345 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4348 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4349 * sysdeps/generic/math_private.h (__gamma_productf): New
4350 prototype.
4351 (__gamma_product): Likewise.
4352 (__gamma_productl): Likewise.
4353 * math/Makefile (libm-calls): Add gamma_product.
4354 * math/libm-test.inc (tgamma_test): Add more tests.
4355 * sysdeps/i386/fpu/libm-test-ulps: Update.
4356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4357
bb7cf681
OB
43582013-05-08 Ondřej Bílka <neleai@seznam.cz>
4359
4360 * benchtests/bench-skeleton.c (main): Preheat CPU.
4361
ba853947
AJ
43622013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4363
4364 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4365
8347c74c
RM
43662013-05-07 Roland McGrath <roland@hack.frob.com>
4367
4368 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4369 and _dl_skip_args_internal.
4370
e8dd4791
CD
43712013-05-07 Carlos O'Donell <carlos@redhat.com>
4372
4373 * manual/message.texi (Message Translation): Talk about users.
4374 Message to key mapping impacts design.
4375
c7405830
RM
43762013-05-06 Roland McGrath <roland@hack.frob.com>
4377
a9173057
RM
4378 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4379
976e2f03
RM
4380 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4381
9723ffc5
RM
4382 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4383 * sysdeps/wordsize-64/glob64.c: ... here.
4384
962e6658
RM
4385 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4386 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4387 New macros.
4388
ee586a6d
RM
4389 * debug/getlogin_r_chk.c: Moved to ...
4390 * login/getlogin_r_chk.c: ... here.
4391 * debug/Makefile (routines): Move getlogin_r_chk to ...
4392 * login/Makefile (routines): ... here.
4393 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4394 * login/Versions (libc: GLIBC_2.4): ... here.
4395
355f9165
RM
4396 * io/poll.c (__poll): Renamed from poll.
4397 Add libc_hidden_def.
4398 (poll): Define as weak alias.
4399
bd9ffde6
RM
4400 * debug/ptsname_r_chk.c: Moved to ...
4401 * login/ptsname_r_chk.c: ... here.
4402 * debug/Makefile (routines): Move ptsname_r_chk to ...
4403 * login/Makefile (routines): ... here.
4404 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4405 * login/Versions (libc: GLIBC_2.4): ... here.
4406
8fb16a04
RM
4407 * posix/getlogin.c: Moved to ...
4408 * login/getlogin.c: ... here.
4409 * posix/getlogin_r.c: Moved to ...
4410 * login/getlogin_r.c: ... here.
4411 * posix/getlogin_r.c: Moved to ...
4412 * login/getlogin_r.c: ... here.
4413 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4414 * login/Makefile (routines): ... here.
4415 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4416 * login/Versions (libc: GLIBC_2.0): ... here.
4417
b99b892f
RM
4418 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4419 (setrlimit): Define as weak alias.
4420
c7405830
RM
4421 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4422 Call __ names for open, ftruncate, and close.
4423 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4424 (truncate): Define as weak alias.
4425
5bf96de5
JM
44262013-05-06 Joseph Myers <joseph@codesourcery.com>
4427
9ea3513c
JM
4428 * math/gen-libm-test.pl (parse_args): Initialize x before each
4429 test of frexp, modf and remquo.
4430
5bf96de5
JM
4431 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4432 test signgam value.
4433
16e616a7
AZ
44342013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4435
4436 [BZ #15418]
4437 [BZ #15419]
4438 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4439 internal tests.
4440 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4441
d5e82754
RM
44422013-05-06 Roland McGrath <roland@hack.frob.com>
4443
4444 * elf/dl-writev.h: New file.
4445 * elf/dl-misc.c: Include it.
4446 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4447 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4448
a7548d41
JM
44492013-05-04 Joseph Myers <joseph@codesourcery.com>
4450
b7dab1e4
JM
4451 * math/libm-test.inc (noXFails): Remove variable.
4452 (noXPasses): Likewise.
4453 (BUILD_COMPLEX_INT): Remove macro.
4454 (print_screen): Remove xfail argument.
4455 (print_screen_max_error): Likewise.
4456 (update_stats): Likewise.
4457 (print_max_error): Likewise. Update calls to other affected
4458 functions.
4459 (print_complex_max_error): Likewise.
4460 (test_single_exception): Update calls to print_screen.
4461 (test_single_errno): Likewise.
4462 (check_float_internal): Remove xfail argument. Update calls to
4463 other affected functions.
4464 (check_float): Likewise.
4465 (check_complex): Likewise.
4466 (check_int): Likewise.
4467 (check_long): Likewise.
4468 (check_bool): Likewise.
4469 (check_longlong): Likewise.
4470 (main): Don't print noXFails and noXPasses.
4471 * math/gen-libm-test.pl (top level): Don't mention expected
4472 failure handling in comment.
4473 (new_test): Don't handle expected failures.
4474 (parse_args): Don't mention expected failure handling in comment.
4475 (generate_testfile): Don't handle expected failures.
4476 (parse_ulps): Likewise.
4477 (print_ulps_file): Likewise.
4478 (get_failure): Remove function.
4479 (output_test): Don't handle expected failures.
4480 * make/README.libm-test: Don't mention expected failure handling.
4481
a7548d41
JM
4482 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4483 (minus_zero): Likewise.
4484 (plus_infty): Likewise.
4485 (minus_infty): Likewise.
4486 (qnan_value): Likewise.
4487 (max_value): Likewise.
4488 (min_value): Likewise.
4489 (min_subnorm_value): Likewise.
4490 (initialize): Do not initialize those variables dynamically.
4491
60bfd54c
RM
44922013-05-03 Roland McGrath <roland@hack.frob.com>
4493
cc0e6ed8
RM
4494 * io/open.c (__open_2): Moved to ...
4495 * io/open_2.c: ... this new file.
4496 * io/open64.c (__open64_2): Moved to ...
4497 * io/open64_2.c: ... this new file.
4498 * io/openat.c (__openat_2): Moved to ...
4499 * io/openat_2.c: ... this new file.
4500 * io/openat64.c (__openat64_2): Moved to ...
4501 * io/openat64_2.c: ... this new file.
4502 * io/Makefile (routines): Add them.
4503 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4504 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4505 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4506 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4507 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4508 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4509 (__openat64): Add hidden_ver.
4510 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4511 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4512
60bfd54c
RM
4513 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4514 Separately conditionalize setting of GLRO(dl_sysinfo) so
4515 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4516 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4517
83e7640f
AZ
45182013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4519
4520 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4521 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4522 definition.
4523 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4524 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4525 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4526 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4527 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4528
d5dc2af3
JM
45292013-05-03 Joseph Myers <joseph@codesourcery.com>
4530
c31a5b1e
JM
4531 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4532 test signgam value.
4533
d5dc2af3
JM
4534 * math/libm-test.inc (hypot_test): Do not use
4535 IGNORE_ZERO_INF_SIGN.
4536
164fd39d
AJ
45372013-05-03 Andreas Jaeger <aj@suse.de>
4538
4539 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4540 Linux 3.9.
4541 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4542 (PF_MAX): Adjust for VSOCK change.
4543
8237f48c
AZ
45442013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4545
4546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4547
9df02941
CD
45482013-05-02 Carlos O'Donell <carlos@redhat.com>
4549
4550 [BZ #15264]
4551 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4552 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4553 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4554
d422395e
DM
45552013-05-02 David S. Miller <davem@davemloft.net>
4556
4557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4558
a07c5731
OB
45592013-05-01 Ondřej Bílka <neleai@seznam.cz>
4560
4561 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4562
1324e37f
RM
45632013-05-01 Roland McGrath <roland@hack.frob.com>
4564
4565 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4566
0695940b
RS
45672013-05-01 Richard Smith <richard@metafoo.co.uk>
4568
bb5f27ad 4569 [BZ #14952]
0695940b
RS
4570 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4571 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4572 Use __attribute__ ((__gnu_inline__)).
4573 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4574 Don't use __attribute__ ((__gnu_inline__)).
4575
10de07f5
JM
45762013-05-01 Joseph Myers <joseph@codesourcery.com>
4577
4578 [BZ #15423]
4579 * math/s_catan.c (__catan): Handle small real or imaginary part of
4580 input specially to avoid spurious underflow.
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
cb4d5414
AZ
45912013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4592
4593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4594
caf84319
JM
45952013-04-30 Joseph Myers <joseph@codesourcery.com>
4596
4597 [BZ #15416]
4598 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4599 accurately for denominator in atan2.
4600 * math/s_catanf.c (__catanf): Likewise.
4601 * math/s_catanh.c (__catanh): Likewise.
4602 * math/s_catanhf.c (__catanhf): Likewise.
4603 * math/s_catanhl.c (__catanhl): Likewise.
4604 * math/s_catanl.c (__catanl): Likewise.
4605 * math/libm-test.inc (catan_test): Add more tests.
4606 (catanh_test): Likewise.
4607 * sysdeps/i386/fpu/libm-test-ulps: Update.
4608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4609
d569c6ee
SP
46102013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4611
6dbe713d
SP
4612 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4613
f0ee064b
SP
4614 * benchtests/Makefile (bench): Remove slow benchmarks.
4615 * benchtests/atan-inputs: Add slow benchmark inputs.
4616 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4617 (BENCH_FUNC): Accept variant offset.
4618 (VARIANT): Define.
4619 * benchtests/bench-skeleton.c (main): Run benchmark for each
4620 variant.
4621 * benchtests/cos-inputs: Add slow benchmark inputs.
4622 * benchtests/exp-inputs: Likewise.
4623 * benchtests/pow-inputs: Likewise.
4624 * benchtests/sin-inputs: Likewise.
4625 * benchtests/slowatan-inputs: Remove.
4626 * benchtests/slowatan.c: Remove.
4627 * benchtests/slowcos-inputs: Remove.
4628 * benchtests/slowcos.c: Remove.
4629 * benchtests/slowexp-inputs: Remove.
4630 * benchtests/slowexp.c: Remove.
4631 * benchtests/slowpow-inputs: Remove.
4632 * benchtests/slowpow.c: Remove.
4633 * benchtests/slowsin-inputs: Remove.
4634 * benchtests/slowsin.c: Remove.
4635 * benchtests/slowtan-inputs: Remove.
4636 * benchtests/slowtan.c: Remove.
4637 * benchtests/tan-inputs: Add slow benchmark inputs.
4638 * scripts/bench.pl: Parse comments and directives.
4639
d569c6ee
SP
4640 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4641 in CPPFLAGS.
4642 ($(objpfx)bench-%.c): Remove *-ITER.
4643 * benchtests/bench-modf.c: Remove definition of ITER.
4644 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4645 (main): Loop for DURATION seconds instead of fixed number of
4646 iterations.
4647 * scripts/bench.pl: Don't expect iterations in parameters.
4648
a6a242fe
RM
46492013-04-29 Roland McGrath <roland@hack.frob.com>
4650
4651 * io/fchdir.c (__fchdir): Renamed from fchdir.
4652 (fchdir): Define as weak alias.
4653
f2da7793
JM
46542013-04-29 Joseph Myers <joseph@codesourcery.com>
4655
4656 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4657 (ERRNO_EDOM): Likewise.
4658 (ERRNO_ERANGE): Likewise.
4659 (noErrnoTests): New variable.
4660 (init_max_error): Set errno to 0.
4661 (test_single_errno): New function.
4662 (test_errno): Likewise.
4663 (check_float_internal): Call test_errno. Set errno to 0.
4664 (check_complex): Refer to errno tests in comment.
4665 (check_int): Call test_errno. Set errno to 0.
4666 (check_long): Likewise.
4667 (check_bool): Likewise.
4668 (check_longlong): Likewise.
4669 (cos_test): Use ERRNO_* flags for errno tests instead of
4670 check_int.
4671 (expm1_test): Likewise.
4672 (fmod_test): Likewise.
4673 (ilogb_test): Likewise.
4674 (lgamma_test): Likewise.
4675 (pow_test): Likewise.
4676 (remainder_test): Likewise.
4677 (sin_test): Likewise.
4678 (tan_test): Likewise.
4679 (yn_test): Likewise.
4680 (initialize): Set errno to 0.
4681 (main): Print number of errno tests.
4682 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4683
b1a36ceb
AJ
46842013-04-29 Andreas Jaeger <aj@suse.de>
4685
c3ed8088
AJ
4686 [BZ #15084]
4687 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4688 and RES_USEVC.
4689
f1a24198
AJ
4690 [BZ #15085]
4691 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4692 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4693 unimplemented.
4694
9ce3b2cb
AJ
4695 [BZ #15380]
4696 * stdlib/random.c (__initstate): Return NULL if
4697 __initstate fails.
4698
f1a24198 4699 [BZ #15086]
b1a36ceb
AJ
4700 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4701 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4702 RES_SNGLKUPREOP.
4703
7e7b6f36
AZ
47042013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4705
4706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4707
4d14f449
JM
47082013-04-29 Joseph Myers <joseph@codesourcery.com>
4709
4710 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4711 of individual tests.
4712 (casin_test): Likewise.
4713 (casinh_test): Likewise.
4714
5b4217d7
JM
47152013-04-27 Joseph Myers <joseph@codesourcery.com>
4716
4717 [BZ #15409]
4718 * math/s_catan.c (__catan): Handle arguments with large real or
4719 imaginary part separately without squaring.
4720 * math/s_catanf.c (__catanf): Likewise.
4721 * math/s_catanh.c (__catanh): Likewise.
4722 * math/s_catanhf.c (__catanhf): Likewise.
4723 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4724 and redefine.
4725 (__catanhl): Handle arguments with large real or imaginary part
4726 separately without squaring.
4727 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4728 and redefine.
4729 (__catanl): Handle arguments with large real or imaginary part
4730 separately without squaring.
4731 * math/libm-test.inc (catan_test): Add more tests.
4732 (catanh_test): Likewise.
4733 * sysdeps/i386/fpu/libm-test-ulps: Update.
4734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4735
4220c3ef
AJ
47362013-04-27 Andreas Jaeger <aj@suse.de>
4737
4738 [BZ #15007]
4739 * stdlib/stdlib.h: Update guards for qecvt.
4740 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4741 <stdlib.h>.
4742
4721b2d1
AM
47432013-04-27 Allan McRae <allan@archlinux.org>
4744
4745 * sysdeps/i386/fpu/libm-test-ulps: Update.
4746
f0302940
JM
47472013-04-26 Joseph Myers <joseph@codesourcery.com>
4748
9457fd95
JM
4749 [BZ #15406]
4750 * math/s_catan.c: Include <float.h>.
4751 (__catan): Ensure underflow exception occurs for underflowed
4752 result.
4753 * math/s_catanf.c: Include <float.h>.
4754 (__catanf): Ensure underflow exception occurs for underflowed
4755 result.
4756 * math/s_catanh.c: Include <float.h>.
4757 (__catanh): Ensure underflow exception occurs for underflowed
4758 result.
4759 * math/s_catanhf.c: Include <float.h>.
4760 (__catanhf): Ensure underflow exception occurs for underflowed
4761 result.
4762 * math/s_catanhl.c: Include <float.h>.
4763 (__catanhl): Ensure underflow exception occurs for underflowed
4764 result.
4765 * math/s_catanl.c: Include <float.h>.
4766 (__catanl): Ensure underflow exception occurs for underflowed
4767 result.
4768 * math/libm-test.inc (catan_test): Add more tests.
4769 (catanh_test): Likewise.
4770
f0302940
JM
4771 [BZ #15405]
4772 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4773 underflowed result.
4774 * math/s_ccoshf.c (__ccoshf): Likewise.
4775 * math/s_ccoshl.c (__ccoshl): Likewise.
4776 * math/s_csin.c (__csin): Likewise.
4777 * math/s_csinf.c (__csinf): Likewise.
4778 * math/s_csinh.c (__csinh): Likewise.
4779 * math/s_csinhf.c (__csinhf): Likewise.
4780 * math/s_csinhl.c (__csinhl): Likewise.
4781 * math/s_csinl.c (__csinl): Likewise.
4782 * math/libm-test.inc (ccos_test): Add more tests.
4783 (ccosh_test): Likewise.
4784 (csin_test): Likewise.
4785 (csinh_test): Likewise.
4786
aa630f59
AZ
47872013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4788
4789 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4790 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4791 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4792 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4793 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4794 powerpc/power5+/fpu folders.
4795 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4796
4797
1b835983
MT
47982013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4799
4800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4801
73709b26
JM
48022013-04-25 Joseph Myers <joseph@codesourcery.com>
4803
4804 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4805 additions to variable.
4806 [$(config-machine) = x86_64] (modules-names): Likewise.
4807 ($(objpfx)tst-audit3): Remove dependency.
4808 ($(objpfx)tst-audit3.out): Likewise.
4809 ($(objpfx)tst-audit4): Likewise.
4810 ($(objpfx)tst-audit4.out): Likewise.
4811 ($(objpfx)tst-audit5): Likewise.
4812 ($(objpfx)tst-audit5.out): Likewise.
4813 ($(objpfx)tst-audit6): Likewise.
4814 ($(objpfx)tst-audit6.out): Likewise.
4815 ($(objpfx)tst-audit7): Likewise.
4816 ($(objpfx)tst-audit7.out): Likewise.
4817 (tst-audit3-ENV): Remove variable.
4818 (tst-audit4-ENV): Likewise.
4819 (tst-audit5-ENV): Likewise.
4820 (tst-audit6-ENV): Likewise.
4821 (tst-audit7-ENV): Likewise.
4822 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4823 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4824 addition to variable.
4825 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4826 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4827 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4828 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4829 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4830 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4831 tst-audit3, tst-audit4 and tst-audit5.
4832 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4833 tst-audit6 and tst-audit7.
4834 [$(subdir) = elf] (modules-names): Add audit modules for those
4835 tests.
4836 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4837 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4838 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4839 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4840 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4841 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4842 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4843 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4844 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4845 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4846 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4847 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4848 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4849 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4850 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4851 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4852 Likewise.
4853 [$(subdir) = elf && $(config-cflags-avx) = yes]
4854 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4855 [$(subdir) = elf && $(config-cflags-avx) = yes]
4856 (CFLAGS-tst-auditmod4a.c): Likewise.
4857 [$(subdir) = elf && $(config-cflags-avx) = yes]
4858 (CFLAGS-tst-auditmod4b.c): Likewise.
4859 [$(subdir) = elf && $(config-cflags-avx) = yes]
4860 (CFLAGS-tst-auditmod6b.c): Likewise.
4861 [$(subdir) = elf && $(config-cflags-avx) = yes]
4862 (CFLAGS-tst-auditmod6c.c): Likewise.
4863 [$(subdir) = elf && $(config-cflags-avx) = yes]
4864 (CFLAGS-tst-auditmod7b.c): Likewise.
4865 * elf/tst-audit3.c: Move to ...
4866 * sysdeps/x86_64/tst-audit3.c: ... here.
4867 * elf/tst-audit4.c: Move to ...
4868 * sysdeps/x86_64/tst-audit4.c: ... here.
4869 * elf/tst-audit5.c: Move to ...
4870 * sysdeps/x86_64/tst-audit5.c: ... here.
4871 * elf/tst-audit6.c: Move to ...
4872 * sysdeps/x86_64/tst-audit6.c: ... here.
4873 * elf/tst-audit7.c: Move to ...
4874 * sysdeps/x86_64/tst-audit7.c: ... here.
4875 * elf/tst-auditmod3a.c: Move to ...
4876 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4877 * elf/tst-auditmod3b.c: Move to ...
4878 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4879 * elf/tst-auditmod4a.c: Move to ...
4880 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4881 * elf/tst-auditmod4b.c: Move to ...
4882 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4883 * elf/tst-auditmod5a.c: Move to ...
4884 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4885 * elf/tst-auditmod5b.c: Move to ...
4886 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4887 * elf/tst-auditmod6a.c: Move to ...
4888 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4889 * elf/tst-auditmod6b.c: Move to ...
4890 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4891 * elf/tst-auditmod6c.c: Move to ...
4892 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4893 * elf/tst-auditmod7a.c: Move to ...
4894 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4895 * elf/tst-auditmod7b.c: Move to ...
4896 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4897
1ef74943
PP
48982013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4899
4900 [BZ #15366]
4901 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4902 define unconditionally.
4903 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4904 define unconditionally.
4905 (INT8_C, INT16_C, etc.): Likewise.
4906
93fd48c5
MR
49072013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4908
ae9552cf
MR
4909 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4910 __ehdr_start with hidden visibility.
4911
93fd48c5
MR
4912 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4913
418601aa
CD
49142013-04-24 Carlos O'Donell <carlos@redhat.com>
4915
4916 * math/libm-test.inc (cos_test): Use accurate hex constants.
4917 (sincost_test): Likewise.
4918
2f38fbfe
JM
49192013-04-24 Joseph Myers <joseph@codesourcery.com>
4920
5e221800
JM
4921 * math/libm-test.inc (catan_test): Add more tests.
4922 (catanh_test): Likewise.
4923
77f143fd
JM
4924 * math/s_catanf.c (__catanf): Use suffixed floating-point
4925 constants.
4926 * math/s_catanhf.c (__catanhf): Likewise.
4927 * math/s_catanhl.c (__catanhl): Likewise.
4928 * math/s_catanl.c (__catanl): Likewise.
4929
2f38fbfe
JM
4930 [BZ #15394]
4931 * math/s_catan.c (__catan): Calculate imaginary part of result
4932 with log1p not log unless computing log of number close to 0.
4933 * math/s_catanf.c (__catanf): Likewise.
4934 * math/s_catanl.c (__catanl): Likewise.
4935 * math/s_catanh.c (__catanh): Calculate real part of result with
4936 log1p not log unless computing log of number close to 0.
4937 * math/s_catanhf.c (__catanhf): Likewise.
4938 * math/s_catanhl.c (__catanhl): Likewise.
4939 * math/libm-test.inc (catan_test): Add more tests.
4940 (catanh_test): Likewise.
4941 * sysdeps/i386/fpu/libm-test-ulps: Update.
4942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4943
45d69176
SP
49442013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4945
4946 * benchtests/Makefile: Mention files in which fast and slow
4947 paths of math functions are implemented.
4948
87f51853
RM
49492013-04-23 Roland McGrath <roland@hack.frob.com>
4950
4951 * sysdeps/posix/timespec_get.c: New file.
4952
3c026539
AZ
49532013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4954
4955 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4956 POWER.
4957 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4958 for POWER.
4959 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4960 powerpc/power5/fpu folders.
4961 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4962 * benchtests/Makefile: Add modf testcase.
4963 * benchtests/bench-modf.c: New file: Benchmark test for mo
4964
ff491d14
SP
49652013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4966
4967 [BZ #14888]
4968 * time/Makefile (tests): Add tst-strptime-whitespace.
4969 * time/strptime_l.c (get_number): Use ISSPACE.
4970 (__strptime_internal): Likewise.
4971 * time/tst-strptime-whitespace.c: New test case.
4972
7ed3f4e8
AS
49732013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4974
4975 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4976 member.
4977 (_nss_files_init): Set it here.
4978
5c95f7b6
HC
49792013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4980
4981 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4982 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4983 unsigned.
4984
d34c9158
JBG
49852013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4986
4987 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4988
2169712d
SP
49892013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4990
4991 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4992 size just once.
4993
29c5de99
DM
49942013-04-21 David S. Miller <davem@davemloft.net>
4995
4996 * po/ru.po: Update Russion translation from translation project.
4997
ccdad15d
AC
49982013-04-17 Adam Conrad <adconrad@0c3.net>
4999
5000 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5001 and setfsgid.
5002
0f122b8d
CD
50032013-04-17 Carlos O'Donell <carlos@redhat.com>
5004
5c5b07da 5005 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5006 * configure: Regenerate.
5c5b07da 5007 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5008 Add example to error message.
5009 * sysdeps/i386/configure: Regenerate.
5010
037714dd
SP
50112013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5012
5013 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5014 slowtan.
5015 * benchtests/cos-inputs: New file.
5016 * benchtests/slowcos-inputs: New file.
5017 * benchtests/slowcos.c: New file.
5018 * benchtests/slowtan-inputs: New file.
5019 * benchtests/slowtan.c: New file.
5020 * benchtests/tan-inputs: New file.
5021
e913141d
RM
50222013-04-16 Roland McGrath <roland@hack.frob.com>
5023
5024 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5025 considered kosher.
5026
a2964074
SP
50272013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5028
4856bcd2
SP
5029 * benchtests/Makefile: Include cppflags-iterator.mk to add
5030 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5031
a2964074
SP
5032 * Makefile.in (bench-clean): New target.
5033 * benchtests/Makefile (bench-clean): Likewise.
5034
9fbf9aca
DH
50352013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5036
5037 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5038
207d1e2a
TS
50392013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5040
5041 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5042
306dfba9
AS
50432013-04-15 Andreas Schwab <schwab@suse.de>
5044
5045 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5047 * nscd/pwdcache.c (cache_addpw): Likewise.
5048 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5049 more than recsize.
5050
206a6699
SP
50512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5052
5053 * benchtests/Makefile (bench): Write all output to
5054 bench-out.tmp together.
5055
0582f6b3
AS
50562013-04-15 Andreas Schwab <schwab@suse.de>
5057
5058 * nscd/nscd.c (main): Don't fork again after closing files.
5059
acb4325f
SP
50602013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5061
5cb26d0a
SP
5062 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5063
acb4325f
SP
5064 * benchtests/Rules (bench-deps): Collect dependencies into a
5065 single variable. Add Makefile to dependencies.
5066 ($(objpfx)bench-%.c): Depend on bench-deps.
5067
47792506
RM
50682013-04-12 Roland McGrath <roland@hack.frob.com>
5069 Xavier Roche <roche+kml2@exalead.com>
5070
5071 [BZ #15361]
5072 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5073 just that it's a file descriptor.
5074 * manual/llio.texi (Synchronizing AIO Operations): Update description
5075 for EBADF error from aio_fsync.
5076
8fc1bee5
SP
50772013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5078
5079 * Rules (bench): Move target definition...
5080 * benchtests/Makefile: ... here.
5081
aba5e333
CD
50822013-04-11 Carlos O'Donell <carlos@redhat.com>
5083
5084 * math/libm-test.inc (cos_test): Fix PI/2 test.
5085 (sincos_test): Likewise.
5086 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5087 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5088
273cdee8
AS
50892013-04-11 Andreas Schwab <schwab@suse.de>
5090
6ecec3b6
AS
5091 [BZ #13988]
5092 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5093 accept exponent character only when digits were seen.
5094 * stdio-common/Makefile (tests): Add bug26.
5095 * stdio-common/bug26.c: New file.
5096
273cdee8
AS
5097 [BZ #14293]
5098 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5099 non-freeable.
5100
8da491f5
SP
51012013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5102
01dc6df9
SP
5103 * Makeconfig (rtld-prefix): Define built linker prefix.
5104 * Rules (run-bench): Use it.
5105 * math/Makefile (run-regen-ulps): Likewise.
5106
8da491f5
SP
5107 * Rules (bench): Remove eval.
5108
abe7f530
SP
51092013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5110 Roland McGrath <roland@hack.frob.com>
5111 Ondrej Bilka <neleai@seznam.cz>
5112
5113 [BZ #15346]
5114 * time/getdate.c: Include ctype.h and alloca.h.
5115 (__getdate_r): Trim leading and trailing spaces of input.
5116 * time/tst-getdate.c (tests): Add tests with leading and
5117 trailing spaces.
5118
61c23e62
RM
51192013-04-08 Roland McGrath <roland@hack.frob.com>
5120
5121 [BZ #14280]
5122 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5123 when computing value.
5124
7208a313
CD
51252013-04-06 Carlos O'Donell <carlos@redhat.com>
5126
085b2d41
CD
5127 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5128 Use testrun.sh to run libm tests.
5129
7208a313
CD
5130 [BZ #15309]
5131 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5132
872c0acd
MM
51332013-04-06 Marko Myllynen <myllynen@redhat.com>
5134
5135 [BZ #15264]
5136 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5137
26510bdd
CD
51382013-04-06 Carlos O'Donell <carlos@redhat.com>
5139
5140 * Makefile.in (regen-ulps): New target.
5141 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5142 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5143 [ifneq (no,$(PERL)] (regen-ulps): New target.
5144 [ifeq (no,$(PERL)] (regen-ulps): New target.
5145 * math/libm-test.inc (ulps_file_name): Define.
5146 (output_dir): New variable.
5147 (options): Add "output-dir" option.
5148 (parse_opt): Handle 'o' case.
5149 (main): If output_dir is non-NULL use it as a prefix
5150 otherwise use "".
5151 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5152
a01f19c8
CD
51532013-04-06 Carlos O'Donell <carlos@redhat.com>
5154
5155 [BZ #10060, #10062]
5156 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5157 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5158 fail configure if __sync_val_compare_and_swap is not inlined.
5159 * sysdeps/i386/configure: Regenerate.
5160 * configure.in: Build for i686 when configured for i386.
5161 * configure: Regenerate.
5162 * README: Remove i386 reference.
5163
b7a329a5
CD
51642013-04-06 Carlos O'Donell <carlos@redhat.com>
5165
5166 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5167 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5168
bf0f50df
TS
51692013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5170
ee091edf
TS
5171 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5172 (lmsnanval): New variables.
5173 (F): Add conversion tests.
5174 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5175 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5176
a8b792d6
TS
5177 * stdio-common/tstdiomisc.c (F): Properly collect individual
5178 tests' results.
5179
a1cbf437
TS
5180 [BZ #14686, #15336]
5181 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5182 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5183 Instead, use input NaN values or generate a qNaN by arithmetic
5184 operation. Also fix bugs to comply with the standard.
5185 * math/libm-test.inc (remainder_test): Add more tests.
5186
8b43a0c9
TS
5187 [BZ #15335, #15342]
5188 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5189 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5190 input NaN values or generate a qNaN by arithmetic operation.
5191
d91da4ce
TS
5192 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5193 unreachable code.
5194
bf0f50df
TS
5195 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5196 definitions.
5197
05e166c8
JM
51982013-04-03 Joseph Myers <joseph@codesourcery.com>
5199
5200 [BZ #14478]
5201 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5202 underflowed result.
5203 * math/s_cexpf.c (__cexpf): Likewise.
5204 * math/s_cexpl.c (__cexpl): Likewise.
5205 * math/libm-test.inc (cexp_test): Add more tests.
5206
1cef1b19
AS
52072013-04-03 Andreas Schwab <schwab@suse.de>
5208
5209 [BZ #15330]
5210 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5211 order arrays from heap if bigger than alloca cutoff.
5212
74d87055
TS
52132013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5214
5215 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5216 (SNAN_TESTS_double): Refer to GCC PR56831.
5217 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5218 GCC PR56828.
5219
d755bba4
SP
52202013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5221
90d5d5bb
SP
5222 * Rules (bench): Move bench.out after the run is complete.
5223
73e0cd5d
SP
5224 * Rules (bench): Echo currently running benchmark.
5225
64aabd4b
SP
5226 * benchtests/Makefile (bench): Add atan and slowatan.
5227 * benchtests/atan-inputs: New file.
5228 * benchtests/slowatan-inputs: New file.
5229 * benchtests/slowatan.c: New file.
5230
c871eccd
SP
5231 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5232 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5233 its value.
5234
d755bba4
SP
5235 [BZ #15305]
5236 * sysdeps/unix/sysv/linux/kernel-features.h
5237 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5238 __ASSUME_XFS_RESTRICTED_CHOWN.
5239 * sysdeps/unix/sysv/linux/pathconf.c
5240 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5241 Save and restore errno.
5242
52ce4860
JM
52432013-04-02 Joseph Myers <joseph@codesourcery.com>
5244
5245 [BZ #15327]
5246 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5247 arguments using __kernel_casinh.
5248 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5249 arguments using __kernel_casinhf.
5250 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5251 arguments using __kernel_casinhl.
5252 * math/libm-test.inc (cacosh_test): Add more tests.
5253 * sysdeps/i386/fpu/libm-test-ulps: Update.
5254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5255
81f311c2
SP
52562013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5257
e7906a47
SP
5258 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5259 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5260
92e3664b
SP
5261 * bench/Makefile (bench): Add sin and slowsin.
5262 * benchtests/sin-inputs: New file.
5263 * benchtests/slowsin-inputs: New file.
5264 * benchtests/slowsin.c: New file.
5265
81f311c2
SP
5266 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5267 (bench): Add slowexp and slowpow.
5268 (exp-ITER): Increase iterations.
5269 (pow-ITER): Likewise.
5270 * benchtests/exp-inputs: Change input.
5271 * benchtests/pow-inputs: Likewise.
5272 * benchtests/slowexp-inputs: New file.
5273 * benchtests/slowexp.c: New file.
5274 * benchtests/slowpow-inputs: New file.
5275 * benchtests/slowpow.c: New file.
5276
ab0f1aa9
AZ
52772013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5278
5279 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5280 instructions.
5281 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5282 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5283 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5284 * benchtests/Makefile: Add rint benchtest.
5285 * benchtests/rint-inputs: Input for rint benchtest.
5286
57267616
TS
52872013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5288
5289 * Versions.def (libm): Add GLIBC_2.18.
5290 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5291 hidden libm prototypes.
5292 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5293 * math/Makefile (libm-calls): Add s_issignaling.
5294 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5295 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5296 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5297 declaration.
5298 * math/math.h [__USE_GNU] (issignaling): New macro.
5299 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5300 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5301 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5302 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5305 * manual/arith.texi (issignaling): New section.
5306 * manual/libm-err-tab.pl (@all_functions): Update comment.
5307 * math/gen-libm-test.pl (parse_args): Apply special handling for
5308 issignaling.
5309 * math/libm-test.inc (print_float, issignaling_test): New
5310 functions.
5311 (check_float_internal): Add issignaling checks.
5312 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5313 default definition.
5314 * sysdeps/powerpc/math-tests.h: New file.
5315 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5316 tests.
5317 * math/test-snan.c (TEST_FUNC): Likewise.
5318
6142896d
DM
53192013-03-30 David S. Miller <davem@davemloft.net>
5320
5321 * po/de.po: Update from translation team.
5322
ccc8cadf
JM
53232013-03-30 Joseph Myers <joseph@codesourcery.com>
5324
5325 [BZ #10357]
5326 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5327 imaginary part less than 1.0 and real part less than 0.5
5328 specially.
5329 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5330 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5331 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5332 (cacos_test): Add more tests.
5333 (casin_test): Likewise.
5334 (casinh_test): Likewise.
5335 * sysdeps/i386/fpu/libm-test-ulps: Update.
5336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5337
0f6a8d4b
SP
53382013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5339
0d1029de
SP
5340 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5341 ONE with its value.
5342
c2d94018
SP
5343 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5344 (__pow_mp): Replace ONE and MONE with their values.
5345 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5346 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5347 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5348 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5349 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5350 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5351
27ec37f1
SP
5352 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5353
a64d7e0e
SP
5354 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5355 (__pow_mp): Replace ZERO and MZERO with their values.
5356 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5357 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5358 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5360 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5361 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5362 (__sqr): Likewise.
5363
d26dd3eb
SP
5364 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5365
0f6a8d4b
SP
5366 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5367
e57b0c61
RM
53682013-03-28 Roland McGrath <roland@hack.frob.com>
5369
5370 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5371 Declare with __attribute__ ((weak)).
5372 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5373 Call __call_tls_dtors only if it's not NULL.
5374
356b3480
RM
53752013-03-28 Roland McGrath <roland@hack.frob.com>
5376
288f7d79
RM
5377 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5378 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5379 magic __ehdr_start linker symbol if it's defined.
5380 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5381 them up here if it was already done.
5382
dc0a0263
RM
5383 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5384 (_dl_aux_init): Use const in cast when setting it.
5385 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5386 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5387 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5388
3d3436ae
RM
5389 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5390 Declare them here.
5391 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5392 * csu/libc-tls.c: Nor here.
5393 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5394
356b3480
RM
5395 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5396 (__libc_message): Never call vsyslog.
5397
b0f1246a
AM
53982013-03-28 Alan Modra <amodra@gmail.com>
5399
5400 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5401 Define as empty.
5402 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5403 Likewise.
5404
fbbe2b9a
AZ
54052013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5406
5407 [BZ #15214]
5408 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5409 underflow.
5410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5411
1728ab37
SP
54122013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5413
7a86be6e
SP
5414 [BZ #15304]
5415 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5416 Don't add gid passed as argument.
5417
1728ab37
SP
5418 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5419
3a7182a1
JM
54202013-03-27 Joseph Myers <joseph@codesourcery.com>
5421
5422 [BZ #15307]
5423 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5424 imaginary part between 1.0 and 1.5 and real part less than 0.5
5425 specially.
5426 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5427 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5428 * math/libm-test.inc (cacos_test): Add more tests.
5429 (casin_test): Likewise.
5430 (casinh_test): Likewise.
5431 * sysdeps/i386/fpu/libm-test-ulps: Update.
5432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5433
6f2e90e7
SP
54342013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5435
5739f705
SP
5436 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5437 constants.
5438 (norm): Likewise.
5439 (denorm): Likewise.
5440 (__dbl_mp): Likewise.
5441 (add_magnitudes): Likewise.
5442 (sub_magnitudes): Likewise.
5443 (__add): Likewise.
5444 (__sub): Likewise.
5445 (__mul): Likewise.
5446 (__sqr): Likewise.
5447 (__inv): Likewise.
5448 (__dvd): Likewise.
5449
e375e83d
SP
5450 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5451 commented code.
5452 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5453 (__dubcos): Likewise.
5454 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5455 (__ieee754_acos): Likewise.
5456 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5457 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5458 (__exp1): Likewise.
5459 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5461 (log1): Likewise.
5462 (my_log2): Likewise.
5463 (checkint): Likewise.
5464 * sysdeps/ieee754/dbl-64/e_remainder.c
5465 (__ieee754_remainder): Likewise.
5466 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5467 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5468 (bsloww): Likewise.
5469 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5470
6f2e90e7
SP
5471 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5472 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5473 MANTISSA_STORE_T to store computations on mantissa. Use
5474 macros for rounding and division.
5475 (denorm): Likewise.
5476 (__dbl_mp): Likewise.
5477 (add_magnitudes): Likewise.
5478 (sub_magnitudes): Likewise.
5479 (__mul): Likewise.
5480 (__sqr): Likewise.
5481 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5482 powers of two in terms of TWOPOW macro.
5483 (mp_no): Make type of mantissa as MANTISSA_T.
5484 [!RADIXI]: Define RADIXI.
5485 [!TWO52]: Define TWO52.
5486 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5487
fce14d4e
AZ
54882013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5489
5490 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5491 llroundl symbol when building for PPC32.
5492
9ad027fb
MW
54932013-03-24 Mark H Weaver <mhw@netris.org>
5494
5495 * manual/arith.texi (Normalization Functions): Fix prototypes for
5496 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5497
e42a38dd
AZ
54982013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5499
5500 [BZ #13889]
5501 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5502 high value to check if expl overflow.
5503 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5504 to check for underflow and overflow.
5505 * math/libm-test.inc: Add exp test.
5506
2e0fb521
DL
55072013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5508
5509 [BZ #11120]
5510 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5511 with NOT_IN_libc.
5512
b5784d95
AZ
55132013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5514
5515 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5516 symbol.
5517
5aa4a1a1
TS
55182013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5519
bdef0be7
TS
5520 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5521 wrap blocks consisting of several statements.
5522
5aa4a1a1
TS
5523 * sysdeps/generic/math-tests.h: New file.
5524 * sysdeps/i386/fpu/math-tests.h: Likewise.
5525 * math/test-snan.c: Include it.
5526 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5527
98c48fe5
JM
55282013-03-21 Joseph Myers <joseph@codesourcery.com>
5529
5530 [BZ #15285]
5531 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5532 (__ieee754_j0l): Do not improve calculations using cos of twice
5533 input for inputs above LDBL_MAX / 2.0L.
5534 (__ieee754_y0l): Likewise.
5535 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5536 (__ieee754_j1l): Do not improve calculations using cos of twice
5537 input for inputs above LDBL_MAX / 2.0L.
5538 (__ieee754_y1l): Likewise.
5539 * math/libm-test.inc (j0_test): Add another test.
5540 (j1_test): Likewise.
5541 (y0_test): Likewise.
5542 (y1_test): Likewise.
5543 * sysdeps/i386/fpu/libm-test-ulps: Update.
5544
3775a8bc
SP
55452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5546
5547 * Rules ($(objpfx)bench-%.c): Include code from a C source
5548 file.
5549
0a1b2ae6
JM
55502013-03-21 Joseph Myers <joseph@codesourcery.com>
5551
5552 [BZ #15287]
5553 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5554 imaginary part 1.0 and real part less than 0.5 specially.
5555 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5556 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5557 * math/libm-test.inc (cacos_test): Add more tests.
5558 (casin_test): Likewise.
5559 (casinh_test): Likewise.
5560 * sysdeps/i386/fpu/libm-test-ulps: Update.
5561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5562
b33d4ce4
SP
55632013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5564
5565 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5566 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5567
bef0b507
JM
55682013-03-20 Joseph Myers <joseph@codesourcery.com>
5569
5570 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5571 * config.make.in (config-cflags-sse4): Remove variable.
5572 (config-cflags-avx): Likewise.
5573 (config-cflags-sse2avx): Likewise.
5574 (config-cflags-novzeroupper): Likewise.
5575 (config-asflags-i686): Likewise.
5576 (have-mfma4): Likewise.
5577 (have-as-vis3): Likewise.
5578 (MIG): Likewise.
5579 * configure.in (MIG): Do not AC_SUBST.
5580 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5581 (libc_cv_cc_sse4): Do not AC_SUBST.
5582 (libc_cv_cc_avx): Likewise.
5583 (libc_cv_cc_sse2avx): Likewise.
5584 (libc_cv_cc_novzeroupper): Likewise.
5585 (libc_cv_cc_fma4): Likewise.
5586 (libc_cv_as_i686): Likewise.
5587 (libc_cv_sparc_as_vis3): Likewise.
5588 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5589 LIBC_CONFIG_VAR.
5590 (config-asflags-i686): Likewise.
5591 (config-cflags-avx): Likewise.
5592 (config-cflags-sse2avx): Likewise.
5593 (have-mfma4): Likewise.
5594 (config-cflags-novzeroupper): Likewise.
5595 * sysdeps/mach/configure.in (MIG): Likewise.
5596 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5597 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5598 LIBC_CONFIG_VAR.
5599 (config-cflags-avx): Likewise.
5600 (config-cflags-sse2avx): Likewise.
5601 (have-mfma4): Likewise.
5602 (config-cflags-novzeroupper): Likewise.
5603 * configure: Regenerated.
5604 * sysdeps/i386/configure: Likewise.
5605 * sysdeps/mach/configure: Likewise.
5606 * sysdeps/sparc/configure: Likewise.
5607 * sysdeps/x86_64/configure: Likewise.
5608
912cc4b3
RM
56092013-03-20 Roland McGrath <roland@hack.frob.com>
5610
5611 [BZ #14812]
5612 * locale/programs/localedef.c (options): Put N_ translation marker
5613 on argument names, not just descriptions.
5614
04eed2b0
MS
56152013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5616
5617 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5618
a065ceff
OB
56192013-03-20 Ondřej Bílka <neleai@seznam.cz>
5620
9bb2a810 5621 [BZ #14176]
a065ceff
OB
5622 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5623
a600e5ce
RM
56242013-03-19 Roland McGrath <roland@hack.frob.com>
5625
5626 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5627 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5628 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5629 [!BEFORE_ABORT] (before_abort): New function.
5630 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5631 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5632 (writev_for_fatal): New function.
5633 (WRITEV_FOR_FATAL): New macro; call that.
5634 (backtrace_and_maps): New function.
5635 (BEFORE_ABORT): New macro; call that.
5636 (struct str_list): Type removed.
5637 (__libc_message, __libc_fatal): Functions removed.
5638 Include <sysdeps/posix/libc_fatal.c> instead.
5639
6b18bea6
JM
56402013-03-19 Joseph Myers <joseph@codesourcery.com>
5641
5642 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5643 constants.
5644 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5645 double constants.
5646
aaa8cb4b
AS
56472013-03-19 Andreas Schwab <schwab@suse.de>
5648
44673770
AS
5649 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5650 * sysdeps/gnu/configure: Regenerate.
5651
aaa8cb4b
AS
5652 * configure.in: Substitute libc_cv_rtlddir.
5653 * configure: Regenerate.
5654 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5655 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5656 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5657 * elf/Makefile (install-others, CFLAGS-interp.c)
5658 (ldso_install, common-ldd-rewrite): Likewise.
5659 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5660 $(inst_slibdir)/$(rtld-installed-name).
5661 * scripts/rellns-sh: Add -p option.
5662 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5663 for source.
5664
d3cfc668
SP
56652013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5666
5667 * manual/nptl.texi: Renamed to ...
5668 * manual/threads.texi: ... this.
5669 * manual/Makefile (chapters): Update.
5670
0e2b9cdd
RM
56712013-03-18 Roland McGrath <roland@hack.frob.com>
5672
5673 [BZ #14812]
5674 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5675 on argument names, not just descriptions.
0e2b9cdd
RM
5676 * malloc/memusagestat.c (options): Likewise.
5677 * nss/getent.c (options): Likewise.
63270c24
RM
5678
56792013-03-18 Benno Schulenberg <bensberg@justemail.net>
5680
5681 [BZ #14812]
5682 * iconv/iconv_prog.c (options): Put N_ translation marker
5683 on argument names, not just descriptions.
5684 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5685
b2e1393c
OB
56862013-03-18 Ondrej Bilka <neleai@seznam.cz>
5687
5688 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5689 implementation which is faster on all x86_64 architectures.
5690 Tested on AMD, Intel Nehalem, SNB, IVB.
5691 * sysdeps/x86_64/strnlen.S: Likewise.
5692
5693 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5694 Remove all multiarch strlen and strnlen versions.
5695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5696 Remove strlen and strnlen related parts.
5697
5698 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5699 Inline strlen part.
5700 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5701
5702 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5703 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5704 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5705 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5706 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5707 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5708
ec4ff04d
CD
57092013-03-17 Carlos O'Donell <carlos@redhat.com>
5710
5711 * manual/memory.texi (Malloc Tunable Parameters):
5712 Sort parameters alphabetically. Add comments for missing entries.
5713
cd18e90a
DM
57142013-03-17 David S. Miller <davem@davemloft.net>
5715
5716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5717
2a185d32
JM
57182013-03-16 Joseph Myers <joseph@codesourcery.com>
5719
d2f9799e
JM
5720 [BZ #15283]
5721 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5722 for arguments at most half maximum finite value.
5723 * math/libm-test.inc (j0_test): Add more tests.
5724 (j1_test): Likewise.
5725 (y0_test): Likewise.
5726 (y1_test): Likewise.
5727 * sysdeps/i386/fpu/libm-test-ulps: Update.
5728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5729
2a185d32
JM
5730 [BZ #14155]
5731 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5732 1 / x and functions P and Q for arguments above 0x1p256L.
5733 (__ieee754_y0l): Likewise.
5734 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5735 (__ieee754_y1l): Likewise.
5736 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5737 (j1_test): Likewise.
5738 (y0_test): Likewise.
5739 (y1_test): Likewise.
5740
6cbec759
TS
57412013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5742
5743 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5744 variable.
5745
bc16e260
RM
57462013-03-15 Roland McGrath <roland@hack.frob.com>
5747
aefc9b8c
RM
5748 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5749 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5750 zero since it's initialized to EXEC_PAGESIZE.
5751
bc16e260
RM
5752 * sysdeps/unix/sysv/linux/ldsodefs.h
5753 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5754 * sysdeps/generic/ldsodefs.h: ... here.
5755
a57da955
TS
57562013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5757
af00a34d
TS
5758 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5759
495ded2c
TS
5760 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5761 math/test-snan.c.
5762 * math/test-snan.c: Renamed from
5763 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5764 * math/Makefile (tests): Add test-snan.
5765 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5766 test-powerpc-snan.
5767
777b0332
TS
5768 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5769 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5770 functions.
5771 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5772 __builtin_nan family of functions.
5773 * math/libm-test.inc (initialize): Initialize qnan_value with
5774 __builtin_nan family of functions.
5775 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5776 Remove variables.
5777 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5778 Remove functions.
5779 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5780 storage class. Initialize qNaN_var and sNaN_var with
5781 __builtin_nan and __builtin_nans families of functions,
5782 respectively.
5783
64d063b8
TS
5784 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5785 (sqrt_test): Remove duplicate test with qNaN input.
5786 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5787 (round_test, signbit_test, significand_test): Note missing +/-Inf
5788 as well as qNaN tests.
5789
67e971f1
TS
5790 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5791 qNaN_var. Fix a few strings, too.
5792 * math/libm-test.inc (nan_value): Rename to qnan_value.
5793 * math/gen-libm-test.pl (%beautify): Adjust to that.
5794 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5795 * math/test-misc.c (main): Likewise.
5796 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5797 to __qnan_bytes, and __qnan_union, respectively.
5798 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5799 Likewise.
5800 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5801 and lqnanval, respectively.
5802 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5803 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5804 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5805 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5806
64487e12
TS
5807 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5808 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5809 doubles.
5810
e015e27b
TS
5811 * math/test-misc.c (main): Fix copy'n'pastos.
5812 * misc/tst-efgcvt.c (special): Likewise.
5813
a57da955
TS
5814 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5815 Remove declarations.
5816
1e380345
SP
58172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5818
5819 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5820 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5821 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5822 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5823
ef26eece
AZ
58242013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5825
5826 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5827 macro to return vdso values correctly in IFUNC implementations.
5828 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5829 Optimization by using IFUNC.
5830
8cfdb7e0
SP
58312013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5832 Richard Henderson <rth@redhat.com>
5833 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5834
5835 * Makefile.in (bench): New target.
5836 * NEWS: Mention the benchmark framework.
5837 * Rules (bench): Likewise.
5838 (binaries-bench): Generate binaries for functions to
5839 benchmark.
5840 * benchtests/Makefile: New makefile for benchmark tests.
5841 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5842 programs.
5843 * benchtests/exp-inputs: New input file for EXP function.
5844 * benchtests/pow-inputs: New input file for POW function.
5845 * scripts/bench.pl: New script to generate source files for
5846 benchmark programs.
5847
bcda9880
SP
58482013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5849
d22ca8cd
SP
5850 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5851 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5852 computations on mantissa. Use macros for rounding and
5853 division.
5854 (denorm): Likewise.
5855 (__dbl_mp): Likewise.
5856 (add_magnitudes): Likewise.
5857 (sub_magnitudes): Likewise.
5858 (__mul): Likewise.
5859 (__sqr): Likewise.
5860 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5861 powers of two in terms of TWOPOW macro.
5862 (mp_no): Make type of mantissa as MANTISSA_T.
5863 [!RADIXI]: Define RADIXI.
5864 [!TWO52]: Define TWO52.
5865 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5866
bcda9880
SP
5867 * manual/nptl.texi (cindex): Modify threads to pthreads.
5868
06d5adfb
JM
58692013-03-15 Joseph Myers <joseph@codesourcery.com>
5870
5871 * sysdeps/x86_64/preconfigure: Regenerated.
5872
41c7328e
JM
58732013-03-14 Joseph Myers <joseph@codesourcery.com>
5874
5875 [BZ #14155]
5876 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5877 0x1p28 and above.
5878 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5879 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5880 0x1p28 and above.
5881 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5882 * math/libm-test.inc (j0_test): Do not allow one spurious
5883 underflow exception.
5884 (y1_test): Likewise.
5885
e25cfa60
SP
58862013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5887
0409959c
SP
5888 * manual/Makefile (chapters): Add nptl.
5889 * manual/debug.texi (Debugging Support): Add link to Threads
5890 chapter.
5891 * manual/nptl.texi: New file.
5892
e25cfa60
SP
5893 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5894
58a1335e
PB
58952013-03-14 Petr Baudis <pasky@ucw.cz>
5896
5897 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5898 for non-NULL pointer before the memory validity test. Pointed
5899 out by Holger Brunck <holger.brunck@keymile.com>.
5900
9dc7c64f
AS
59012013-03-13 Andreas Schwab <schwab@suse.de>
5902
5903 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5904 instead of .os.
5905
54206aa6
JM
59062013-03-13 Joseph Myers <joseph@codesourcery.com>
5907
5908 * timezone/zic.c: Update from tzcode 2013b.
5909
e98cdb38
CD
59102013-03-12 Carlos O'Donell <carlos@redhat.com>
5911
5912 * manual/install.texi (Configuring and compiling):
5913 Mention i686 and i586.
5914 * INSTALL: Regenerate.
5915
9967e003
RM
59162013-03-12 Roland McGrath <roland@hack.frob.com>
5917
5918 * sysdeps/init_array/elf-init.c: New file.
5919 * csu/elf-init.c
5920 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5921 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5922
5923 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5924 __gmon_start__ as global, but as static with a .preinit_array pointer.
5925 * sysdeps/init_array/gmon-start.c: New file. Use that.
5926 * sysdeps/init_array/crti.S: New file, empty except for comments.
5927 * sysdeps/init_array/crtn.S: Likewise.
5928
e6b5a293 59292013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5930
5931 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5932 definining bcopy.
80f844c9
OB
5933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5934 Remove Prefer_SSE_for_memop.
5935 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5936 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5937 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5939 memset-x86-64.
80f844c9 5940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5941 Remove bzero, memset ifunc support.
80f844c9
OB
5942 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5943 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5944 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5945 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5946
fb6b0fcb
AS
59472013-03-11 Andreas Schwab <schwab@suse.de>
5948
5949 [BZ #15234]
5950 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5951 by SHLIB_COMPAT.
5952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5953 (GLIBC_2.16): Remove pthread_atfork.
5954
3e6bd4b1
PP
59552013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5956
5957 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5958 (ptestcases.h): Likewise.
5959
222d7f00
RM
59602013-03-08 Roland McGrath <roland@hack.frob.com>
5961
5962 * Makeconfig ($(common-objpfx)config.status): Depend on
5963 sysdeps/*/preconfigure{,.in} too.
5964
1ba4f030
JM
59652013-03-08 Joseph Myers <joseph@codesourcery.com>
5966
a222d91a
JM
5967 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5968 (__free_hook): Use void * instead of __malloc_ptr_t.
5969 (__malloc_hook): Likewise.
5970 (__realloc_hook): Likewise.
5971 (__memalign_hook): Likewise.
5972 (__after_morecore_hook): Likewise.
5973 * malloc/arena.c (save_malloc_hook): Likewise.
5974 (save_free_hook): Likewise.
5975 * malloc/hooks.c (malloc_hook_ini): Likewise.
5976 (realloc_hook_ini): Likewise.
5977 (memalign_hook_ini): Likewise.
5978 * malloc/malloc.c (malloc_hook_ini): Likewise.
5979 (realloc_hook_ini): Likewise.
5980 (memalign_hook_ini): Likewise.
5981 (__free_hook): Likewise.
5982 (__malloc_hook): Likewise.
5983 (__realloc_hook): Likewise.
5984 (__memalign_hook): Likewise.
5985 (__libc_malloc): Likewise.
5986 (__libc_free): Likewise.
5987 (__libc_realloc): Likewise.
5988 (__libc_memalign): Likewise.
5989 (__libc_valloc): Likewise.
5990 (__libc_pvalloc): Likewise.
5991 (__libc_calloc): Likewise.
5992 (__posix_memalign): Likewise.
5993 * malloc/morecore.c (__sbrk): Likewise.
5994 (__default_morecore): Likewise.
5995
5cc45e10
JM
5996 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5997
dd54b864
JM
5998 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5999 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6000 __malloc_ptrdiff_t.
6001
1ba4f030
JM
6002 * malloc/malloc.h (__malloc_size_t): Remove macro.
6003 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6004 __malloc_size_t.
6005 (old_memalign_hook): Likewise.
6006 (old_realloc_hook): Likewise.
6007 (struct hdr): Likewise.
6008 (flood): Likewise.
6009 (mallochook): Likewise.
6010 (memalignhook): Likewise.
6011 (reallochook): Likewise.
6012 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6013 (tr_old_realloc_hook): Likewise.
6014 (tr_old_memalign_hook): Likewise.
6015 (tr_mallochook): Likewise.
6016 (tr_reallochook): Likewise.
6017 (tr_memalignhook): Likewise.
6018
edf66e57
AZ
60192013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6020
6021 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6022 default_ldbl_pack and using as default implementation.
6023 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6024 implementation.
6025 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6026 redundant definition.
6027 (ldbl_insert_mantissa): Likewise.
6028 (ldbl_canonicalize): Likewise.
6029 (ldbl_nearbyint): Likewise.
6030 (ldbl_pack): Rename to ldbl_pack_ppc.
6031 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6032 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6033 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6034
6d9145d8
SP
60352013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6036
6037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6038 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6039 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6040 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6042 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6043 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6044 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6045
4dd4e157
AJ
60462013-03-07 Andreas Jaeger <aj@suse.de>
6047
6048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6049 bits/mman-linux.h.
6050
adbb8027
SP
60512013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6052
ce544b5b
SP
6053 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6054 Include mpa.h and declare __MPEXP.
6055 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6056 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6057 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6058 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6059 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6060 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6061 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6062
4cc149fd
SP
6063 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6064 (__slowpow): Use long double EXPL and LOGL functions to
6065 compute POW.
6066 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6067 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6068 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6069 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6070 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6071 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6072
e6ebd4a7
SP
6073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6074 intermediate variable to calculate exponent.
6075 (__sqr): Likewise.
6076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6077 Likewise.
6078 (__sqr): Likewise.
6079
82a9811d
SP
6080 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6081 [!NO__SQR]: Define __sqr.
6082 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6083 and NO__SQR. Remove all code except __mul and __sqr. Include
6084 sysdeps/ieee754/dbl-64/mpa.c.
6085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6086
adbb8027
SP
6087 [BZ #12723]
6088 * posix/Makefile (tests): Add tst-pathconf.
6089 * posix/tst-pathconf.c: New test case.
6090 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6091 _PC_PIPE_BUF.
6092 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6093
39120df9
PF
60942013-03-06 Patsy Franklin <pfrankli@redhat.com>
6095
6096 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6097
67525cb8
AJ
60982013-03-06 Andreas Jaeger <aj@suse.de>
6099
664a9ce4
AJ
6100 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6101 definition via __MAP_ANONYMOUS.
6102
8e39047d
AJ
6103 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6104 it's not part of Linux headers.
6105
67525cb8
AJ
6106 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6107 (MAP_HUGE_MASK): Define.
6108
6109 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6110 Define.
6111 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6112 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6113 Define.
6114 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6115 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6116 Define.
6117 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6118 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6119 Define.
6120 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6121
6122 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6123 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6124 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6125 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6126 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6127 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6128
6129 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6130 Handle f2fs.
6131
6132 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6133 Handle f2fs and efivarfs.
6134
6135 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6136 f2fs.
6137
6138 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6139 (EFIVARFS_MAGIC): Add.
6140 (F2FS_LINK_MAX): Add.
6141
e1b42695
PP
61422013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6143
6144 * stdio-common/vfprintf.c: Replace __builtin_expect with
6145 __glibc_unlikely.
6146
2d67d91a
JM
61472013-03-06 Joseph Myers <joseph@codesourcery.com>
6148
6149 [BZ #13550]
6150 * sysdeps/generic/bp-sym.h: Remove file.
6151 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6152 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6153 <bp-sym.h> and <bp-asm.h>.
6154 (__longjmp): Don't use BP_SYM.
6155 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6156 and <bp-asm.h>.
6157 (memcpy): Don't use BP_SYM.
6158 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6159 <bp-sym.h> and <bp-asm.h>.
6160 (memcpy): Don't use BP_SYM.
6161 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6162 <bp-asm.h>.
6163 (memcpy): Don't use BP_SYM.
6164 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6165 <bp-asm.h>.
6166 (memset): Don't use BP_SYM.
6167 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6168 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6169 (__bzero): Don't use BP_SYM.
6170 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6171 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6172 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6173 <bp-sym.h> and <bp-asm.h>.
6174 (memcmp): Don't use BP_SYM. Remove comment about bounded
6175 pointers.
6176 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6177 <bp-sym.h> and <bp-asm.h>.
6178 (memcpy): Don't use BP_SYM.
6179 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6180 <bp-sym.h> and <bp-asm.h>.
6181 (memset): Don't use BP_SYM.
6182 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6183 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6184 (__bzero): Don't use BP_SYM.
6185 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6186 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6187 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6188 <bp-sym.h> and <bp-asm.h>.
6189 (strncmp): Don't use BP_SYM. Remove comment about bounded
6190 pointers.
6191 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6192 <bp-sym.h> and <bp-asm.h>.
6193 (memcpy): Don't use BP_SYM.
6194 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6195 <bp-sym.h> and <bp-asm.h>.
6196 (memset): Don't use BP_SYM.
6197 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6198 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6199 (__bzero): Don't use BP_SYM.
6200 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6201 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6202 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6203 <bp-sym.h> and <bp-asm.h>.
6204 (__memchr): Don't use BP_SYM.
6205 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6206 <bp-sym.h> and <bp-asm.h>.
6207 (memcmp): Don't use BP_SYM. Remove comment about bounded
6208 pointers.
6209 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6210 <bp-sym.h> and <bp-asm.h>.
6211 (memcpy): Don't use BP_SYM.
6212 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6213 <bp-sym.h> and <bp-asm.h>.
6214 (__mempcpy): Don't use BP_SYM.
6215 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6216 <bp-sym.h> and <bp-asm.h>.
6217 (__memrchr): Don't use BP_SYM.
6218 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6219 <bp-sym.h> and <bp-asm.h>.
6220 (memset): Don't use BP_SYM.
6221 (__bzero): Likewise.
6222 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6223 <bp-sym.h> and <bp-asm.h>.
6224 (__rawmemchr): Don't use BP_SYM.
6225 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6226 <bp-sym.h> and <bp-asm.h>.
6227 (__STRCMP): Don't use BP_SYM.
6228 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6229 <bp-sym.h> and <bp-asm.h>.
6230 (strchr): Don't use BP_SYM.
6231 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6232 <bp-sym.h> and <bp-asm.h>.
6233 (__strchrnul): Don't use BP_SYM.
6234 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6235 <bp-sym.h> and <bp-asm.h>.
6236 (strlen): Don't use BP_SYM.
6237 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6238 <bp-sym.h> and <bp-asm.h>.
6239 (strncmp): Don't use BP_SYM. Remove comment about bounded
6240 pointers.
6241 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6242 <bp-sym.h> and <bp-asm.h>.
6243 (__strnlen): Don't use BP_SYM.
6244 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6245 <bp-sym.h> and <bp-asm.h>.
6246 (__GI__setjmp): Don't use BP_SYM.
6247 (_setjmp): Likewise.
6248 (__sigsetjmp): Likewise.
6249 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6250 (L(start_addresses)): Don't use BP_SYM.
6251 (_start): Likewise.
6252 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6253 <bp-asm.h>.
6254 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6255 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6256 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6257 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6258 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6259 <bp-asm.h>.
6260 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6261 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6262 about bounded pointers.
6263 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6264 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6265 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6266 <bp-asm.h>.
6267 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6268 about bounded pointers. Remove GKM FIXME comments.
6269 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6270 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6271 <bp-asm.h>.
6272 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6273 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6274 Remove GKM FIXME comments.
6275 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6276 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6277 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6278 <bp-asm.h>.
6279 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6280 about bounded pointers. Remove GKM FIXME comment.
6281 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6282 and <bp-asm.h>.
6283 (strncmp): Don't use BP_SYM. Remove comment about bounded
6284 pointers.
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6286 <bp-sym.h> and <bp-asm.h>.
6287 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6289 <bp-sym.h> and <bp-asm.h>.
6290 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6291 comment.
6292
cdcf361f
PP
62932013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6294
6295 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6296 call free(NULL).
6297
3c4a2b15
DM
62982013-03-05 David S. Miller <davem@davemloft.net>
6299
6300 * po/es.po: Update from translation team.
6301
cdcf361f 63022013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6303
6304 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6305 <bits/mman-linux.h>.
6306 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6307 is fine.
6308 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6309 <bits/mman-linux.h> to end of file.
6310 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6311 is fine.
6312 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6313 <bits/mman-linux.h> to end of file.
6314 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6315 is fine.
6316 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6317 <bits/mman-linux.h> to end of file.
6318
6319 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6320 (MCL_CURRENT, MCL_FUTURE): Define here.
6321
5f67c04f
AK
63222013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6323
8a4473cc 6324 [BZ #15232]
5f67c04f
AK
6325 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6326 attribute_hidden.
6327 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6328
c3e94a95
AK
63292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6330
6331 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6332 fourth parameter needed for rt_sigprocmask syscall.
6333 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6334 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6335 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6336 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6337 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6338 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6339
cfb6382a
JM
63402013-03-04 Joseph Myers <joseph@codesourcery.com>
6341
6342 [BZ #13550]
6343 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6344 comment about bounded pointers.
6345 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6346 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6347
539d8e01
AJ
63482013-03-04 Andreas Jaeger <aj@suse.de>
6349
6350 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6351 common definitions.
6352
6353 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6354 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6355 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6356 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6357 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6358 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6359
2e167a70 63602013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6361
6362 [BZ #15055]
6363 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6364 __ieee754_sqrl instead of __sqrl.
6365
68508633
JM
63662013-03-01 Joseph Myers <joseph@codesourcery.com>
6367
6368 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6369 * sysdeps/powerpc/fpu_control.h: ... here.
6370 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6371 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6372 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6373 * sysdeps/powerpc/bits/mathinline.h: ... here.
6374
7775448e
RM
63752013-03-01 Roland McGrath <roland@hack.frob.com>
6376
6377 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6378 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6379 to just [NEED_DL_SYSINFO_DSO].
6380 * elf/dl-support.c: Likewise.
6381 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6382 * elf/rtld.c (dl_main): Likewise.
6383 * elf/setup-vdso.h (setup_vdso): Likewise.
6384 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6385 * sysdeps/unix/sysv/linux/dl-sysdep.c
6386 (_dl_discover_osversion): Likewise.
6387
4e9b5995
CD
63882013-03-01 Carlos O'Donell <carlos@redhat.com>
6389
6390 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6391 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6392
e23872c8
SP
63932013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6394
e5c74c63
SP
6395 * NEWS: Mention libm performance improvements and non-x86 PI
6396 futex support.
6397
e23872c8
SP
6398 * csu/libc-start.c (__pthread_initialize_minimal): Change
6399 function arguments.
6400 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6401
b5510883
JM
64022013-02-28 Joseph Myers <joseph@codesourcery.com>
6403
6404 [BZ #13550]
6405 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6406 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6407 <bp-sym.h> and <bp-asm.h>.
6408 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6409 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6410 and <bp-asm.h>.
6411 (memcpy): Don't use BP_SYM.
6412 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6413 <bp-asm.h>.
6414 (__mpn_add_n): Don't use BP_SYM.
6415 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6416 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6417 and <bp-asm.h>.
6418 (__mpn_addmul_1): Don't use BP_SYM.
6419 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6420 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6421 <bp-sym.h>.
6422 (_setjmp): Don't use BP_SYM.
6423 (__novmx_setjmp): Likewise.
6424 (__GI__setjmp): Likewise.
6425 (__vmx_setjmp): Likewise.
6426 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6427 <bp-sym.h>.
6428 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6429 (__bzero): Don't use BP_SYM.
6430 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6431 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6432 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6433 <bp-sym.h> and <bp-asm.h>.
6434 (memcpy): Don't use BP_SYM.
6435 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6436 <bp-sym.h> and <bp-asm.h>.
6437 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6438 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6439 <bp-sym.h> and <bp-asm.h>.
6440 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6441 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6442 <bp-asm.h>.
6443 (__mpn_lshift): Don't use BP_SYM.
6444 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6445 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6446 <bp-asm.h>.
6447 (memset): Don't use BP_SYM.
6448 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6449 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6450 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6451 <bp-asm.h>.
6452 (__mpn_mul_1): Don't use BP_SYM.
6453 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6454 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6455 <bp-sym.h> and <bp-asm.h>.
6456 (memcmp): Don't use BP_SYM.
6457 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6458 <bp-sym.h> and <bp-asm.h>.
6459 (memcpy): Don't use BP_SYM.
6460 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6461 <bp-sym.h> and <bp-asm.h>.
6462 (memset): Don't use BP_SYM.
6463 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6464 <bp-sym.h> and <bp-asm.h>.
6465 (strncmp): Don't use BP_SYM.
6466 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6467 <bp-sym.h> and <bp-asm.h>.
6468 (memcpy): Don't use BP_SYM.
6469 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6470 <bp-sym.h> and <bp-asm.h>.
6471 (memset): Don't use BP_SYM.
6472 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6473 <bp-sym.h> and <bp-asm.h>.
6474 (__memchr): Don't use BP_SYM.
6475 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6476 <bp-sym.h> and <bp-asm.h>.
6477 (memcmp): Don't use BP_SYM.
6478 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6479 <bp-sym.h> and <bp-asm.h>.
6480 (memcpy): Don't use BP_SYM.
6481 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6482 <bp-sym.h> and <bp-asm.h>.
6483 (__mempcpy): Don't use BP_SYM.
6484 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6485 <bp-sym.h> and <bp-asm.h>.
6486 (__memrchr): Don't use BP_SYM.
6487 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6488 <bp-sym.h> and <bp-asm.h>.
6489 (memset): Don't use BP_SYM.
6490 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6491 <bp-sym.h> and <bp-asm.h>.
6492 (__rawmemchr): Don't use BP_SYM.
6493 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6494 <bp-sym.h> and <bp-asm.h>.
6495 (__STRCMP): Don't use BP_SYM.
6496 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6497 <bp-sym.h> and <bp-asm.h>.
6498 (strchr): Don't use BP_SYM.
6499 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6500 <bp-sym.h> and <bp-asm.h>.
6501 (__strchrnul): Don't use BP_SYM.
6502 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6503 <bp-sym.h> and <bp-asm.h>.
6504 (strlen): Don't use BP_SYM.
6505 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6506 <bp-sym.h> and <bp-asm.h>.
6507 (strncmp): Don't use BP_SYM.
6508 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6509 <bp-sym.h> and <bp-asm.h>.
6510 (__strnlen): Don't use BP_SYM.
6511 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6512 <bp-asm.h>.
6513 (__mpn_rshift): Don't use BP_SYM.
6514 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6515 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6516 <bp-sym.h> and <bp-asm.h>.
6517 (__sigsetjmp): Don't use BP_SYM.
6518 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6519 (L(start_addresses)): Don't use BP_SYM.
6520 (_start): Likewise.
6521 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6522 <bp-asm.h>.
6523 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6524 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6525 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6526 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6527 <bp-asm.h>.
6528 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6529 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6530 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6531 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6532 <bp-asm.h>.
6533 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6534 comments.
6535 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6536 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6537 <bp-asm.h>.
6538 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6539 FIXME comments.
6540 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6541 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6542 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6543 <bp-asm.h>.
6544 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6545 comment.
6546 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6547 and <bp-asm.h>.
6548 (strncmp): Don't use BP_SYM,
6549 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6550 <bp-asm.h>.
6551 (__mpn_sub_n): Don't use BP_SYM.
6552 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6553 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6554 and <bp-asm.h>.
6555 (__mpn_submul_1): Don't use BP_SYM.
6556 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6558 <bp-sym.h> and <bp-asm.h>.
6559 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6561 <bp-sym.h> and <bp-asm.h>.
6562 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6563 comment.
6564
8d19fe64
SP
65652013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6566
6567 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6568 Use ZK to minimize writes to Z.
6569 (sub_magnitudes): Simplify code a bit.
6570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6571 Use ZK to minimize writes to Z.
6572 (sub_magnitudes): Simplify code a bit.
6573
85bd816a
RM
65742013-02-27 Roland McGrath <roland@hack.frob.com>
6575
6576 * csu/gmon-start.c: Add special exception to license text.
6577
b5977bf2
RH
65782013-02-27 Richard Henderson <rth@redhat.com>
6579
6580 * scripts/config.guess: Update from config.git.
6581 * scripts/config.sub: Likewise.
6582
11d6e2f2
SP
65832013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6584
09c14ed2
SP
6585 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6586
a688864e
SP
6587 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6588
6295157a
SP
6589 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6590
b8de2202
SP
6591 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6592
11d6e2f2
SP
6593 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6594
7e80ddb8
RM
65952013-02-26 Roland McGrath <roland@hack.frob.com>
6596
6597 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6598 [$(build-shared = yes].
7e80ddb8 6599
7da6d9ed
SP
66002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6601
45f05884
SP
6602 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6603 (__mul): Reduce iterations for calculating mantissa.
6604
2236d359
SP
6605 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6606 MPTWO.
6607 (__mpranred): Likewise.
6608
7da6d9ed
SP
6609 [BZ #15160]
6610 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6611 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6612
b7688c42
PE
66132013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6614
6615 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6616 Define __attribute__.
6617
53a5c423
SP
66182013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6619
6620 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6621 unused.
6622 * posix/regex_internal.h (__attribute): Remove.
6623 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6624 (re_string_context_at): Likewise.
6625 (bitset_not): Use __attribute__ and mark function as possibly
6626 unused.
6627 (bitset_merge): Likewise.
6628 (bitset_mask): Likewise.
6629 (re_string_char_size_at): Likewise.
6630 (re_string_wchar_at): Likewise.
6631 (re_string_elem_size_at): Likewise.
6632
60f5a8b5
SP
66332013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6634
2a983a2e
SP
6635 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6636 code.
6637 (cc32): Likewise.
6638
e69804d1
SP
6639 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6640 (__acr): Likewise.
6641 (__cpy): Likewise.
6642 (norm): Likewise.
6643 (denorm): Likewise.
6644 (__dbl_mp): Likewise.
6645 (add_magnitudes): Likewise.
6646 (sub_magnitudes): Likewise.
6647 (__mul): Likewise.
6648 (__inv): Likewise.
6649
2f22a1e8
SP
6650 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6651 style.
6652
8930ddc7
SP
6653 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6654 style.
6655
dc60cb11
SP
6656 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6657 code.
6658
60f5a8b5
SP
6659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6660 up changes with default code.
6661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6662 Likewise.
6663
b4d1fd33
AM
66642013-02-24 Allan McRae <allan@archlinux.org>
6665
faf6f8bc
AM
6666 * manual/socket.texi (The Internet Namespace): Order menu items
6667 to match that in the file.
6668
b4d1fd33
AM
6669 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6670 node listing of the info page menu.
6671
2366713d
JM
66722013-02-21 Joseph Myers <joseph@codesourcery.com>
6673
6674 [BZ #13550]
6675 * sysdeps/i386/bp-asm.h: Remove file.
6676 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6677 (PARMS): Do not use macros from bp-asm.h.
6678 (S1): Likewise.
6679 (S2): Likewise.
6680 (SIZE): Likewise.
6681 (__mpn_add_n): Do not use BP_SYM
6682 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6683 "bp-asm.h".
6684 (PARMS): Do not use macros from bp-asm.h.
6685 (S1): Likewise.
6686 (SIZE): Likewise.
6687 (__mpn_addmul_1): Do not use BP_SYM
6688 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6689 "bp-asm.h".
6690 (PARMS): Do not use macros from bp-asm.h.
6691 (SIGMSK): Likewise.
6692 (_setjmp): Likewise. Do not use BP_SYM.
6693 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6694 "bp-asm.h".
6695 (PARMS): Do not use macros from bp-asm.h.
6696 (SIGMSK): Likewise.
6697 (setjmp): Likewise. Do not use BP_SYM.
6698 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6699 "bp-asm.h".
6700 (PARMS): Do not use macros from bp-asm.h.
6701 (__frexp): Do not use BP_SYM.
6702 (frexp): Likewise.
6703 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6704 "bp-asm.h".
6705 (PARMS): Do not use macros from bp-asm.h.
6706 (__frexpf): Do not use BP_SYM.
6707 (frexpf): Likewise.
6708 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6709 "bp-asm.h".
6710 (PARMS): Do not use macros from bp-asm.h.
6711 (__frexpl): Do not use BP_SYM.
6712 (frexpl): Likewise.
6713 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6714 "bp-asm.h".
6715 (PARMS): Do not use macros from bp-asm.h.
6716 (__remquo): Do not use BP_SYM.
6717 (remquo): Likewise.
6718 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6719 "bp-asm.h".
6720 (PARMS): Do not use macros from bp-asm.h.
6721 (__remquof): Do not use BP_SYM.
6722 (remquof): Likewise.
6723 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6724 "bp-asm.h".
6725 (PARMS): Do not use macros from bp-asm.h.
6726 (__remquol): Do not use BP_SYM.
6727 (remquol): Likewise.
6728 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6729 "bp-asm.h".
6730 (PARMS): Do not use macros from bp-asm.h.
6731 (DEST): Likewise.
6732 (SRC): Likewise.
6733 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6734 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6735 "bp-asm.h".
6736 (PARMS): Do not use macros from bp-asm.h.
6737 (strlen): Do not use BP_SYM.
6738 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6739 "bp-asm.h".
6740 (PARMS): Do not use macros from bp-asm.h.
6741 (S1): Likewise.
6742 (S2): Likewise.
6743 (SIZE): Likewise.
6744 (__mpn_add_n): Do not use BP_SYM.
6745 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6746 "bp-asm.h".
6747 (PARMS): Do not use macros from bp-asm.h.
6748 (S1): Likewise.
6749 (SIZE): Likewise.
6750 (__mpn_addmul_1): Do not use BP_SYM.
6751 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6752 weak_alias.
6753 (bzero): Likewise.
6754 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6755 "bp-asm.h".
6756 (PARMS): Do not use macros from bp-asm.h.
6757 (S): Likewise.
6758 (SIZE): Likewise.
6759 (__mpn_lshift): Do not use BP_SYM.
6760 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6761 "bp-asm.h".
6762 (PARMS): Do not use macros from bp-asm.h.
6763 (DEST): Likewise.
6764 (SRC): Likewise.
6765 (LEN): Likewise.
6766 (memcpy): Likewise. Do not use BP_SYM.
6767 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6768 libc_hidden_def and weak_alias.
6769 (mempcpy): Do not use BP_SYM in weak_alias.
6770 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6771 "bp-asm.h".
6772 (PARMS): Do not use macros from bp-asm.h.
6773 (DEST): Likewise.
6774 (LEN): Likewise.
6775 [!BZERO_P] (CHR): Likewise.
6776 (memset): Likewise. Do not use BP_SYM.
6777 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6778 "bp-asm.h".
6779 (PARMS): Do not use macros from bp-asm.h.
6780 (S1): Likewise.
6781 (SIZE): Likewise.
6782 (__mpn_mul_1): Do not use BP_SYM.
6783 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6784 "bp-asm.h".
6785 (PARMS): Do not use macros from bp-asm.h.
6786 (S): Likewise.
6787 (SIZE): Likewise.
6788 (__mpn_rshift): Do not use BP_SYM.
6789 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6790 "bp-asm.h".
6791 (PARMS): Do not use macros from bp-asm.h.
6792 (STR): Likewise.
6793 (CHR): Likewise.
6794 (strchr): Likewise. Do not use BP_SYM.
6795 (index): Do not use BP_SYM in weak_alias.
6796 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6797 "bp-asm.h".
6798 (PARMS): Do not use macros from bp-asm.h.
6799 (DEST): Likewise.
6800 (SRC): Likewise.
6801 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6802 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6803 "bp-asm.h".
6804 (PARMS): Do not use macros from bp-asm.h.
6805 (strlen): Do not use BP_SYM.
6806 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6807 "bp-asm.h".
6808 (PARMS): Do not use macros from bp-asm.h.
6809 (S1): Likewise.
6810 (S2): Likewise.
6811 (SIZE): Likewise.
6812 (__mpn_sub_n): Do not use BP_SYM.
6813 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6814 "bp-asm.h".
6815 (PARMS): Do not use macros from bp-asm.h.
6816 (S1): Likewise.
6817 (SIZE): Likewise.
6818 (__mpn_submul_1): Do not use BP_SYM.
6819 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6820 "bp-asm.h".
6821 (PARMS): Do not use macros from bp-asm.h.
6822 (S1): Likewise.
6823 (S2): Likewise.
6824 (SIZE): Likewise.
6825 (__mpn_add_n): Do not use BP_SYM.
6826 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6827 weak_alias.
6828 (bzero): Likewise.
6829 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6830 "bp-asm.h".
6831 (PARMS): Do not use macros from bp-asm.h.
6832 (BLK2): Likewise.
6833 (LEN): Likewise.
6834 (memcmp): Do not use BP_SYM.
6835 (bcmp): Do not use BP_SYM in weak_alias.
6836 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6837 "bp-asm.h".
6838 (PARMS): Do not use macros from bp-asm.h.
6839 (DEST): Likewise.
6840 (SRC): Likewise.
6841 (LEN): Likewise.
6842 (memcpy): Likewise. Do not use BP_SYM.
6843 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6844 "bp-asm.h".
6845 (PARMS): Do not use macros from bp-asm.h.
6846 (DEST): Likewise.
6847 (SRC): Likewise.
6848 (LEN): Likewise.
6849 (memmove): Likewise. Do not use BP_SYM.
6850 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6851 "bp-asm.h".
6852 (PARMS): Do not use macros from bp-asm.h.
6853 (DEST): Likewise.
6854 (SRC): Likewise.
6855 (LEN): Likewise.
6856 (__mempcpy): Likewise. Do not use BP_SYM.
6857 (mempcpy): Do not use BP_SYM in weak_alias.
6858 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6859 "bp-asm.h".
6860 (PARMS): Do not use macros from bp-asm.h.
6861 (DEST): Likewise.
6862 (LEN): Likewise.
6863 [!BZERO_P] (CHR): Likewise.
6864 (memset): Likewise. Do not use BP_SYM.
6865 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6866 "bp-asm.h".
6867 (PARMS): Do not use macros from bp-asm.h.
6868 (STR2): Likewise.
6869 (strcmp): Do not use BP_SYM.
6870 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6871 "bp-asm.h".
6872 (PARMS): Do not use macros from bp-asm.h.
6873 (STR): Likewise.
6874 (DELIM): Likewise.
6875 [USE_AS_STRTOK_R] (SAVE): Likewise.
6876 (FUNCTION): Likewise. Do not use BP_SYM.
6877 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6878 aliases.
6879 (strtok_r): Likewise.
6880 (__GI___strtok_r): Likewise.
6881 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6882 (PARMS): Do not use macros from bp-asm.h.
6883 (S): Likewise.
6884 (SIZE): Likewise.
6885 (__mpn_lshift): Do not use BP_SYM.
6886 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6887 (PARMS): Do not use macros from bp-asm.h.
6888 (STR): Likewise.
6889 (CHR): Likewise.
6890 (__memchr): Do not use BP_SYM.
6891 (memchr): Do not use BP_SYM in weak_alias.
6892 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6893 (PARMS): Do not use macros from bp-asm.h.
6894 (BLK2): Likewise.
6895 (LEN): Likewise.
6896 (memcmp): Do not use BP_SYM.
6897 (bcmp): Do not use BP_SYM in weak_alias.
6898 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6899 (PARMS): Do not use macros from bp-asm.h.
6900 (S1): Likewise.
6901 (SIZE): Likewise.
6902 (__mpn_mul_1): Do not use BP_SYM.
6903 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6904 "bp-asm.h".
6905 (PARMS): Do not use macros from bp-asm.h.
6906 (STR): Likewise.
6907 (CHR): Likewise.
6908 (__rawmemchr): Do not use BP_SYM.
6909 (rawmemchr): Do not use BP_SYM in weak_alias.
6910 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6911 (PARMS): Do not use macros from bp-asm.h.
6912 (S): Likewise.
6913 (SIZE): Likewise.
6914 (__mpn_rshift): Do not use BP_SYM.
6915 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6916 (PARMS): Do not use macros from bp-asm.h.
6917 (SIGMSK): Likewise.
6918 (__sigsetjmp): Likewise. Do not use BP_SYM.
6919 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6920 (_start): Do not use BP_SYM.
6921 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6922 (PARMS): Do not use macros from bp-asm.h.
6923 (DEST): Likewise.
6924 (SRC): Likewise.
6925 (__stpcpy): Likewise. Do not use BP_SYM.
6926 (stpcpy): Do not use BP_SYM in weak_alias.
6927 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6928 "bp-asm.h".
6929 (PARMS): Do not use macros from bp-asm.h.
6930 (DEST): Likewise.
6931 (SRC): Likewise.
6932 (LEN): Likewise.
6933 (__stpncpy): Likewise. Do not use BP_SYM.
6934 (stpncpy): Do not use BP_SYM in weak_alias.
6935 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6936 (PARMS): Do not use macros from bp-asm.h.
6937 (STR): Likewise.
6938 (CHR): Likewise.
6939 (strchr): Likewise. Do not use BP_SYM.
6940 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6941 "bp-asm.h".
6942 (PARMS): Do not use macros from bp-asm.h.
6943 (STR): Likewise.
6944 (CHR): Likewise.
6945 (__strchrnul): Likewise. Do not use BP_SYM.
6946 (strchrnul): Do not use BP_SYM in weak_alias.
6947 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6948 "bp-asm.h".
6949 (PARMS): Do not use macros from bp-asm.h.
6950 (STOP): Likewise.
6951 (strcspn): Do not use BP_SYM.
6952 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6953 "bp-asm.h".
6954 (PARMS): Do not use macros from bp-asm.h.
6955 (STR): Likewise.
6956 (STOP): Likewise.
6957 (strpbrk): Likewise. Do not use BP_SYM.
6958 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6959 "bp-asm.h".
6960 (PARMS): Do not use macros from bp-asm.h.
6961 (STR): Likewise.
6962 (CHR): Likewise.
6963 (strrchr): Likewise. Do not use BP_SYM.
6964 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6965 (PARMS): Do not use macros from bp-asm.h.
6966 (SKIP): Likewise.
6967 (strspn): Do not use BP_SYM.
6968 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6969 (PARMS): Do not use macros from bp-asm.h.
6970 (STR): Likewise.
6971 (DELIM): Likewise.
6972 (SAVE): Likewise.
6973 (FUNCTION): Likewise. Do not use BP_SYM.
6974 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6975 aliases.
6976 (strtok_r): Likewise.
6977 (__GI___strtok_r): Likewise.
6978 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6979 (PARMS): Do not use macros from bp-asm.h.
6980 (S1): Likewise.
6981 (S2): Likewise.
6982 (SIZE): Likewise.
6983 (__mpn_sub_n): Do not use BP_SYM.
6984 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6985 "bp-asm.h".
6986 (PARMS): Do not use macros from bp-asm.h.
6987 (S1): Likewise.
6988 (SIZE): Likewise.
6989 (__mpn_submul_1): Do not use BP_SYM.
6990 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6991 <bp-sym.h>.
6992 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6993 and <bp-asm.h>.
6994 (PARMS): Do not use macros from bp-asm.h.
6995 (FLAGS): Likewise.
6996 (PTID): Likewise.
6997 (TLS): Likewise.
6998 (CTID): Likewise.
6999 (__clone): Do not use BP_SYM.
7000 (clone): Do not use BP_SYM in weak_alias.
7001 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7002 and <bp-asm.h>.
7003 (PARMS): Do not use macros from bp-asm.h.
7004 (LEN): Likewise.
7005 (__mmap64): Do not use BP_SYM.
7006 (mmap64): Do not use BP_SYM in weak_alias.
7007 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7008 <bp-sym.h> and <bp-asm.h>.
7009 (PARMS): Do not use macros from bp-asm.h.
7010 (__posix_fadvise64_l64): Do not use BP_SYM.
7011 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7012 (PARMS): Do not use macros from bp-asm.h.
7013 (NSOPS): Likewise.
7014 (semtimedop): Do not use BP_SYM.
7015 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7016 and <bp-asm.h>.
7017
582a3cff
AM
70182013-02-21 Allan McRae <allan@archlinux.org>
7019
7020 * manual/message.texi (Charset conversion in gettext):
7021 Move @end statement to beginning of line.
7022
bab8a695
SP
70232013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7024
80945231
SP
7025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7026 static.
7027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7028 Likewise.
7029
bab8a695
SP
7030 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7031 (denorm): Likewise.
7032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7034
e21d7aa7
AK
70352013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7036
7037 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7038 tail-call to the resolved function if pltexit isn't needed.
7039
4c7a4263
SP
70402013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7041
7042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7043 or Y being zero as being unlikely.
7044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7045 Likewise.
7046
41f49342
CD
70472013-02-20 Carlos O'Donell <carlos@redhat.com>
7048
7049 * manual/nss.texi (System Databases and Name Service Switch):
7050 Remove frobnicate @pxref.
7051
50022a93
TS
70522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7053
7054 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7055 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7056
08cbd996
PM
70572013-02-20 Petr Machata <pmachata@redhat.com>
7058
7059 * elf/elf.h (R_ARM_TARGET1): New macro.
7060 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7061 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7062 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7063 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7064 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7065 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7066 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7067 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7068 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7069 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7070 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7071 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7072 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7073 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7074 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7075 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7076 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7077 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7078 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7079 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7080 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7081 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7082 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7083 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7084 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7085 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7086 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7087 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7088 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7089 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7090 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7091 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7092 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7093 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7094 (R_ARM_THM_GOT_BREL12): Likewise.
7095 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7096 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7097 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7098 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7099 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7100 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7101 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7102 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7103 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7104
c7b275d6
TS
71052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7106
7107 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7108 __attribute_used__ to __attribute__ ((unused)).
7109
20cd7fb3
SP
71102013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7111
7112 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7113 powerpc mpa.c.
7114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7115 comment formatting.
7116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7117
92945b52
JM
71182013-02-19 Joseph Myers <joseph@codesourcery.com>
7119
7120 [BZ #13550]
7121 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7122 Remove macro.
7123 (ENTER): Remove both macro definitions.
7124 (LEAVE): Likewise.
7125 (CHECK_BOUNDS_LOW): Likewise.
7126 (CHECK_BOUNDS_HIGH): Likewise.
7127 (CHECK_BOUNDS_BOTH): Likewise.
7128 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7129 (RETURN_BOUNDED_POINTER): Likewise.
7130 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7131 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7132 (POP_ERRNO_LOCATION_RETURN): Likewise.
7133 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7134 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7135 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7136 macros.
7137 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7138 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7139 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7140 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7141 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7142 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7143 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7144 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7145 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7146 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7147 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7148 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7149 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7150 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7151 removed macros.
7152 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7153 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7154 macros.
7155 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7156 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7157 * sysdeps/i386/i586/memset.S (memset): Likewise.
7158 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7159 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7160 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7161 macros.
7162 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7163 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7164 Change uses of L(2) to L(out).
7165 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7166 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7167 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7168 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7169 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7170 removed macros.
7171 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7172 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7173 macros.
7174 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7175 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7176 (RETURN): Do not use macro LEAVE.
7177 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7178 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7179 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7180 * sysdeps/i386/i686/memset.S (memset): Likewise.
7181 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7182 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7183 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7184 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7185 Likewise.
7186 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7187 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7188 L(1_2) and L(1_3) into L(1).
7189 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7190 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7191 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7192 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7193 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7194 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7195 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7196 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7197 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7198 macros.
7199 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7200 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7201 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7202 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7203 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7204 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7205 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7206 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7207 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7208 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7209 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7210 * sysdeps/i386/strspn.S (strspn): Likewise.
7211 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7212 conditional code.
7213 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7214 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7215 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7216 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7217 L(1_3) into L(1_1).
7218 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7219 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7220 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7221 macros.
7222 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7223
2389741a
JJ
72242013-02-19 Jakub Jelinek <jakub@redhat.com>
7225
7226 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7227 macro.
7228
2016b3cd
SP
72292013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7230
e4f22324
SP
7231 * math/atest-exp.c (exp_mpn): Remove ROUND.
7232 * math/atest-exp2.c (exp_mpn): Likewise.
7233 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7234
2016b3cd
SP
7235 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7236 * stdlib/tst-tls-atexit-lib.c: Likewise.
7237 * stdlib/tst-tls-atexit.c: Likewise.
7238
4be9b544
MF
72392013-02-18 Mike Frysinger <vapier@gentoo.org>
7240
7241 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7242 and __attribute_alloc_size__.
7243
2f62b9ee
MF
72442013-02-18 Mike Frysinger <vapier@gentoo.org>
7245
7246 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7247 __attribute_alloc_size__.
7248 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7249 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7250
6ff444c4
MF
72512013-02-18 Mike Frysinger <vapier@gentoo.org>
7252
7253 * include/programs/xmalloc.h: New file.
7254 * catgets/gencat.c: Include it.
7255 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7256 * elf/pldd.c: Likewise.
7257 * iconv/iconv_charmap.c: Likewise.
7258 * iconv/iconvconfig.c: Likewise.
7259 * iconv/strtab.c: Likewise.
7260 * locale/programs/locale.c: Likewise.
7261 * locale/programs/localedef.h: Likewise.
7262 * locale/programs/simple-hash.c: Likewise.
7263 * nscd/nscd.h: Likewise.
7264 * nss/makedb.c: Likewise.
7265 * sysdeps/generic/ldconfig.h: Likewise.
7266
be179c8a
SP
72672013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7268
ba384f6e
SP
7269 * Versions.def: Add GLIBC_2.18.
7270 * include/link.h (struct link_map): New member l_tls_dtor_count.
7271 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7272 (__call_tls_dtors): Likewise.
7273 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7274 __cxa_thread_atexit_impl.
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7276 Likewise.
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7278 Likewise.
7279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7280 Likewise.
7281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7282 Likewise.
7283 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7285 Likewise.
7286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7287 Likewise.
7288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7290 Likewise.
7291 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7292 (tests): Add test case tst-tls-atexit.
7293 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7294 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7295 (GLIBC_PRIVATE): Add __call_tls_dtors.
7296 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7297 for libstdc++.
7298 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7299 * stdlib/tst-tls-atexit.c: New test case.
7300 * stdlib/tst-tls-atexit-lib.c: New test case.
7301
ffaa74cf 7302 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7303
be179c8a
SP
7304 * elf/Versions (ld): Add _dl_find_dso_for_object.
7305 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7306 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7307 (dl_open_worker): Use _dl_find_dso_for_object.
7308 * elf/dl-sym.c (do_sym): Likewise.
7309 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7310
f78b5caa
AK
73112013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7312
7313 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7314 Syntactic changes only.
7315 (_dl_runtime_profile): Do a tail-call to the resolved function.
7316
29691210
JM
73172013-02-17 Joseph Myers <joseph@codesourcery.com>
7318
7319 [BZ #13550]
7320 * sysdeps/x86_64/bp-asm.h: Remove file.
7321 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7322 <bp-sym.h> and <bp-asm.h>.
7323 (__clone): Do not use BP_SYM.
7324 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7325 <bp-sym.h> and <bp-asm.h>.
7326 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7327 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7328 "bp-asm.h".
7329 (_setjmp): Do not use BP_SYM.
7330 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7331 "bp-asm.h".
7332 (setjmp): Do not use BP_SYM.
7333 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7334 libc_hidden_def.
7335 (mempcpy): Do not use BP_SYM in weak_alias.
7336 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7337 "bp-asm.h".
7338 (strchr): Do not use BP_SYM.
7339 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7340 "bp-asm.h".
7341 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7342 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7343 (_start): Do not use BP_SYM.
7344 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7345 "bp-asm.h".
7346 (strcat): Do not use BP_SYM.
7347 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7348 "bp-asm.h".
7349 (STRCMP): Do not use BP_SYM.
7350 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7351 "bp-asm.h".
7352 (STRCPY): Do not use BP_SYM.
7353 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7354 "bp-asm.h".
7355 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7356 "bp-asm.h".
7357 (FUNCTION): Do not use BP_SYM.
7358 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7359 weak_alias.
7360 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7361
f238fd19
AJ
73622013-02-17 Andreas Jaeger <aj@suse.de>
7363
7364 * time/Versions: Sort entries.
7365 * string/Versions: Likewise.
7366 * resolv/Versions: Likewise.
7367 * posix/Versions: Likewise.
7368 * iconv/Versions: Likewise.
7369 * elf/Versions: Likewise.
7370 * wcsmbs/Versions: Likewise.
7371
bd07f23c 73722013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7373
22af19f9
SP
7374 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7375 loop termination condition.
7376
4709fe76
SP
7377 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7378 variable to calculate EZ.
7379 (__sqr): Likewise.
2d0e0f29
SP
7380
7381 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7382 the lower precision input.
7383
daaa7713
JM
73842013-02-15 Joseph Myers <joseph@codesourcery.com>
7385
7386 [BZ #13550]
7387 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7388 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7389 (run-via-rtld-prefix): Do not handle %-bp tests.
7390 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7391 (all-object-suffixes): Remove .ob.
7392 (bppfx): Remove variable.
7393 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7394 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7395 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7396 [$(build-bounded) = yes] (libtype.ob): Likewise.
7397 * Makerules (elide-routines.ob): Remove variable.
7398 (do-tests-clean): Do not handle *-bp.out.
7399 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7400 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7401 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7402 (tests): Do not include $(tests-bp.out).
7403 (xtests): Do not include $(xtests-bp.out).
7404 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7405 [$(build-bounded) = yes] ($(addprefix
7406 $(objpfx),$(binaries-bounded))): Remove rule.
7407 ($(objpfx)%-bp.out): Remove rule.
7408 * config.make.in (build-bounded): Remove variable.
7409 * crypt/Makefile [$(build-bounded) = yes]
7410 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7411 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7412 append to variable.
7413 [$(build-bounded) = yes] (install-lib): Likewise.
7414 [$(build-bounded) = yes] (generated): Likewise.
7415 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7416 Remove rule.
7417 * intl/Makefile [$(build-bounded) = yes]
7418 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7419 * math/Makefile [$(build-bounded) = yes]
7420 ($(tests:%=$(objpfx)%-bp): Likewise.
7421 * misc/Makefile [$(build-bounded) = yes]
7422 ($(objpfx)tst-tsearch-bp): Likewise.
7423 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7424 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7425 Remove dependency.
7426 * string/Makefile (o-objects.ob): Remove variable.
7427 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7428 (CFLAGS-.ob): Remove variable.
7429 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7430 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7431 both definitions of variable.
7432 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7433 (ASFLAGS-.ob): Remove variable.
7434
e97ed6dd
JM
74352013-02-14 Joseph Myers <joseph@codesourcery.com>
7436
2bdd4ca6
JM
7437 [BZ #13550]
7438 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7439 Remove __BOUNDED_POINTERS__ from condition.
7440 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7441 * string/bits/string2.h [!__NO_STRING_INLINES &&
7442 !__BOUNDED_POINTERS__]: Likewise.
7443 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7444 Likewise.
7445 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7446 Remove conditional code.
7447 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7448 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7449 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7450 condition.
7451
e97ed6dd
JM
7452 [BZ #13550]
7453 * csu/libc-start.c: Do not include <bp-sym.h>.
7454 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7455 * elf/dl-open.c: Do not include <bp-sym.h>.
7456 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7457 * math/fegetenv.c: Do not include <bp-sym.h>.
7458 (fegetenv): Do not use BP_SYM in versioned symbols.
7459 * nptl/sysdeps/pthread/bits/libc-lockP.h
7460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7461 <bp-sym.h>.
7462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7463 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7465 (__pthread_mutex_destroy): Likewise.
7466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7467 (__pthread_mutex_lock): Likewise.
7468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7469 (__pthread_mutex_trylock): Likewise.
7470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7471 (__pthread_mutex_unlock): Likewise.
7472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7473 (__pthread_mutexattr_init): Likewise.
7474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7475 (__pthread_mutexattr_destroy): Likewise.
7476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7477 (__pthread_mutexattr_settype): Likewise.
7478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7479 (__pthread_rwlock_init): Likewise.
7480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7481 (__pthread_rwlock_destroy): Likewise.
7482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7483 (__pthread_rwlock_rdlock): Likewise.
7484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7485 (__pthread_rwlock_tryrdlock): Likewise.
7486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7487 (__pthread_rwlock_wrlock): Likewise.
7488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7489 (__pthread_rwlock_trywrlock): Likewise.
7490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7491 (__pthread_rwlock_unlock): Likewise.
7492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7493 (__pthread_key_create): Likewise.
7494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7495 (__pthread_setspecific): Likewise.
7496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7497 (__pthread_getspecific): Likewise.
7498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7499 Likewise.
7500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7501 (_pthread_cleanup_push_defer): Likewise.
7502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7503 (_pthread_cleanup_pop_restore): Likewise.
7504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7505 (pthread_setcancelstate): Likewise.
7506 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7507 <bp-sym.h>.
7508 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7509 (memchr): Do not use BP_SYM in weak_alias.
7510 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7511 (fegetenv): Do not use BP_SYM in versioned symbols.
7512 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7513 (fesetenv): Do not use BP_SYM in versioned symbols.
7514 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7515 (feupdateenv): Do not use BP_SYM in versioned symbols.
7516 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7517 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7518 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7519 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7520 (open64): Do not use BP_SYM in weak_alias.
7521 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7522 (fegetenv): Do not use BP_SYM in versioned symbols.
7523 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7524 (fesetenv): Do not use BP_SYM in versioned symbols.
7525 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7526 (feupdateenv): Do not use BP_SYM in versioned symbols.
7527 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7528 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7529 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7530 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7531 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7532 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7533 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7534 <bp-sym.h>.
7535 (__libc_start_main): Do not use BP_SYM.
7536
d6752ccd
SP
75372013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7538
cb57ce60
SP
7539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7540 redundant return line.
7541 (norm): Likewise.
7542 (denorm): Likewise.
7543 (dbl_mp): Likewise.
7544 (sub_magnitudes): Likewise.
7545 (__add): Likewise.
7546 (__sub): Likewise.
7547 (__mul): Likewise.
7548 (__inv): Likewise.
7549 (__dvd): Likewise.
7550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7551 (norm): Likewise.
7552 (denorm): Likewise.
7553 (dbl_mp): Likewise.
7554 (sub_magnitudes): Likewise.
7555 (__add): Likewise.
7556 (__sub): Likewise.
7557 (__mul): Likewise.
7558 (__inv): Likewise.
7559 (__dvd): Likewise.
7560
f414520d
SP
7561 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7562 instead of __mul.
7563 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7564 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7565 (cc32): Likewise.
7566
d6752ccd
SP
7567 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7568 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7570 of __mul for squares.
7571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7572 function
7573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7574 Likewise.
7575 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7576 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7577
70d9946a
JM
75782013-02-13 Joseph Myers <joseph@codesourcery.com>
7579
7580 [BZ #13550]
7581 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7582 code.
7583 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7584 prototype or function definition. Rename ubp_* variables and
7585 parameters. Remove argv definitions conditional on
7586 [__BOUNDED_POINTERS__].
7587 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7588 * elf/dl-runtime.c (_dl_fixup): Likewise.
7589 * include/set-hooks.h (RUN_HOOK): Likewise.
7590 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7591 definition.
7592 * string/strcpy.c (strcpy): Do not use __unbounded.
7593 * sysdeps/generic/frame.h (struct layout): Likewise.
7594 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7595 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7596 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7597 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7598 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7599 (__backtrace): Likewise.
7600 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7601 use __ptrvalue.
7602 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7603 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7604 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7605 Likewise.
7606 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7607 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7608 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7609 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7610 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7611 Do not use __unbounded.
7612 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7613 Rename __unboundedrlimits parameter to rlimits in prototype.
7614 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7615 Do not use __unbounded.
7616 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7617 not use __ptrvalue.
7618 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7619 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7620 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7621 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7622 __ptrvalue or __unbounded.
7623 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7624 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7625 use __unbounded.
7626 (__new_msgctl): Do not use __ptrvalue.
7627 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7628 __unbounded.
7629 (__libc_msgrcv): Do not use __ptrvalue.
7630 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7631 startup_info): Do not use __unbounded.
7632 (__libc_start_main): Likewise. Rename ubp_* variables and
7633 parameters. Remove argv definitions conditional on
7634 [__BOUNDED_POINTERS__].
7635 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7636 __ptrvalue.
7637 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7638 use __unbounded.
7639 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7640 or __ptrvalue.
7641 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7642 use __unbounded.
7643 (__new_shmctl): Do not use __ptrvalue.
7644 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7645 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7646 Likewise.
7647 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7648 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7649 (__libc_sigaction): Likewise.
7650 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7651 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7652 Likewise.
7653 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7654
cc7834d6
OB
76552013-02-13 Ondřej Bílka <neleai@seznam.cz>
7656
ffb1ec7b 7657 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7658
7659 * string/mempcpy.c: Implement by calling memcpy.
7660
bdf02814
SP
76612013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7662
c2af38aa
SP
7663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7664
4e92d59e
SP
7665 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7666 evaluation.
7667
909279a5
SP
7668 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7669 values in the mantissa.
7670
bdf02814
SP
7671 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7672 minimize writes to Z.
7673 (sub_magnitudes): Simplify code a bit.
7674
cd525923
RM
76752013-02-12 Roland McGrath <roland@hack.frob.com>
7676
7677 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7678 from the message. The linker prefixes all warnings with that already.
7679
7e2f0d2d
AS
76802013-02-12 Andreas Schwab <schwab@suse.de>
7681
a445af0b
AS
7682 [BZ #15078]
7683 * posix/regexec.c (extend_buffers): Add parameter min_len.
7684 (check_matching): Pass minimum needed length.
7685 (clean_state_log_if_needed): Likewise.
7686 (get_subexp): Likewise.
7687 * posix/Makefile (tests): Add bug-regex34.
7688 (bug-regex34-ENV): Define.
7689 * posix/bug-regex34.c: New file.
7690
7e2f0d2d
AS
7691 [BZ #11561]
7692 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7693 elements compare against the byte sequence of it, not its name.
7694 * posix/Makefile (tests): Add bug-regex35.
7695 (bug-regex35-ENV): Define.
7696 * posix/bug-regex35.c: New file.
7697
a175b684
TV
76982013-02-11 Tom de Vries <tom@codesourcery.com>
7699
7700 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7701 comment.
7702 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7703 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7704 (CHECK_EOL): Add undef.
7705
310998fe 77062013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7707
7708 * bits/stdlib-bsearch.h: New file.
7709 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7710 * stdlib/stdlib.h: Likewise.
41eda41d 7711
8ded91fb
RM
77122013-02-11 Roland McGrath <roland@hack.frob.com>
7713
7714 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7715 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7716 declaration.
7717 * manual/search.texi (Array Search Function): Add missing const in
7718 lfind prototype.
7719 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7720 declaration to use rlim_t.
7721 (Basic Scheduling Functions): Remove erroneous const from
7722 sched_getparam prototype. Remove erroneous * from
7723 sched_get_priority_max and sched_get_priority_min prototypes.
7724 (Resource Usage): Fix summary @comment on vtimes to refer to
7725 sys/vtimes.h rather than vtimes.h.
7726 Add missing *s in vtimes prototype.
7727 (Limits on Resources): Fix ulimit prototype to return long int.
7728 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7729 prototypes to use long int rather than double.
7730 (BSD Random): Fix initstate and setstate to use char *, not void *.
7731 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7732 prototype to make second argument 'struct aiocb64 *const[]'.
7733 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7734 (Status of AIO Operations): Remove erroneous const in aio_return and
7735 aio_return64 prototypes.
7736 (Synchronizing I/O): Fix sync prototype to return void.
7737 * manual/startup.texi (Suboptions): Remove an erroneous const in
7738 getsubopt prototype.
7739 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7740 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7741 use size_t rather than int.
7742 (Scanning All Users): Likewise for getpwent_r.
7743 (Setting Groups): Add missing const to setgroups prototype.
7744 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7745 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7746 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7747 'const void *' rather than 'const char *'.
7748 (Host Address Functions): Likewise for inet_ntop.
7749 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7750 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7751 ssize_t for return value.
7752 (Sending Data): Likewise for send, sendto, sendmsg.
7753 (Socket Option Functions): Add a missing const in setsockopt prototype.
7754 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7755 use wchar_t for the argument.
7756 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7757 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7758 take no arguments.
7759 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7760 double/float/long double for second argument.
7761 Fix return types of significand, significandf, significandl.
7762 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7763 argument in fchmod prototype.
7764 (File Owner): Use uid_t and gid_t in fchown prototype.
7765 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7766 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7767 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7768 use 'const struct dirent **' as argument types to CMP function pointer
7769 argument.
7770 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7771 (File Times): Fix summary magic @comment for struct utimbuf and utime
7772 to refer to utime.h, not time.h.
7773 * manual/string.texi (Argz Functions): Add missing const in
7774 argz_extract and argz_next prototypes.
7775 (Finding Tokens in a String): Likewise for basename.
7776 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7777 (Copying and Concatenation): Fix typo in wmemmove prototype.
7778 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7779 (Signal Stack): Remove erroneous const in sigstack prototype.
7780 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7781 prototype.
7782 (Simple Calendar Time): Likewise for stime.
7783 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7784 prototype.
7785 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7786 say sys/sysctl.h instead.
7787 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7788 and vsyslog prototypes.
7789
fe77fe6d
TV
77902013-02-11 Tom de Vries <tom@codesourcery.com>
7791
7792 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7793 Remove.
7794
3a09b620
RM
77952013-02-11 Roland McGrath <roland@hack.frob.com>
7796
7797 * misc/sys/mman.h: Fix typo in mremap comment.
7798
550a0b89
RM
77992013-02-08 Roland McGrath <roland@hack.frob.com>
7800
7801 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7802 the '\0' terminator.
7803
a2da1673
JM
78042013-02-08 Joseph Myers <joseph@codesourcery.com>
7805
7806 [BZ #13550]
7807 * debug/segfault.c: Don't include <bp-checks.h>.
7808 * sysdeps/generic/bp-checks.h: Remove file.
7809 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7810 (__GETDENTS): Don't use CHECK_N.
7811 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7812 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7813 (__getgroups): Don't use CHECK_N.
7814 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7815 (setgroups): Don't use CHECK_N.
7816 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7817 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7818 (__libc_msgrcv): Don't use CHECK_N.
7819 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7820 (__libc_msgsnd): Don't use CHECK_N.
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7822 <bp-checks.h>.
7823 (__libc_pread): Don't use CHECK_N.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7825 include <bp-checks.h>.
7826 (__libc_pread64): Don't use CHECK_N.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7828 include <bp-checks.h>.
7829 (__libc_pwrite): Don't use CHECK_N.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7831 include <bp-checks.h>.
7832 (__libc_pwrite64): Don't use CHECK_N.
7833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7834 <bp-checks.h>.
7835 (__libc_pread): Don't use CHECK_N.
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7837 include <bp-checks.h>.
7838 (__libc_pread64): Don't use CHECK_N.
7839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7840 include <bp-checks.h>.
7841 (__libc_pwrite): Don't use CHECK_N.
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7843 include <bp-checks.h>.
7844 (__libc_pwrite64): Don't use CHECK_N.
7845 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7846 (do_pread): Don't use CHECK_N.
7847 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7848 (do_pread64): Don't use CHECK_N.
7849 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7850 (do_pwrite): Don't use CHECK_N.
7851 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7852 (do_pwrite64): Don't use CHECK_N.
7853 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7854 (__libc_readv): Don't use CHECK_N.
7855 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7856 (semop): Don't use CHECK_N.
7857 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7858 <bp-checks.h>.
7859 (semtimedop): Don't use CHECK_N.
7860 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7861 (__libc_pread): Don't use CHECK_N.
7862 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7863 <bp-checks.h>.
7864 (__libc_pread64): Don't use CHECK_N.
7865 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7866 <bp-checks.h>.
7867 (__libc_pwrite): Don't use CHECK_N.
7868 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7869 <bp-checks.h>.
7870 (__libc_pwrite64): Don't use CHECK_N.
7871 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7872 <bp-checks.h>.
7873 (__libc_msgrcv): Don't use CHECK_N.
7874 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7875 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7876 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7877 (__libc_writev): Don't use CHECK_N.
7878
b84660a8
RM
78792013-02-08 Roland McGrath <roland@hack.frob.com>
7880
7f3e75f8
RM
7881 * string/strcpy.c: Removed unused variable.
7882
b84660a8
RM
7883 * Makeconfig (+sysdep-includes): Define with := rather than =.
7884 Use an existing include/ subdir of each sysdeps dir before it.
7885
471514d3
CD
78862013-02-08 Carlos O'Donell <carlos@redhat.com>
7887
7888 * nscd/connection.c (register_traced_file): Comment function.
7889 [HAVE_INOTIFY] (union __inev): Define.
7890 [HAVE_INOTIFY] (inotify_check_files): New function.
7891 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7892 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7893 clear_db_cache.
7894 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7895
b2d3c3be
CD
78962013-02-08 Carlos O'Donell <carlos@redhat.com>
7897
7898 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7899 loaded if not already and that a failure is permanent.
7900
b39949d2
CD
79012013-02-08 Carlos O'Donell <carlos@redhat.com>
7902
ddacd1db 7903 [BZ #15006]
b39949d2
CD
7904 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7905 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7906
b2c9eff4
JM
79072013-02-08 Joseph Myers <joseph@codesourcery.com>
7908
f3aae3f3
JM
7909 [BZ #13550]
7910 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7911 (CHECK_1_NULL_OK): Likewise.
7912 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7913 (__fxstat): Do not use CHECK_1.
7914 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7915 <bp-checks.h>.
7916 (___fxstat64): Do not use CHECK_1.
7917 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7918 <bp-checks.h>.
7919 (__fxstatat): Do not use CHECK_1.
7920 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7921 <bp-checks.h>.
7922 (__fxstatat64): Do not use CHECK_1.
7923 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7924 <bp-checks.h>.
7925 (__fxstat): Do not use CHECK_1.
7926 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7927 <bp-checks.h>.
7928 (__fxstatat): Do not use CHECK_1.
7929 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7930 <bp-checks.h>.
7931 (__getresgid): Do not use CHECK_1.
7932 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7933 <bp-checks.h>.
7934 (__getresuid): Do not use CHECK_1.
7935 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7936 <bp-checks.h>.
7937 (__lxstat): Do not use CHECK_1.
7938 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7939 <bp-checks.h>.
7940 (__old_msgctl): Do not use CHECK_1.
7941 (__new_msgctl): Likewise.
7942 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7943 <bp-checks.h>.
7944 (__new_setrlimit): Do not use CHECK_1.
7945 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7946 <bp-checks.h>.
7947 (__old_shmctl): Do not use CHECK_1.
7948 (__new_shmctl): Likewise.
7949 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7950 <bp-checks.h>.
7951 (__xstat): Do not use CHECK_1.
7952 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7953 (__lxstat): Do not use CHECK_1.
7954 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7955 <bp-checks.h>.
7956 (___lxstat64): Do not use CHECK_1.
7957 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7958 (__old_msgctl): Do not use CHECK_1.
7959 (__new_msgctl): Likewise.
7960 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7961 <bp-checks.h>.
7962 (__gettimeofday): Do not use CHECK_1.
7963 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7964 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7965 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7966 <bp-checks.h>.
7967 (__gettimeofday): Do not use CHECK_1.
7968 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7969 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7970 (__new_shmctl): Do not use CHECK_1.
7971 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7972 <bp-checks.h>.
7973 (do_sigtimedwait): Do not use CHECK_1.
7974 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7975 <bp-checks.h>.
7976 (do_sigwaitinfo): Do not use CHECK_1.
7977 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7978 <bp-checks.h>.
7979 (msgctl): Do not use CHECK_1.
7980 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7981 <bp-checks.h>.
7982 (shmctl): Do not use CHECK_1.
7983 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7984 (ustat): Do not use CHECK_1.
7985 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7986 <bp-checks.h>.
7987 (__fxstat): Do not use CHECK_1.
7988 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7989 <bp-checks.h>.
7990 (__fxstatat): Do not use CHECK_1.
7991 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7992 <bp-checks.h>.
7993 (__lxstat): Do not use CHECK_1.
7994 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7995 <bp-checks.h>.
7996 (__xstat): Do not use CHECK_1.
7997 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7998 (__xstat): Do not use CHECK_1.
7999 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8000 (___xstat64): Do not use CHECK_1.
8001
b2c9eff4
JM
8002 [BZ #13550]
8003 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8004 definitions.
8005 (CHECK_BOUNDS_HIGH): Likewise.
8006 * string/strcpy.c: Do not include <bp-checks.h>.
8007 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8008
f1d70dad
RM
80092013-02-07 Roland McGrath <roland@hack.frob.com>
8010
8011 * nscd/nscd-client.h (__nscd_drop_map_ref):
8012 Add __attribute__ ((unused)).
8013 * nis/nss-nisplus.h (niserr2nss): Likewise.
8014
8015 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8016 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8017
8018 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8019 Remove inline keyword.
8020 * include/rounding-mode.h (round_away): Likewise.
8021 * libio/wfileops.c (adjust_wide_data): Likewise.
8022 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8023 (__m128i_strloadu_tolower): Likewise.
8024 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8025 (__m128i_strloadu_tolower): Likewise.
8026 * time/mktime.c (ydhms_diff): Likewise.
8027 * locale/elem-hash.h (elem_hash): Likewise.
8028 * locale/setlocale.c (setdata): Likewise.
8029 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8030 (re_string_wchar_at): Likewise.
8031 (bitset_not, bitset_merge, bitset_mask): Likewise.
8032 [!(__GNUC__ > 3)] (inline): Remove macro.
8033 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8034 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8035 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8036 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8037 * string/memcmp.c (memcmp_bytes): Likewise.
8038 * locale/programs/locarchive.c (compute_hashval): Likewise.
8039 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8040 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8041 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8042 * nss/getent.c (print_rpc, print_protocols): Likewise.
8043 (print_passwd, print_group, print_aliases): Likewise.
8044 * nis/nss-nisplus.h (niserr2nss): Likewise.
8045 * nscd/connections.c (restart_p): Likewise.
8046 Change return type to bool.
8047
eab55bfb
RM
80482013-02-05 Roland McGrath <roland@hack.frob.com>
8049
7bd642f5
RM
8050 * Makeconfig (all-Depend-files): Add existing
8051 $(sorted-subdirs:=/Depend) files.
8052 (all-subdirs): Remove nss.
8053 * sysdeps/unix/inet/Subdirs: Add it here instead.
8054 * hesiod/Depend: New file.
8055
573c29b2
RM
8056 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8057 instead of calling alloca.
8058
b2e25af0
RM
8059 * io/lseek.c (__lseek): Rename to __libc_lseek.
8060 Define __lseek as an alias.
8061
eab55bfb
RM
8062 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8063
9a0d1941
CD
80642013-02-04 Carlos O'Donell <carlos@redhat.com>
8065
8066 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8067 else clause and remove check for non-standard endianness.
8068
b83bbec4
DM
80692013-02-04 David S. Miller <davem@davemloft.net>
8070
8071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8072
6277fdab
JM
80732013-02-04 Joseph Myers <joseph@codesourcery.com>
8074
8075 [BZ #13550]
8076 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8077 (__ubp_memchr): Remove prototype.
8078 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8079 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8080 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8081 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8082 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8083 Remove alias.
8084 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8085 (__ubp_memchr): Likewise.
8086 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8087 (__ubp_memchr): Likewise.
8088 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8089 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8090 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8091 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8092 CHECK_STRING.
8093 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8094 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8095 (__getcwd): Do not use CHECK_STRING.
8096 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8097 <bp-checks.h>.
8098 (__real_chown): Do not use CHECK_STRING.
8099 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8100 <bp-checks.h>.
8101 (fchownat): Do not use CHECK_STRING.
8102 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8103 CHECK_STRING.
8104 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8105 <bp-checks.h>.
8106 (__lchown): Do not use CHECK_STRING.
8107 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8108 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8109 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8110 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8112 include <bp-checks.h>.
8113 (truncate64): Do not use CHECK_STRING.
8114 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8115 <bp-checks.h>.
8116 (__real_chown): Do not use CHECK_STRING.
8117 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8118 <bp-checks.h>.
8119 (__lchown): Do not use CHECK_STRING.
8120 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8121 <bp-checks.h>.
8122 (__chown): Do not use CHECK_STRING.
8123 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8124 <bp-checks.h>.
8125 (truncate64): Do not use CHECK_STRING.
8126 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8127 Likewise.
8128 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8129 (__xmknod): Do not use CHECK_STRING.
8130 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8131 <bp-checks.h>.
8132 (__xmknodat): Do not use CHECK_STRING.
8133 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8134 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8135
903ae060
AS
81362013-02-04 Andreas Schwab <schwab@suse.de>
8137
8138 [BZ #14142]
8139 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8140 * include/netdb.h: Likewise for h_errno.
8141 * elf/tst-stackguard1.c: Include <tls.h>.
8142
542f9466
JK
81432013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8144
8145 * elf/link.h (struct link_map): Extend the l_addr comment.
8146 * include/link.h (struct link_map): Likewise.
8147
e782a927
JM
81482013-02-01 Joseph Myers <joseph@codesourcery.com>
8149
8150 [BZ #13550]
8151 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8152 (BOUNDED_1): Remove macro.
8153 * debug/backtrace.c: Don't include <bp-checks.h>.
8154 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8155 (__backtrace): Likewise.
8156 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8157 <bp-checks.h>.
8158 (__backtrace): Don't use BOUNDED_1.
8159 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8160 <bp-checks.h>.
8161 (__backtrace): Don't use BOUNDED_1.
8162 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8163 (__backtrace): Don't use BOUNDED_1.
8164 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8165 (shmat): Don't use BOUNDED_N.
8166
8cf28c5e
JM
81672013-01-31 Joseph Myers <joseph@codesourcery.com>
8168
3a7ac8a0
JM
8169 [BZ #13550]
8170 * sysdeps/generic/bp-start.h: Remove file.
8171 * csu/libc-start.c: Don't include <bp-start.h>.
8172 (LIBC_START_MAIN): Set up __environ directly instead of using
8173 INIT_ARGV_and_ENVIRON.
8174 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8175 <bp-start.h>.
8176
f3499f95
JM
8177 [BZ #13550]
8178 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8179 definitions.
8180 (CHECK_FCNTL): Likewise.
8181 (CHECK_N_PAGES): Likewise.
8182
32a45bea
JM
8183 [BZ #13550]
8184 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8185 definitions.
8186 (CHECK_SIGSET_NULL_OK): Likewise.
8187 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8188 <bp-checks.h>.
8189 (sigpending): Don't use CHECK_SIGSET.
8190 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8191 <bp-checks.h>.
8192 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8193 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8194 <bp-checks.h>.
8195 (do_sigsuspend): Don't use CHECK_SIGSET.
8196 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8197 use CHECK_SIGSET.
8198 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8199 (do_sigwait): Don't use CHECK_SIGSET.
8200 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8201 use CHECK_SIGSET.
8202 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8203 include <bp-checks.h>.
8204 (sigpending): Don't use CHECK_SIGSET.
8205 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8206 include <bp-checks.h>.
8207 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8208 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8209 <bp-checks.h>.
8210 (sigpending): Don't use CHECK_SIGSET.
8211 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8212 <bp-checks.h>.
8213 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8214
2e8a5c8c
JM
8215 [BZ #13550]
8216 * sysdeps/generic/bp-semctl.h: Remove file.
8217 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8218 <bp-checks.h> and <bp-semctl.h>.
8219 (__old_semctl): Don't use CHECK_SEMCTL.
8220 (__new_semctl): Likewise.
8221 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8222 and <bp-semctl.h>.
8223 (__old_semctl): Don't use CHECK_SEMCTL.
8224 (__new_semctl): Likewise.
8225 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8226 <bp-checks.h> and <bp-semctl.h>.
8227 (__old_semctl): Don't use CHECK_SEMCTL.
8228 (__new_semctl): Likewise.
8229 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8230 <bp-checks.h> and <bp-semctl.h>.
8231 (semctl): Don't use CHECK_SEMCTL.
8232
c2d54929
JM
8233 [BZ #13550]
8234 * Makerules (elide-bp-thunks): Remove variable.
8235 (elide-routines.oS): Don't use $(elide-bp-thunks).
8236 (elide-routines.os): Likewise.
8237 (elide-routines.o): Likewise.
8238 (elide-routines.op): Likewise.
8239 (elide-routines.og): Likewise.
8240 (objects): Don't use $(bp-thunks).
8241 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8242 include.
8243 (common-generated): Do not add s-proto-bp.d.
8244 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8245 (int): Likewise.
8246 (typ): Likewise.
8247 Do not generate makefile rules for bounded-pointer thunks.
8248 * sysdeps/generic/bp-thunks.h: Remove file.
8249 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8250 * sysdeps/unix/s-proto-bp.S: Likewise.
8251
8cf28c5e
JM
8252 [BZ #15062]
8253 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8254 parts of result separately when argument is not close to line from
8255 -i to i and one part of argument is small.
8256 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8257 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8258 * math/libm-test.inc (cacos_test): Add more tests.
8259 (casin_test): Likewise.
8260 (casinh_test): Likewise.
8261 * sysdeps/i386/fpu/libm-test-ulps: Update.
8262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8263
c4e33b8d
DM
82642013-01-31 David S. Miller <davem@davemloft.net>
8265
8266 * po/de.po: Update from translation team.
8267
3b60b421
MK
82682013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8269
8270 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8271
bb931195
TS
82722013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8273
b5a5da23
TS
8274 * configure.in (_AC_PROG_CC_C89): New definition.
8275 * configure: Regenerate.
8276
bb931195
TS
8277 * configure.in (AC_PROG_CPP): New definition.
8278 * configure: Regenerate.
8279
8c53a12c
JM
82802013-01-23 Joseph Myers <joseph@codesourcery.com>
8281
8282 * debug/tst-backtrace.h: New file.
8283 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8284 (ret): Remove variable.
8285 (x): Likewise.
8286 (FAIL): Remove macro.
8287 (NO_INLINE): Likewise.
8288 (fn1): Use match function instead of strstr.
8289 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8290 (ret): Remove variable.
8291 (x): Likewise.
8292 (FAIL): Remove macro.
8293 (NO_INLINE): Likewise.
8294 (fn): Use match function instead of strstr.
8295 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8296 (ret): Remove variable.
8297 (x): Likewise.
8298 (FAIL): Remove macro.
8299 (NO_INLINE): Likewise.
8300 (handle_signal): Use match function instead of strstr.
8301 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8302 (ret): Remove variable.
8303 (x): Likewise.
8304 (FAIL): Remove macro.
8305 (NO_INLINE): Likewise.
8306 (handle_signal): Use match function instead of strstr.
8307
4858fa2a
RM
83082013-01-23 Roland McGrath <roland@hack.frob.com>
8309
8310 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8311
bae8e7f5
DM
83122013-01-23 David S. Miller <davem@davemloft.net>
8313
8314 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8315 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8316 argument of CAS if possible.
8317 * sysdeps/sparc/sparc64/bits/atomic.h
8318 (__arch_compare_and_exchange_val_32_acq): Likewise.
8319 (__arch_compare_and_exchange_val_64_acq): Likewise.
8320
9cbbc4ae
PT
83212013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8322
8323 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8324 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8325 Include <limits.h>.
67b3f58c 8326 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8327
5655a0b5
AC
83282013-01-23 Adam Conrad <adconrad@0c3.net>
8329
8330 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8331 (LDFLAGS-tst-array5): Likewise.
8332
052aff95
JM
83332013-01-23 Joseph Myers <joseph@codesourcery.com>
8334
8335 [BZ #15036]
8336 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8337 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8338 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8339 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8340
7c1e01aa
DM
83412013-01-21 David S. Miller <davem@davemloft.net>
8342
8343 * sysdeps/sparc/backtrace.c: New file.
8344 * sysdeps/sparc/sparc32/backtrace.h: New file.
8345 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8346 * sysdeps/sparc/sparc64/backtrace.h: New file.
8347 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8348 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8349 -funwind-tables.
8350
ab087e0a
AS
83512013-01-21 Andreas Schwab <schwab@suse.de>
8352
8353 [BZ #15020]
8354 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8355 closed its stdout.
8356
ed689c2f
AS
83572013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8358
8359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8360 "mpa2.h".
8361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8362
31d470ac
JM
83632013-01-18 Joseph Myers <joseph@codesourcery.com>
8364 Mark Mitchell <mark@codesourcery.com>
8365 Tom de Vries <tom@codesourcery.com>
8366 Paul Pluzhnikov <ppluzhnikov@google.com>
8367
8368 * debug/tst-backtrace2.c: New file.
8369 * debug/tst-backtrace3.c: Likewise.
8370 * debug/tst-backtrace4.c: Likewise.
8371 * debug/tst-backtrace5.c: Likewise.
8372 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8373 (CFLAGS-tst-backtrace3.c): Likewise.
8374 (CFLAGS-tst-backtrace4.c): Likewise.
8375 (CFLAGS-tst-backtrace5.c): Likewise.
8376 (LDFLAGS-tst-backtrace2): Likewise.
8377 (LDFLAGS-tst-backtrace3): Likewise.
8378 (LDFLAGS-tst-backtrace4): Likewise.
8379 (LDFLAGS-tst-backtrace5): Likewise.
8380 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8381 tst-backtrace4 and tst-backtrace5.
8382
90567f30 83832013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8384 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8385
8386 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8387 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8388 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8389 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8391 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8392 "+r" and remove output regs list as redundant. Add explicit inline
8393 asm to specify register of return val to work around compiler codegen
8394 bug. Remove (int) cast on return value. Add return type parameter to
8395 use in macro so that this macro does not truncate return value for
8396 64-bit values.
8397 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8398 pass to INTERNAL_VSYSCALL_NCS.
8399 (INLINE_VSYSCALL): Add 'long int' as return type to
8400 INTERNAL_VSYSCALL_NCS macro invocation.
8401 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8402 INTERNAL_VSYSCALL_NCS macro invocation.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8404
d3b9ea61
SP
84052013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8406
0b57daeb
SP
8407 [BZ #14496]
8408 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8409 Fix application of SIMD FP exception mask.
8410
caa99d06
SP
8411 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8412 mp_no from a power of two.
8413 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8414 __mpexp_twomm1. Use __pow_mp.
8415
d3b9ea61
SP
8416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8417 multiplication.
8418
1dbaee3c
DM
84192013-01-17 David S. Miller <davem@davemloft.net>
8420
8421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8422
728d7b43
JM
84232013-01-17 Joseph Myers <joseph@codesourcery.com>
8424
8425 [BZ #15023]
8426 * include/complex.h: Condition contents on [!_COMPLEX_H].
8427 (__kernel_casinhf): New prototype.
8428 (__kernel_casinh): Likewise.
8429 (__kernel_casinhl): Likewise.
8430 * math/Makefile (libm_calls): Add k_casinh.
8431 * math/k_casinh.c: New file.
8432 * math/k_casinhf.c: Likewise.
8433 * math/k_casinhl.c: Likewise.
8434 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8435 finite nonzero arguments.
8436 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8437 finite nonzero arguments.
8438 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8439 finite nonzero arguments.
8440 * math/s_casinh.c: Do not include <float.h>.
8441 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8442 * math/s_casinhf.c: Do not include <float.h>.
8443 (__casinhf): Move code for finite nonzero arguments to
8444 k_casinhf.c.
8445 * math/s_casinhl.c: Do not include <float.h>.
8446 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8447 redefine.
8448 (__casinhl): Move code for finite nonzero arguments to
8449 k_casinhl.c.
8450 * math/libm-test.inc (cacos_test): Add more tests.
8451 * sysdeps/i386/fpu/libm-test-ulps: Update.
8452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8453
2a26ef3a
PT
84542013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8455
8456 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8457 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8458 [!HAVE_MREMAP]: Remove [defined linux] case.
8459 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8460
a897655d
SP
84612013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8462
8463 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8464
881ebe89 84652013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8466
8467 * elf/elf.h (R_386_SIZE32): New relocation.
8468 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8469 R_386_SIZE32.
8470 (elf_machine_rela): Likewise.
8471 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8472 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8473
59981e9b
JM
84742013-01-17 Joseph Myers <joseph@codesourcery.com>
8475
8476 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8477 (FP_FAST_FMA): Do not define.
8478 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8479 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8480 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8481 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8482 !_SOFT_FLOAT]: Likewise.
8483 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8484 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8485 value.
8486 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8487 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8488 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8489 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8490 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8491 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8492 file.
8493
cfa8054f
AS
84942013-01-16 Andreas Schwab <schwab@suse.de>
8495
8496 [BZ #14327]
8497 * include/stdlib.h (__mktemp): Add declaration.
8498 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8499 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8500
dd930cc5
SP
85012013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8502
881ebe89
SP
8503 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8504 definitions.
8505 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8506 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8507 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8508 definitions here.
8509 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8510 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8511 definitions.
8512 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8513 and ONE.
8514 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8515 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8516 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8517 definitions.
8518 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8519 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8520 definitions.
8521 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8522
dd930cc5
SP
8523 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8524
c19a9f89
DM
85252013-01-15 David S. Miller <davem@davemloft.net>
8526
1aa61767
DM
8527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8528 trunc{,f} to libm-sysdep_routes.
8529 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8531 file.
8532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8534 file.
8535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8536 file.
8537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8539 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8540 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8541 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8542 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8543 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8544 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8545
c42d5e98
DM
8546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8547 nearbyint{,f} to libm-sysdep_routes.
8548 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8550 New file.
8551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8552 file.
8553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8554 New file.
8555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8556 file.
8557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8559 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8560 file.
8561 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8562 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8563 file.
8564 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8565 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8566 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8567
c19a9f89
DM
8568 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8569 libc_feholdexcept and libc_fesetenv.
8570
357679d2
MF
85712013-01-15 Mike Frysinger <vapier@gentoo.org>
8572
8573 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8574
65a82e3d
DM
85752013-01-14 David S. Miller <davem@davemloft.net>
8576
8b954ab9
DM
8577 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8578 (SPARC_ASM_VIS2_IFUNC): Likewise.
8579 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8581 use of 'siam' instruction.
8582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8583 Likewise.
8584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8585 Likewise.
8586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8587 Likewise.
8588 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8590 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8591 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8593 file.
8594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8595 file.
8596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8597 file.
8598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8599 file.
8600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8605 new VIS2 routines.
8606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8609 Likewise.
8610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8615 routines to libm-sysdep_routines.
8616 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8617
65a82e3d
DM
8618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8619 fdim/fdimf to libm-sysdep_routines.
8620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8621 file.
8622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8624 file.
8625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8628 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8629 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8630 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8631 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8632
e34ab705
SP
86332013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8634
2a91b573
SP
8635 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8636 to optimize copies.
8637
1066a534
SP
8638 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8641
e34ab705
SP
8642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8643 local variable MPTWO.
8644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8645 Likewise.
8646
aba5e596
MF
86472013-01-13 Mike Frysinger <vapier@gentoo.org>
8648
8649 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8650 GLOB_NOESCAPE.
8651
e557e9e5
MF
86522013-01-13 Mike Frysinger <vapier@gentoo.org>
8653
8654 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8655
0428cec9
MF
86562013-01-13 Mike Frysinger <vapier@gentoo.org>
8657
8658 * manual/pattern.texi (glob_t): Document gl_flags.
8659 (glob64_t): Likewise.
8660
8794a964
DM
86612013-01-11 David S. Miller <davem@davemloft.net>
8662
66438c3f
RM
8663 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8664 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8665 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8666 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8667 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8668 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8669 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8670 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8671 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8672 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8673 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8674 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8675 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8676
4ae4244d
DM
8677 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8678 sparc V9 rather than using V8 code.
8679 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8680 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8681
8794a964
DM
8682 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8683 Move to...
8684 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8685 Here.
8686
6270516e
RM
86872013-01-11 Roland McGrath <roland@hack.frob.com>
8688
8689 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8690 not in the main loop.
8691 * configure: Regenerated.
8692
6a57d931
JM
86932013-01-11 Joseph Myers <joseph@codesourcery.com>
8694
8695 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8696 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8697 to just #else.
8698 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8699 [!__GLIBC_HAVE_LONG_LONG] case.
8700 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8701 condition to just #else.
8702 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8703 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8704 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8705 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8706 unconditional.
8707 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8708 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8709 #elif condition to just #else.
8710 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8711 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8712 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8713 #elif condition to just #else.
8714
0e8529e9
SE
87152013-01-11 Steve Ellcey <sellcey@mips.com>
8716
8717 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8718 (EF_MIPS_ARCH_64): Fix value.
8719 (EF_MIPS_ARCH_32R2): New.
8720 (EF_MIPS_ARCH_64R2): New.
8721
740b3dbe
L
87222013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8723
8724 * Makeconfig (+link-pie-before-libc): New.
8725 (+link-pie-after-libc): Likewise.
8726 (+link-pie-tests): Likewise.
8727 (+link-pie): Rewritten.
8728 (link-before-libc): Remove $(config-LDFLAGS).
8729 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8730 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8731 (config-LDFLAGS): Renamed to ...
8732 (rtld-LDFLAGS): This.
8733 (rtld-tests-LDFLAGS): New macro.
8734 (link-libc-rpath-link): Likewise.
8735 (link-libc-tests-rpath-link): Likewise.
8736 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8737 (link-libc): Prepand $(link-libc-rpath-link).
8738 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8739 (test-program-prefix): New macro.
8740 (test-via-rtld-prefix): Likewise.
8741 (test-program-cmd): Likewise.
8742 (host-test-program-cmd): Likewise.
8743 * Makefile ($(common-objpfx)testrun.sh): Replace
8744 $(run-program-prefix) with $(test-program-prefix).
8745 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8746 $(rtld-LDFLAGS).
8747 ($(common-objpfx)shlib.lds): Likewise.
8748 (build-module-helper): Likewise.
8749 ($(common-objpfx)format.lds): Likewise.
8750 * Rules (binaries-pie-tests): New.
8751 (binaries-pie-notests): Likewise.
8752 (binaries-pie): Rewritten.
8753 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8754 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8755 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8756 (make-test-out): Replace $(host-built-program-cmd) with
8757 $(host-test-program-cmd).
8758 * config.make.in (build-hardcoded-path-in-tests): New variable.
8759 * configure.in (--enable-hardcoded-path-in-tests): New configure
8760 option.
8761 (hardcoded_path_in_tests): New AC_SUBST.
8762 * configure: Regenerated.
8763 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8764 $(built-program-cmd) with $(test-program-cmd).
8765 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8766 (test_program_cmd): This.
8767 * elf/Makefile ($(objpfx)order.out): Run test with
8768 $(test-program-prefix).
8769 ($(objpfx)order2.out): Likewise.
8770 ($(objpfx)tst-initorder.out): Likewise.
8771 ($(objpfx)tst-initorder2.out): Likewise.
8772 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8773 $(test-program-cmd).
8774 ($(objpfx)tst-array1-static.out): Likewise.
8775 ($(objpfx)tst-array2.out): Likewise.
8776 ($(objpfx)tst-array3.out): Likewise.
8777 ($(objpfx)tst-array4.out): Likewise.
8778 ($(objpfx)tst-array5.out): Likewise.
8779 ($(objpfx)tst-array5-static.out): Likewise.
8780 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8781 $(test-program-cmd).
8782 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8783 $(run-program-prefix) with $(test-program-prefix).
8784 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8785 (test_program_prefix): This.
8786 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8787 $(run-program-prefix) with $(test-program-prefix).
8788 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8789 (test_program_prefix): This.
8790 * iconvdata/tst-tables.sh: Likewise.
8791 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8792 $(run-program-prefix) with $(test-program-prefix).
8793 ($(objpfx)tst-translit.out): Likewise.
8794 ($(objpfx)tst-gettext2.out): Likewise.
8795 ($(objpfx)tst-gettext4.out): Likewise.
8796 ($(objpfx)tst-gettext6.out): Likewise.
8797 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8798 (test_program_prefix): This.
8799 * intl/tst-gettext2.sh: Likewise.
8800 * intl/tst-gettext4.sh Likewise.
8801 * intl/tst-gettext6.sh: Likewise.
8802 * intl/tst-translit.sh: Likewise.
8803 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8804 with $(test-program-cmd).
8805 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8806 $(run-program-prefix) with $(test-program-prefix).
8807 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8808 (test_program_prefix): This.
8809 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8810 $(run-program-prefix) with $(test-program-prefix).
8811 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8812 (test_program_prefix): This.
8813 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8814 * posix/Makefile ($(objpfx)globtest.out): Replace
8815 $(run-via-rtld-prefix) and $(test-wrapper) with
8816 $(test-program-prefix) and $(test-via-rtld-prefix).
8817 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8818 $(test-program-prefix).
8819 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8820 $(host-test-program-cmd).
8821 (tst-spawn-ARGS): Likewise.
8822 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8823 $(test-program-prefix).
8824 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8825 (test_via_rtld_prefix): This.
8826 (test_wrapper): Renamed to ...
8827 (test_program_prefix): This.
8828 (run_program_prefix): Replaced by test_program_prefix.
8829 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8830 (test_program_prefix): This.
8831 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8832 with $(host-test-program-cmd).
8833 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8834 $(run-program-prefix) with $(test-program-prefix).
8835 ($(objpfx)tst-printf.out): Likewise.
8836 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8837 $(test-program-cmd).
8838 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8839 (test_program_prefix): This.
8840 * stdio-common/tst-unbputc.sh: Likewise.
8841 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8842 $(run-program-prefix) with $(test-program-prefix).
8843 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8844 (test_program_prefix): This.
8845 * string/Makefile ($(objpfx)tst-svc.out): Replace
8846 $(built-program-cmd) with $(test-program-cmd).
8847
c6fe55cf
AJ
88482013-01-11 Andreas Jaeger <aj@suse.de>
8849
8850 [BZ #15003]
8851 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8852 value. Sync with Linux 3.7.
8853
9e6919c8
DM
88542013-01-10 David S. Miller <davem@davemloft.net>
8855
8856 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8857 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8858 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8859
1c9f1a02
RM
88602013-01-10 Roland McGrath <roland@hack.frob.com>
8861
8862 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8863 never set.
8864 * configure: Regenerated.
8865
b9de2dde
DM
88662013-01-10 David S. Miller <davem@davemloft.net>
8867
8868 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8869 sparc V9 rather than using V8 code.
8870 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8871 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8872
e7f68ef4
RM
88732013-01-10 Roland McGrath <roland@hack.frob.com>
8874
8875 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8876 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8877 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8878 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8879 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8880 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8881 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8882 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8883 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8884 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8885 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8886 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8887 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8888 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8889 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8890 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8891 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8892 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8893 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8894 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8895 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8896 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8897 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8898 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8899 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8900 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8901 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8902
5a47cc9c
DM
89032013-01-10 David S. Miller <davem@davemloft.net>
8904
8905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8906
4cf8f209
L
89072013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8908
8909 * posix/Makefile (tests-static): New variable.
8910 (tests): Add $(tests-static).
8911 (tst-exec-static-ARGS): New variable.
8912 (tst-spawn-static-ARGS): Likewise.
8913 * posix/tst-exec-static.c: New file.
8914 * posix/tst-spawn-static.c: Likewise.
8915 * posix/tst-exec.c: Support run directly.
8916 * posix/tst-spawn.c: Likewise.
8917
fed0faa1
JM
89182013-01-10 Joseph Myers <joseph@codesourcery.com>
8919
828beb13
JM
8920 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8921 long.
8922 * math/bits/mathcalls.h (llrint): Likewise.
8923 (llround): Likewise.
8924 * stdlib/stdlib.h (struct drand48_data): Likewise.
8925 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8926 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8927 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8928 Likewise.
8929 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8930 Likewise.
8931 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8932 (elf_greg_t): Likewise.
8933 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8934 (__jmp_buf): Likewise.
8935 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8936 definitions.
8937 (llrint): Likewise, for all definitions.
8938 (llrintl): Likewise.
8939
fed0faa1
JM
8940 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8941 Remove [__GNUC__] condition.
8942 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8943 condition to just [__USE_ISOC99].
8944 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8945
1a20cb20
L
89462013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8947
8948 [BZ #14200]
8949 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8950 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8951 defined.
8952 (_POSIX_V6_ILP32_OFF32): Likewise.
8953 (_XBS5_ILP32_OFF32): Likewise.
8954 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8955 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8956
751b85f7
SP
89572013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8958
7490eb81
SP
8959 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8960
751b85f7
SP
8961 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8962 doubles __mpexp_twomm1. Adjust usage.
8963 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8964 Remove.
8965
988197f0
AS
89662013-01-10 Andreas Schwab <schwab@suse.de>
8967
8968 [BZ #14964]
8969 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8970 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8971
e83d7298
DM
89722013-01-09 David S. Miller <davem@davemloft.net>
8973
034ed64b 8974 [BZ #15003]
e83d7298
DM
8975 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8976 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8977 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8978 TCP_FASTOPEN): Define.
8979 (tcp_repair_opt): New structure.
8980 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8981 enum values.
8982 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8983 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8984 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8985 (tcp_cookie_transactions): New structure.
8986
d5e0b9bd
AB
89872013-01-09 Anton Blanchard <anton@samba.org>
8988
8989 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8990 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8991 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8992 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8993
0c07e3ea
JM
89942013-01-09 Joseph Myers <joseph@codesourcery.com>
8995
8996 * include/features.h (__USE_ANSI): Remove.
8997
232f7002
RM
89982013-01-09 Roland McGrath <roland@hack.frob.com>
8999
ad98e30c
RM
9000 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9001
232f7002
RM
9002 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9003
950c99ca
SP
90042013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9005
b5792741
SP
9006 * sysdeps/s390/fpu/libm-test-ulps: Update.
9007
47cf2278
SP
9008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9009
950c99ca
SP
9010 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9011 (__acr): Likewise.
9012 (__cpy): Likewise.
9013 (norm): Likewise.
9014 (denorm): Likewise.
9015 (__mp_dbl): Likewise.
9016 (__dbl_mp): Likewise.
9017 (add_magnitudes): Likewise.
9018 (sub_magnitudes): Likewise.
9019 (__add): Likewise.
9020 (__sub): Likewise.
9021 (__mul): Likewise.
9022 (__inv): Likewise.
9023 (__dvd): Likewise.
9024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9025 (__acr): Likewise.
9026 (__cpy): Likewise.
9027 (norm): Likewise.
9028 (denorm): Likewise.
9029 (__mp_dbl): Likewise.
9030 (__dbl_mp): Likewise.
9031 (add_magnitudes): Likewise.
9032 (sub_magnitudes): Likewise.
9033 (__add): Likewise.
9034 (__sub): Likewise.
9035 (__mul): Likewise.
9036 (__inv): Likewise.
9037 (__dvd): Likewise.
9038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9039 (__acr): Likewise.
9040 (__cpy): Likewise.
9041 (norm): Likewise.
9042 (denorm): Likewise.
9043 (__mp_dbl): Likewise.
9044 (__dbl_mp): Likewise.
9045 (add_magnitudes): Likewise.
9046 (sub_magnitudes): Likewise.
9047 (__add): Likewise.
9048 (__sub): Likewise.
9049 (__mul): Likewise.
9050 (__inv): Likewise.
9051 (__dvd): Likewise.
9052
eede9df9
JM
90532013-01-08 Joseph Myers <joseph@codesourcery.com>
9054
9055 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9056 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9057 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9058 2 && __USE_EXTERN_INLINES]: Likewise.
9059
c40ea3d9
AJ
90602013-01-08 Andreas Jaeger <aj@suse.de>
9061
9062 [BZ# 14985]
9063 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9064 Remove.
9065 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9066 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9067
2ccdea26
AB
90682013-01-07 Anton Blanchard <anton@samba.org>
9069
9070 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9071 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9072 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9073 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9074 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9075 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9076 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9077 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9079 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9080 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9081 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9083 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9084 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9085 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9086 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9087 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9088 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9089 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9090 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9091 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9092 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9093 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9094 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9095 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9096 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9097 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9098 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9099 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9100 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9102 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9103 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9104 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9105 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9106 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9107 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9108 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9109 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9110 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9111 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9112 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9113
a9708fed
JM
91142013-01-07 Joseph Myers <joseph@codesourcery.com>
9115
375607b9
JM
9116 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9117 (__MALLOC_PMT): Likewise.
9118 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9119 [__GNUC__], only on [_LIBC].
9120 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9121 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9122 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9123 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9124 forward declaration.
9125 (realloc_hook_ini): Likewise.
9126 (memalign_hook_ini): Likewise.
9127 (__libc_memalign): Do not use __MALLOC_PMT in variable
9128 declaration.
9129 (__libc_valloc): Likewise.
9130 (__libc_pvalloc): Likewise.
9131 (__libc_calloc): Likewise.
9132 (__posix_memalign): Likewise.
9133
a9708fed
JM
9134 [BZ #14996]
9135 * math/s_casinh.c: Include <float.h>.
9136 (__casinh): Do not do computation with squaring and square root
9137 for large arguments.
9138 * math/s_casinhf.c: Include <float.h>.
9139 (__casinhf): Do not do computation with squaring and square root
9140 for large arguments.
9141 * math/s_casinhl.c: Include <float.h>.
9142 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9143 (__casinhl): Do not do computation with squaring and square root
9144 for large arguments.
9145 * math/libm-test.inc (casin_test): Add more tests.
9146 (casinh_test): Likewise.
9147 * sysdeps/i386/fpu/libm-test-ulps: Update.
9148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9149
afec409a
L
91502013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9151
9152 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9153 (__x86_64_raw_data_cache_size): Likewise.
9154 (__x86_64_data_cache_size_half): Likewise.
9155 (__x86_64_raw_data_cache_size_half): Likewise.
9156 (__x86_64_shared_cache_size): Likewise.
9157 (__x86_64_raw_shared_cache_size): Likewise.
9158 (__x86_64_shared_cache_size_half): Likewise.
9159 (__x86_64_raw_shared_cache_size_half): Likewise.
9160 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9161 to ...
9162 (__x86_data_cache_size): This.
9163 (__x86_64_raw_data_cache_size): Renamed to ...
9164 (__x86_raw_data_cache_size): This.
9165 (__x86_64_data_cache_size_half): Renamed to ...
9166 (__x86_data_cache_size_half): This.
9167 (__x86_64_raw_data_cache_size_half): Renamed to ...
9168 (__x86_raw_data_cache_size_half): This.
9169 (__x86_64_shared_cache_size): Renamed to ...
9170 (__x86_shared_cache_size): This.
9171 (__x86_64_raw_shared_cache_size): Renamed to ...
9172 (__x86_raw_shared_cache_size): This.
9173 (__x86_64_shared_cache_size_half): Renamed to ...
9174 (__x86_shared_cache_size_half): This.
9175 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9176 (__x86_raw_shared_cache_size_half): This.
9177 * sysdeps/x86_64/memcpy.S: Updated.
9178 * sysdeps/x86_64/memset.S: Likewise.
9179 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9180 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9181 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9182
0b3986d0
DM
91832013-01-04 David S. Miller <davem@davemloft.net>
9184
9185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9186
e47686e9
AS
91872013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9188
d643bac1
AS
9189 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9190 1 to avoid redefinition warning.
9191 (__USE_GNU): Don't define.
9192 (init_signaling_nan): Protoize.
9193
e47686e9
AS
9194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9195
b18decba
SP
91962013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9197
fffb407f
SP
9198 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9200 (__cpymn): Likewise.
9201 (norm): Remove commented code.
9202 (denorm): Likewise.
9203 (__mp_dbl): Likewise.
9204 (__inv): Likewise.
9205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9206 (__cpymn): Likewise.
9207 (norm): Remove commented code.
9208 (denorm): Likewise.
9209 (__mp_dbl): Likewise.
9210 (__inv): Likewise.
9211
b18decba
SP
9212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9213 mp_no value for 1.0 and 2.0.
9214 (norm): Use RADIXI instead of radixi.d.
9215 (denorm): Likewise.
9216 (__mul): Use 0.0 instead of zero.d.
9217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9218 mp_no value for 1.0 and 2.0.
9219 (norm): Use RADIXI instead of radixi.d.
9220 (denorm): Likewise.
9221 (__mul): Use 0.0 instead of zero.d.
9222
cdc1c96f
JM
92232013-01-04 Joseph Myers <joseph@codesourcery.com>
9224
9225 [BZ #14994]
9226 * math/s_casinh.c (__casinh): Reduce finite argument to first
9227 quadrant then set signs of results at the end.
9228 * math/s_casinhf.c (__casinhf): Likewise.
9229 * math/s_casinhl.c (__casinhl): Likewise.
9230 * math/libm-test.inc (casin_test): Add more tests.
9231 (casinh_test): Likewise.
9232 * sysdeps/i386/fpu/libm-test-ulps: Update.
9233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9234
302913e1
SP
92352013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9236
6420d207
SP
9237 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9238
a9e48ab4
SP
9239 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9240
b7837264
SP
9241 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9242 declarations.
9243 (denorm): Likewise.
9244 (__mp_dbl): Likewise.
9245 (__inv): Likewise.
9246
f8af25d2
SP
9247 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9248 and adjust the header comment.
9249
302913e1
SP
9250 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9251 variable name from declaration.
9252
5d7dd1ca
L
92532013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9254
9255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9256 Initialize COMMON_CPUID_INDEX_7 element.
9257 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9258 (CPUID_RTM): Likewise.
9259 (HAS_RTM): Likewise.
9260 (COMMON_CPUID_INDEX_7): New enum.
9261
2f5f40f4
AS
92622013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9263
9264 [BZ #14981]
9265 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9266 size is zero, record memory as freed.
9267
4056f4a0
AJ
92682013-01-03 Andreas Jaeger <aj@suse.de>
9269
9270 * po/ia.po: Add new Interlingua translation.
9271
ab15736f 92722012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9273
9274 * locale/programs/localedef.c: Fix description of '--posix' flag.
9275
568035b7
JM
92762013-01-02 Joseph Myers <joseph@codesourcery.com>
9277
e6898b8d
JM
9278 * NEWS: Update dates in second copyright notice.
9279 * README: Update copyright dates in example.
9280 * manual/libc.texinfo: Update copyright dates.
9281 * scripts/test-installation.pl: Update copyright date in --version
9282 output.
9283
0e2f9562
JM
9284 * hurd/ctty-input.c: Fix copyright notice formatting.
9285 * hurd/ctty-output.c: Likewise.
9286 * hurd/dtable.c: Likewise.
9287 * hurd/hurd-raise.c: Likewise.
9288 * hurd/hurdprio.c: Likewise.
9289 * hurd/msgportdemux.c: Likewise.
9290 * misc/sys/file.h: Likewise.
9291 * misc/sys/ioctl.h: Likewise.
9292 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9293 * sysdeps/mach/hurd/chdir.c: Likewise.
9294 * sysdeps/mach/hurd/fchdir.c: Likewise.
9295 * sysdeps/mach/hurd/rename.c: Likewise.
9296 * sysdeps/mach/hurd/rmdir.c: Likewise.
9297 * sysdeps/mach/hurd/seekdir.c: Likewise.
9298 * sysdeps/mach/hurd/setsid.c: Likewise.
9299 * sysdeps/posix/wait3.c: Likewise.
9300
568035b7
JM
9301 * All files with FSF copyright notices: Update copyright dates
9302 using scripts/update-copyrights.
9303 * intl/plural.c: Regenerated.
9304 * locale/programs/charmap-kw.h: Likewise.
9305 * locale/programs/locfile-kw.h: Likewise.
9306
da08f647
SP
93072013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9308
0f5477af
SP
9309 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9310 four values.
9311
44e0d4c2
SP
9312 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9313 calculation loop and add branch prediction.
9314
4d55b4e5
SP
9315 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9316 check access beyond bounds of m1np.
9317
da08f647
SP
9318 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9319 MPTWO.
9320 (__inv): Remove local variable MPTWO to use the global
9321 constant.
9322 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9323 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9324 variable MPTWO.
9325 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9326 MP3HALFS static const.
9327
8e051029
DM
93282013-01-01 David S. Miller <davem@davemloft.net>
9329
9330 * po/ca.po: Update from translation team.
9331
f4cf5f2d
JM
93322013-01-01 Joseph Myers <joseph@codesourcery.com>
9333
9334 * scripts/update-copyrights: New file.
9335 * Makeconfig: Reformat copyright notice.
9336 * ctype/ctype.h: Likewise.
9337 * debug/swprintf_chk.c: Likewise.
9338 * elf/dl-cache.c: Likewise.
9339 * elf/dl-debug.c: Likewise.
9340 * elf/dl-object.c: Likewise.
9341 * grp/initgroups.c: Likewise.
9342 * hurd/Makefile: Likewise.
9343 * hurd/hurd/signal.h: Likewise.
9344 * hurd/hurdfault.c: Likewise.
9345 * hurd/hurdioctl.c: Likewise.
9346 * hurd/hurdlookup.c: Likewise.
9347 * hurd/intr-msg.c: Likewise.
9348 * iconv/gconv_open.c: Likewise.
9349 * libio/swprintf.c: Likewise.
9350 * locale/lc-ctype.c: Likewise.
9351 * locale/nl_langinfo.c: Likewise.
9352 * mach/Machrules: Likewise.
9353 * mach/Makefile: Likewise.
9354 * malloc/obstack.h: Likewise.
9355 * manual/Makefile: Likewise.
9356 * manual/tsort.awk: Likewise.
9357 * misc/bits/stab.def: Likewise.
9358 * nis/nis_print_group_entry.c: Likewise.
9359 * nis/nis_table.c: Likewise.
9360 * nis/nss_compat/compat-pwd.c: Likewise.
9361 * nis/nss_compat/compat-spwd.c: Likewise.
9362 * po/Makefile: Likewise.
9363 * posix/fnmatch.c: Likewise.
9364 * posix/regex.h: Likewise.
9365 * resolv/Makefile: Likewise.
9366 * resolv/nss_dns/dns-network.c: Likewise.
9367 * resolv/res_hconf.c: Likewise.
9368 * scripts/gen-sorted.awk: Likewise.
9369 * soft-fp/soft-fp.h: Likewise.
9370 * stdio-common/printf.h: Likewise.
9371 * stdlib/monetary.h: Likewise.
9372 * stdlib/random.c: Likewise.
9373 * stdlib/random_r.c: Likewise.
9374 * sysdeps/generic/Makefile: Likewise.
9375 * sysdeps/gnu/Makefile: Likewise.
9376 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9378 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9382 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9383 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9384 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9385 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9386 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9387 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9388 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9399 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9400 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9401 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9402 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9403 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9404 * sysdeps/mach/hurd/errnos.awk: Likewise.
9405 * sysdeps/mach/hurd/fork.c: Likewise.
9406 * sysdeps/mach/hurd/getcwd.c: Likewise.
9407 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9408 * sysdeps/mach/hurd/mmap.c: Likewise.
9409 * sysdeps/mach/hurd/utimes.c: Likewise.
9410 * sysdeps/mach/hurd/xmknod.c: Likewise.
9411 * sysdeps/posix/profil.c: Likewise.
9412 * sysdeps/posix/readdir_r.c: Likewise.
9413 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9414 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9415 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9416 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9418 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9419 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9420 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9422 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9423 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9424 * sysdeps/pthread/lio_listio.c: Likewise.
9425 * sysdeps/sparc/dl-procinfo.h: Likewise.
9426 * sysdeps/unix/i386/sysdep.S: Likewise.
9427 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9428 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9429 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9430 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9432 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9433 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9434 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9435 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9436 * sysdeps/wordsize-32/divdi3.c: Likewise.
9437 * time/sys/time.h: Likewise.
9438 * wcsmbs/Makefile: Likewise.
9439
0549fbba
DM
94402013-01-01 David S. Miller <davem@davemloft.net>
9441
a141f1a7
DM
9442 * po/fr.po: Update from translation team.
9443
0549fbba
DM
9444 * catgets/gencat.c: Update copyright year.
9445 * csu/version.c: Likewise.
9446 * debug/catchsegv.sh: Likewise.
9447 * debug/pcprofiledump.c: Likewise.
9448 * debug/xtrace.sh: Likewise.
9449 * elf/ldconfig.c: Likewise.
9450 * elf/ldd.bash.in: Likewise.
9451 * elf/pldd.c: Likewise.
9452 * elf/sotruss.ksh: Likewise.
9453 * elf/sprof.c: Likewise.
9454 * iconv/iconv_prog.c: Likewise.
9455 * iconv/iconvconfig.c: Likewise.
9456 * locale/programs/locale.c: Likewise.
9457 * locale/programs/localedef.c: Likewise.
9458 * login/programs/pt_chown.c: Likewise.
9459 * malloc/memusage.sh: Likewise.
9460 * malloc/memusagestat.c: Likewise.
9461 * malloc/mtrace.pl: Likewise.
9462 * nscd/nscd.c: Likewise.
9463 * nss/getent.c: Likewise.
9464 * nss/makedb.c: Likewise.
9465 * posix/getconf.c: Likewise.
9466
18ea052c
SP
94672012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9468
9469 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9470 numbers.
9471
9c89fca6
MF
94722012-12-30 Mike Frysinger <vapier@gentoo.org>
9473
9474 * math/bits/mathcalls.h (modf): Use __nonnull.
9475
085ec079
SP
94762012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9477
9478 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9479 (split): Use macro CN instead of the bare value.
9480 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9481 could be used.
9482 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9483 instead of the bare value.
9484 (power1): Likewise.
9485
6d9f97e1
SP
94862012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9487
d63f73be
SP
9488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9489 __ATAN_TWOM.
9490 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9491
6d9f97e1
SP
9492 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9493 their values.
9494 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9495 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9496 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9497 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9498
4c4febf5
AJ
94992012-12-28 Andreas Jaeger <aj@suse.de>
9500
af5843ef
AJ
9501 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9502 values are from Linux 3.7.
9503
4c4febf5
AJ
9504 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9505 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9506
99136f82
SP
95072012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9508
2f216c3c 9509 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9510 TRUE case.
9511
99136f82
SP
9512 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9513 (norm): Likewise.
9514 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9515 variables with preprocessor constants.
9516 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9517 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9518 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9519
7fffbdff
BH
95202012-12-27 Bruno Haible <bruno@clisp.org>
9521
9522 [BZ #14317]
9523 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9524 only if needed.
9525
b76eb5f0
SP
95262012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9527
31a7fe5c
SP
9528 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9529 and use variable directly.
9530 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9531
b76eb5f0
SP
9532 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9533 MPONE.
9534 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9535 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9536 variable MPONE.
9537 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9538 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9539 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9540 include directive. Remove local variable MPONE.
9541 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9542 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9543 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9544
2c8bfe7d
DM
95452012-12-25 David S. Miller <davem@davemloft.net>
9546
9547 * version.h (RELEASE): Set to "development".
9548 (VERSION): Set to "2.17.90".
9549 * NEWS: Add 2.18 section.
9550
147d03b0
DM
95512012-12-21 David S. Miller <davem@davemloft.net>
9552
9553 * po/hr.po: Update from translation team.
9554
a8ebb2b9
AK
95552012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9556
9557 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9558
95b4f1b6
SE
95592012-12-19 Steve Ellcey <sellcey@mips.com>
9560
b2d94007 9561 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9562
cedb2a90
MS
95632012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9564
9565 * manual/contrib.texi (Contributors): Spelling correction.
9566
bbf527d6
DM
95672012-12-15 David S. Miller <davem@davemloft.net>
9568
9569 * po/ru.po: Update from translation team.
9570
bc38c906
DM
95712012-12-13 David S. Miller <davem@davemloft.net>
9572
85429b1a
DM
9573 * NEWS: Mention IFUNC testsuite enhancements.
9574
d283e353
DM
9575 * po/pl.po: Update from translation team.
9576 * po/bg.po: Likewise.
9577
bc38c906
DM
9578 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9579 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9580
a181b0d7
DM
95812012-12-11 David S. Miller <davem@davemloft.net>
9582
4641d57e
DM
9583 * po/sv.po: Update from translation team.
9584
f7bc6495
DM
9585 * po/vi.po: Update from translation team.
9586
6fc9048f
DM
9587 * po/cs.po: Update from translation team.
9588
a181b0d7
DM
9589 * po/de.po: Update from translation team.
9590 * po/eo.po: Likewise.
9591 * po/nl.po: Likewise.
9592
f70bfe80
SP
95932012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9594
3c8b4190
SP
9595 [BZ #14246]
9596 * manual/argp.texi (Argp Helper Functions): Move node to follow
9597 Argp Parsing State.
9598
f70bfe80
SP
9599 [BZ #14872]
9600 * manual/conf.texi (Limits on File System Capacity): Mention if
9601 terminating null is included in the max size.
9602
188f0adf
AJ
96032012-12-10 Andreas Jaeger <aj@suse.de>
9604
9605 * po/cs.po: Update from translation team.
9606
56e7d3ad
SP
96072012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9608
9609 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9610 void pointer and cast to uintptr_t.
9611 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9612 path.
9613 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9614 * sysdeps/s390/s390-64/memset.S: Likewise.
9615
76f2d2ea 96162012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9617
9618 [BZ #14833]
9619 * menual/message.texi (Message Translation): Fix typos.
9620 (Helper programs for gettext): Likewise.
9621
67cbf9a2
AS
96222012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9623
9624 [BZ #14898]
9625 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9626 Change to -1.
9627
682d0e9a
DM
96282012-12-07 David S. Miller <davem@davemloft.net>
9629
9630 * po/libc.pot: Update.
9631
573cd484
RH
96322012-12-07 Richard Henderson <rth@redhat.com>
9633
7e9da188 9634 [BZ #10114]
573cd484
RH
9635 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9636 normal/normal case to before the switch.
9637 (_FP_DIV): Likewise.
9638
e933a943
MF
96392012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9640 Mike Frysinger <vapier@gentoo.org>
9641
9642 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9643 check for __NR_fadvise64_64.
9644
82123268
CM
96452012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9646
9647 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9648 0, not just to plain "0" as a statement.
9649 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9650 with cw.
9651
d9814526
JM
96522012-12-06 Joseph Myers <joseph@codesourcery.com>
9653
9654 * NEWS: Use sourceware.org in Bugzilla URL.
9655
7728c574
SP
96562012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9657
f16946dd
SP
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9659 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9660
5704bbcb
SP
9661 * stdio-common/tst-put-error.c (do_test): Add newline to the
9662 padded test to ensure flush.
9663
17aa0516
JL
96642012-12-05 Jeff Law <law@redhat.com>
9665
9666 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9667
363313b5
JM
96682012-12-05 Joseph Myers <joseph@codesourcery.com>
9669
effbd42a
JM
9670 * README: Don't refer to ports add-on as distributed separately.
9671 Mention AArch64 in list of systems supported in the ports add-on.
9672
87600365
JM
9673 * LICENSES: Add more non-FSF copyright and license notices.
9674
a0d7066a
JM
9675 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9676 ((unused)).
9677
66ca5a5b
JM
9678 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9679
363313b5
JM
9680 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9681 10000 as width of padded output.
9682
b37984ad
JM
96832012-12-04 Joseph Myers <joseph@codesourcery.com>
9684
9003570a
JM
9685 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9686
b37984ad
JM
9687 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9688 variable LX with __attribute__ ((unused)).
9689 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9690 Likewise.
9691 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9693 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9694 with __attribute__ ((unused)).
9695
c8df52ec
DM
96962012-12-04 David S. Miller <davem@abraco.davemloft.net>
9697
9698 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9699
b3b099af
JM
97002012-12-04 Joseph Myers <joseph@codesourcery.com>
9701
c33aa6e3
JM
9702 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9703 (CFLAGS-nldbl-acos.c): New variable.
9704 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9705 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9706 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9707 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9708 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9709 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9710 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9711 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9712 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9713 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9714 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9715 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9716 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9717 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9718 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9719 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9720 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9721 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9722 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9723 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9724 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9725 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9726 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9727 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9728 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9729 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9730 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9731 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9732 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9733 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9734 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9735 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9736 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9737 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9738 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9739 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9740 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9741 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9742 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9743 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9744 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9745 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9746 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9747 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9748 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9749 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9750 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9751 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9752 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9753 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9754 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9755 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9756 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9757 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9758 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9759 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9760 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9761 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9762 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9763 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9764 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9765 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9766 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9767 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9768 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9769 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9770 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9771 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9772 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9773 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9774 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9775 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9776 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9777 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9778 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9779 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9780 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9781 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9782 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9783 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9784 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9785 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9786 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9787 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9788 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9789 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9790 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9791 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9792 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9793 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9794 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9795 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9796 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9797 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9798 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9799 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9800 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9801
20f0018d
JM
9802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9803 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9804
b3b099af
JM
9805 [BZ #14914]
9806 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9807 whole low double instead of just low 47 bits when splitting values
9808 into two parts.
9809
029264d1
AM
98102012-12-03 Allan McRae <allan@archlinux.org>
9811
9812 * manual/stdio.texi (Predefined Printf Handlers): Remove
9813 @hsep and @vsep usage.
9814
c9d6789e
MF
98152012-12-03 Mike Frysinger <vapier@gentoo.org>
9816
9817 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9818 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9819
4b7634a5
JL
98202012-12-03 Jeff Law <law@redhat.com>
9821
9822 * time/sys/time.h (settimeofday): Do not mark TV argument
9823 as __nonnull.
9824
eb6cbd24
MF
98252012-12-01 Mike Frysinger <vapier@gentoo.org>
9826
9827 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9828 when currently writing and seek to current position when not.
9829 * libio/Makefile (tests): Remove bug-fclose1.
9830 * libio/bug-fclose1.c: Delete.
9831
f638872a
JM
98322012-12-01 Joseph Myers <joseph@codesourcery.com>
9833
9834 * manual/arith.texi (feenableexcept): Fix typo.
9835 (fedisableexcept): Likewise.
9836
48085d14
RM
98372012-11-30 Roland McGrath <roland@hack.frob.com>
9838
9839 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9840 second, differently-typed declaration, rather than a cast.
9841
1a538b9f
SP
98422012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9843
9844 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9845 * include/rpc/svc.h: ... here.
9846
d07f2ff1 98472012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9848
9849 [BZ #13013]
9850 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9851 depending n and resplen2 to catch cases where answer
9852 equals answerp2.
9853
c93ec1f0
CD
98542012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9855
9856 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9857 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9858
37db69de
MF
98592012-11-29 Mike Frysinger <vapier@gentoo.org>
9860
9861 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9862
e10c4e4f
RM
98632012-11-29 Roland McGrath <roland@hack.frob.com>
9864
9865 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9866
2af1b328
JL
98672012-11-28 Jeff Law <law@redhat.com>
9868
9869 [BZ #13761]
9870 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9871 dataset_temporary. Track alloca usage into alloca_used.
9872 If dataset is large allocate and release it via malloc/free.
9873
111db5b1
FW
98742012-06-04 Florian Weimer <fweimer@redhat.com>
9875
f06cc227 9876 [BZ #14197]
111db5b1
FW
9877 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9878
dd694abd
DM
98792012-11-28 David S. Miller <davem@davemloft.net>
9880
9881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9882
9984dd01
JM
98832012-11-28 Joseph Myers <joseph@codesourcery.com>
9884
9885 [BZ #14803]
9886 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9887 of pi/2 rounded to nearest to 64 bits.
9888 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9889 nearest to 64 bits.
9890 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9891 bits.
9892
14bc93a9
JL
98932012-11-28 Jeff Law <law@redhat.com>
9894 Martin Osvald <mosvald@redhat.com>
9895
9896 [BZ #14889]
9897 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9898 * sunrpc/svc.c: Include time.h.
9899 (__svc_accept_failed): New function.
9900 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9901 any reason other than EINTR, call __svc_accept_failed.
9902 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9903 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9904
e3c6aa3a
AS
99052012-11-28 Andreas Schwab <schwab@suse.de>
9906
9907 * scripts/abilist.awk: Also handle indirect functions in .opd
9908 section.
9909
1bead169
JM
99102012-11-28 Joseph Myers <joseph@codesourcery.com>
9911
9912 [BZ #13881]
9913 * sysdeps/x86/fpu/powl_helper.c: New file.
9914 * sysdeps/x86/fpu/Makefile: Likewise.
9915 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9916 (p3): New object.
9917 (__ieee754_powl): Use __powl_helper for finite arguments except
9918 integer exponents below 8.
9919 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9920 (p3): New object.
9921 (__ieee754_powl): Use __powl_helper for finite arguments except
9922 integer exponents below 8.
9923 * math/libm-test.inc (pow_test): Add more tests and enable some
9924 previously disabled tests.
9925 * sysdeps/i386/fpu/libm-test-ulps: Update.
9926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9927
0817d63d
SP
99282012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9929 Carlos O'Donell <carlos_odonell@mentor.com>
9930
9931 * nss/makedb.c (is_prime): Assert that input is odd and greater
9932 than 4. Note that fact in a comment too.
9933 (next_prime): Add 4 to input.
9934
de2fd463
SP
99352012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9936
9937 [BZ #11741]
9938 * libio/Makefile (tests): Add test case tst-fwrite-error.
9939 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9940 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9941 * libio/tst-fwrite-error.c: New test case.
9942
c515fb51
L
99432012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9944
9945 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9946 before casting to void *.
9947 * include/libc-internal.h (__pointer_type): New macro.
9948 (__integer_if_pointer_type_sub): Likewise.
9949 (__integer_if_pointer_type): Likewise.
9950 (cast_to_integer): Likewise.
9951 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9952 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9953 before casting to atomic64_t.
9954 (atomic_exchange_acq): Likewise.
9955 (__arch_exchange_and_add_body): Likewise.
9956 (__arch_add_body): Likewise.
9957 (atomic_add_negative): Likewise.
9958 (atomic_add_zero): Likewise.
9959
4cf77aa9
JM
99602012-11-26 Joseph Myers <joseph@codesourcery.com>
9961
9962 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9963 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9964 (add_fdes): Likewise.
9965 (linear_search_fdes): Likewise.
9966 (binary_search_unencoded_fdes): Likewise.
9967
d260b3b4
AS
99682012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9969
9970 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9971
67060746
AC
99722012-11-24 Adam Conrad <adconrad@0c3.net>
9973
9974 * configure.in: Autodetect C++ header directories.
9975 * configure: Regenerated.
9976
800938a1
MF
99772012-11-23 Mike Frysinger <vapier@gentoo.org>
9978
9979 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9980
4e6e34e6
AS
99812012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9982
9983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9984
7c7feb47
JM
99852012-11-22 Joseph Myers <joseph@codesourcery.com>
9986
7184dcdf
JM
9987 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9988 LDBL_MANT_DIG == 106]: Disable some tests.
9989 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9990 Likewise.
9991 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9992 Likewise.
9993
0a42601f
JM
9994 [BZ #14871]
9995 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9996 input for small inputs. Return +/- pi/2 for large inputs.
9997 * math/libm-test.inc (atan_test): Add more tests.
9998
79c9b9fe
JM
9999 * sysdeps/generic/unwind-dw2-fde-glibc.c
10000 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10001 __attribute__ ((unused)).
10002
c60d3bf2
JM
10003 [BZ #14645]
10004 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10005 x * y if x and y are nonzero and z is zero.
10006
ef1e0867
JM
10007 [BZ #14811]
10008 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10009 nonzero exponents with absolute value below 0x1p-117 to +/-
10010 0x1p-117.
10011
1468ded3
JM
10012 [BZ #14869]
10013 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10014 up arguments below 2**-450, not just those below 2**-500.
10015 * math/libm-test.inc (hypot_test): Add another test.
10016
8e27e3cc
JM
10017 [BZ #14868]
10018 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10019 Return a+b for ratio over 2**120, not 2**60.
10020 * math/libm-test.inc (hypot_test): Add another test.
10021
c9c0279b
JM
10022 * math/libm-test.inc (clog_test): Use
10023 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10024 (clog10_test): Likewise.
10025
7c7feb47
JM
10026 [BZ #6778]
10027 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10028
fff1530e
AS
100292012-11-22 Andreas Schwab <schwab@suse.de>
10030
10031 * sysdeps/i386/fpu/libm-test-ulps: Update.
10032
94558d30
PT
100332012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10034
10035 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10036 printf output with newline.
10037
7e1be741
L
100382012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10039
6bfea974
L
10040 [BZ #14865]
10041 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10042 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10043 -z nodlopen, -z initfirst and -z execstack support.
10044 * configure: Regenerated.
10045
7e1be741
L
10046 * elf/elf.h (DF_1_NODIRECT): New macro.
10047 (DF_1_IGNMULDEF): Likewise.
10048 (DF_1_NOKSYMS): Likewise.
10049 (DF_1_NOHDR): Likewise.
10050 (DF_1_EDITED): Likewise.
10051 (DF_1_NORELOC): Likewise.
10052 (DF_1_SYMINTPOSE): Likewise.
10053 (DF_1_GLOBAUDIT): Likewise.
10054 (DF_1_SINGLETON): Likewise.
10055 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10056 DT_1_SUPPORTED_MASK bits.
10057 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10058
105ce2ce
CD
100592012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10060
10061 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10062
123be9de
TS
100632012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10064
d072f3f7
TS
10065 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10066 macro.
10067
123be9de
TS
10068 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10069 (sendmmsg): Move declarations...
10070 * socket/sys/socket.h: ... here.
10071 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10072 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10073 include it from...
10074 * socket/recvmmsg.c: ... this new file.
10075 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10076 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10077 definition of __sendmmsg hidden.
10078 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10079 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10080 Move ENOSYS stub into and include it from...
10081 * socket/sendmmsg.c: ... this new file.
10082 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10083 (sysdep_routines): Move recvmmsg and sendmmsg...
10084 * socket/Makefile (routines): ... here.
10085 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10086 (GLIBC_PRIVATE): Add __sendmmsg.
10087 * include/sys/socket.h (__sendmmsg): Add declarations.
10088 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10089 sendmmsg.
10090
cf9a5d18
JM
100912012-11-20 Joseph Myers <joseph@codesourcery.com>
10092
10093 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10094 variable I1 with __attribute__ ((unused)).
10095 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10096
ecd4caf9
JM
100972012-11-19 Joseph Myers <joseph@codesourcery.com>
10098
be14d48f
JM
10099 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10100 DUMMY variables with __attribute__ ((unused)).
10101
ecd4caf9
JM
10102 * bits/byteswap.h: Include <bits/types.h>.
10103 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10104
986cab95
PT
101052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10106
10107 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10108 string_t. Do not manually set errno.
10109 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10110 length with __strnlen. Make sure to both set errno and return it on
10111 failure.
10112
6d33cc9d
DM
101132012-11-19 David S. Miller <davem@davemloft.net>
10114
10115 With help from Joseph Myers.
10116 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10117 very large arguments properly.
10118 * math/libm-test.inc (atan_test): New tests.
10119 (atan2_test): New tests.
10120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10122
ee663277
JM
101232012-11-19 Joseph Myers <joseph@codesourcery.com>
10124
877f2d8e
JM
10125 [BZ #14856]
10126 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10127 Define to 3.
10128
116fc08a
JM
10129 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10130 [POSIX] (EADDRNOTAVAIL): Likewise.
10131 [POSIX] (EAFNOSUPPORT): Likewise.
10132 [POSIX] (EALREADY): Likewise.
10133 [POSIX] (ECONNABORTED): Likewise.
10134 [POSIX] (ECONNREFUSED): Likewise.
10135 [POSIX] (ECONNRESET): Likewise.
10136 [POSIX] (EDESTADDRREQ): Likewise.
10137 [POSIX] (EDQUOT): Likewise.
10138 [POSIX] (EHOSTUNREACH): Likewise.
10139 [POSIX] (EIDRM): Likewise.
10140 [POSIX] (EISCONN): Likewise.
10141 [POSIX] (ELOOP): Likewise.
10142 [POSIX] (EMULTIHOP): Likewise.
10143 [POSIX] (ENETDOWN): Likewise.
10144 [POSIX] (ENETUNREACH): Likewise.
10145 [POSIX] (ENOBUFS): Likewise.
10146 [POSIX] (ENODATA): Likewise.
10147 [POSIX] (ENOLINK): Likewise.
10148 [POSIX] (ENOMSG): Likewise.
10149 [POSIX] (ENOPROTOOPT): Likewise.
10150 [POSIX] (ENOSR): Likewise.
10151 [POSIX] (ENOSTR): Likewise.
10152 [POSIX] (ENOTCONN): Likewise.
10153 [POSIX] (ENOTSOCK): Likewise.
10154 [POSIX] (EOPNOTSUPP): Likewise.
10155 [POSIX] (EOVERFLOW): Likewise.
10156 [POSIX] (EPROTO): Likewise.
10157 [POSIX] (EPROTONOSUPPORT): Likewise.
10158 [POSIX] (EPROTOTYPE): Likewise.
10159 [POSIX] (ESTALE): Likewise.
10160 [POSIX] (ETIME): Likewise.
10161 [POSIX] (ETXTBSY): Likewise.
10162 [POSIX] (EWOULDBLOCK): Likewise.
10163 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10164 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10165 [POSIX] (SEEK_CUR): Likewise.
10166 [POSIX] (SEEK_END): Likewise.
10167 [POSIX || UNIX98] (mode_t): Do not require.
10168 [POSIX] (off_t): Likewise.
10169 [POSIX] (pid_t): Likewise.
10170 [POSIX] (sys/stat.h): Do not allow header.
10171 [POSIX] (unistd.h): Likewise.
10172 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10173 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10174 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10175 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10176 require.
10177 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10178 sigevent): Specify elements.
10179 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10180 entry.
10181 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10182 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10183
a483863f
JM
10184 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10185 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10186 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10187 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10188 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10189 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10190 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10191 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10192 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10193 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10194 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10195 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10196 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10197 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10198 Likewise.
10199 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10200 Likewise.
10201 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10202 Likewise.
10203 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10204 Likewise.
10205 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10206 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10207 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10208 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10209 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10210 Specify lower bound on value.
10211 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10212 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10213 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10214 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10215 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10216 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10217 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10218 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10219 value.
10220 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10221 as optional.
10222 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10223 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10224 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10225 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10226 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10227 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10228 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10229 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10230 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10231 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10232 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10233 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10234 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10235 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10236 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10237 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10238 entry.
10239 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10240 optional.
10241 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10242 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10243 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10244 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10245 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10246 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10247 Likewise.
10248 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10249 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10250 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10251 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10252 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10253 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10254 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10255 as optional.
10256 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10257 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10258 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10259 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10260 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10261 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10262 specify as optional.
10263 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10264 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10265 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10266 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10267 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10268 [XPG3] (NL_LANGMAX): Likewise.
10269 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10270 [POSIX || XPG3] (NL_NMAX): Likewise.
10271 [POSIX || XPG3] (NL_SETMAX): Likewise.
10272 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10273 [XPG3] (NZERO): Likewise.
10274 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10275 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10276 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10277 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10278 (REG_ERANGE): Expect.
10279 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10280 optional-constant.
10281 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10282 Use (void) in prototype.
10283 [POSIX] (*_t): Allow.
10284 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10285 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10286 (WRDE_BADVAL): Expect.
10287
5ba924e3
JM
10288 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10289 expect.
10290 [XPG3 || XPG4] (O_RSYNC): Likewise.
10291 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10292 Likewise.
10293 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10294 [XPG3 || XPG4] (sigqueue): Likewise.
10295 [XPG3 || XPG4] (sigtimedwait): Likewise.
10296 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10297 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10298 [XPG3 || XPG4] (vsnprintf): Likewise.
10299 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10300 Likewise.
10301 [XPG3 || XPG4] (blksize_t): Likewise.
10302 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10303 Likewise.
10304 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10305 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10306 [XPG3 || XPG4] (struct itimerspec): Likewise.
10307 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10308 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10309 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10310 [XPG3 || XPG4] (clockid_t): Likewise.
10311 [XPG3 || XPG4] (timer_t): Likewise.
10312 [XPG3 || XPG4] (clock_getres): Likewise.
10313 [XPG3 || XPG4] (clock_gettime): Likewise.
10314 [XPG3 || XPG4] (clock_settime): Likewise.
10315 [XPG3 || XPG4] (nanosleep): Likewise.
10316 [XPG3 || XPG4] (timer_create): Likewise.
10317 [XPG3 || XPG4] (timer_delete): Likewise.
10318 [XPG3 || XPG4] (timer_gettime): Likewise.
10319 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10320 [XPG3 || XPG4] (timer_settime): Likewise.
10321 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10322 [XPG3 || XPG4] (getlogin_r): Likewise.
10323 [XPG3 || XPG4] (pread): Likewise.
10324 [XPG3 || XPG4] (pthread_atfork): Likewise.
10325 [XPG3 || XPG4] (pwrite): Likewise.
10326
ee663277
JM
10327 [BZ #14835]
10328 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10329 <bits/siginfo.h>.
10330
942caa16
PT
103312012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10332
e19af380
PT
10333 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10334 finalizing MALLSTREAM.
10335
942caa16
PT
10336 * sysdeps/mach/hurd/syncfs.c: New file.
10337
cfde9b46
SP
103382012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10339
10340 [BZ #14719]
10341 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10342 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10343 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10344 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10345 (_nss_dns_gethostbyname4_r): Likewise.
10346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10347 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10348
f6da27e5
PH
103492012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10350
10351 [BZ #13763]
10352 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10353
6665d4a2
SM
103542012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10355
1f51ee92
SM
10356 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10357 * elf/cache.c (print_entry): Print ",AArch64" for
10358 FLAG_AARCH64_LIB64
10359
6665d4a2
SM
10360 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10361 * elf/cache.c (print_entry): Print ",hard-float" for
10362 FLAG_ARM_LIBHF.
10363
05b227bd
DM
103642012-11-18 David S. Miller <davem@davemloft.net>
10365
10366 With help from Joseph Myers.
10367 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10368 cutoff to 2**-13.
10369 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10370 cutoff to 2**-25.
10371 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10372 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10373 small.
10374 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10375 * math/libm-test.inc (y0_test): New tests.
10376 (y1_test): New tests.
10377 * sysdeps/i386/fpu/libm-test-ulps: Update.
10378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10380
786b0b67
AS
103812012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10382
10383 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10384 64-bit targets.
10385 * configure: Regenerated.
10386
8e18b86d
DM
103872012-11-17 David S. Miller <davem@davemloft.net>
10388
10389 [BZ #14811]
10390 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10391 nonzero exponents with absolute value below 0x1p-128 to +/-
10392 0x1p-128.
10393
531f1ae0
JM
103942012-11-17 Joseph Myers <joseph@codesourcery.com>
10395
12df29e2
JM
10396 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10397
150dc1a0
JM
10398 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10399
531f1ae0
JM
10400 * posix/getconf-speclist.c: New file.
10401 * posix/posix-envs.def: Likewise.
10402 * posix/confstr.c (START_ENV_GROUP): New macro.
10403 (END_ENV_GROUP): Likewise.
10404 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10405 (KNOWN_PRESENT_ENV_STRING): Likewise.
10406 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10407 (UNKNOWN_ENVIRONMENT): Likewise.
10408 (confstr): Include posix-envs.def instead of handling
10409 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10410 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10411 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10412 (END_ENV_GROUP): Likewise.
10413 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10414 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10415 (UNKNOWN_ENVIRONMENT): Likewise.
10416 (__sysconf): Include posix-envs.def instead of handling associated
10417 cases directly here.
10418 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10419 preprocessing getconf-speclist.c rather than running getconf or
10420 generating empty file.
10421
a93f9cbc
PT
104222012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10423
10424 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10425
d64d9f87
AL
104262012-11-16 Andrej Lajovic <natrij@gmail.com>
10427
10428 [BZ #14672]
10429 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10430
447885eb
DM
104312012-11-16 David S. Miller <davem@davemloft.net>
10432
10433 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10434 smaller than LDBL_EPSILON/2.0L, just return xm1.
10435
bcbf9830
L
104362012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10437
10438 * elf/tst-array1.c (init): Set constructor priority to 1000.
10439 (fini): Set destructor priority to 1000.
10440 * elf/tst-array2dep.c: Likewise.
10441
2b766585
SP
104422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10443
10444 [BZ #11741]
10445 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10446 (_IO_new_file_xsputn): Also return EOF if none of the input
10447 data was written when overflow failed.
10448 * libio/iopadn.c (_IO_padn): Likewise.
10449 * libio/iowpadn.c (_IO_wpadn): Likewise.
10450 * stdio-common/tst-put-error.c: Add copyright notice.
10451 (do_test): Add case for printing padded string.
10452 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10453 _IO_padn returned error.
10454 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10455 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10456 return EOF.
10457
b1848fde
SP
104582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10459
10460 * libio/libioP.h: Add comment note that the references to C++
10461 bits are now obsolete.
10462
2fd89785
MS
104632012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10464
10465 * math/libm-test.inc (check_complex): Use asprintf.
10466
e3ea5409
JM
104672012-11-14 Joseph Myers <joseph@codesourcery.com>
10468
10469 * debug/pcprofiledump.c (print_version): Update copyright year.
10470 * malloc/memusagestat.c (print_version): Likewise.
10471
2e64d265
L
104722012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10473
10474 [BZ #14831]
10475 * elf/Makefile (tests): Add tst-audit8.
10476 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10477 ($(objpfx)tst-audit8.out): New target.
10478 (tst-audit8-ENV): New variable.
10479 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10480 audit if l_reloc_result is NULL.
10481 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10482 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10483 * elf/tst-audit8.c: New file.
10484
c485e4d2
MS
104852012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10486
10487 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10488 * misc/Makefile (CFLAGS-select.c): Define.
10489 * posix/Makefile (CFLAGS-pause.c): Define.
10490
3a0d900a
DM
104912012-11-13 David S. Miller <davem@davemloft.net>
10492
10493 * crypt/Makefile: Move test targets after toplevel Rules
10494 inclusion. Grab any necessary sysdep routines when linking.
10495 * crypt/md5.c (md5_process_block): Remove define, we will always
10496 name it __md5_process_block.
10497 (md5_finish_ctx): Update md5_process_block call.
10498 (md5_stream): Likewise.
10499 (md5_process_bytes): Likewise.
10500 (md5_process_block): Rename to __md5_process_block and move to ...
10501 * crypt/md5-block.c: ... here.
10502 * crypt/sha256.c (sha256_process_block): Move to ...
10503 * crypt/sha256-block.c: ... here.
10504 * crypt/sha512.c (sha512_process_block): Move to ...
10505 * crypt/sha512-block.c: ... here.
10506 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10507 path.
10508 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10509 * sysdeps/sparc/sparc64/multiarch/Makefile
10510 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10511 crypt subdir.
10512 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10513 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10514 multiarch changes.
10515 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10516 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10517 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10518 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10519 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10520 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10521 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10522 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10523 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10524 file.
10525 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10526 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10527 file.
10528 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10529
8ca89318
JM
105302012-11-13 Joseph Myers <joseph@codesourcery.com>
10531
e27d476a
JM
10532 * timezone/tzselect.ksh: Update from tzcode git revision
10533 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10534 * timezone/zdump.c: Likewise.
10535 * timezone/zic.c: Likewise.
10536 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10537 in TZVERSION setting, not $(PKGVERSION).
10538 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10539 REPORT_BUGS_TO settings.
10540
8ca89318
JM
10541 [BZ #14838]
10542 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10543 macro.
10544
47594329
MS
105452012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10546
10547 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10548 detection to immediately after _FP_ROUND().
10549 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10550 bits are 0.
10551
640ac3f1
DM
105522012-11-11 David S. Miller <davem@davemloft.net>
10553
10554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10555 inttypes.h
10556 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10557 __close rather than their public counterparts.
10558
3d2577bb
JM
105592012-11-10 Joseph Myers <joseph@codesourcery.com>
10560
10561 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10562 file.
10563 [UNIX98] (sem_timedwait): Do not expect.
10564 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10565 [XPG4 || UNIX98] (sockatmark): Do not expect.
10566 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10567 (clock_getcpuclockid): Do not expect.
10568 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10569 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10570 Do not expect.
10571 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10572 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10573 [UNIX98] (vwscanf): Likewise.
10574 [UNIX98] (vswscanf): Likewise.
10575
fb1ae1ee
JM
105762012-11-09 Joseph Myers <joseph@codesourcery.com>
10577
9ec6f8bd
JM
10578 * timezone/version.h: Remove file.
10579 * timezone/README: Do not refer to version.h.
10580 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10581 $(objpfx)version.h.
10582 ($(objpfx)zdump.o): Likewise.
c3f81911 10583 ($(objpfx)version.h): New target.
9ec6f8bd 10584
0aa8f8a1
JM
10585 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10586 2012i.
10587 * timezone/README: Don't mention modification to tzselect.ksh.
10588 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10589 work on unmodified tzselect.ksh. Substitute version numbers in
10590 tzselect.ksh.
10591
4e87147f
JM
10592 * Makefile (format-me): Remove.
10593 (INSTALL): Adjust indentation. Use commands directly instead of
10594 using $(format-me).
10595
8b748aed
JM
10596 * aclocal.m4 (ACX_PKGVERSION): New macro.
10597 (ACX_BUGURL): Likewise.
10598 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10599 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10600 (REPORT_BUGS_TO): Likewise.
10601 * configure: Regenerated.
10602 * config.h.in (PKGVERSION): New macro.
10603 (REPORT_BUGS_TO): Likewise.
10604 * config.make.in (PKGVERSION): New variable.
10605 (PKGVERSION_TEXI): Likewise.
10606 (REPORT_BUGS_TO): Likewise.
10607 (REPORT_BUGS_TEXI): Likewise.
10608 * Makefile (format-me): Use -I$(common-objpfx)manual.
10609 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10610 ($(common-objpfx)manual/%): New target.
10611 (manual/%): Remove target.
10612 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10613 (print_version): Use PKGVERSION.
10614 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10615 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10616 and REPORT_BUGS_TO.
10617 ($(objpfx)xtrace): Likewise.
10618 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10619 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10620 (print_version): Use PKGVERSION.
10621 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10622 (do_version): Use PKGVERSION.
10623 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10624 REPORT_BUGS_TO.
10625 (common-ldd-rewrite): Likewise.
10626 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10627 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10628 (print_version): Use PKGVERSION.
10629 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10630 * elf/pldd.c (argp_program_bug_address): Remove variable.
10631 (more_help): New function.
10632 (argp): Use more_help.
10633 (print_version): Use PKGVERSION.
10634 * elf/sln.c (main): Use PKGVERSION.
10635 (usage): Use REPORT_BUGS_TO.
10636 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10637 (top level): Use PKGVERSION.
10638 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10639 (print_version): Use PKGVERSION.
10640 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10641 (print_version): Use PKGVERSION.
10642 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10643 (print_version): Use PKGVERSION.
10644 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10645 (print_version): Use PKGVERSION.
10646 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10647 (print_version): Use PKGVERSION.
10648 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10649 (print_version): Use PKGVERSION.
10650 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10651 and BUGURL.
10652 ($(objpfx)memusage): Likewise.
10653 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10654 (do_version): Use PKGVERSION.
10655 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10656 (print_version): Use PKGVERSION.
10657 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10658 ($PKGVERSION): New variable.
10659 ($REPORT_BUGS_TO): Likewise.
10660 (usage): Use $REPORT_BUGS_TO.
10661 (top level): Use $PKGVERSION.
10662 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10663 ($(objpfx)pkgvers.texi): New rule.
10664 ($(objpfx)stamp-pkgvers): Likewise.
10665 * manual/install.texi: Include pkgvers.texi.
10666 (--with-pkgversion): Document new configure option.
10667 (--with-bugurl): Likewise.
10668 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10669 than necessarily for this particular distribution. Use
10670 REPORT_BUGS_TO for where to report bugs.
10671 * INSTALL: Regenerated.
10672 * manual/libc.texinfo: Include pkgvers.texi.
10673 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10674 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10675 (print_version): Use PKGVERSION.
10676 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10677 (print_version): Use PKGVERSION.
10678 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10679 (print_version): Use PKGVERSION.
10680 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10681 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10682 macro.
10683 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10684 (print_version): Use PKGVERSION.
10685 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10686 (print_version): Use PKGVERSION.
10687 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10688 and PKGVERSION.
10689
92e4b6a9
JM
10690 * timezone/checktab.awk: Update from tzcode 2012i.
10691 * timezone/ialloc.c: Likewise.
10692 * timezone/private.h: Likewise.
10693 * timezone/scheck.c: Likewise.
10694 * timezone/tzfile.h: Likewise.
10695 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10696 (TZVERSION): Hardcode tzcode version number.
10697 * timezone/zdump.c: Update from tzcode 2012i.
10698 * timezone/zic.c: Likewise.
10699 * timezone/version.h: New file.
10700 * timezone/README: Describe version.h. Update upstream location.
10701
9bde902c
JM
10702 [BZ #14824]
10703 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10704 (mktemp): Enable declaration.
10705 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10706 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10707 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10708 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10709 Likewise.
10710 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10711 Likewise.
10712 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10713 Likewise.
10714 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10715 Likewise.
10716 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10717 Likewise.
10718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10719 Likewise.
10720
fb1ae1ee
JM
10721 [BZ #14821]
10722 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10723 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10724 for copies of such integer values.
10725 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10726 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10727
2c1adbcb
AJ
107282012-11-09 Andreas Jaeger <aj@suse.de>
10729
10730 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10731 definitions and declarations that are provided by
10732 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10733
d0f8457e
AK
107342012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10735
3a235abb 10736 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10737 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10738 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10739 definition.
10740
57241e26
MS
107412012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10742
10743 * elf/elf.h: Update comment before AArch64 relocations.
10744
60e8270d
DM
107452012-11-07 David S. Miller <davem@davemloft.net>
10746
10747 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10748 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10749 (__start_context): Declare.
10750 (__makecontext_ret): Delete.
10751 (__makecontext): Hook up __start_context instead of
10752 __makecontext_ret.
10753 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10754 (sysdep_routines): Add __start_context when in stdlib.
10755
0fbb0fbc
JM
107562012-11-07 Joseph Myers <joseph@codesourcery.com>
10757
10758 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10759 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10760 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10761 hardcoded "nm".
10762 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10763 (READELF): New variable. Use it instead of hardcoded "readelf".
10764
eb48db7e
L
107652012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10766
10767 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10768 * sysdeps/x86/Makefile: Here.
10769 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10770 * sysdeps/x86/tst-xmmymm.sh: This.
10771
05bcf62a
JM
107722012-11-07 Joseph Myers <joseph@codesourcery.com>
10773
c4b6cf53
JM
10774 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10775 expectations.
10776 [UNIX98] (pthread_barrier_t): Do not expect.
10777 [UNIX98] (pthread_barrierattr_t): Likewise.
10778 [UNIX98] (pthread_spinlock_t): Likewise.
10779 [UNIX98] (pthread_barrier_destroy): Likewise.
10780 [UNIX98] (pthread_barrier_init): Likewise.
10781 [UNIX98] (pthread_barrier_wait): Likewise.
10782 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10783 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10784 [UNIX98] (pthread_barrierattr_init): Likewise.
10785 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10786 [UNIX98] (pthread_getcpuclockid): Likewise.
10787 [UNIX98] (pthread_mutex_timedlock): Likewise.
10788 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10789 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10790 [UNIX98] (pthread_sigmask): Likewise.
10791 [UNIX98] (pthread_spin_destroy): Likewise.
10792 [UNIX98] (pthread_spin_init): Likewise.
10793 [UNIX98] (pthread_spin_lock): Likewise.
10794 [UNIX98] (pthread_spin_trylock): Likewise.
10795 [UNIX98] (pthread_spin_unlock): Likewise.
10796 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10797 Do not expect.
10798 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10800 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10801 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10802 [XPG3 || XPG4] (pthread_key_t): Likewise.
10803 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10804 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10805 [XPG3 || XPG4] (pthread_once_t): Likewise.
10806 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10807 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10809 [XPG3 || XPG4] (pthread_t): Likewise.
10810
cbe6e120
JM
10811 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10812 not expect.
10813 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10814
1b126443
JM
10815 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10816 Change function return type to int.
10817
b961a573
JM
10818 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10819 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10820 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10821 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10822 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10823 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10824 [!POSIX] (posix_madvise): Likewise.
10825 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10826 && !UNIX98].
10827 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10828 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10829 (mode_t): Likewise.
10830 (posix_mem_offset): Likewise.
10831 (posix_typed_mem_get_info): Likewise.
10832 (posix_typed_mem_open): Likewise.
10833
9e188909
JM
10834 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10835 Change condition to [XOPEN2K8].
10836
05bcf62a
JM
10837 * conform/conformtest.pl: Preprocess allow-header data with -x c
10838 instead of from stdin.
10839 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10840 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10841 [C99-based standards] (cerfc): Likewise.
10842 [C99-based standards] (cexp2): Likewise.
10843 [C99-based standards] (cexpm1): Likewise.
10844 [C99-based standards] (clog10): Likewise.
10845 [C99-based standards] (clog1p): Likewise.
10846 [C99-based standards] (clog2): Likewise.
10847 [C99-based standards] (clgamma): Likewise.
10848 [C99-based standards] (ctgamma): Likewise.
10849 [C99-based standards] (cerff): Likewise.
10850 [C99-based standards] (cerfcf): Likewise.
10851 [C99-based standards] (cexp2f): Likewise.
10852 [C99-based standards] (cexpm1f): Likewise.
10853 [C99-based standards] (clog10f): Likewise.
10854 [C99-based standards] (clog1pf): Likewise.
10855 [C99-based standards] (clog2f): Likewise.
10856 [C99-based standards] (clgammaf): Likewise.
10857 [C99-based standards] (ctgammaf): Likewise.
10858 [C99-based standards] (cerfl): Likewise.
10859 [C99-based standards] (cerfcl): Likewise.
10860 [C99-based standards] (cexp2l): Likewise.
10861 [C99-based standards] (cexpm1l): Likewise.
10862 [C99-based standards] (clog10l): Likewise.
10863 [C99-based standards] (clog1pl): Likewise.
10864 [C99-based standards] (clog2l): Likewise.
10865 [C99-based standards] (clgammal): Likewise.
10866 [C99-based standards] (ctgammal): Likewise.
10867 * conform/data/inttypes.h-data [C99-based standards]: Include
10868 stdint.h-data. Remove all expectations for stdint.h contents.
10869 [C99-based standards] (PRI*): Do not allow.
10870 [C99-based standards] (SCN*): Likewise.
10871 [C99-based standards] (*_t): Likewise.
10872 [C99-based-standards] (PRId8): Expect macro.
10873 [C99-based-standards] (PRIi8): Likewise.
10874 [C99-based-standards] (PRIo8): Likewise.
10875 [C99-based-standards] (PRIu8): Likewise.
10876 [C99-based-standards] (PRIx8): Likewise.
10877 [C99-based-standards] (PRIX8): Likewise.
10878 [C99-based-standards] (SCNd8): Likewise.
10879 [C99-based-standards] (SCNi8): Likewise.
10880 [C99-based-standards] (SCNo8): Likewise.
10881 [C99-based-standards] (SCNu8): Likewise.
10882 [C99-based-standards] (SCNx8): Likewise.
10883 [C99-based-standards] (PRIdLEAST8): Likewise.
10884 [C99-based-standards] (PRIiLEAST8): Likewise.
10885 [C99-based-standards] (PRIoLEAST8): Likewise.
10886 [C99-based-standards] (PRIuLEAST8): Likewise.
10887 [C99-based-standards] (PRIxLEAST8): Likewise.
10888 [C99-based-standards] (PRIXLEAST8): Likewise.
10889 [C99-based-standards] (SCNdLEAST8): Likewise.
10890 [C99-based-standards] (SCNiLEAST8): Likewise.
10891 [C99-based-standards] (SCNoLEAST8): Likewise.
10892 [C99-based-standards] (SCNuLEAST8): Likewise.
10893 [C99-based-standards] (SCNxLEAST8): Likewise.
10894 [C99-based-standards] (PRIdFAST8): Likewise.
10895 [C99-based-standards] (PRIiFAST8): Likewise.
10896 [C99-based-standards] (PRIoFAST8): Likewise.
10897 [C99-based-standards] (PRIuFAST8): Likewise.
10898 [C99-based-standards] (PRIxFAST8): Likewise.
10899 [C99-based-standards] (PRIXFAST8): Likewise.
10900 [C99-based-standards] (SCNdFAST8): Likewise.
10901 [C99-based-standards] (SCNiFAST8): Likewise.
10902 [C99-based-standards] (SCNoFAST8): Likewise.
10903 [C99-based-standards] (SCNuFAST8): Likewise.
10904 [C99-based-standards] (SCNxFAST8): Likewise.
10905 [C99-based-standards] (PRId16): Likewise.
10906 [C99-based-standards] (PRIi16): Likewise.
10907 [C99-based-standards] (PRIo16): Likewise.
10908 [C99-based-standards] (PRIu16): Likewise.
10909 [C99-based-standards] (PRIx16): Likewise.
10910 [C99-based-standards] (PRIX16): Likewise.
10911 [C99-based-standards] (SCNd16): Likewise.
10912 [C99-based-standards] (SCNi16): Likewise.
10913 [C99-based-standards] (SCNo16): Likewise.
10914 [C99-based-standards] (SCNu16): Likewise.
10915 [C99-based-standards] (SCNx16): Likewise.
10916 [C99-based-standards] (PRIdLEAST16): Likewise.
10917 [C99-based-standards] (PRIiLEAST16): Likewise.
10918 [C99-based-standards] (PRIoLEAST16): Likewise.
10919 [C99-based-standards] (PRIuLEAST16): Likewise.
10920 [C99-based-standards] (PRIxLEAST16): Likewise.
10921 [C99-based-standards] (PRIXLEAST16): Likewise.
10922 [C99-based-standards] (SCNdLEAST16): Likewise.
10923 [C99-based-standards] (SCNiLEAST16): Likewise.
10924 [C99-based-standards] (SCNoLEAST16): Likewise.
10925 [C99-based-standards] (SCNuLEAST16): Likewise.
10926 [C99-based-standards] (SCNxLEAST16): Likewise.
10927 [C99-based-standards] (PRIdFAST16): Likewise.
10928 [C99-based-standards] (PRIiFAST16): Likewise.
10929 [C99-based-standards] (PRIoFAST16): Likewise.
10930 [C99-based-standards] (PRIuFAST16): Likewise.
10931 [C99-based-standards] (PRIxFAST16): Likewise.
10932 [C99-based-standards] (PRIXFAST16): Likewise.
10933 [C99-based-standards] (SCNdFAST16): Likewise.
10934 [C99-based-standards] (SCNiFAST16): Likewise.
10935 [C99-based-standards] (SCNoFAST16): Likewise.
10936 [C99-based-standards] (SCNuFAST16): Likewise.
10937 [C99-based-standards] (SCNxFAST16): Likewise.
10938 [C99-based-standards] (PRId32): Likewise.
10939 [C99-based-standards] (PRIi32): Likewise.
10940 [C99-based-standards] (PRIo32): Likewise.
10941 [C99-based-standards] (PRIu32): Likewise.
10942 [C99-based-standards] (PRIx32): Likewise.
10943 [C99-based-standards] (PRIX32): Likewise.
10944 [C99-based-standards] (SCNd32): Likewise.
10945 [C99-based-standards] (SCNi32): Likewise.
10946 [C99-based-standards] (SCNo32): Likewise.
10947 [C99-based-standards] (SCNu32): Likewise.
10948 [C99-based-standards] (SCNx32): Likewise.
10949 [C99-based-standards] (PRIdLEAST32): Likewise.
10950 [C99-based-standards] (PRIiLEAST32): Likewise.
10951 [C99-based-standards] (PRIoLEAST32): Likewise.
10952 [C99-based-standards] (PRIuLEAST32): Likewise.
10953 [C99-based-standards] (PRIxLEAST32): Likewise.
10954 [C99-based-standards] (PRIXLEAST32): Likewise.
10955 [C99-based-standards] (SCNdLEAST32): Likewise.
10956 [C99-based-standards] (SCNiLEAST32): Likewise.
10957 [C99-based-standards] (SCNoLEAST32): Likewise.
10958 [C99-based-standards] (SCNuLEAST32): Likewise.
10959 [C99-based-standards] (SCNxLEAST32): Likewise.
10960 [C99-based-standards] (PRIdFAST32): Likewise.
10961 [C99-based-standards] (PRIiFAST32): Likewise.
10962 [C99-based-standards] (PRIoFAST32): Likewise.
10963 [C99-based-standards] (PRIuFAST32): Likewise.
10964 [C99-based-standards] (PRIxFAST32): Likewise.
10965 [C99-based-standards] (PRIXFAST32): Likewise.
10966 [C99-based-standards] (SCNdFAST32): Likewise.
10967 [C99-based-standards] (SCNiFAST32): Likewise.
10968 [C99-based-standards] (SCNoFAST32): Likewise.
10969 [C99-based-standards] (SCNuFAST32): Likewise.
10970 [C99-based-standards] (SCNxFAST32): Likewise.
10971 [C99-based-standards] (PRId64): Likewise.
10972 [C99-based-standards] (PRIi64): Likewise.
10973 [C99-based-standards] (PRIo64): Likewise.
10974 [C99-based-standards] (PRIu64): Likewise.
10975 [C99-based-standards] (PRIx64): Likewise.
10976 [C99-based-standards] (PRIX64): Likewise.
10977 [C99-based-standards] (SCNd64): Likewise.
10978 [C99-based-standards] (SCNi64): Likewise.
10979 [C99-based-standards] (SCNo64): Likewise.
10980 [C99-based-standards] (SCNu64): Likewise.
10981 [C99-based-standards] (SCNx64): Likewise.
10982 [C99-based-standards] (PRIdLEAST64): Likewise.
10983 [C99-based-standards] (PRIiLEAST64): Likewise.
10984 [C99-based-standards] (PRIoLEAST64): Likewise.
10985 [C99-based-standards] (PRIuLEAST64): Likewise.
10986 [C99-based-standards] (PRIxLEAST64): Likewise.
10987 [C99-based-standards] (PRIXLEAST64): Likewise.
10988 [C99-based-standards] (SCNdLEAST64): Likewise.
10989 [C99-based-standards] (SCNiLEAST64): Likewise.
10990 [C99-based-standards] (SCNoLEAST64): Likewise.
10991 [C99-based-standards] (SCNuLEAST64): Likewise.
10992 [C99-based-standards] (SCNxLEAST64): Likewise.
10993 [C99-based-standards] (PRIdFAST64): Likewise.
10994 [C99-based-standards] (PRIiFAST64): Likewise.
10995 [C99-based-standards] (PRIoFAST64): Likewise.
10996 [C99-based-standards] (PRIuFAST64): Likewise.
10997 [C99-based-standards] (PRIxFAST64): Likewise.
10998 [C99-based-standards] (PRIXFAST64): Likewise.
10999 [C99-based-standards] (SCNdFAST64): Likewise.
11000 [C99-based-standards] (SCNiFAST64): Likewise.
11001 [C99-based-standards] (SCNoFAST64): Likewise.
11002 [C99-based-standards] (SCNuFAST64): Likewise.
11003 [C99-based-standards] (SCNxFAST64): Likewise.
11004 [C99-based-standards] (PRIdMAX): Likewise.
11005 [C99-based-standards] (PRIiMAX): Likewise.
11006 [C99-based-standards] (PRIoMAX): Likewise.
11007 [C99-based-standards] (PRIuMAX): Likewise.
11008 [C99-based-standards] (PRIxMAX): Likewise.
11009 [C99-based-standards] (PRIXMAX): Likewise.
11010 [C99-based-standards] (SCNdMAX): Likewise.
11011 [C99-based-standards] (SCNiMAX): Likewise.
11012 [C99-based-standards] (SCNoMAX): Likewise.
11013 [C99-based-standards] (SCNuMAX): Likewise.
11014 [C99-based-standards] (SCNxMAX): Likewise.
11015 [C99-based-standards] (PRIdPTR): Likewise.
11016 [C99-based-standards] (PRIiPTR): Likewise.
11017 [C99-based-standards] (PRIoPTR): Likewise.
11018 [C99-based-standards] (PRIuPTR): Likewise.
11019 [C99-based-standards] (PRIxPTR): Likewise.
11020 [C99-based-standards] (PRIXPTR): Likewise.
11021 [C99-based-standards] (SCNdPTR): Likewise.
11022 [C99-based-standards] (SCNiPTR): Likewise.
11023 [C99-based-standards] (SCNoPTR): Likewise.
11024 [C99-based-standards] (SCNuPTR): Likewise.
11025 [C99-based-standards] (SCNxPTR): Likewise.
11026 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11027 allow.
11028 * conform/data/stdint.h-data: Update comments to clarify
11029 requirements.
11030 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11031 type.
11032 [C99-based standards] (INT8_MAX): Likewise.
11033 [C99-based standards] (INT16_MIN): Likewise.
11034 [C99-based standards] (INT16_MAX): Likewise.
11035 [C99-based standards] (INT32_MIN): Likewise.
11036 [C99-based standards] (INT32_MAX): Likewise.
11037 [C99-based standards] (INT64_MIN): Likewise.
11038 [C99-based standards] (INT64_MAX): Likewise.
11039 [C99-based standards] (UINT8_MAX): Likewise.
11040 [C99-based standards] (UINT16_MAX): Likewise.
11041 [C99-based standards] (UINT32_MAX): Likewise.
11042 [C99-based standards] (UINT64_MAX): Likewise.
11043 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11044 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11045 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11046 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11047 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11048 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11049 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11050 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11051 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11052 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11053 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11054 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11055 [C99-based standards] (INT_FAST8_MIN): Likewise.
11056 [C99-based standards] (INT_FAST8_MAX): Likewise.
11057 [C99-based standards] (INT_FAST16_MIN): Likewise.
11058 [C99-based standards] (INT_FAST16_MAX): Likewise.
11059 [C99-based standards] (INT_FAST32_MIN): Likewise.
11060 [C99-based standards] (INT_FAST32_MAX): Likewise.
11061 [C99-based standards] (INT_FAST64_MIN): Likewise.
11062 [C99-based standards] (INT_FAST64_MAX): Likewise.
11063 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11064 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11065 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11066 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11067 [C99-based standards] (INTPTR_MIN): Likewise.
11068 [C99-based standards] (INTPTR_MAX): Likewise.
11069 [C99-based standards] (UINTPTR_MAX): Likewise.
11070 [C99-based standards] (INTMAX_MIN): Likewise.
11071 [C99-based standards] (INTMAX_MAX): Likewise.
11072 [C99-based standards] (UINTMAX_MAX): Likewise.
11073 [C99-based standards] (PTRDIFF_MIN): Likewise.
11074 [C99-based standards] (PTRDIFF_MAX): Likewise.
11075 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11076 [C99-based standards] (SIZE_MAX): Likewise.
11077 [C99-based standards] (WCHAR_MAX): Likewise.
11078 [C99-based standards] (WINT_MAX): Likewise.
11079 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11080 constraint on value.
11081 [C99-based standards] (WCHAR_MIN): Likewise.
11082 [C99-based standards] (WINT_MIN): Likewise.
11083 [C99-based standards] (*_t): Allow.
11084 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11085 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11086 Include math.h-data and complex.h-data. Remove all expectations
11087 of math.h and complex.h contents.
11088 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11089 at end of line.
11090 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11091 (struct tm): Expect tag.
11092 [C99-based-standards] (wcstof): Expect function.
11093 [C99-based-standards] (wcstold): Likewise.
11094 [C99-based-standards] (wcstoll): Likewise.
11095 [C99-based-standards] (wcstoull): Likewise.
11096 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11097 macro-int-constant. Specify type.
11098 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11099 constraint on value.
11100 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11101 Specify type.
11102 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11103 Specify value.
11104 [ISO C standards]: Do not allow headers.
11105 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11106 wcs[abcdefghijklmnopqrstuvwxyz]*.
11107 [ISO C standards] (*_t): Do not allow.
11108 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11109 Expect function.
11110 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11111 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11112 Specify type.
11113 [ISO C standards]: Do not allow headers.
11114 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11115 is[abcdefghijklmnopqrstuvwxyz]*.
11116 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11117 to[abcdefghijklmnopqrstuvwxyz]*.
11118 [ISO C standards] (*_t): Do not allow.
11119 * conform/data/stdalign.h-data: New file.
11120 * conform/data/stdbool.h-data: Likewise.
11121 * conform/data/stdnoreturn.h-data: Likewise.
11122
7514feb8
RM
111232012-11-07 Roland McGrath <roland@hack.frob.com>
11124
11125 [BZ #14815]
11126 * manual/filesys.texi (Directory Entries): Typo fix.
11127 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11128
19b2ecfc
MS
111292012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11130
11131 * elf/elf.h (EM_AARCH64): New macro.
11132 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11133 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11134 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11135 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11136 (R_AARCH64_TLSDESC): Likewise.
11137 (NT_ARM_TLS): Likewise.
11138 (NT_ARM_HW_BREAK): Likewise.
11139 (NT_ARM_HW_WATCH): Likewise.
11140
60e235ee
JM
111412012-11-07 Joseph Myers <joseph@codesourcery.com>
11142
11143 [BZ #14811]
11144 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11145 (__ieee754_powl): Saturate nonzero exponents with absolute value
11146 below 0x1p-79 to +/- 0x1p-79.
11147 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11148 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11149 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11150 nonzero exponents with absolute value below 0x1p-32 to +/-
11151 0x1p-32.
11152 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11153 (__ieee754_powl): Saturate nonzero exponents with absolute value
11154 below 0x1p-79 to +/- 0x1p-79.
11155 * math/libm-test.inc (pow_test): Add more tests.
11156
0ab234b7
AK
111572012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11158
11159 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11160 _dl_s390_cap_flags with kernel. Increase string length.
11161 (_dl_s390_platforms): Add z196 and zEC12.
11162
45832f74
JM
111632012-11-07 Joseph Myers <joseph@codesourcery.com>
11164
11165 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11166 Change XOPEN21K to XOPEN2K.
11167
19218757
MK
111682012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11169
11170 * string/memmove.c: Use memcpy when possible.
11171
c5f45721
AJ
111722012-11-06 Andreas Jaeger <aj@suse.de>
11173
11174 * po/eo.po: Update from translation team.
11175
82477c28
JM
111762012-11-06 Joseph Myers <joseph@codesourcery.com>
11177
11178 [BZ #14793]
11179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11180 exponent and small x and y exponents, scale x or y up. Increase
11181 by 2 the exponent used in scaling up.
11182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11184 * math/libm-test.inc (fma_test): Add more tests.
11185 (fma_test_towardzero): Likewise.
11186 (fma_test_downward): Likewise.
11187 (fma_test_upward): Likewise.
11188
99252c8c
JM
111892012-11-05 Joseph Myers <joseph@codesourcery.com>
11190
acfa885f
JM
11191 [BZ #14805]
11192 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11193 fenv_t *.
11194
99252c8c
JM
11195 [BZ #14801]
11196 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11197 namespace for names of struct fields.
11198 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11199 fenv_t fields.
11200 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11201 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11202
d6d98dea
ST
112032012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11204
11205 [BZ #3665]
11206 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11207
e10bb107
TS
112082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11209
11210 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11211 PTR_DEMANGLE.
11212
11213 [BZ #5246]
11214 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11215 PTR_DEMANGLE.
11216
a0c2940d
JM
112172012-11-04 Joseph Myers <joseph@codesourcery.com>
11218
11219 [BZ #14797]
11220 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11221 definitely overflow as x * y not x * y + z.
11222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11223 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11224 * math/libm-test.inc (fma_test): Add more tests.
11225 (fma_test_towardzero): Likewise.
11226 (fma_test_downward): Likewise.
11227 (fma_test_upward): Likewise.
11228
b830319d
TS
112292012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11230
11231 [BZ #157]
11232
11233 * include/stub-tag.h: Remove file.
11234 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11235 '#include' of it.
11236 * manual/maint.texi (Porting): Don't reference it.
11237 * Makerules ($(objpfx)stubs): Likewise.
11238 * dirent/closedir.c: Don't include <stub-tag.h>.
11239 * dirent/dirfd.c: Likewise.
11240 * dirent/fdopendir.c: Likewise.
11241 * dirent/getdents.c: Likewise.
11242 * dirent/getdents64.c: Likewise.
11243 * dirent/opendir.c: Likewise.
11244 * dirent/readdir.c: Likewise.
11245 * dirent/readdir64.c: Likewise.
11246 * dirent/readdir64_r.c: Likewise.
11247 * dirent/readdir_r.c: Likewise.
11248 * dirent/rewinddir.c: Likewise.
11249 * dirent/seekdir.c: Likewise.
11250 * dirent/telldir.c: Likewise.
11251 * gmon/profil.c: Likewise.
11252 * grp/setgroups.c: Likewise.
11253 * inet/if_index.c: Likewise.
11254 * io/access.c: Likewise.
11255 * io/chdir.c: Likewise.
11256 * io/chmod.c: Likewise.
11257 * io/chown.c: Likewise.
11258 * io/close.c: Likewise.
11259 * io/dup.c: Likewise.
11260 * io/dup2.c: Likewise.
11261 * io/dup3.c: Likewise.
11262 * io/euidaccess.c: Likewise.
11263 * io/faccessat.c: Likewise.
11264 * io/fchdir.c: Likewise.
11265 * io/fchmod.c: Likewise.
11266 * io/fchmodat.c: Likewise.
11267 * io/fchown.c: Likewise.
11268 * io/fchownat.c: Likewise.
11269 * io/fcntl.c: Likewise.
11270 * io/flock.c: Likewise.
11271 * io/fstatfs.c: Likewise.
11272 * io/fstatfs64.c: Likewise.
11273 * io/fstatvfs.c: Likewise.
11274 * io/fstatvfs64.c: Likewise.
11275 * io/futimens.c: Likewise.
11276 * io/fxstat.c: Likewise.
11277 * io/fxstat64.c: Likewise.
11278 * io/fxstatat.c: Likewise.
11279 * io/fxstatat64.c: Likewise.
11280 * io/getcwd.c: Likewise.
11281 * io/isatty.c: Likewise.
11282 * io/lchmod.c: Likewise.
11283 * io/lchown.c: Likewise.
11284 * io/link.c: Likewise.
11285 * io/linkat.c: Likewise.
11286 * io/lseek.c: Likewise.
11287 * io/lseek64.c: Likewise.
11288 * io/lxstat64.c: Likewise.
11289 * io/mkdir.c: Likewise.
11290 * io/mkdirat.c: Likewise.
11291 * io/mkfifo.c: Likewise.
11292 * io/mkfifoat.c: Likewise.
11293 * io/open.c: Likewise.
11294 * io/open64.c: Likewise.
11295 * io/openat.c: Likewise.
11296 * io/openat64.c: Likewise.
11297 * io/pipe.c: Likewise.
11298 * io/pipe2.c: Likewise.
11299 * io/poll.c: Likewise.
11300 * io/posix_fadvise.c: Likewise.
11301 * io/posix_fadvise64.c: Likewise.
11302 * io/posix_fallocate.c: Likewise.
11303 * io/posix_fallocate64.c: Likewise.
11304 * io/read.c: Likewise.
11305 * io/readlink.c: Likewise.
11306 * io/readlinkat.c: Likewise.
11307 * io/rmdir.c: Likewise.
11308 * io/sendfile.c: Likewise.
11309 * io/sendfile64.c: Likewise.
11310 * io/statfs.c: Likewise.
11311 * io/statfs64.c: Likewise.
11312 * io/statvfs.c: Likewise.
11313 * io/statvfs64.c: Likewise.
11314 * io/symlink.c: Likewise.
11315 * io/symlinkat.c: Likewise.
11316 * io/ttyname.c: Likewise.
11317 * io/ttyname_r.c: Likewise.
11318 * io/umask.c: Likewise.
11319 * io/unlink.c: Likewise.
11320 * io/unlinkat.c: Likewise.
11321 * io/utime.c: Likewise.
11322 * io/utimensat.c: Likewise.
11323 * io/write.c: Likewise.
11324 * io/xmknod.c: Likewise.
11325 * io/xmknodat.c: Likewise.
11326 * io/xstat.c: Likewise.
11327 * io/xstat64.c: Likewise.
11328 * login/getpt.c: Likewise.
11329 * login/grantpt.c: Likewise.
11330 * login/unlockpt.c: Likewise.
11331 * math/e_acoshl.c: Likewise.
11332 * math/e_acosl.c: Likewise.
11333 * math/e_asinl.c: Likewise.
11334 * math/e_atan2l.c: Likewise.
11335 * math/e_atanhl.c: Likewise.
11336 * math/e_coshl.c: Likewise.
11337 * math/e_expl.c: Likewise.
11338 * math/e_fmodl.c: Likewise.
11339 * math/e_gammal_r.c: Likewise.
11340 * math/e_hypotl.c: Likewise.
11341 * math/e_j0l.c: Likewise.
11342 * math/e_j1l.c: Likewise.
11343 * math/e_jnl.c: Likewise.
11344 * math/e_lgammal_r.c: Likewise.
11345 * math/e_log10l.c: Likewise.
11346 * math/e_log2l.c: Likewise.
11347 * math/e_logl.c: Likewise.
11348 * math/e_powl.c: Likewise.
11349 * math/e_rem_pio2l.c: Likewise.
11350 * math/e_sinhl.c: Likewise.
11351 * math/e_sqrtl.c: Likewise.
11352 * math/fclrexcpt.c: Likewise.
11353 * math/fedisblxcpt.c: Likewise.
11354 * math/feenablxcpt.c: Likewise.
11355 * math/fegetenv.c: Likewise.
11356 * math/fegetexcept.c: Likewise.
11357 * math/fegetround.c: Likewise.
11358 * math/feholdexcpt.c: Likewise.
11359 * math/fesetenv.c: Likewise.
11360 * math/fesetround.c: Likewise.
11361 * math/feupdateenv.c: Likewise.
11362 * math/fgetexcptflg.c: Likewise.
11363 * math/fraiseexcpt.c: Likewise.
11364 * math/fsetexcptflg.c: Likewise.
11365 * math/ftestexcept.c: Likewise.
11366 * math/k_cosl.c: Likewise.
11367 * math/k_rem_pio2l.c: Likewise.
11368 * math/k_sinl.c: Likewise.
11369 * math/k_tanl.c: Likewise.
11370 * math/s_asinhl.c: Likewise.
11371 * math/s_atanl.c: Likewise.
11372 * math/s_cbrtl.c: Likewise.
11373 * math/s_erfl.c: Likewise.
11374 * math/s_expm1l.c: Likewise.
11375 * math/s_log1pl.c: Likewise.
11376 * math/s_tanhl.c: Likewise.
11377 * misc/acct.c: Likewise.
11378 * misc/brk.c: Likewise.
11379 * misc/chflags.c: Likewise.
11380 * misc/chroot.c: Likewise.
11381 * misc/fchflags.c: Likewise.
11382 * misc/fgetxattr.c: Likewise.
11383 * misc/flistxattr.c: Likewise.
11384 * misc/fremovexattr.c: Likewise.
11385 * misc/fsetxattr.c: Likewise.
11386 * misc/fsync.c: Likewise.
11387 * misc/ftruncate.c: Likewise.
11388 * misc/futimes.c: Likewise.
11389 * misc/futimesat.c: Likewise.
11390 * misc/getdomain.c: Likewise.
11391 * misc/getdtsz.c: Likewise.
11392 * misc/gethostid.c: Likewise.
11393 * misc/gethostname.c: Likewise.
11394 * misc/getloadavg.c: Likewise.
11395 * misc/getpagesize.c: Likewise.
11396 * misc/getsysstats.c: Likewise.
11397 * misc/getxattr.c: Likewise.
11398 * misc/gtty.c: Likewise.
11399 * misc/ioctl.c: Likewise.
11400 * misc/lgetxattr.c: Likewise.
11401 * misc/listxattr.c: Likewise.
11402 * misc/llistxattr.c: Likewise.
11403 * misc/lremovexattr.c: Likewise.
11404 * misc/lsetxattr.c: Likewise.
11405 * misc/lutimes.c: Likewise.
11406 * misc/madvise.c: Likewise.
11407 * misc/mincore.c: Likewise.
11408 * misc/mlock.c: Likewise.
11409 * misc/mlockall.c: Likewise.
11410 * misc/mmap.c: Likewise.
11411 * misc/mprotect.c: Likewise.
11412 * misc/msync.c: Likewise.
11413 * misc/munlock.c: Likewise.
11414 * misc/munlockall.c: Likewise.
11415 * misc/munmap.c: Likewise.
11416 * misc/preadv.c: Likewise.
11417 * misc/preadv64.c: Likewise.
11418 * misc/ptrace.c: Likewise.
11419 * misc/pwritev.c: Likewise.
11420 * misc/pwritev64.c: Likewise.
11421 * misc/readv.c: Likewise.
11422 * misc/reboot.c: Likewise.
11423 * misc/remap_file_pages.c: Likewise.
11424 * misc/removexattr.c: Likewise.
11425 * misc/revoke.c: Likewise.
11426 * misc/select.c: Likewise.
11427 * misc/setdomain.c: Likewise.
11428 * misc/setegid.c: Likewise.
11429 * misc/seteuid.c: Likewise.
11430 * misc/sethostid.c: Likewise.
11431 * misc/sethostname.c: Likewise.
11432 * misc/setregid.c: Likewise.
11433 * misc/setreuid.c: Likewise.
11434 * misc/setxattr.c: Likewise.
11435 * misc/sstk.c: Likewise.
11436 * misc/stty.c: Likewise.
11437 * misc/swapoff.c: Likewise.
11438 * misc/swapon.c: Likewise.
11439 * misc/sync.c: Likewise.
11440 * misc/syncfs.c: Likewise.
11441 * misc/syscall.c: Likewise.
11442 * misc/truncate.c: Likewise.
11443 * misc/ualarm.c: Likewise.
11444 * misc/usleep.c: Likewise.
11445 * misc/ustat.c: Likewise.
11446 * misc/utimes.c: Likewise.
11447 * misc/vhangup.c: Likewise.
11448 * misc/writev.c: Likewise.
11449 * posix/_exit.c: Likewise.
11450 * posix/alarm.c: Likewise.
11451 * posix/execve.c: Likewise.
11452 * posix/fexecve.c: Likewise.
11453 * posix/fork.c: Likewise.
11454 * posix/fpathconf.c: Likewise.
11455 * posix/getaddrinfo.c: Likewise.
11456 * posix/getegid.c: Likewise.
11457 * posix/geteuid.c: Likewise.
11458 * posix/getgid.c: Likewise.
11459 * posix/getgroups.c: Likewise.
11460 * posix/getlogin.c: Likewise.
11461 * posix/getlogin_r.c: Likewise.
11462 * posix/getpgid.c: Likewise.
11463 * posix/getpid.c: Likewise.
11464 * posix/getppid.c: Likewise.
11465 * posix/getresgid.c: Likewise.
11466 * posix/getresuid.c: Likewise.
11467 * posix/getsid.c: Likewise.
11468 * posix/getuid.c: Likewise.
11469 * posix/glob64.c: Likewise.
11470 * posix/nanosleep.c: Likewise.
11471 * posix/pathconf.c: Likewise.
11472 * posix/pause.c: Likewise.
11473 * posix/posix_madvise.c: Likewise.
11474 * posix/pread.c: Likewise.
11475 * posix/pread64.c: Likewise.
11476 * posix/pwrite.c: Likewise.
11477 * posix/pwrite64.c: Likewise.
11478 * posix/sched_getaffinity.c: Likewise.
11479 * posix/sched_getp.c: Likewise.
11480 * posix/sched_gets.c: Likewise.
11481 * posix/sched_primax.c: Likewise.
11482 * posix/sched_primin.c: Likewise.
11483 * posix/sched_rr_gi.c: Likewise.
11484 * posix/sched_setaffinity.c: Likewise.
11485 * posix/sched_setp.c: Likewise.
11486 * posix/sched_sets.c: Likewise.
11487 * posix/sched_yield.c: Likewise.
11488 * posix/setgid.c: Likewise.
11489 * posix/setlogin.c: Likewise.
11490 * posix/setpgid.c: Likewise.
11491 * posix/setresgid.c: Likewise.
11492 * posix/setresuid.c: Likewise.
11493 * posix/setsid.c: Likewise.
11494 * posix/setuid.c: Likewise.
11495 * posix/sleep.c: Likewise.
11496 * posix/spawni.c: Likewise.
11497 * posix/sysconf.c: Likewise.
11498 * posix/times.c: Likewise.
11499 * posix/wait.c: Likewise.
11500 * posix/wait3.c: Likewise.
11501 * posix/wait4.c: Likewise.
11502 * posix/waitpid.c: Likewise.
11503 * resolv/gai_sigqueue.c: Likewise.
11504 * resource/getpriority.c: Likewise.
11505 * resource/getrlimit.c: Likewise.
11506 * resource/getrusage.c: Likewise.
11507 * resource/nice.c: Likewise.
11508 * resource/setpriority.c: Likewise.
11509 * resource/setrlimit.c: Likewise.
11510 * resource/ulimit.c: Likewise.
11511 * rt/aio_cancel.c: Likewise.
11512 * rt/aio_fsync.c: Likewise.
11513 * rt/aio_read.c: Likewise.
11514 * rt/aio_sigqueue.c: Likewise.
11515 * rt/aio_suspend.c: Likewise.
11516 * rt/aio_write.c: Likewise.
11517 * rt/clock_getres.c: Likewise.
11518 * rt/clock_gettime.c: Likewise.
11519 * rt/clock_nanosleep.c: Likewise.
11520 * rt/clock_settime.c: Likewise.
11521 * rt/lio_listio.c: Likewise.
11522 * rt/mq_close.c: Likewise.
11523 * rt/mq_getattr.c: Likewise.
11524 * rt/mq_notify.c: Likewise.
11525 * rt/mq_open.c: Likewise.
11526 * rt/mq_receive.c: Likewise.
11527 * rt/mq_send.c: Likewise.
11528 * rt/mq_setattr.c: Likewise.
11529 * rt/mq_timedreceive.c: Likewise.
11530 * rt/mq_timedsend.c: Likewise.
11531 * rt/mq_unlink.c: Likewise.
11532 * rt/shm_open.c: Likewise.
11533 * rt/shm_unlink.c: Likewise.
11534 * rt/timer_create.c: Likewise.
11535 * rt/timer_delete.c: Likewise.
11536 * rt/timer_getoverr.c: Likewise.
11537 * rt/timer_gettime.c: Likewise.
11538 * rt/timer_settime.c: Likewise.
11539 * setjmp/__longjmp.c: Likewise.
11540 * setjmp/setjmp.c: Likewise.
11541 * signal/kill.c: Likewise.
11542 * signal/killpg.c: Likewise.
11543 * signal/raise.c: Likewise.
11544 * signal/sigaction.c: Likewise.
11545 * signal/sigaltstack.c: Likewise.
11546 * signal/sigblock.c: Likewise.
11547 * signal/sigignore.c: Likewise.
11548 * signal/sigintr.c: Likewise.
11549 * signal/signal.c: Likewise.
11550 * signal/sigpause.c: Likewise.
11551 * signal/sigpending.c: Likewise.
11552 * signal/sigqueue.c: Likewise.
11553 * signal/sigreturn.c: Likewise.
11554 * signal/sigset.c: Likewise.
11555 * signal/sigsetmask.c: Likewise.
11556 * signal/sigstack.c: Likewise.
11557 * signal/sigsuspend.c: Likewise.
11558 * signal/sigtimedwait.c: Likewise.
11559 * signal/sigvec.c: Likewise.
11560 * signal/sigwait.c: Likewise.
11561 * signal/sigwaitinfo.c: Likewise.
11562 * signal/sysv_signal.c: Likewise.
11563 * socket/accept.c: Likewise.
11564 * socket/accept4.c: Likewise.
11565 * socket/bind.c: Likewise.
11566 * socket/connect.c: Likewise.
11567 * socket/getpeername.c: Likewise.
11568 * socket/getsockname.c: Likewise.
11569 * socket/getsockopt.c: Likewise.
11570 * socket/isfdtype.c: Likewise.
11571 * socket/listen.c: Likewise.
11572 * socket/recv.c: Likewise.
11573 * socket/recvfrom.c: Likewise.
11574 * socket/recvmsg.c: Likewise.
11575 * socket/send.c: Likewise.
11576 * socket/sendmsg.c: Likewise.
11577 * socket/sendto.c: Likewise.
11578 * socket/setsockopt.c: Likewise.
11579 * socket/shutdown.c: Likewise.
11580 * socket/sockatmark.c: Likewise.
11581 * socket/socket.c: Likewise.
11582 * socket/socketpair.c: Likewise.
11583 * stdio-common/ctermid.c: Likewise.
11584 * stdio-common/cuserid.c: Likewise.
11585 * stdio-common/remove.c: Likewise.
11586 * stdio-common/rename.c: Likewise.
11587 * stdio-common/renameat.c: Likewise.
11588 * stdio-common/tempname.c: Likewise.
11589 * stdlib/getcontext.c: Likewise.
11590 * stdlib/makecontext.c: Likewise.
11591 * stdlib/setcontext.c: Likewise.
11592 * stdlib/swapcontext.c: Likewise.
11593 * stdlib/system.c: Likewise.
11594 * streams/fattach.c: Likewise.
11595 * streams/fdetach.c: Likewise.
11596 * streams/getmsg.c: Likewise.
11597 * streams/getpmsg.c: Likewise.
11598 * streams/putmsg.c: Likewise.
11599 * streams/putpmsg.c: Likewise.
11600 * sysdeps/unix/bsd/getpt.c: Likewise.
11601 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11602 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11603 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11605 Likewise.
11606 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11607 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11608 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11609 * sysvipc/msgctl.c: Likewise.
11610 * sysvipc/msgget.c: Likewise.
11611 * sysvipc/msgrcv.c: Likewise.
11612 * sysvipc/msgsnd.c: Likewise.
11613 * sysvipc/semctl.c: Likewise.
11614 * sysvipc/semget.c: Likewise.
11615 * sysvipc/semop.c: Likewise.
11616 * sysvipc/semtimedop.c: Likewise.
11617 * sysvipc/shmat.c: Likewise.
11618 * sysvipc/shmctl.c: Likewise.
11619 * sysvipc/shmdt.c: Likewise.
11620 * sysvipc/shmget.c: Likewise.
11621 * termios/tcdrain.c: Likewise.
11622 * termios/tcflow.c: Likewise.
11623 * termios/tcflush.c: Likewise.
11624 * termios/tcgetattr.c: Likewise.
11625 * termios/tcgetpgrp.c: Likewise.
11626 * termios/tcsendbrk.c: Likewise.
11627 * termios/tcsetattr.c: Likewise.
11628 * termios/tcsetpgrp.c: Likewise.
11629 * time/adjtime.c: Likewise.
11630 * time/clock.c: Likewise.
11631 * time/getitimer.c: Likewise.
11632 * time/gettimeofday.c: Likewise.
11633 * time/setitimer.c: Likewise.
11634 * time/settimeofday.c: Likewise.
11635 * time/stime.c: Likewise.
11636 * time/time.c: Likewise.
11637
116382012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11639
a20492cf
PT
11640 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11641 /usr/old/bin.
11642
72e182e3
PT
11643 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11644 instead of spaces.
11645 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11646
fbeafede
JM
116472012-11-03 Joseph Myers <joseph@codesourcery.com>
11648
5b5b04d6
JM
11649 [BZ #14796]
11650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11651 FE_TONEAREST before applying Dekker multiplication and Knuth
11652 addition. Clear inexact exceptions and check for exact zero
11653 results afterwards.
11654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11655 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11656 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11657 * math/libm-test.inc (fma_test): Add more tests.
11658 (fma_test_towardzero): Likewise.
11659 (fma_test_downward): Likewise.
11660 (fma_test_upward): Likewise.
11661 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11662 function.
11663 (libc_fesetround): New macro.
11664 (libc_fesetroundf): Likewise.
11665 (libc_fesetroundl): Likewise.
11666 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11667 function.
11668 (libc_fesetround_387): Likewise.
11669 (libc_fesetroundf): New macro.
11670 (libc_fesetround): Likewise.
11671 (libc_fesetroundl): Likewise.
11672 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11673 function.
11674 (libc_fesetroundf): New macro.
11675 (libc_fesetround): Likewise.
11676 (libc_fesetroundl): Likewise.
11677 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11678 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11679 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11680 libm_hidden_ver.
11681 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11682 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11683 libm_hidden_def.
11684 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11685 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11686 libm_hidden_ver.
11687 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11688 libm_hidden_def.
11689
fbeafede
JM
11690 [BZ #3439]
11691 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11692 integer constant usable in #if and use that to give value to enum
11693 constant.
11694 (FE_DIVBYZERO): Likewise.
11695 (FE_UNDERFLOW): Likewise.
11696 (FE_OVERFLOW): Likewise.
11697 (FE_INVALID): Likewise.
11698 (FE_INVALID_SNAN): Likewise.
11699 (FE_INVALID_ISI): Likewise.
11700 (FE_INVALID_IDI): Likewise.
11701 (FE_INVALID_ZDZ): Likewise.
11702 (FE_INVALID_IMZ): Likewise.
11703 (FE_INVALID_COMPARE): Likewise.
11704 (FE_INVALID_SOFTWARE): Likewise.
11705 (FE_INVALID_SQRT): Likewise.
11706 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11707 (FE_TONEAREST): Likewise.
11708 (FE_TOWARDZERO): Likewise.
11709 (FE_UPWARD): Likewise.
11710 (FE_DOWNWARD): Likewise.
11711 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11712 (FE_DIVBYZERO): Likewise.
11713 (FE_OVERFLOW): Likewise.
11714 (FE_UNDERFLOW): Likewise.
11715 (FE_INEXACT): Likewise.
11716 (FE_TONEAREST): Likewise.
11717 (FE_DOWNWARD): Likewise.
11718 (FE_UPWARD): Likewise.
11719 (FE_TOWARDZERO): Likewise.
11720 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11721 (FE_UNDERFLOW): Likewise.
11722 (FE_OVERFLOW): Likewise.
11723 (FE_DIVBYZERO): Likewise.
11724 (FE_INVALID): Likewise.
11725 (FE_TONEAREST): Likewise.
11726 (FE_TOWARDZERO): Likewise.
11727 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11728 (FE_OVERFLOW): Likewise.
11729 (FE_UNDERFLOW): Likewise.
11730 (FE_DIVBYZERO): Likewise.
11731 (FE_INEXACT): Likewise.
11732 (FE_TONEAREST): Likewise.
11733 (FE_TOWARDZERO): Likewise.
11734 (FE_UPWARD): Likewise.
11735 (FE_DOWNWARD): Likewise.
11736 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11737 (FE_DIVBYZERO): Likewise.
11738 (FE_OVERFLOW): Likewise.
11739 (FE_UNDERFLOW): Likewise.
11740 (FE_INEXACT): Likewise.
11741 (FE_TONEAREST): Likewise.
11742 (FE_DOWNWARD): Likewise.
11743 (FE_UPWARD): Likewise.
11744 (FE_TOWARDZERO): Likewise.
11745
105ca950
CM
117462012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11747
11748 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11749
a542b389
AS
117502012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11751
11752 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11753 commands. Quote $PWD.
11754 (blacklist_exports): Don't use remove_newlines. Replace "declare
11755 -x" by "export".
11756 (remove_newlines): Remove.
11757
f62c8abc
L
117582012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11759
11760 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11761 * stdlib/stdlib.h (atof): Moved to ...
11762 * include/bits/stdlib-float.h: Here. New file.
11763 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11764 * stdlib/bits/stdlib-float.h: New file.
11765 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11766 -mno-sse -mno-mmx.
11767 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11768 <xmmintrin.h>.
11769
0155d5b2
JM
117702012-11-02 Joseph Myers <joseph@codesourcery.com>
11771
a68d0680
JM
11772 * conform/conformtest.pl (@headers): Add fenv.h.
11773 * conform/data/fenv.h-data: New file.
11774 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11775 include of <math/fenv.h>.
11776
caf7f573
JM
11777 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11778 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11779 && !UNIX98]. Enables tests for XOPEN2K8.
11780 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11781 POSIX2008]: Likewise.
11782
6c073ad6
JM
11783 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11784 (struct rusage): Do not expect type or its members.
11785
0155d5b2
JM
11786 [BZ #3439]
11787 * math/math.h (FP_NAN): Define macro to integer constant usable in
11788 #if and use that to give value to enum constant.
11789 (FP_INFINITE): Likewise.
11790 (FP_ZERO): Likewise.
11791 (FP_SUBNORMAL): Likewise.
11792 (FP_NORMAL): Likewise.
11793
b5dcacb4
AS
117942012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11795
11796 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11797 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11798 arguments.
11799
f7934be8
RM
118002012-11-02 Roland McGrath <roland@hack.frob.com>
11801
11802 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11803 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11804 autoconf-time if not.
11805 * configure.in: Remove AC_PREREQ.
11806
d7d08bde
TMQMF
118072012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11808
11809 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11810 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11811 of the internal implementation.
11812
dcdae19a
JM
118132012-11-02 Joseph Myers <joseph@codesourcery.com>
11814
11815 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11816 except include of <misc/sys/syslog.h>.
11817
d6cffd3e
AS
118182012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11819
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11821 function returns with a NULL context exit with zero.
11822
b3563932
TMQMF
118232012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11824
11825 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11826
b288a93d
L
118272012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11828
11829 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11830 (run_program_cmd): This.
11831 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11832 (tst_langinfo): New variable. Use it.
11833
a2421a68
SAS
118342012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11835
11836 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11837 floating point opcodes.
11838
6f796e1b
TS
118392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11840
7402596b
TS
11841 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11842 variable.
11843
d0d4f868
TS
11844 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11845
6f796e1b
TS
11846 * sysdeps/mach/hurd/powerpc: Remove directory.
11847 * sysdeps/mach/powerpc: Likewise.
11848
4da224a2
AS
118492012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11850
11851 * scripts/check-local-headers.sh: Ignore c++ headers.
11852
341dd673
TS
118532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11854
11855 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11856 __libc_cleanup_region_start argument.
11857
473611b2
JM
118582012-11-01 Joseph Myers <joseph@codesourcery.com>
11859
11860 [BZ #14784]
11861 [BZ #14785]
11862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11863 x * y using scaling, not as x * y + z.
11864 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11865 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11866 * math/libm-test.inc (fma_test): Add more tests.
11867 (fma_test_towardzero): Likewise.
11868 (fma_test_downward): Likewise.
11869 (fma_test_upward): Likewise.
11870
4078da3d
TS
118712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11872
11873 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11874
903252aa
JM
118752012-10-31 Joseph Myers <joseph@codesourcery.com>
11876
11877 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11878 New variable.
11879
cbc818d0
TS
118802012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11881
11882 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11883
5a03cb1e
AS
118842012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11885
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11887 Fix sort order.
11888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11889 Likewise.
11890
90aff2ff
TMQMF
118912012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11892
11893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11894 Fix the order of the list for glibc 2.17.
11895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11896 Likewise.
11897
1818fcb7
AS
118982012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11899
11900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11901
ef82f4da
JM
119022012-10-31 Joseph Myers <joseph@codesourcery.com>
11903
16a0e2ec
JM
11904 [BZ #14610]
11905 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11906 for low part of x being zero before using __atanl (y).
11907 * math/libm-test.inc (atan2_test): Add another test.
11908
0eb69512
JM
11909 * manual/install.texi (Configuring and compiling): Document
11910 general use of test-wrapper and test-wrapper-env.
11911 * INSTALL: Regenerated.
11912
ef82f4da
JM
11913 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11914 (__fma): Do not extract and scale down low bits on after-rounding
11915 systems when result rounded to normal precision would have normal
11916 exponent.
11917 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11918 (__fmal): Do not extract and scale down low bits on after-rounding
11919 systems when result rounded to normal precision would have normal
11920 exponent.
11921 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11922 (__fmal): Do not extract and scale down low bits on after-rounding
11923 systems when result rounded to normal precision would have normal
11924 exponent.
11925 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11926 macro.
11927 (fma_test): Add more tests.
11928 (fma_test_towardzero): Likewise.
11929 (fma_test_downward): Likewise.
11930 (fma_test_upward): Likewise.
11931
954ef0d9
L
119322012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11933
11934 * sysdeps/i386/tininess.h: Renamed to ...
11935 * sysdeps/x86/tininess.h: This.
11936 * sysdeps/x86_64/tininess.h: Removed.
11937
df61ffb2
JM
119382012-10-30 Joseph Myers <joseph@codesourcery.com>
11939
11940 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11941 input. Use $(build-program-cmd).
11942 ($(objpfx)tst-array1-static.out): Likewise.
11943 ($(objpfx)tst-array2.out): Likewise.
11944 ($(objpfx)tst-array3.out): Likewise.
11945 ($(objpfx)tst-array4.out): Likewise.
11946 ($(objpfx)tst-array5.out): Likewise.
11947 ($(objpfx)tst-array5-static.out): Likewise.
11948
01767843
CM
119492012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11950
47cc1490
CM
11951 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11952 if defined.
11953
01767843
CM
11954 * nss/nsswitch.h (nss_interface_function): Provide new
11955 macro for use with NSS functions.
11956 * grp/initgroups.c: Use new macro.
11957 * nss/getXXbyYY.c: Likewise.
11958 * nss/getXXbyYY_r.c: Likewise.
11959 * nss/getXXent.c: Likewise.
11960 * nss/getXXent_r.c: Likewise.
11961 * sysdeps/posix/getaddrinfo.c: Likewise.
11962
8321aa97
AJ
119632012-10-30 Andreas Jaeger <aj@suse.de>
11964
11965 * po/ru.po: Update Russion translation from translation project.
11966
2a27fd6d
JM
119672012-10-30 Joseph Myers <joseph@codesourcery.com>
11968
8627a232
JM
11969 [BZ #14152]
11970 [BZ #14783]
11971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11972 result and shift together with sticky bit instead of replicating
11973 round-to-nearest rounding.
11974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11975 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11976 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11977 missing underflow exceptions.
11978 (fma_test_towardzero): Add more tests.
11979 (fma_test_downward): Likewise.
11980 (fma_test_upward): Likewise.
11981
2a27fd6d
JM
11982 [BZ #14047]
11983 * sysdeps/generic/tininess.h: New file.
11984 * sysdeps/i386/tininess.h: Likewise.
11985 * sysdeps/sh/tininess.h: Likewise.
11986 * sysdeps/x86_64/tininess.h: Likewise.
11987 * stdlib/tst-strtod-underflow.c: Likewise.
11988 * stdlib/tst-tininess.c: Likewise.
11989 * stdlib/strtod_l.c: Include <tininess.h>.
11990 (round_and_return): Do not set errno for exact underflow cases.
11991 Force an underflow exception when setting errno for underflow.
11992 Determine underflow based on rounding to normal precision if
11993 TININESS_AFTER_ROUNDING.
11994 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11995 ERANGE for exact underflow cases.
11996 * stdlib/Makefile (tests): Add tst-tininess and
11997 tst-strtod-underflow.
11998 ($(objpfx)tst-tininess): Use $(link-libm).
11999 ($(objpfx)tst-strtod-underflow): Likewise.
12000
e7170363
AJ
120012012-10-30 Andreas Jaeger <aj@suse.de>
12002
e5088dc6
AJ
12003 [BZ#14767]
12004 * elf/Makefile (tests): Remove conditional for have-initfini-array
12005 since this is now always required and the variable does not exist
12006 anymore.
12007 (tests-static): Likewise.
12008 (modules-names): Likewise.
12009
e7170363 12010 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12011
12012 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12013 merged with constructor/destructor.
12014 (init_array): Likewise.
12015 * elf/tst-array2dep.c (fini_array): Likewise.
12016 (init_array): Likewise.
12017
60457d8a
MF
120182012-10-29 Mike Frysinger <vapier@gentoo.org>
12019
12020 * manual/message.texi: Delete @cartouche tags.
12021
8bece752
PT
120222012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12023
94ce799f
PT
12024 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12025 EOPNOTSUPP.
12026 * sysdeps/mach/hurd/fsync.c: Likewise.
12027
8bece752
PT
12028 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12029 [_POSIX_REALTIME_SIGNALS]: Change condition to
12030 [_POSIX_REALTIME_SIGNALS > 0].
12031
86ebe6b1
AJ
120322012-10-27 Andreas Jaeger <aj@suse.de>
12033
12034 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12035 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12037 [__WORDSIZE != 64]: Likewise.
12038
54399c08
L
120392012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12040
12041 * iconvdata/tst-table.sh: Remove ${SHELL}.
12042 * iconvdata/tst-tables.sh: Likewise.
12043
e2211bed
DM
120442012-10-25 David S. Miller <davem@davemloft.net>
12045
12046 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12047 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12048 of strtoull.
12049
f303f97c
DM
12050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12051 ifunc-impl-list.c
12052 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12053 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12054 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12055 file.
12056
1e9d84cd
RM
120572012-10-25 Roland McGrath <roland@hack.frob.com>
12058
12059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12060 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12061 __getdirentries.
12062
df381762
JM
120632012-10-25 Joseph Myers <joseph@codesourcery.com>
12064 Jim Blandy <jimb@codesourcery.com>
12065
12066 * scripts/cross-test-ssh.sh: New file.
12067 * manual/install.texi (Configuring and compiling): Document use of
12068 cross-test-ssh.sh.
12069 * INSTALL: Regenerated.
12070
bff64913
PT
120712012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12072
12073 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12074 EOPNOTSUPP.
12075
25fe8932
JM
120762012-10-25 Joseph Myers <joseph@codesourcery.com>
12077
12078 * Makeconfig (run-program-prefix): Fix comment.
12079
cc1290d0
JM
120802012-10-24 Joseph Myers <joseph@codesourcery.com>
12081 Jim Blandy <jimb@codesourcery.com>
12082
12083 * Makeconfig (test-wrapper): New variable,
12084 (test-wrapper-env): Likewise.
12085 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12086 (run-built-tests): Define to yes.
12087 (run-program-prefix): Use $(test-wrapper).
12088 (built-program-cmd): Likewise.
12089 * Rules (make-test-out): Use $(test-wrapper-env) and
12090 $(host-built-program-cmd).
12091 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12092 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12093 tst-pathopt.sh.
12094 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12095 $(test-wrapper-env) to tst-rtld-load-self.sh.
12096 ($(objpfx)order2.out): Use $(test-wrapper).
12097 ($(objpfx)tst-initorder.out): Likewise.
12098 ($(objpfx)tst-initorder2.out): Likewise.
12099 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12100 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12101 (test_wrapper_env): New variable. Use it to run ld.so.
12102 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12103 Use it to run ld.so.
12104 (test_wrapper_env): Likewise.
12105 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12106 $(test-wrapper) to run-iconv-test.sh.
12107 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12108 (ICONV): Use $test_wrapper.
12109 * posix/Makefile ($(objpfx)globtest.out): Pass
12110 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12111 globtest.sh, not $(run-program-prefix).
12112 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12113 (test_wrapper): Likewise.
12114 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12115 set together with run_via_rtld_prefix.
12116 (run_program_prefix): Define in terms of test_wrapper and
12117 run_via_rtld_prefix.
12118
6e6249d0
RM
121192012-10-24 Roland McGrath <roland@hack.frob.com>
12120
12121 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12122 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12123 Targets removed.
12124
12125 [BZ #14743]
12126 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12127 Declare __clock_getres, __clock_gettime, __clock_settime,
12128 __clock_nanosleep, and __clock_getcpuclockid.
12129 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12130 Remove librt_hidden_def (clock_gettime).
12131 * sysdeps/unix/clock_gettime.c: Likewise.
12132 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12133 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12134 * rt/clock_getres.c: Define __clock_getres as an alias.
12135 * sysdeps/posix/clock_getres.c: Likewise.
12136 * rt/clock_settime.c: Define __clock_settime as an alias.
12137 * sysdeps/unix/clock_settime.c: Likewise.
12138 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12139 * sysdeps/unix/clock_nanosleep.c: Likewise.
12140 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12141 * rt/clock-compat.c: New file.
12142 * rt/Makefile (librt-routines): Add clock-compat and move
12143 $(clock-routines) to ...
12144 (routines): ... here, new variable.
12145 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12146 Don't add get_clockfreq here.
12147 * rt/Versions (libc: GLIBC_2.17): New version set.
12148 Add clock_* symbols here.
12149 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12150 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12151 (GLIBC_2.17): Add clock_* symbols.
12152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12156 Likewise.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12158 Likewise.
12159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12163 * NEWS: Mention the move.
12164
12165 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12166 Use __open, __read, __close rather than their public counterparts.
12167 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12168 (__get_clockfreq_via_cpuinfo): Likewise.
12169 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12170 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12171
12172 * config.h.in (HAVE_IFUNC): New #undef.
12173 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12174 was successful.
12175 * configure: Regenerated.
12176
0cae3f4b
MF
121772012-10-24 Mike Frysinger <vapier@gentoo.org>
12178
12179 * configure.in: Move READELF check to start of file.
12180 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12181 libc_cv_asm_gnu_indirect_function in the process.
12182 * configure: Regenerated.
12183
8175a253
MF
121842012-10-24 Mike Frysinger <vapier@gentoo.org>
12185
12186 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12187 send the output to /dev/null.
12188 (libc_cv_cc_with_libunwind): Likewise.
12189 (libc_cv_as_noexecstack): Likewise.
12190 * configure: Regenerate.
12191
0708a7d1
JM
121922012-10-24 Joseph Myers <joseph@codesourcery.com>
12193
10b40d85
JM
12194 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12195
0708a7d1
JM
12196 * posix/globtest.sh (TMPDIR): Do not set.
12197 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12198 (testout): Likewise.
12199
9fddec1a
AJ
122002012-10-24 Andreas Jaeger <aj@suse.de>
12201
3a8db22f
AJ
12202 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12203 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12204 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12205 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12206 posix_fadvise64, posix_fallocate64.
12207
9fddec1a
AJ
12208 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12209 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12210 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12211 Likewise.
12212 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12213 Likewise.
12214 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12215
12216 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12217 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12218 <bits/fcntl-linux.h>.
12219 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12220
12221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12222 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12223 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12224 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12225 [__WORDSIZE != 64]: Likewise.
12226
ebfd1bbd
JM
122272012-10-23 Joseph Myers <joseph@codesourcery.com>
12228
03ac099f
JM
12229 * Makeconfig (run-built-tests): New variable.
12230 * Rules [$(cross-compiling) = yes]: Change condition to
12231 [$(run-built-tests) = no].
12232 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12233 to [$(run-built-tests) = yes].
12234 * elf/Makefile [$(cross-compiling) = no]: Likewise
12235 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12236 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12237 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12238 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12239 * io/Makefile [$(cross-compiling) = no]: Likewise.
12240 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12241 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12242 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12243 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12244 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12245 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12246 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12247 * string/Makefile [$(cross-compiling) = no]: Likewise.
12248
ebfd1bbd
JM
12249 * posix/Makefile ($(objpfx)globtest.out): Pass
12250 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12251 $(rtld-installed-name).
12252 * posix/globtest.sh (elf_objpfx): Remove variable.
12253 (rtld_installed_name): Likewise.
12254 (library_path): Likewise.
12255 (run_program_prefix): New variable. Use for running globtest
12256 binary.
12257
166bca24
JB
122582012-10-23 Jim Blandy <jimb@codesourcery.com>
12259 Joseph Myers <joseph@codesourcery.com>
12260
12261 * Makeconfig (host-built-program-cmd): New variable.
12262 * elf/Makefile (tst-stackguard1-ARGS): Use
12263 $(host-built-program-cmd).
12264 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12265 (tst-spawn-ARGS): Likewise.
12266 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12267
88866099
JM
122682012-10-23 Joseph Myers <joseph@codesourcery.com>
12269 Jim Blandy <jimb@codesourcery.com>
12270
12271 * Makeconfig (run-via-rtld-prefix): New variable.
12272 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12273 (built-program-cmd): Likewise.
12274
b4b4c296
AJ
122752012-10-22 Andreas Jaeger <aj@suse.de>
12276
12277 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12278 __O_RSYNC if it exists, otherwise to O_SYNC.
12279
6fb54a22
JB
122802012-10-22 Jim Blandy <jimb@codesourcery.com>
12281 Joseph Myers <joseph@codesourcery.com>
12282
12283 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12284 /dev/null.
12285 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12286 from /dev/null
12287 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12288 /dev/null.
12289
481b90b9
AJ
122902012-10-22 Andreas Jaeger <aj@suse.de>
12291
2a0e2669
AJ
12292 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12293 Define always.
12294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12295
76e38f9a
AJ
12296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12297 bits/fcntl-linux.h.
12298
7cd37b43
AJ
12299 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12300 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12301
481b90b9
AJ
12302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12303 to __O_LARGEFILE.
12304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12305 to __O_LARGEFILE.
12306
aba75984
JB
123072012-10-21 Jim Blandy <jimb@codesourcery.com>
12308 Joseph Myers <joseph@codesourcery.com>
12309
12310 * config.make.in (NM): New variable.
12311
88d4247f
AJ
123122012-10-21 Andreas Jaeger <aj@suse.de>
12313
12314 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12315 definitions and declarations that are provided by
12316 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12317
f2eed205
L
123182012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12319
12320 [BZ #14683]
12321 * elf/Makefile (tests-static): Add tst-leaks1-static.
12322 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12323 ($(objpfx)tst-leaks1-static): New rule.
12324 ($(objpfx)tst-leaks1-static-mem): Likewise.
12325 (tst-leaks1-static-ENV): New macro.
12326 * elf/dl-open.c (dl_open_worker): Check the main application
12327 only if SHARED is defined.
12328 * elf/tst-leaks1-static.c: New file.
12329
335e6931
AJ
123302012-10-20 Andreas Jaeger <aj@suse.de>
12331
12332 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12333 generic values for Linux.
12334 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12335 and declarations that are provided by <bits/fcntl-linux.h> and
12336 include <bits/fcntl-linux.h>.
12337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12339
ac5c94d3
RM
123402012-10-20 Roland McGrath <roland@hack.frob.com>
12341
12342 * io/fcntl.h: Move include of <bits/types.h> to the top and
12343 include it unconditionally.
12344
de54b33a
L
123452012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12346
228cfb01
L
12347 * wcsmbs/Makefile (tests-ifunc): New variable.
12348 (tests): Add $(tests-ifunc).
12349 * wcsmbs/test-wcschr-ifunc.c: New file.
12350 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12351 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12352 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12353 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12354 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12355
69f07e5f
L
12356 * string/Makefile (tests-ifunc): New variable.
12357 (tests): Add $(tests-ifunc).
12358 * string/test-memccpy.c (TEST_NAME): New macro.
12359 * string/test-memchr.c (TEST_NAME): Likewise.
12360 * string/test-memcmp.c (TEST_NAME): Likewise.
12361 * string/test-memcpy.c (TEST_NAME): Likewise.
12362 * string/test-memmem.c (TEST_NAME): Likewise.
12363 * string/test-memmove.c (TEST_NAME): Likewise.
12364 * string/test-memset.c (TEST_NAME): Likewise.
12365 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12366 * string/test-stpcpy.c (TEST_NAME): Likewise.
12367 * string/test-stpncpy.c (TEST_NAME): Likewise.
12368 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12369 * string/test-strcasestr.c (TEST_NAME): Likewise.
12370 * string/test-strcat.c (TEST_NAME): Likewise.
12371 * string/test-strchr.c (TEST_NAME): Likewise.
12372 * string/test-strcmp.c(TEST_NAME): Likewise.
12373 * string/test-strcpy.c (TEST_NAME): Likewise.
12374 * string/test-strcspn.c (TEST_NAME): Likewise.
12375 * string/test-strlen.c (TEST_NAME): Likewise.
12376 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12377 * string/test-strncmp.c (TEST_NAME): Likewise.
12378 * string/test-strncpy.c (TEST_NAME): Likewise.
12379 * string/test-strnlen.c (TEST_NAME): Likewise.
12380 * string/test-strpbrk.c (TEST_NAME): Likewise.
12381 * string/test-strrchr.c (TEST_NAME): Likewise.
12382 * string/test-strspn.c (TEST_NAME): Likewise.
12383 * string/test-strstr.c (TEST_NAME): Likewise.
12384 * string/test-bcopy-ifunc.c: New file.
12385 * string/test-bzero-ifunc.c: Likewise.
12386 * string/test-memccpy-ifunc.c: Likewise.
12387 * string/test-memchr-ifunc.c: Likewise.
12388 * string/test-memcmp-ifunc.c: Likewise.
12389 * string/test-memcpy-ifunc.c: Likewise.
12390 * string/test-memmem-ifunc.c: Likewise.
12391 * string/test-memmove-ifunc.c: Likewise.
12392 * string/test-mempcpy-ifunc.c: Likewise.
12393 * string/test-memset-ifunc.c: Likewise.
12394 * string/test-rawmemchr-ifunc.c: Likewise.
12395 * string/test-stpcpy-ifunc.c: Likewise.
12396 * string/test-stpncpy-ifunc.c: Likewise.
12397 * string/test-strcasecmp-ifunc.c: Likewise.
12398 * string/test-strcasestr-ifunc.c: Likewise.
12399 * string/test-strcat-ifunc.c: Likewise.
12400 * string/test-strchr-ifunc.c: Likewise.
12401 * string/test-strchrnul-ifunc.c: Likewise.
12402 * string/test-strcmp-ifunc.c: Likewise.
12403 * string/test-strcpy-ifunc.c: Likewise.
12404 * string/test-strcspn-ifunc.c: Likewise.
12405 * string/test-strlen-ifunc.c: Likewise.
12406 * string/test-strncasecmp-ifunc.c: Likewise.
12407 * string/test-strncat-ifunc.c: Likewise.
12408 * string/test-strncmp-ifunc.c: Likewise.
12409 * string/test-strncpy-ifunc.c: Likewise.
12410 * string/test-strnlen-ifunc.c: Likewise.
12411 * string/test-strpbrk-ifunc.c: Likewise.
12412 * string/test-strrchr-ifunc.c: Likewise.
12413 * string/test-strspn-ifunc.c: Likewise.
12414 * string/test-strstr-ifunc.c: Likewise.
12415
de54b33a
L
12416 * debug/Makefile (tests-ifunc): New variable.
12417 (tests): Add $(tests-ifunc).
12418 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12419 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12420 * debug/test-stpcpy_chk-ifunc.c: New file.
12421 * debug/test-strcpy_chk-ifunc.c: Likewise.
12422
88481c16
SP
124232012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12424
12425 [BZ #13601]
12426 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12427 header is not read in.
12428
135948bd
JM
124292012-10-19 Joseph Myers <joseph@codesourcery.com>
12430
89f1c388
JM
12431 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12432 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12433 directly. Pass built executable to script as
12434 $(built-program-cmd).
12435 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12436 $testprogram without using LD_LIBRARY_PATH and $ldso.
12437
e40a0d21
JM
12438 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12439 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12440 $(rtld-installed-name).
12441 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12442 (rtld_installed_name): Likewise.
12443 (library_path): Likewise.
12444 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12445 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12446 $(run-program-prefix) to tst-tables.sh.
12447 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12448 it to run tst-table-from and tst-table-to.
12449 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12450 Pass it to tst-table.sh.
12451 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12452 $(run-program-prefix) to tst-gettext.sh.
12453 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12454 tst-translit.sh.
12455 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12456 tst-gettext2.sh.
12457 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12458 to run tst-gettext.
12459 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12460 to run tst-gettext2.
12461 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12462 to run tst-translit.
12463 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12464 $(run-program-prefix) to tst-mtrace.sh.
12465 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12466 to run tst-mtrace.
12467 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12468 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12469 $(rtld-installed-name).
12470 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12471 (rtld_installed_name): Likewise.
12472 (run_program_prefix): New variable. Use it to run wordexp-test.
12473
728e272a
JM
12474 * Makeconfig (ARCH): Remove all definitions.
12475 (machine): Likewise.
12476 [ARCH]: Remove conditional code.
12477 [!objdir]: Give error.
12478 [!objdir] (objpfx): Remove.
12479 [!objdir] (common-objpfx): Likewise.
12480 [!objdir] (common-objdir): Likewise.
12481 * configure.in (config_makefile): Remove. Hardcode Makefile in
12482 AC_CONFIG_FILES call.
12483 * configure: Regenerated.
12484
d528cdcf
JM
12485 [BZ #13888]
12486 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12487 or TMPDIR.
12488 (testout): Likewise.
12489
135948bd
JM
12490 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12491 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12492 $(rtld-installed-name).
12493 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12494 (rtld_installed_name): Likwise.
12495 (runit): Remove function.
12496 (run_getconf): New variable, Use it for running getconf binary.
12497
38c78296
L
124982012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12499
12500 [BZ #14716]
12501 * string/test-memmem.c (check_result): New function.
12502 (do_one_test): Use it.
12503 (check1): New function.
12504 (test_main): Use it.
12505
d077f65f
MT
125062012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12507
12508 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12509
ced52c71
JM
125102012-10-18 Joseph Myers <joseph@codesourcery.com>
12511
12512 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12513 (_G_LSEEK64): Likewise.
12514 (_G_MMAP64): Likewise.
12515 (_G_FSTAT64): Likewise.
12516 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12517 (_G_LSEEK64): Likewise.
12518 (_G_MMAP64): Likewise.
12519 (_G_FSTAT64): Likewise.
12520 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12521 unconditional. Call __mmap64 directly.
12522 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12523 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12524 __lseek64 directly.
12525 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12526 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12527 __mmap64 directly.
12528 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12529 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12530 __lseek64 directly.
12531 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12532 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12533 __lseek64 directly.
12534 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12535 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12536 __lseek64 directly.
12537 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12538 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12539 __fxstat64 directly.
12540 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12541 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12542 unconditional.
12543 (freopen64) [!_G_OPEN64]: Remove conditional code.
12544 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12545 unconditional.
12546 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12547 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12548 unconditional.
12549 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12550 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12551 unconditional.
12552 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12553 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12554 unconditional.
12555 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12556 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12557 unconditional.
12558 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12559 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12560 unconditional.
12561 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12562 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12563 unconditional.
12564 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12565
b741de23
SP
125662012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12567
12568 [BZ #12140]
12569 * manual/memory.texi (Malloc Tunable Parameters): Add note
12570 about free list pointers overwriting some perturb bytes.
12571 Wording suggested by Roland McGrath.
12572
f9b9d9c9
JM
125732012-10-17 Joseph Myers <joseph@codesourcery.com>
12574
12575 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12576 (lgamma_test): Likewise.
12577 (tgamma_test): Likewise.
12578
172a631a
FW
125792012-10-16 Florian Weimer <fweimer@redhat.com>
12580
12581 [BZ #14700]
12582 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12583 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12584
e9f37252
MK
125852012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12586
12587 * NEWS: Mention BZ #14716.
12588 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12589 when removing AVAILABLE1_USES_J macro.
12590
d394eb74
L
125912012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12592
12593 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12594 (__bswap_64): __uint64_t for unsigned 64-bit int.
12595
ca38dc17
AS
125962012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12597
12598 * include/string.h (memmem): Declare libc hidden alias.
12599 * string/memmem.c (memmem): Define libc hidden alias.
12600 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12601 __read, __close instead of open, read, close.
12602
9a387d1f
L
126032012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12604
ac49ecaf
L
12605 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12606 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12607 global and hidden.
12608 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12609 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12610 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12611 Likewise.
12612 (__rawmemchr_sse2): Likewise.
12613 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12614 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12615 (__strchr_sse2): Likewise.
12616 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12617 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12618 (__strcasecmp_sse2): Likewise.
12619 (__strncasecmp_sse2): Likewise.
12620 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12621 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12622 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12623 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12624 (__strrchr_sse2): Likewise.
12625 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12626 ifunc-impl-list.c.
12627 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12628 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12629 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12630 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12631 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12632 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12633 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12634 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12635 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12636 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12637 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12638 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12639 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12640 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12641 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12642 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12643 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12644 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12645 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12646 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12647 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12648 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12649 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12650 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12651 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12652 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12653 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12654 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12655 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12656 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12657
b090e8ea
L
12658 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12659 global and hidden.
12660 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12661 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12662 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12663 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12664 Likewise.
12665 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12666 Likewise.
12667 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12668 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12669 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12670 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12671 ifunc-impl-list.c.
12672 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12673 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12674 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12675 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12676 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12677 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12678 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12679 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12680 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12681 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12682 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12683 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12684 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12685 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12686 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12687 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12688 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12689 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12690 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12691 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12692 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12693 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12694 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12695 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12696 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12697 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12698 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12699 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12700 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12701 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12702 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12703 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12704 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12705 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12706 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12707 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12708 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12709 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12710 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12711 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12712 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12713
11dd4af6
L
12714 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12715 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12716 * include/ifunc-impl-list.h: New file.
12717 * misc/ifunc-impl-list.c: Likewise.
12718 * misc/Makefile (routines): Add ifunc-impl-list.
12719 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12720 * string/test-string.h: Include <ifunc-impl-list.h>.
12721 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12722 impl_array): New variables.
12723 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12724 are defined.
12725 (test_init): Call __libc_ifunc_impl_list to initialize
12726 func_list if TEST_IFUNC and TEST_NAME are defined.
12727
9a387d1f
L
12728 * string/Makefile (strop-tests): Add bcopy and bzero.
12729 * string/test-bcopy.c: New file.
12730 * string/test-bzero.c: Likewise.
12731 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12732 defined.
12733 * string/test-memset.c: Support bzero test if TEST_BZERO is
12734 defined.
12735 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12736 __libc_memmove.
12737 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12738 __libc_memset.
12739 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12740 of memset.
12741
472371b9
JM
127422012-10-10 Joseph Myers <joseph@codesourcery.com>
12743
1e4a9536
JM
12744 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12745 * configure: Regenerated.
12746
d173d12e
JM
12747 * Makeconfig (+link-static-before-libc): Don't include
12748 $(link-static-libc).
12749
472371b9
JM
12750 * libio/libio.h (_IO_pos_t): Remove.
12751
89a3ad0b
AO
127522012-10-10 Alexandre Oliva <aoliva@redhat.com>
12753
12754 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12755 McGrath.
12756
e7451425
AO
127572012-10-10 Alexandre Oliva <aoliva@redhat.com>
12758
12759 * crypt/crypt-entry.c: Include fips-private.h.
12760 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12761 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12762 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12763 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12764
4ba74a35
AO
127652012-10-10 Alexandre Oliva <aoliva@redhat.com>
12766
12767 * crypt/crypt-private.h: Include stdbool.h.
12768 (_ufc_setup_salt_r): Return bool.
12769 * crypt/crypt-entry.c: Include errno.h.
12770 (__crypt_r): Return NULL with EINVAL for bad salt.
12771 * crypt/crypt_util.c (bad_for_salt): New.
12772 (_ufc_setup_salt_r): Check that salt is long enough and within
12773 the specified alphabet.
12774 * crypt/badsalttest.c: New file.
12775 * crypt/Makefile (tests): Add it.
12776 ($(objpfx)badsalttest): New.
12777
f96f1242
MK
127782012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12779
12780 * NEWS: Add entry for BZ #14602.
12781
0e8e0c1c
JM
127822012-10-09 Joseph Myers <joseph@codesourcery.com>
12783
12784 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12785 type-generic.
12786 * math/libm-test.inc: Update comment listing what functions and
12787 macros are tested.
12788 (isgreater_test): New function.
12789 (isgreaterequal_test): Likewise.
12790 (isless_test): Likewise.
12791 (islessequal_test): Likewise.
12792 (islessgreater_test): Likewise.
12793 (isunordered_test): Likewise.
12794 (main): Call the new functions.
12795
273edc5e
RM
127962012-10-09 Roland McGrath <roland@hack.frob.com>
12797
b8493de0
RM
12798 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12799 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12800 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12801 * sysdeps/i386/configure: Regenerated.
12802 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12803 * sysdeps/mach/configure: Regenerated.
12804 * sysdeps/mach/hurd/configure: Regenerated.
12805 * sysdeps/powerpc/configure: Regenerated.
12806 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12807 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12808 * sysdeps/s390/s390-32/configure: Regenerated.
12809 * sysdeps/s390/s390-64/configure: Regenerated.
12810 * sysdeps/sh/configure: Regenerated.
12811 * sysdeps/sparc/configure: Regenerated.
12812 * sysdeps/unix/sysv/linux/configure: Regenerated.
12813 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12814 * sysdeps/x86_64/configure: Regenerated.
12815
273edc5e
RM
12816 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12817 defined. Don't check if MAP is NULL.
12818
c8450f70
JM
128192012-10-09 Joseph Myers <joseph@codesourcery.com>
12820
12821 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12822 (_G_stat64): Likewise.
12823 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12824 (_G_stat64): Likewise.
12825 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12826 instead of struct _G_stat64.
12827 * libio/fileops.c (mmap_remap_check): Likewise.
12828 (decide_maybe_mmap): Likewise.
12829 (_IO_new_file_seekoff): Likewise.
12830 (_IO_file_stat): Likewise.
12831 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12832 _G_off64_t.
12833 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12834 instead of struct _G_stat64.
12835 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12836
57e605ba
MK
128372012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12838
12839 [BZ #14602]
12840 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12841 Replace with ...
12842 (CHECK_EOL): New macro.
12843 (two_way_short_needle): Check beginning of haystack for EOL. Use
12844 CHECK_EOL.
12845 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12846 Replace with CHECK_EOL.
12847 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12848 Replace with CHECK_EOL.
12849
ef1bb361
JM
128502012-10-08 Joseph Myers <joseph@codesourcery.com>
12851
12852 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12853 type-generic.
12854 * math/libm-test.inc: Update comment listing what functions and
12855 macros are tested.
12856 (finite_test): New function.
12857 (isinf_test): Likewise.
12858 (isnan_test): Likewise.
12859 (fpclassify_test): Test subnormal input.
12860 (isfinite_test): Likewise.
12861 (isnormal_test): Likewise.
12862 (main): Call the new functions.
12863
55f11534
JN
128642012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12865
12866 [BZ #14660]
12867 * Makerules (%.dynsym): Force C locale when running
12868 $(OBJDUMP) --dynamic-syms.
12869
1ab29350
AS
128702012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12871
12872 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12873 <stdint.h>.
12874
f1ecb7ef
DM
128752012-10-06 David S. Miller <davem@davemloft.net>
12876
12877 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12878 upper 32-bits of the length value in %o2 since we use branch-on-register
12879 tests which consider the entire 64-bit register.
12880
5d41d91a
L
128812012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12882
12883 * string/test-strstr.c (check2): Add a test for page boundary.
12884
3baddb72
DM
128852012-10-05 David S. Miller <davem@davemloft.net>
12886
12887 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12888 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12889 file.
12890 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12891 sysdep_routines.
12892 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12893 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12894 and bzero when HWCAP_SPARC_CRYPTO is present.
12895
9cee5585
L
128962012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12897
d7e0dab9
L
12898 [BZ #14602]
12899 * string/test-strstr.c (check2): New function.
12900 (test_main): Call check2.
12901
03759f47
L
12902 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12903 and bug-strchr1.
12904 * string/bug-strcasestr1.c (do_test): Moved to ...
12905 * string/test-strcasestr.c (check1): Here. New function.
12906 (do_one_test): Break out result checking code into ...
12907 (check_result): This. New function.
12908 (do_one_test): Call check_result.
12909 (test_main): Call check1.
12910 * string/bug-strchr1.c (do_test): Moved to ...
12911 * string/test-strchr.c (check1): Here. New function.
12912 (do_one_test): Break out result checking code into ...
12913 (check_result): This. New function.
12914 (do_one_test): Call check_result.
12915 (test_main): Call check1.
12916 * string/bug-strstr1.c (main): Moved to ...
046f153e 12917 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12918 (do_one_test): Break out result checking code into ...
12919 (check_result): This. New function.
12920 (do_one_test): Call check_result.
12921 (test_main): Call check1.
12922 * string/bug-strcasestr1.c: Removed.
12923 * string/bug-strchr1.c: Likewise.
12924 * string/bug-strstr1.c: Likewise.
12925
53cea63e
L
12926 * elf/Makefile (dl-routines): Add hwcaps.
12927 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12928 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12929 (_dl_important_hwcaps): Moved to ...
12930 * elf/dl-hwcaps.c: Here. New file.
12931 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12932
9cee5585 12933 [BZ #14557]
bb859b06
L
12934 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12935 if IS_IN_rtld isn't defined.
12936
9cee5585
L
12937 * elf/dl-support.c (_dl_sysinfo_map): New.
12938 Include "get-dynamic-info.h" and "setup-vdso.h".
12939 (_dl_non_dynamic_init): Call setup_vdso.
12940 * elf/dynamic-link.h: Don't include <assert.h>.
12941 (elf_get_dynamic_info): Moved to ...
12942 * elf/get-dynamic-info.h: Here. New file.
12943 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12944 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12945 * elf/setup-vdso.h: Here. New file.
12946 * elf/rtld.c: Include "setup-vdso.h".
12947 (dl_main): Call setup_vdso.
12948
23c31b76
JM
129492012-10-05 Joseph Myers <joseph@codesourcery.com>
12950
28234b07
JM
12951 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12952 creal in comment listing functions tested. List finite, isinf,
12953 isnan, isless, islessequal, isgreater, isgreaterequal,
12954 islessgreater, isunordered, lgamma_r and pow10 as functions and
12955 macros not tested. Mention which functions not tested are aliases
12956 for other functions. Fix typo. Note that signs of NaNs are not
12957 tested.
12958
23c31b76
JM
12959 * scripts/config.guess: Update from config.git.
12960 * scripts/config.sub: Likewise.
12961
9043e228
RM
129622012-10-04 Roland McGrath <roland@hack.frob.com>
12963
12964 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12965 * misc/madvise.c (madvise): Renamed to __madvise.
12966 Make madvise a weak alias.
12967 * include/sys/mman.h: Declare __madvise.
12968 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12969 * sysdeps/unix/syscalls.list
12970 (madvise): Make __madvise the strong name, and madvise a weak alias.
12971 * sysdeps/unix/sysv/linux/syscalls.list
12972 (madvise, mmap): Remove redundant entries.
12973 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12974 * malloc/malloc.c (mtrim): Likewise.
12975 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12976
f57f8055
RM
129772012-10-03 Roland McGrath <roland@hack.frob.com>
12978
12979 * sysdeps/mach/hurd/dl-cache.c: File removed.
12980 * config.h.in (USE_LDCONFIG): New #undef.
12981 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12982 * configure: Regenerated.
12983 * elf/Makefile (dl-routines): Add dl-cache only under
12984 [$(use-ldconfig) = yes].
12985 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12986 cache on [USE_LDCONFIG].
12987 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12988 [USE_LDCONFIG].
12989 * elf/rtld.c (dl_main): Likewise.
12990
5bb0c10a
PT
129912012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12992
12993 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12994 _SC_LEVEL4_CACHE_LINESIZE.
12995
010188c6
RM
129962012-10-03 Roland McGrath <roland@hack.frob.com>
12997
12998 * sysdeps/unix/bsd/confstr.h: File removed.
12999
b6c5ec07
AO
130002012-10-02 Alexandre Oliva <aoliva@redhat.com>
13001
13002 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13003 sys/sdt-config.h.
13004
408223d4
RM
130052012-10-02 Roland McGrath <roland@hack.frob.com>
13006
13007 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13008 Make 'mapoff' field ElfW(Off) rather than off_t.
13009
bb9510dc
DL
130102012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13011
fc997c6e
DL
13012 * nscd/Makefile: Remove nscd-cflags and all its users.
13013 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13014 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13015
bb9510dc
DL
13016 [BZ #10631]
13017 * malloc.c (malloc_printerr): Clarify error message.
13018
05699367
L
130192012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13020
13021 [BZ #14648]
13022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13023 Set bit_FMA_Usable if FMA is supported.
13024 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13025 macro.
13026 (bit_FMA4_Usable): Updated.
13027 (index_FMA_Usable): New macro.
13028 (CPUID_FMA): Likewise
13029 (HAS_FMA): Defined with bit_FMA_Usable.
13030
51367701
RM
130312012-10-01 Roland McGrath <roland@hack.frob.com>
13032
13033 * bits/types.h (__swblk_t): Type removed.
13034 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13035 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13036 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13037 (__SWBLK_T_TYPE): Likewise.
13038 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13039 (__SWBLK_T_TYPE): Likewise.
13040 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13041 (__SWBLK_T_TYPE): Likewise.
13042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13043 (__SWBLK_T_TYPE): Likewise.
13044
4d57bf63 130452012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13046 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13047
13048 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13049 (xdr_mapname): Use YPMAXMAP as maxsize.
13050 (xdr_peername): Use YPMAXPEER as maxsize.
13051 (xdr_keydat): Use YPAXRECORD as maxsize.
13052 (xdr_valdat): Use YPMAXRECORD as maxsize.
13053
93c65d43
RM
130542012-10-01 Roland McGrath <roland@hack.frob.com>
13055
497a03d6
RM
13056 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13057
93c65d43
RM
13058 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13059 * csu/init-first.c: ... here.
13060 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13061 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13062 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13063 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13064 * sysdeps/i386/init-first.c: File removed.
13065 * sysdeps/sh/init-first.c: File removed.
13066
bec749fd
JM
130672012-10-01 Joseph Myers <joseph@codesourcery.com>
13068
13069 [BZ #14645]
13070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13071 if x * y might underflow to zero and z is zero.
13072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13073 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13074 * math/libm-test.inc (min_subnorm_value): New variable.
13075 (fma_test): Add more tests.
13076 (fma_test_towardzero): Likewise.
13077 (fma_test_downward): Likewise
13078 (fma_test_upward): Likewise.
13079 (initialize): Set min_subnorm_value.
13080
8ec5b013
JM
130812012-09-29 Joseph Myers <joseph@codesourcery.com>
13082
13083 [BZ #14638]
13084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13085 0 + 0.
13086 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13087 mode for addition resulting in exact zero.
13088 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13089 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13090 exact 0 + 0.
13091 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13092 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13093 * math/libm-test.inc (fma_test): Add more tests.
13094 (fma_test_towardzero): New function.
13095 (fma_test_downward): Likewise.
13096 (fma_test_upward): Likewise.
13097 (main): Call the new functions.
13098
b1fa802e
DM
130992012-09-28 David S. Miller <davem@davemloft.net>
13100
13101 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13102
d3b9fd9e
RM
131032012-09-28 Roland McGrath <roland@hack.frob.com>
13104
ea4d37b3
RM
13105 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13106 instead of SIGALRM.
13107
ac51c949
RM
13108 * sysdeps/gnu/_G_config.h: Moved to ...
13109 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13110 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13111 * sysdeps/generic/_G_config.h: ... here.
13112
28c195f7
RM
13113 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13114
848917f9
RM
13115 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13116
6bacf05b
RM
13117 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13118 Conditionalize target on [libnss_test1.so-version].
13119
91363dbb
RM
13120 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13121
cc87f7d8
RM
13122 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13123 (elfobjdir): Move out of conditionals.
13124
b1c608fe
RM
13125 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13126 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13127 (__nss_lookup_function): Conditionalize label remove_from_tree on
13128 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13129
1d9a6d96
DM
131302012-09-28 David S. Miller <davem@davemloft.net>
13131
13132 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13133 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13134 file.
13135 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13136 sysdep_routines.
13137 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13139 when HWCAP_SPARC_CRYPTO is present.
13140
72581615
PT
131412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13142
13143 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13144
715a900c
JL
131452012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13146
13147 [BZ #6530]
13148 * stdio-common/vfprintf.c (process_string_arg): Revert
13149 2000-07-22 change.
13150
131512011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13152
13153 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13154 for testcase.
13155 * stdio-common/tst-sprintf.c: Include <locale.h>
13156 (main): Test sprintf's handling of incomplete multibyte
13157 characters.
13158
9bac1d86
L
131592012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13160
13161 * elf/dl-runtime.c (VERSYMIDX): Removed.
13162 * elf/dl-version.c (VERSYMIDX): Likewise.
13163 * elf/do-rel.h (VERSYMIDX): Likewise.
13164 (VALIDX): Likewise.
13165 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13166 * elf/rtld.c (VALIDX): Likewise.
13167 (ADDRIDX): Likewise.
9bac1d86
L
13168 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13169 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13170 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13171 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13172 (VALIDX): Likewise.
13173 (ADDRIDX): Likewise.
9bac1d86 13174
b31606c0
PT
131752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13176
13177 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13178
11541177
JL
131792012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13180
13181 [BZ #11438]
13182 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13183 to global scope.
13184 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13185 addresses are in the same scope as 192.0.2/24.
13186 * posix/gai.conf: Document new scope table defaults.
13187
adb26fae
SP
131882012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13189
13190 [BZ #5298]
13191 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13192 for ftell. Compute offsets from write pointers instead.
13193 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13194
4573c6b0
SP
131952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13196
13197 [BZ #14543]
13198 * libio/Makefile (tests): New test case tst-fseek.
13199 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13200 combination works in wide mode.
13201 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13202 state when the external buffer state changes.
13203
aa9bbfe6
DM
132042012-09-27 David S. Miller <davem@davemloft.net>
13205
13206 [BZ #14376]
13207 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13208 pass reloc->r_addend in as the 'high' argument to
13209 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13210
784421e7
DM
13211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13212
c39bc8b8
PT
132132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13214
13215 * rt/tst-aio2.c: Include <pthread.h>.
13216 * rt/tst-aio3.c: Likewise.
13217
1ccc2399
SE
132182012-09-27 Steve Ellcey <sellcey@mips.com>
13219
13220 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13221
31ed4153
L
132222012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13223
25f5f885
L
13224 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13225 contents on [SHARED].
31ed4153 13226
b7bfe116
MP
132272012-09-26 Marek Polacek <polacek@redhat.com>
13228
13229 [BZ #14530]
13230 [BZ #13741]
13231 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13232 for C++ and GCC <4.3 as well as for non GCC compilers.
13233
43c4edba
MT
132342012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13235
13236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13237
6a1bf82f
RM
132382012-09-25 Roland McGrath <roland@hack.frob.com>
13239
13240 * Makefile.in (all, install): Declare with .PHONY.
13241 Reported by Michael Hope <michael.hope@linaro.org>.
13242
8ad11b9a
TMQMF
132432012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13244
13245 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13246 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13247 system header.
13248 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13249 Likewise.
13250 (sydep_routines): Add the new and the internal functions.
13251 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13252 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13254 (GLIBC_2.17): Add the new function.
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13256 (GLIBC_2.17): Likewise.
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13258 (GLIBC_2.17): Likewise.
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13260 (GLIBC_2.17): Likewise.
13261 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13262
7e2fca8d
AM
132632012-09-25 Alan Modra <amodra@gmail.com>
13264
13265 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13266 Add release barrier before setting once_control to say
13267 initialisation is done. Add hints on lwarx. Use macro in
13268 place of isync.
13269 (clear_once_control): Add release barrier.
13270
b87c4b24
JM
132712012-09-25 Joseph Myers <joseph@codesourcery.com>
13272
d032e0d2
JM
13273 [BZ #13629]
13274 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13275 specially.
13276 * math/s_clog10.c (__clog10): Likewise.
13277 * math/s_clog10f.c (__clog10f): Likewise.
13278 * math/s_clog10l.c (__clog10l): Likewise.
13279 * math/s_clogf.c (__clogf): Likewise.
13280 * math/s_clogl.c (__clogl): Likewise.
13281 * math/Makefile (libm-calls): Add x2y2m1.
13282 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13283 (__x2y2m1): Likewise.
13284 (__x2y2m1l): Likewise.
13285 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13286 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13289 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13290 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13291 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13292 * sysdeps/i386/fpu/libm-test-ulps: Update.
13293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13294
b87c4b24
JM
13295 [BZ #14621]
13296 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13297 int as type of variable DEPTH.
13298 (glob): Use size_t instead of int as type of variables NEWCOUNT
13299 and OLD_PATHC.
13300
6d3bf199
LD
133012012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13302
22bf5c17
LD
13303 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13304 Add s_sincosf-sse2.
13305 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13306 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13307 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13308 macros for using routine as __sincosf_ia32.
13309 Use macro for function declaration and weak_alias.
13310 * sysdeps/i386/fpu/libm-test-ulps: Update.
13311
13312 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13314
13315 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13316 subnormal argument.
13317 * math/s_cexpf.c (__cexpf): Likewise.
13318 * math/s_csinf.c (__csinf): Likewise.
13319 * math/s_csinhf.c (__csinhf): Likewise.
13320 * math/s_ctanf.c (__ctanf): Likewise.
13321 * math/s_ctanhf.c (__ctanhf): Likewise.
13322 * math/s_ccosh.c (__ccoshf): Likewise.
13323 * math/s_cexp.c (__cexpl): Likewise.
13324 * math/s_csin.c (__csin): Likewise.
13325 * math/s_csinh.c (__csinh): Likewise.
13326 * math/s_ctan.c (__ctan): Likewise.
13327 * math/s_ctanh.c (ctanh): Likewise.
13328 * math/s_ccoshl.c (__ccoshl): Likewise.
13329 * math/s_cexpl.c (__cexpl): Likewise.
13330 * math/s_csinl.c (__csinl): Likewise.
13331 * math/s_csinhl.c (__csinhl): Likewise.
13332 * math/s_ctanl.c (__ctanl): Likewise.
13333 * math/s_ctanhl.c (__ctanhl): Likewise.
13334
203e5603
JM
133352012-09-25 Joseph Myers <joseph@codesourcery.com>
13336
13337 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13338 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13339 (_IO_off_t): Define to __off_t, not _G_off_t.
13340 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13341 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13342 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13343 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13344 type of __dummy and __dummy2 fields.
13345 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13346 (_G_ssize_t): Likewise.
13347 (_G_off_t): Likewise.
13348 (_G_pid_t): Likewise.
13349 (_G_uid_t): Likewise.
13350 (_G_wchar_t): Likewise.
13351 (_G_wint_t): Likewise.
13352 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13353 (_G_ssize_t): Likewise.
13354 (_G_off_t): Likewise.
13355 (_G_pid_t): Likewise.
13356 (_G_uid_t): Likewise.
13357 (_G_wchar_t): Likewise.
13358 (_G_wint_t): Likewise.
13359 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13360 (_G_ssize_t): Likewise.
13361 (_G_off_t): Likewise.
13362 (_G_pid_t): Likewise.
13363 (_G_uid_t): Likewise.
13364 (_G_wchar_t): Likewise.
13365 (_G_wint_t): Likewise.
13366
9fab36eb
SP
133672012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13368
13369 * malloc/arena.c: Include malloc-sysdep.h.
13370 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13371 is sufficient to shrink the heap or an unmap is needed.
13372 * sysdeps/generic/malloc-sysdep.h: New file. Define
13373 new function check_may_shrink_heap.
13374 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13375 new function check_may_shrink_heap.
13376
2b4f00d1
SP
133772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13378
13379 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13380 comments.
13381
9a9028b1
DL
133822012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13383
57c69bef
DL
13384 * catgets/test-gencat.sh: Add "set -e".
13385 * elf/tst-pathopt.sh: Likewise.
13386 * grp/tst_fgetgrent.sh: Likewise.
13387 * iconvdata/run-iconv-test.sh: Likewise.
13388 * intl/tst-gettext.sh: Likewise.
13389 * intl/tst-gettext2.sh: Likewise.
13390 * intl/tst-gettext4.sh: Likewise.
13391 * intl/tst-gettext6.sh: Likewise.
13392 * intl/tst-translit.sh: Likewise.
13393 * io/ftwtest-sh: Likewise.
13394 * libio/test-freopen.sh: Likewise.
13395 * malloc/tst-mtrace.sh: Likewise.
13396 * posix/globtest.sh: Likewise.
13397 * posix/tst-getconf.sh: Likewise.
13398 * posix/wordexp-tst.sh: Likewise.
13399 * stdio-common/tst-printf.sh: Likewise.
13400 * stdio-common/tst-unbputc.sh: Likewise.
13401 * stdlib/tst-fmtmsg.sh: Likewise.
13402 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13403 * catgets/Makefile: Do not specify -e option when running
13404 testsuite shell scripts.
13405 * elf/Makefile: Likewise.
13406 * grp/Makefile: Likewise.
13407 * iconvdata/Makefile: Likewise.
13408 * intl/Makefile: Likewise.
13409 * io/Makefile: Likewise.
13410 * libio/Makefile: Likewise.
13411 * malloc/Makefile: Likewise.
13412 * posix/Makefile: Likewise.
13413 * stdio-common/Makefile: Likewise.
13414 * stdlib/Makefile: Likewise.
13415 * sysdeps/x86_64/Makefile: Likewise.
13416
9a9028b1
DL
13417 * io/ftwtest-sh: Add copyright header.
13418 * posix/globtest.sh: Likewise.
13419 * posix/tst-getconf.sh: Likewise.
13420 * posix/wordexp-tst.sh: Likewise.
13421 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13422
ced6f16e
L
134232012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13424
94b32c39
L
13425 [BZ #13679]
13426 * Makeconfig (+link): Defined as $(+link-static) if
13427 $(build-shared) isn't yes.
13428 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13429 isn't yes.
13430 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13431
189e935b
L
13432 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13433
ced6f16e
L
13434 [BZ #14562]
13435 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13436 new chunk size with MALLOC_ALIGN_MASK.
13437
a9f8e53a
JM
134382012-09-24 Joseph Myers <joseph@codesourcery.com>
13439
13440 [BZ #5044]
13441 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13442 <rounding-mode.h>.
13443 (__printf_fphex): Determine rounding using get_rounding_mode and
13444 round_away.
13445 * stdio-common/tst-printf-round.c (struct hex_test): New
13446 structure.
13447 (hex_tests): New variable.
13448 (test_hex_in_one_mode): New function.
13449 (do_test): Also run tests for hex float output.
13450
43153109
JM
134512012-09-21 Joseph Myers <joseph@codesourcery.com>
13452
13453 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13454 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13455 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13456 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13457 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13458 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13459 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13460 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13461
8a26625d
JM
134622012-09-20 Joseph Myers <joseph@codesourcery.com>
13463
13464 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13465 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13466 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13467 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13468
f3fd569c
DL
134692012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13470
13471 [BZ #14579]
13472 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13473 mode only.
13474 * elf/tst-rtld-load-self.sh: New test.
13475 * elf/Makefile: Run it.
13476
63bbedd4
JM
134772012-09-18 Joseph Myers <joseph@codesourcery.com>
13478
13479 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13480 (tst-writev-ENV): Remove.
13481 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13482
626f8b6a
CM
134832012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13484
13485 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13486
b7aaa4d6
JM
134872012-09-17 Joseph Myers <joseph@codesourcery.com>
13488
13489 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13490 unconditional.
13491 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13492 Likewise.
13493 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13494 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13495 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13496 Likewise.
13497
65513990
L
134982012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13499
13500 [BZ #14587]
13501 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13502 * config.make.in (have-cpp-asm-debuginfo): Removed.
13503 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13504 * configure: Regenerated.
13505
784761be
JM
135062012-09-14 Joseph Myers <joseph@codesourcery.com>
13507
13508 [BZ #5044]
13509 * stdio-common/printf_fp.c: Include <stdbool.h> and
13510 <rounding-mode.h>.
13511 (___printf_fp): Determine rounding using get_rounding_mode and
13512 round_away.
13513 * stdio-common/tst-printf-round.c: New file.
13514 * stdio-common/Makefile (tests): Add tst-printf-round.
13515 (link-libm): New variable.
13516 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13517
9503345f
L
135182012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13519
13520 [BZ #14576]
13521 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13522 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13523 Likewise.
13524 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13525 Likewise.
13526
ad35fc00
JM
135272012-09-13 Joseph Myers <joseph@codesourcery.com>
13528
13529 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13530 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13531 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13532 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13533
6c9b0f68
JM
135342012-09-12 Joseph Myers <joseph@codesourcery.com>
13535
13536 [BZ #14518]
13537 * include/rounding-mode.h: New file.
13538 * sysdeps/generic/get-rounding-mode.h: Likewise.
13539 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13540 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13541 (MAX_VALUE): New macro.
13542 (MIN_VALUE): Likewise.
13543 (overflow_value): New function.
13544 (underflow_value): Likewise.
13545 (round_and_return): Use overflow_value and underflow_value to
13546 determine return values in overflow and underflow cases. Use
13547 round_away to determine rounding depending on rounding mode.
13548 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13549 determine return values in overflow and underflow cases.
13550 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13551 (struct test_results): New structure.
13552 (struct test): Use struct test_results to store expected results
13553 for all rounding modes.
13554 (TEST): Include expected results for all rounding modes.
13555 (test_in_one_mode): New function.
13556 (do_test): Use test_in_one_mode to compute and check results.
13557 Check results for all rounding modes.
13558 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13559 $(link-libm).
13560
19fcedd5
AM
135612012-12-09 Allan McRae <allan@archlinux.org>
13562
1e9d84cd 13563 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13564
8bbfd2f1
JM
135652012-09-11 Joseph Myers <joseph@codesourcery.com>
13566
13567 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13568 (_G_int32_t): Likewise.
13569 (_G_uint16_t): Likewise.
13570 (_G_uint32_t): Likewise.
13571 (_G_HAVE_BOOL): Likewise.
13572 (_G_HAVE_ATEXIT): Likewise.
13573 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13574 (_G_HAVE_IO_FILE_OPEN): Likewise.
13575 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13576 (_G_int32_t): Likewise.
13577 (_G_uint16_t): Likewise.
13578 (_G_uint32_t): Likewise.
13579 (_G_HAVE_BOOL): Likewise.
13580 (_G_HAVE_ATEXIT): Likewise.
13581 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13582 (_G_HAVE_IO_FILE_OPEN): Likewise.
13583 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13584 (_G_int32_t): Likewise.
13585 (_G_uint16_t): Likewise.
13586 (_G_uint32_t): Likewise.
13587 (_G_HAVE_BOOL): Likewise.
13588 (_G_HAVE_ATEXIT): Likewise.
13589 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13590 (_G_HAVE_IO_FILE_OPEN): Likewise.
13591
b1dc5912
L
135922012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13593
13594 * csu/libc-tls.c: Update copyright years.
13595
0e886ef9
JM
135962012-09-10 Joseph Myers <joseph@codesourcery.com>
13597
28361c5e
JM
13598 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13599 [!_G_USING_THUNKS]: Remove conditional code.
13600 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13601 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13602
0e886ef9
JM
13603 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13604 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13605 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13606 (_G_VTABLE_LABEL_PREFIX): Likewise.
13607 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13608 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13609 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13610 (_G_VTABLE_LABEL_PREFIX): Likewise.
13611 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13612 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13613 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13614 (_G_VTABLE_LABEL_PREFIX): Likewise.
13615 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13616
bcba7aa2
L
136172012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13618
13619 * libio/Makefile: Include ../Makeconfig before tests.
13620 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13621 only if $(build-shared) is yes.
13622
06585ee8
L
13623 * iconv/gconv_db.c: Update copyright years.
13624
80ccd52c
LD
136252012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13626
13627 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13628 unwind info if defined PIC. Fix special cases description.
13629 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13630
13631 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13632 DP_HI_MASK entry.
13633 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13634
691bc9c1
L
136352012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13636
3d9b46b3
L
13637 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13638
de2139a9
L
13639 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13640 is NULL.
13641
5ca78dd0
L
13642 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13643 (LDLIBS-tst-chk4): This.
13644 (LDFLAGS-tst-chk5): Renamed to ...
13645 (LDLIBS-tst-chk5): This.
13646 (LDFLAGS-tst-chk6): Renamed to ...
13647 (LDLIBS-tst-chk6): This.
13648 (LDFLAGS-tst-lfschk4): Renamed to ...
13649 (LDLIBS-tst-lfschk4): This.
13650 (LDFLAGS-tst-lfschk5): Renamed to ...
13651 (LDLIBS-tst-lfschk5): This.
13652 (LDFLAGS-tst-lfschk6): Renamed to ...
13653 (LDLIBS-tst-lfschk6): This.
13654
691bc9c1
L
13655 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13656 on $(common-objpfx)soversions.mk.
13657
65cafb1c
JM
136582012-09-07 Joseph Myers <joseph@codesourcery.com>
13659
13660 [BZ #10014]
13661 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13662 example host name.
13663
c78ab094
SP
136642012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13665
13666 * malloc/arena.c (arena_get_retry): New function that gets
13667 another arena for the caller to try its request on.
13668 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13669 current arena cannot fulfill the request.
13670 (__libc_memalign): Likewise.
13671 (__libc_memalign): Likewise.
13672 (__libc_pvalloc): Likewise.
13673 (__libc_calloc): Likewise.
13674
01f49f59
JT
136752012-09-05 John Tobey <john.tobey@gmail.com>
13676
13677 [BZ #13542]
13678 * manual/arith.texi (Operations on Complex): Fix description
13679 of carg branch cut.
13680
4c23fed5
JM
136812012-09-06 Joseph Myers <joseph@codesourcery.com>
13682
1d3c8572
JM
13683 [BZ #10014]
13684 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13685 host name.
13686
4c23fed5
JM
13687 [BZ #10038]
13688 * manual/memory.texi (Memory): Make order of menu items match
13689 order of sections.
13690
04570aaa
L
136912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13692
13693 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13694 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13695 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13696
b80af2f4
L
136972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13698
13699 * csu/libc-tls.c (static_dtv): Renamed to ...
13700 (_dl_static_dtv): This. Make it global.
13701 (_dl_initial_dtv): Removed.
13702 (__libc_setup_tls): Updated.
13703 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13704 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13705 DL_INITIAL_DTV.
13706
2abe9f15
PM
137072012-09-06 Petr Machata <pmachata@redhat.com>
13708
13709 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13710 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13711 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13712 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13713
0948c3af
L
137142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13715
13716 [BZ #14545]
13717 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13718 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13719 freeing dtv[-1].
13720
a5055ad1
L
137212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13722
13723 [BZ #14544]
13724 * Makeconfig (link-static-before-libc): Replace $(+prector)
13725 with $(+prectorT).
13726 (link-static-after-libc): Replace $(+postctor) with
13727 $(+postctorT).
13728 (link-bounded): Replace $(+prector)/$(+postctor) with
13729 $(+prectorT)/$(+postctorT).
13730 (+prectorT): New macro.
13731 (+postctorT): Likewise.
13732
ed8c2ecd
JM
137332012-09-06 Joseph Myers <joseph@codesourcery.com>
13734
13735 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13736 (round_str): Handle values above the maximum for IBM long double
13737 as inexact.
13738 * stdlib/tst-strtod-round.c (tests): Regenerated.
13739
14c996c8
AK
137402012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13741
13742 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13743 assembler flag.
13744 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13745 zarch_nohighgprs around the zarch optimized routines.
13746 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13747 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13748 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13749 for zarch.
13750
430d6ce6
DM
137512012-09-05 David S. Miller <davem@davemloft.net>
13752
13753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13754
ff04dda4
DM
13755 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13756 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13757 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13758 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13759 entries.
13760
24d4e01b
AO
137612012-09-05 Alexandre Oliva <aoliva@redhat.com>
13762
13763 * malloc/arena.c: Fold copyright years.
13764 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13765
61d58174
AO
137662012-09-05 Alexandre Oliva <aoliva@redhat.com>
13767
13768 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13769
20196a5e
AO
137702012-09-05 Alexandre Oliva <aoliva@redhat.com>
13771
13772 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13773
5c447383
AO
137742012-09-05 Alexandre Oliva <aoliva@redhat.com>
13775
13776 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13777 change internal state upon failure.
13778
fad64255
AO
137792012-09-05 Alexandre Oliva <aoliva@redhat.com>
13780
13781 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13782 * malloc/memusage.c (mmap): Likewise.
13783 (mmap64, mremap): Likewise. Adjust name in comment.
13784
1ffb8c90
SP
137852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13786
13787 * libio/fileops.c: Fix typos in comments.
13788 * libio/oldfileops.c: Likewise.
13789 * libio/wfileops.c: Likewise.
13790
6ef9cc37
SP
137912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13792
13793 [BZ #1349]
13794 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13795 (tst-malloc-usable-ENV): Set environment for test case.
13796 * malloc/hooks.c (malloc_check_get_size): New function to get
13797 requested size.
13798 * malloc/malloc.c (musable): Use malloc_check_get_size.
13799 * malloc/tst-malloc-usable.c: New test case.
13800
4d038ae3
AS
138012012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13802
13803 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13804
c4e85184
AM
138052012-09-05 Allan McRae <allan@archlinux.org>
13806
b9dafc56 13807 [BZ #13966]
c4e85184
AM
13808 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13809 determine header location.
13810 * configure: Regenerated.
13811
e1343020
AS
138122012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13813
13814 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13815 float format.
13816 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13817 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13818 format.
e1343020
AS
13819 (test): Regenerate.
13820
0a9f1987
DM
138212012-09-04 David S. Miller <davem@davemloft.net>
13822
13823 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13824 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13825 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13826
29237804
FW
138272012-09-04 Florian Weimer <fweimer@redhat.com>
13828
13829 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13830 failures.
13831
edb3cb88
FW
13832 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13833
60160d83
JM
138342012-09-04 Joseph Myers <joseph@codesourcery.com>
13835
13836 [BZ #9914]
13837 * libio/iogetdelim.c: Include <limits.h>.
13838 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13839 + len + 1 would overflow.
13840
bcd6c8dc
AJ
138412012-09-03 Andreas Jaeger <aj@suse.de>
13842
13843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13844 * sysdeps/i386/fpu/libm-test-ulps: Update.
13845
4ffffbd2
LD
138462012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13847
13848 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13849 Add s_sinf-sse2, s_conf-sse2.
13850
13851 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13852 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13853 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13854 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13855
13856 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13857 for using routine as __sinf_ia32.
13858 Use macro for function declaration and weak_alias.
13859 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13860 for using routine as __cosf_ia32.
13861 Use macro for function declaration and weak_alias.
13862
13863 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13864 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13865
13866 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13867 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13869
13870 * math/libm-test.inc (cos_test): Add more test cases.
13871 (sin_test): Likewise.
13872 (sincos_test): Likewise.
13873
511fa286
AK
138742012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13875
13876 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13877 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13878 hidden.
13879 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13880
5f30cfec
L
138812012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13882
13883 [BZ #14538]
13884 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13885 first element of the GOT.
13886 (elf_machine_load_address): Return the difference between
13887 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13888
0786794f
AM
138892012-09-01 Allan McRae <allan@archlinux.org>
13890
5f30cfec
L
13891 [BZ #13412]
13892 * configure.in (AWK): Require gawk version 3.0 or later.
13893 * configure: Regenerated.
0786794f 13894
26889eac
JM
138952012-09-01 Joseph Myers <joseph@codesourcery.com>
13896
13897 * sysdeps/unix/sysv/linux/kernel-features.h
13898 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13899 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13900 [__NR_clock_getres]: Make code unconditional.
13901 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13902 (clock_getcpuclockid): Remove code left unreachable by removal of
13903 conditionals.
13904 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13905 code unconditional.
13906 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13907 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13908 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13909 Make code unconditional.
13910 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13911 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13912 * sysdeps/unix/sysv/linux/clock_settime.c
13913 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13914 conditional code.
13915 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13916 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13917
d22e28b0
L
139182012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13919
13920 [BZ #14476]
13921 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13922 scripts/test-installation.pl.
13923
13924 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13925 and $ld_so_version if it is set.
13926
050af9c4
SP
139272012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13928
13929 [BZ #14516]
13930 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13931 failure if reading from procfs failed.
13932 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13933
ad845c0b
JM
139342012-08-27 Joseph Myers <joseph@codesourcery.com>
13935
13936 * sysdeps/unix/sysv/linux/kernel-features.h
13937 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13938 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13939 Remove conditional code.
13940 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13941 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13942 Remove conditional code.
13943 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13944 * sysdeps/unix/sysv/linux/i386/fxstat.c
13945 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13946 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13947 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13948 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13949 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13950 * sysdeps/unix/sysv/linux/i386/lxstat.c
13951 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13952 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13953 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13954 Remove conditional code.
13955 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13956 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13957 Remove conditional code.
13958 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13959 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13960 <kernel-features.h>.
13961 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13962 Remove.
13963 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13964 Remove conditional code.
13965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13966 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13967 Remove conditional.
13968
5dbf56af
MF
139692012-08-27 Mike Frysinger <vapier@gentoo.org>
13970
13971 [BZ #5400]
13972 * NEWS: Add fixed bug number.
13973
d6e70f43
JM
139742012-08-27 Joseph Myers <joseph@codesourcery.com>
13975
7efb4737
JM
13976 [BZ #14519]
13977 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13978 underflowing exponent in case of negative sign.
13979 * stdlib/tst-strtod-round-data: Add more tests.
13980 * stdlib/tst-strtod-round.c (tests): Regenerated.
13981
af92131a
JM
13982 [BZ #3479]
13983 * stdlib/strtod_l.c (NDIG): Remove.
13984 (HEXNDIG): Likewise.
13985 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13986 smallest representable value.
13987 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13988 lie within an exact representation of 1/2 ulp of the result.
13989 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13990 unconditionally.
13991 (TENS_P9_IDX): Define unconditionally.
13992 (TENS_P9_SIZE): Likewise.
13993 (TENS_P10_IDX): Likewise.
13994 (TENS_P10_SIZE): Likewise.
13995 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13996 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13997 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13998 entries for 10^2^13 and 10^2^14.
13999 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14000 (TENS_P13_IDX): Define.
14001 (TENS_P13_SIZE): Likewise.
14002 (TENS_P14_IDX): Likewise.
14003 (TENS_P14_SIZE): Likewise.
14004 (_fpioconst_pow10): Change array size to
14005 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14006 unconditional.
14007 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14008 1024]: Add entries for 10^2^13 and 10^2^14.
14009 [LAST_POW10 > _LAST_POW10]: Remove #error.
14010 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14011 (_fpioconst_pow10): Change array size to
14012 FPIOCONST_POW10_ARRAY_SIZE.
14013 * stdlib/gen-fpioconst.c: New file.
14014 * stdlib/gen-tst-strtod-round.c: Likewise.
14015 * stdlib/tst-strtod-round-data: Likewise.
14016 * stdlib/tst-strtod-round.c: Likewise.
14017 * stdlib/Makefile (tests): Add tst-strtod-round.
14018
d6e70f43
JM
14019 [BZ #14459]
14020 * stdlib/strtod_l.c: Include <stdint.h>.
14021 (NDEBUG): Do not define.
14022 (round_and_return): Change EXPONENT parameter to type intmax_t.
14023 Rearrange calculations to avoid internal overflow possibilities.
14024 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14025 Rearrange calculations to avoid internal overflow possibilities.
14026 Assert that number fits inside MPNSIZE limbs.
14027 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14028 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14029 calculations and add assertions to avoid internal overflow
14030 possibilities. Add casts to avoid signed/unsigned operations.
14031 * stdlib/tst-strtod-overflow.c: New file.
14032 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14033
1f529f7d
MP
140342012-08-25 Marek Polacek <polacek@redhat.com>
14035
14036 * time/time.h: Fix some typos in comments.
14037
59a629f1
RM
140382012-08-23 Roland McGrath <roland@hack.frob.com>
14039
14040 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14041 * posix/tst-rfc3484-2.c: Likewise.
14042 * posix/tst-rfc3484-3.c: Likewise.
14043
d3bafbc9
SM
140442012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14045
14046 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14047 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14048
4efcc022
JM
140492012-08-23 Joseph Myers <joseph@codesourcery.com>
14050
14051 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14052 #include of fxstatat64.c.
14053
3cc3ef96
RM
140542012-08-22 Roland McGrath <roland@hack.frob.com>
14055
f04e2132
RM
14056 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14057 * shadow/getspent_r.c: Likewise.
14058 * shadow/getspnam.c: Likewise.
14059 * shadow/getspnam_r.c: Likewise.
14060 * gshadow/getsgent.c: Likewise.
14061 * gshadow/getsgent_r.c: Likewise.
14062 * gshadow/getsgnam.c: Likewise.
14063 * gshadow/getsgnam_r.c: Likewise.
14064 * inet/getnetbyad.c: Likewise.
14065 * inet/getnetbyad_r.c: Likewise.
14066 * inet/getnetbynm.c: Likewise.
14067 * inet/getnetbynm_r.c: Likewise.
14068 * inet/getnetent.c: Likewise.
14069 * inet/getnetent_r.c: Likewise.
14070 * inet/getproto.c: Likewise.
14071 * inet/getproto_r.c: Likewise.
14072 * inet/getprtent.c: Likewise.
14073 * inet/getprtent_r.c: Likewise.
14074 * inet/getprtname.c: Likewise.
14075 * inet/getprtname_r.c: Likewise.
14076 * inet/getrpcbyname.c: Likewise.
14077 * inet/getrpcbyname_r.c: Likewise.
14078 * inet/getrpcbynumber.c: Likewise.
14079 * inet/getrpcbynumber_r.c: Likewise.
14080 * inet/getrpcent.c: Likewise.
14081 * inet/getrpcent_r.c: Likewise.
14082 * inet/getaliasent.c: Likewise.
14083 * inet/getaliasent_r.c: Likewise.
14084 * inet/getaliasname.c: Likewise.
14085 * inet/getaliasname_r.c: Likewise.
14086 * nscd/getgrgid_r.c: Likewise.
14087 * nscd/getgrnam_r.c: Likewise.
14088 * nscd/gethstbyad_r.c: Likewise.
14089 * nscd/gethstbynm3_r.c: Likewise.
14090 * nscd/getpwnam_r.c: Likewise.
14091 * nscd/getpwuid_r.c: Likewise.
14092 * nscd/getsrvbynm_r.c: Likewise.
14093 * nscd/getsrvbypt_r.c: Likewise.
14094 * nscd/gai.c: Likewise.
14095
c53d909c
RM
14096 * configure.in (build_nscd): New substituted variable, set
14097 by --disable-build-nscd and defaults to $use_nscd.
14098 * configure: Regenerated.
14099 * config.make.in (build-nscd): New substituted variable.
14100 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14101 Change conditional to require [$(build-nscd) = yes] as well.
14102 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14103
3cc3ef96
RM
14104 [BZ# 13696]
14105 * configure.in (use_nscd): New substituted variable, set by
14106 --disable-nscd. If enabled, define USE_NSCD.
14107 * configure: Regenerated.
14108 * config.h.in: Add USE_NSCD.
14109 * config.make.in (use-nscd): New substituted variable.
14110 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14111 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14112 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14113 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14114 (CFLAGS-getgrnam_r.c): Likewise.
14115 (CFLAGS-initgroups.c): Likewise.
14116 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14117 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14118 Variables removed.
14119 * inet/getnetgrent_r.c
14120 (nscd_setnetgrent): New function, broken out of ...
14121 (setnetgrent): ... here. Call it.
14122 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14123 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14124 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14125 * nscd/Makefile (routines, aux): Move definitions after include of
14126 Makeconfig. Conditionalize on [$(use-nscd) != no].
14127 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14128 Conditionalize on [USE_NSCD].
14129 (is_nscd, nscd_init_cb): Likewise.
14130 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14131 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14132 * nss/nss_db/db-init.c: Likewise.
14133 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14134 [USE_NSCD].
14135 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14136 (make_request): Use it.
14137 (cache_valid_p): New function.
14138 (__check_pf): Use it.
14139 * NEWS: Add item for --disable-nscd.
14140
07e51550
DL
141412012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14142
14143 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14144 to support sed >= 4.2.1-20-ga9bf076.
14145 * configure: Regenerated.
14146
35a5b08b
RM
141472012-08-22 Roland McGrath <roland@hack.frob.com>
14148
14149 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14150 Conditionalize whole body on [IREL].
14151
8479f23a
JL
141522012-08-22 Jeff Law <law@redhat.com>
14153
14154 [BZ #14505]
14155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14156 if the family is PF_UNSPEC.
14157
48da0b21
MF
141582012-08-22 Mike Frysinger <vapier@gentoo.org>
14159
14160 * Makerules (lib-version): Rename from V.
14161 (install-lib-nosubdir): Change V to lib-version.
14162
15d0da8c
WS
141632012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14164
14165 [BZ #14252]
14166 * powerpc32/power6/wcschr.c: New file.
14167 * powerpc32/power6/wcscpy.c: New file.
14168 * powerpc32/power6/wcsrchr.c: New file.
14169 * powerpc64/power6/wcschr.c: New file.
14170 * powerpc64/power6/wcscpy.c: New file.
14171 * powerpc64/power6/wcsrchr.c: New file.
14172
bcca0895
MK
141732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14174
14175 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14176 (two_way_short_needle): Use it.
5a4aaa33
RM
14177 * string/strstr.c (AVAILABLE1_USES_J): Define.
14178 * string/strcasestr.c: Likewise.
99677e57
MK
14179
14180 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14181 array references.
14182 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14183
400726de
MK
14184 [BZ #11607]
14185 * NEWS: Add an entry.
14186 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14187 define their defaults.
14188 (two_way_short_needle): Detect end-of-string on-the-fly.
14189 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14190 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14191 * string/bug-strcasestr1.c: New test.
14192 * string/Makefile: Run it.
14193
20a71f2c
MK
141942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14195
14196 [BZ #11607]
14197 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14198 the first character.
14199
21ad0558
RM
142002012-08-21 Roland McGrath <roland@hack.frob.com>
14201
14202 * csu/elf-init.c (__libc_csu_irel): Function removed.
14203 * csu/libc-start.c (apply_irel): New function.
14204 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14205
0e1d9911
JM
142062012-08-21 Joseph Myers <joseph@codesourcery.com>
14207
14208 * sysdeps/unix/sysv/linux/kernel-features.h
14209 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14210 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14211 <kernel-features.h>.
14212 [__NR_fadvise64_64]: Make code unconditional.
14213 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14214 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14215 !__NR_fadvise64_64)]: Likewise.
14216 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14217 !__NR_fadvise64_64))]: Likewise.
14218 [__NR_fadvise64]: Make code unconditional.
14219 [!__NR_fadvise64]: Remove conditional code.
14220 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14221 <kernel-features.h>.
14222 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14223 unconditional.
14224 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14225 conditional code.
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14227 not include <kernel-features.h>.
14228 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14229 unconditional.
14230 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14231 conditional code.
14232 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14233 include <kernel-features.h>.
14234 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14235 unconditional.
14236 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14237 conditional code.
14238
14a50c9d
WS
142392012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14240
14241 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14242 slight instruction rearrangements per scrollpipe analysis.
14243 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14244
c0f4faf0
RM
142452012-08-20 Roland McGrath <roland@hack.frob.com>
14246
696da859
RM
14247 * manual/syslog.texi (syslog; vsyslog, closelog):
14248 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14249 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14250
c0f4faf0
RM
14251 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14252 DSOCAPS to match condition on defining it.
14253
348363b2
JM
142542012-08-20 Joseph Myers <joseph@codesourcery.com>
14255
a35cbf28
JM
14256 * sysdeps/unix/sysv/linux/kernel-features.h
14257 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14259 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14260 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14262 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14263 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14265 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14266 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14267
445f7ecd
JM
14268 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14269 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14270
348363b2
JM
14271 * sysdeps/unix/sysv/linux/kernel-features.h
14272 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14273 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14274 unconditional.
14275 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14276 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14277 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14278 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14279 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14280 Make code unconditional.
14281 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14282 (__mmap64) [!__NR_mmap2]: Likewise.
14283 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14284 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14285 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14286 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14287 [__NR_mmap2]: Make code unconditional.
14288 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14289 (__mmap64) [!__NR_mmap2]: Likewise.
14290
bc5bc0e5
AK
142912012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14292
14293 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14294
88d506de
AJ
142952012-08-18 Andreas Jaeger <aj@suse.de>
14296
14297 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14298
493387d2
MF
142992012-08-18 Mike Frysinger <vapier@gentoo.org>
14300
14301 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14302 * include/unistd.h (__have_sock_cloexec): Likewise.
14303 (__have_pipe2): Likewise.
14304 (__have_dup3): Likewise.
14305
a277af22
MF
143062012-08-18 Mike Frysinger <vapier@gentoo.org>
14307
14308 [BZ #9685]
14309 * include/unistd.h (__have_pipe2): Change define into an extern int.
14310 (__have_dup3): Likewise.
14311 * socket/have_sock_cloexec.c: Include fcntl.h.
14312 (__have_pipe2): New variable.
14313 (__have_dup3): Likewise.
14314
fdab8fd3
MF
143152012-08-17 Mike Frysinger <vapier@gentoo.org>
14316
14317 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14318
31035e80
MP
143192012-08-17 Marek Polacek <polacek@redhat.com>
14320
14321 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14322 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14323
3bd9e993
RM
143242012-08-17 Roland McGrath <roland@hack.frob.com>
14325
c91c505f
RM
14326 * configure.in: Add AC_SUBST for sysheaders.
14327 * configure: Regenerated.
14328 * config.make.in (sysheaders): New substituted variable.
14329
7c6f9d53
RM
14330 * sysdeps/unix/mkfifo.c: Moved ...
14331 * sysdeps/posix/mkfifo.c: ... here.
14332 * sysdeps/unix/mkfifoat.c: Moved ...
14333 * sysdeps/posix/mkfifoat.c: ... here.
14334
14335 * sysdeps/unix/utime.c: Moved ...
14336 * sysdeps/posix/utime.c: ... here.
14337
14338 * sysdeps/unix/time.c: Moved ...
14339 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14340 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14341 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14342
14343 * sysdeps/unix/nice.c: Moved ...
14344 * sysdeps/posix/nice.c: ... here.
14345
14346 * sysdeps/unix/alarm.c: Moved ...
14347 * sysdeps/posix/alarm.c: ... here.
14348
3bd9e993
RM
14349 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14350
d1f09384
JL
143512012-08-17 Jeff Law <law@redhat.com>
14352
14353 * intl/Makefile (codeset_mo): New variable.
14354 ($(codeset_mo)): New target.
14355 (tst-codeset.out): Depend on that. Remove explicit rule.
14356 (tst-gettext3.out, tst-gettext5.out): Likewise.
14357 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14358 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14359 * intl/tst-codeset.sh: Remove.
14360 * intl/tst-gettext3.sh: Likewise.
14361 * intl/tst-gettext5.sh: Likewise.
14362
2ae1ae5c
RM
143632012-08-17 Roland McGrath <roland@hack.frob.com>
14364
c31fdb83
RM
14365 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14366 * sysdeps/unix/syscalls.list: ... here.
14367
a0844057
RM
14368 * sysdeps/posix/getaddrinfo.c
14369 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14370 (gaiconf_init, gaiconf_reload): Use them.
14371 [!_STATBUF_ST_NSEC]
14372 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14373 Define using time_t rather than struct timespec.
14374
750c1f2a
RM
14375 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14376 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14377 Macros removed.
14378 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14379 [!NO_THREADS].
14380 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14381 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14382 Likewise.
14383
2ae1ae5c
RM
14384 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14385 __libc_cleanup_push argument.
14386
e66a42f5
RM
14387 * bits/param.h: New file.
14388 * misc/sys/param.h: New file.
14389 * include/sys/param.h: New file.
14390 * misc/Makefile (headers): Add bits/param.h.
14391 * sysdeps/generic/sys/param.h: File removed.
14392 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14393 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14394 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14395 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14396
b7c08a66
RM
14397 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14398 last change.
14399
b2e1c562
RM
14400 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14401 [_IO_MTSAFE_IO].
14402 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14403 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14404 New macros.
14405
c75ccd4c
RM
14406 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14407 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14408 rather than -D_IO_MTSAFE_IO conditionally.
14409 * stdio-common/Makefile (CPPFLAGS): Likewise.
14410 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14411 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14412 Use $(libio-mtsafe).
14413 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14414 of -D_IO_MTSAFE_IO.
14415 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14416 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14417 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14418 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14419 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14420 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14421 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14422 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14423 (CFLAGS-fread_u_chk.c): Likewise.
14424 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14425 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14426 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14427 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14428 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14429 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14430 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14431 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14432 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14433
14434 * libio/Makefile: Test [$(libc-reentrant) = yes]
14435 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14436
14437 * Makeconfig
14438 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14439 * sysdeps/pthread/configure: File removed.
14440 * sysdeps/pthread/Makeconfig: New file.
14441 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14442 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14443
d9195db8
GB
144442012-08-16 Gary Benson <gbenson@redhat.com>
14445
14446 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14447 unmapping the first object in a namespace.
14448
86466cd9
RM
144492012-08-16 Roland McGrath <roland@hack.frob.com>
14450
14451 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14452 (__internal_setnetgrent): ... this. Add internal_function to
14453 definition. Add libc_hidden_def.
14454 (setnetgrent): Update caller.
14455 (internal_endnetgrent): Renamed to ...
14456 (__internal_endnetgrent): ... this. Add internal_function to
14457 definition. Add libc_hidden_def.
14458 (endnetgrent): Update caller.
14459 (internal_getnetgrent_r): Renamed to ...
14460 (__internal_getnetgrent_r): ... this. Add internal_function to
14461 definition. Add libc_hidden_def.
14462 (__getnetgrent_r): Update caller.
14463 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14464
c3c8283c
JM
144652012-08-16 Joseph Myers <joseph@codesourcery.com>
14466
14467 * stdlib/longlong.h: Update from GCC.
14468
db1ee0a8
RM
144692012-08-16 Roland McGrath <roland@hack.frob.com>
14470
14471 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14472 on _QL, which is set by umul_ppmm but never used.
14473 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14474 variables, which are set by GMP macros but never used.
14475 * stdio-common/_itowa.c (_itowa): Likewise.
14476 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14477 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14478
30f69637
CD
144792012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14480
14481 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14482 struct La_sh_regs is not constant.
14483 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14484 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14485 and struct La_sparc64_regs are not constant.
14486
93a78ac4
JM
144872012-08-16 Joseph Myers <joseph@codesourcery.com>
14488
14489 * sysdeps/unix/sysv/linux/kernel-features.h
14490 (__ASSUME_POSIX_TIMERS): Remove.
14491 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14492 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14493 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14494 Make code unconditional.
14495 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14496 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14497 Make code unconditional.
14498 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14499 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14500 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14501 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14502 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14503 Make code unconditional.
14504 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14505 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14506 (__libc_missing_posix_timers): Remove.
14507
dd924cd7
RM
145082012-08-15 Roland McGrath <roland@hack.frob.com>
14509
4b4f2771
RM
14510 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14511 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14512
601c888b
RM
14513 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14514
176790a7
RM
14515 * elf/dl-sym.c: Include <stdlib.h>.
14516
329bc018
RM
14517 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14518 constants, which avoids warnings in 32-bit builds.
14519
e04e272d
RM
14520 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14521 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14522
952bf94a
RM
14523 * misc/lseek.c: File moved to ...
14524 * io/lseek.c: ... here.
14525
7c99b50a
RM
14526 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14527
dd924cd7
RM
14528 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14529 shifting LEN more than 31 bits at once.
14530
b3f479a8
LD
145312012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14532
14533 [BZ #14195]
8c4ae0d4
RM
14534 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14535 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14536 * string/test-strncasecmp.c (check1): Renamed to...
14537 (bz12205): ...this.
14538 (bz14195): Add new testcase for two empty input strings and N > 0.
14539 (test_main): Call new testcase, adapt for renamed function.
14540
9c55864e
AJ
145412012-08-15 Andreas Jaeger <aj@suse.de>
14542
14543 [BZ #14090]
14544 * crypt/md5test2.c: New test, based on test supplied by Serge
14545 Belyshev <belyshev@depni.sinp.msu.ru>.
14546 * crypt/Makefile (xtests): Add md5test-giant..
14547 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14548
02dcb6c5
PE
145492012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14550
14551 [BZ #14090]
14552 * crypt/md5.c (md5_process_block): Don't assume the buffer
14553 length is less than 2**32.
14554 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14555 length is less than 2**64.
14556
a3f95dcc
RM
145572012-08-15 Roland McGrath <roland@hack.frob.com>
14558
be75d758
RM
14559 * string/str-two-way.h: Include <sys/param.h>.
14560 (MAX): Macro removed.
14561
7312ca90
RM
14562 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14563 Move #define and #undef of memmove to just before and after
14564 including <string.h>.
14565
9a0a5486
RM
14566 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14567 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14568 and after including <string.h>. Move declarations of
14569 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14570 to before #include "string/memmove.c".
14571
67cc348d
RM
14572 * include/dirent.h: Declare __getdirentries.
14573
a3f95dcc
RM
14574 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14575 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14576
ca98e171
MF
145772012-08-14 Mike Frysinger <vapier@gentoo.org>
14578
14579 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14580 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14581 * sysdeps/i386/configure: Regenerated.
14582 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14583 STABS_CURRENT_FILE, and STABS_FUN.
14584 (END): Remove call to STABS_FUN_END.
14585 (STABS_CURRENT_FILE1): Delete.
14586 (STABS_CURRENT_FILE): Likewise.
14587 (STABS_FUN): Likewise.
14588 (STABS_FUN_END): Likewise.
14589 (STABS_FUN2): Likewise.
14590 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14591 * sysdeps/x86_64/configure: Regenerated.
14592
5908bf46
RM
145932012-08-14 Roland McGrath <roland@hack.frob.com>
14594
14595 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14596 * elf/dl-lookup.c: Likewise.
5908bf46 14597
f2c05b9e
JM
145982012-08-14 Joseph Myers <joseph@codesourcery.com>
14599
14600 * sysdeps/unix/sysv/linux/kernel-features.h
14601 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14602 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14603 unconditionally.
14604 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14605 unconditionally.
14606 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14607 condition on __ASSUME_CLONE_THREAD_FLAGS.
14608
e11f5155
AJ
146092012-08-14 Andreas Jaeger <aj@suse.de>
14610
14611 * sysdeps/i386/fpu/libm-test-ulps: Update.
14612
51a9ba86
MK
146132012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14614
2fdd4f78
AJ
14615 * include/atomic.h (atomic_exchange_and_add): Split into ...
14616 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14617 New atomic macros.
51a9ba86 14618
ba6cba9e
MT
146192012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14620
14621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14622
42443a47
JL
146232012-08-13 Jeff Law <law@redhat.com>
14624
14625 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14626 null byte in the output string.
14627
121dce05
JM
146282012-08-10 Joseph Myers <joseph@codesourcery.com>
14629
14630 * sysdeps/unix/sysv/linux/kernel-features.h
14631 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14632 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14633 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14634 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14635 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14636 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14637 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14638
bf51f568
JL
146392012-08-09 Jeff Law <law@redhat.com>
14640
14641 [BZ #13939]
14642 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14643 When avoid_arena is set, don't retry in the that arena. Pick the
14644 next one, whatever it might be.
14645 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14646 (arena_lock): Pass in new parameter to arena_get2.
14647 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14648 arena_get2.
14649 (__libc_malloc): Unify retrying after main arena failure with
14650 __libc_memalign version.
14651 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14652
f85fa270
L
146532012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14654
14655 [BZ #14166]
14656 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14657 to __redirect_strstr.
14658 (__strstr_sse42): Use typeof __redirect_strstr.
14659 (__strstr_ia32): Likewise.
14660 (__libc_strstr): New prototype.
14661 (strstr): Renamed to ...
14662 (__libc_strstr): This.
14663 (strstr): New strong alias of __libc_strstr.
14664 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14665 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14666 __redirect_time.
14667 Include <time.h>.
14668 (__libc_time): New prototype.
14669 (time_ifunc): Replace time with __libc_time.
14670 (time): New strong alias and hidden definition of __libc_time.
14671 (__GI_time): Remove strong alias.
14672 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14673 Include <stddef.h>.
14674 (memmove): Redefined to __redirect_memmove.
14675 (__memmove_sse2): Use typeof __redirect_memmove.
14676 (__memmove_ssse3): Likewise.
14677 (__memmove_ssse3_back): Likewise.
14678 (__libc_memmove): New prototype.
14679 (memmove): Renamed to ...
14680 (__libc_memmove): This.
14681 (memmove): New strong alias of __libc_memmove.
14682
33b4a91e
MS
146832012-08-08 Mark Salter <msalter@redhat.com>
14684
14685 * elf/elf.h
14686 (R_MN10300_TLS_GD): Define.
14687 (R_MN10300_TLS_LD): Likewise.
14688 (R_MN10300_TLS_LDO): Likewise.
14689 (R_MN10300_TLS_GOTIE): Likewise.
14690 (R_MN10300_TLS_IE): Likewise.
14691 (R_MN10300_TLS_LE): Likewise.
14692 (R_MN10300_TLS_DTPMOD): Likewise.
14693 (R_MN10300_TLS_DTPOFF): Likewise.
14694 (R_MN10300_TLS_TPOFF): Likewise.
14695 (R_MN10300_SYM_DIFF): Likewise.
14696 (R_MN10300_ALIGN): Likewise.
14697 (R_MN10300_NUM): Update.
14698
b36137f1
JM
146992012-08-08 Joseph Myers <joseph@codesourcery.com>
14700
14701 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14702 Remove.
14703
cdd915fd
RM
147042012-08-08 Roland McGrath <roland@hack.frob.com>
14705
a2433aac
RM
14706 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14707
cdd915fd
RM
14708 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14709 sysdeps/unix -> sysdeps/posix move.
14710 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14711
bf9b740a
AM
147122012-08-07 Allan McRae <allan@archlinux.org>
14713
14714 [BZ #14303]
14715 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14716 (SUNOS_CPP): Likewise.
14717 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14718 not found.
14719 (open_input): Call CPP using execvp.
14720
93df14ee
JM
147212012-08-07 Joseph Myers <joseph@codesourcery.com>
14722
14723 * sysdeps/unix/sysv/linux/kernel-features.h
14724 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14725 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14726 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14727 (__ASSUME_WAITID_SYSCALL): Likewise.
14728 * sysdeps/unix/sysv/linux/dl-execstack.c
14729 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14730 code unconditional.
14731 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14732 conditional code.
14733 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14734 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14735 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14736 code.
14737 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14738 unconditional.
14739 [__ASSUME_WAITID_SYSCALL]: Likewise.
14740 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14741
d34689de
RM
147422012-08-07 Roland McGrath <roland@hack.frob.com>
14743
a281decc
RM
14744 * sysdeps/unix/closedir.c: Renamed to ...
14745 * sysdeps/posix/closedir.c: ... here.
14746 * sysdeps/unix/dirfd.c: Renamed to ...
14747 * sysdeps/posix/dirfd.c: ... here.
14748 * sysdeps/unix/dirstream.h: Renamed to ...
14749 * sysdeps/posix/dirstream.h: ... here.
14750 * sysdeps/unix/fdopendir.c: Renamed to ...
14751 * sysdeps/posix/fdopendir.c: ... here.
14752 * sysdeps/unix/opendir.c: Renamed to ...
14753 * sysdeps/posix/opendir.c: ... here.
14754 * sysdeps/unix/readdir.c: Renamed to ...
14755 * sysdeps/posix/readdir.c: ... here.
14756 * sysdeps/unix/readdir_r.c: Renamed to ...
14757 * sysdeps/posix/readdir_r.c: ... here.
14758 * sysdeps/unix/rewinddir.c: Renamed to ...
14759 * sysdeps/posix/rewinddir.c: ... here.
14760 * sysdeps/unix/seekdir.c: Renamed to ...
14761 * sysdeps/posix/seekdir.c: ... here.
14762 * sysdeps/unix/telldir.c: Renamed to ...
14763 * sysdeps/posix/telldir.c: ... here.
14764 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14765 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14766 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14767 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14768
22895b47
RM
14769 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14770 * bits/fcntl.h: ... here.
14771
707a53b6
RM
14772 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14773 not 0.
14774 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14775 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14776 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14777 (struct flock): Move l_start, l_len to the beginning.
14778 Use __pid_t for l_pid.
14779 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14780 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14781 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14782 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14783 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14784 [__USE_LARGEFILE64] (struct flock64): New type.
14785 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14786
f0bd3e25
RM
14787 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14788 * bits/dirent.h: ... here.
14789
d34689de
RM
14790 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14791 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14792
6dad2c06
JM
147932012-08-07 Joseph Myers <joseph@codesourcery.com>
14794
14795 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14796 Change from 2.6.0 to 2.6.16.
14797 * sysdeps/unix/sysv/linux/configure: Regenerated.
14798 * sysdeps/unix/sysv/linux/kernel-features.h
14799 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14800 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14801 version.
14802 (__ASSUME_UTIMES): Likewise.
14803 (__ASSUME_CLONE_STOPPED): Remove.
14804 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14805 architectures, not kernel version.
14806 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14807 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14808 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14809 (__ASSUME_WAITID_SYSCALL): Likewise.
14810 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14811 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14812 * README: State 2.6.16 as minimum Linux kernel version. Do not
14813 refer to older versions.
14814
03af9520
RM
148152012-08-06 Roland McGrath <roland@hack.frob.com>
14816
8e49df1d
RM
14817 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14818 Define alphasort64 as an alias.
14819 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14820 Define versionsort64 as an alias.
14821 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14822 Define scandir64 as an alias.
14823 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14824 Define scandirat64 as an alias.
14825 * dirent/alphasort64.c (alphasort64):
14826 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14827 * dirent/versionsort64.c: Likewise.
14828 * dirent/scandir64.c: Likewise.
14829 * dirent/scandirat64.c: Likewise.
14830 * sysdeps/wordsize-64/alphasort.c: File removed.
14831 * sysdeps/wordsize-64/alphasort64.c: File removed.
14832 * sysdeps/wordsize-64/scandir.c: File removed.
14833 * sysdeps/wordsize-64/scandir64.c: File removed.
14834 * sysdeps/wordsize-64/scandirat.c: File removed.
14835 * sysdeps/wordsize-64/scandirat64.c: File removed.
14836 * sysdeps/wordsize-64/versionsort.c: File removed.
14837 * sysdeps/wordsize-64/versionsort64.c: File removed.
14838 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14839 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14840 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14841 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14842 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14843 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14844 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14845 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14846
14847 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14849 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14851 [defined __arch64__ || defined __sparcv9]
14852 (__INO_T_MATCHES_INO64_T): New macro.
14853 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14854 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14855 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14856 * sysdeps/unix/sysv/linux/bits/dirent.h
14857 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14858 (_DIRENT_MATCHES_DIRENT64): New macro.
14859
03af9520
RM
14860 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14861 Define lockf64 as an alias.
14862 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14863 Define fseeko64 as an alias.
14864 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14865 Define ftello64 as an alias.
14866 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14867 Define _IO_fgetpos64 and fgetpos64 as aliases.
14868 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14869 Define _IO_fsetpos64 and fsetpos64 as aliases.
14870 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14871 Conditionalize body on this.
14872 * libio/fseeko64.c: Likewise.
14873 * libio/ftello64.c: Likewise.
14874 * libio/iofgetpos64.c: Likewise.
14875 * libio/iofsetpos64.c: Likewise.
14876 * sysdeps/wordsize-64/lockf.c: File removed.
14877 * sysdeps/wordsize-64/lockf64.c: File removed.
14878 * sysdeps/wordsize-64/fseeko.c: File removed.
14879 * sysdeps/wordsize-64/fseeko64.c: File removed.
14880 * sysdeps/wordsize-64/ftello.c: File removed.
14881 * sysdeps/wordsize-64/ftello64.c: File removed.
14882 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14883 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14884 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14885 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14886 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14887 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14888 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14889 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14890 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14891 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14892 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14893 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14894 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14895 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14896
14897 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14898 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14899 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14900 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14901 [defined __arch64__ || defined __sparcv9]
14902 (__OFF_T_MATCHES_OFF64_T): New macro.
14903 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14904 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14905 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14906 (__OFF_T_MATCHES_OFF64_T): New macro.
14907
c5757acd
L
149082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14909
14910 * stdlib/secure-getenv.c (__secure_getenv): Replace
14911 GLIBC_2_16 with GLIBC_2_17.
14912
3a31811e
L
149132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14914
14915 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14916 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14917
faa2bccb
DM
149182012-08-03 David S. Miller <davem@davemloft.net>
14919
14920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14921
85fe1997
JM
149222012-08-03 Joseph Myers <joseph@codesourcery.com>
14923
14924 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14925 Remove.
14926 (__ASSUME_CORRECT_SI_PID): Likewise.
14927 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14928 (__ASSUME_TMPFS_NAME): Likewise.
14929 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14930 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14931 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14932 (HAVE_AUX_SECURE): Make definition unconditional.
14933 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14934 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14935
4f75b7a0
RM
149362012-08-03 Roland McGrath <roland@hack.frob.com>
14937
14938 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14939 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14940 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14941 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14942 __eloop_threshold instead of SYMLOOP_MAX.
14943
14944 * sysdeps/generic/eloop-threshold.h: New file.
14945 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14946 of MAXSYMLINKS.
14947 * elf/chroot_canon.c (chroot_canon): Likewise.
14948
7aab07e4
JM
149492012-08-03 Joseph Myers <joseph@codesourcery.com>
14950
14951 [BZ #13717]
14952 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14953 Change to 2.6.0 everywhere.
14954 * sysdeps/unix/sysv/linux/configure: Regenerated.
14955 * sysdeps/unix/sysv/linux/kernel-features.h
14956 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14957 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14958 kernel versions.
14959 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14960 (__ASSUME_FUTEX_REQUEUE): Remove.
14961 (__ASSUME_STATFS64): Define unconditionally.
14962 (__ASSUME_AT_SECURE): Likewise.
14963 (__ASSUME_CORRECT_SI_PID): Likewise.
14964 (__ASSUME_TGKILL): Define without depending on kernel version for
14965 i386.
14966 (__ASSUME_UTIMES): Likewise.
14967 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14968 kernel version.
14969 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14970 (__ASSUME_TMPFS_NAME): Likewise.
14971 * README: Update reference to Linux kernel versions.
14972
b67e9372
MP
149732012-08-02 Marek Polacek <polacek@redhat.com>
14974
1f529f7d 14975 [BZ# 14150]
b67e9372
MP
14976 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14977 libc_cv_asm_type_prefix with %.
14978 * configure: Regenerated.
d2441631
RM
14979 * include/libc-symbols.h: Remove comment about
14980 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14981 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14982 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14983 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14984 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14985 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14986 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14987 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14988 * elf/tst-unique2mod1.c: Likewise.
14989 * elf/tst-unique1mod2.c: Likewise.
14990 * elf/tst-unique1mod1.c: Likewise.
14991 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14992 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14993 Replace ASM_TYPE_DIRECTIVE with .type.
14994 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14995 * sysdeps/i386/sysdep.h: Likewise.
14996 * sysdeps/x86_64/sysdep.h: Likewise.
14997 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14999 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15000 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15001 * sysdeps/powerpc/powerpc32/sysdep.h:
15002 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15003 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15004 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15005 * sysdeps/i386/fpu/e_powf.S: Likewise.
15006 * sysdeps/i386/fpu/e_expl.S: Likewise.
15007 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15008 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15009 * sysdeps/i386/fpu/e_pow.S: Likewise.
15010 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15011 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15012 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15013 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15014 * sysdeps/i386/fpu/e_log2.S: Likewise.
15015 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15016 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15017 * sysdeps/i386/fpu/e_powl.S: Likewise.
15018 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15019 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15020 * sysdeps/i386/fpu/e_logl.S: Likewise.
15021 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15022 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15023 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15024 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15025 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15026 * sysdeps/i386/fpu/e_log.S: Likewise.
15027 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15028 * sysdeps/i386/fpu/e_logf.S: Likewise.
15029 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15030 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15031 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15032 * sysdeps/i386/fpu/e_log10.S: Likewise.
15033 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15034 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15035 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15036 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15037 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15038 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15039 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15040 * sysdeps/i386/i686/strtok.S: Likewise.
15041 * sysdeps/i386/i386-mcount.S: Likewise.
15042 * sysdeps/i386/strtok.S: Likewise.
15043 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15044 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15045 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15046 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15047 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15048 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15049 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15050 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15051 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15052 * sysdeps/x86_64/_mcount.S: Likewise.
15053 * sysdeps/x86_64/strtok.S: Likewise.
15054 * sysdeps/sh/_mcount.S: Likewise.
15055
2747bf9a
RM
150562012-08-01 Roland McGrath <roland@hack.frob.com>
15057
15058 * libio/iofopen.c: Include <fcntl.h>.
15059 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15060 (_IO_fopen64, fopen64): Define as aliases.
15061 * libio/iofopen64.c: Include <fcntl.h>.
15062 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15063 Conditionalize body on this.
15064 * sysdeps/wordsize-64/iofopen.c: File removed.
15065 * sysdeps/wordsize-64/iofopen64.c: File removed.
15066
3fb791b8
MP
150672012-08-01 Marek Polacek <polacek@redhat.com>
15068
15069 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15070 Use dlfcn directly instead of a variable.
15071 (binfmt-subdir): Do not define.
15072 (dlfcn): Likewise.
15073
a9f1039f
JM
150742012-08-01 Joseph Myers <joseph@codesourcery.com>
15075
23bddc06
JM
15076 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15077 Remove all definitions.
15078 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15079 <kernel-features.h>.
15080 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15081 (miss_F_GETOWN_EX): Remove all definitions.
15082 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15083 macro definition.
15084 [!__ASSUME_FCNTL64]: Remove conditional code.
15085 [__ASSUME_FCNTL64]: Make code unconditional.
15086 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15087 <kernel-features.h>.
15088 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15089 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15090 (lockf64) [__NR_fcntl64]: Make code unconditional.
15091 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15092
a9f1039f
JM
15093 * sysdeps/unix/sysv/linux/kernel-features.h
15094 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15095 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15096 Make code unconditional.
15097 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15098 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15100 [__NR_vfork]: Make code unconditional.
15101 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15102 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15104 [__NR_vfork]: Make code unconditional.
15105 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15106 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15107
09c0ee5f
RM
151082012-08-01 Roland McGrath <roland@hack.frob.com>
15109
48aec5b9
RM
15110 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15111 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15112
cd97c966
RM
15113 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15114 Define mkstemp64 as an alias.
3f55550c
RM
15115 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15116 Define mkstemps64 as an alias.
cd97c966
RM
15117 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15118 Define mkostemp64 as an alias.
b8625cfc
RM
15119 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15120 Define mkostemps64 as an alias.
cd97c966
RM
15121 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15122 Conditionalize body on this.
15123 * misc/mkostemp64.c: Likewise.
b8625cfc 15124 * misc/mkostemps64.c: Likewise.
3f55550c 15125 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15126 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15127 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15128 * sysdeps/wordsize-64/mkostemp.c: File removed.
15129 * sysdeps/wordsize-64/mkstemp.c: File removed.
15130 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15131 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15132 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15133 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15134
09c0ee5f
RM
15135 [BZ #14138]
15136 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15137 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15138 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15139 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15140
15141 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15142 compat_symbol macros from <shlib-compat.h> rather than the underlying
15143 default_symbol_version and symbol_version macros, so that DEFAULT
15144 lines in shlib-versions are respected.
15145 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15146
7e66ee51
FW
151472012-08-01 Florian Weimer <fweimer@redhat.com>
15148
15149 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15150 Declare with warn_unused_result.
15151 (setgid, setregid, setegid, setresgid): Likewise.
15152 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15153 Likewise.
15154 * WUR-REPORT: Remove set*id functions.
15155
d2a54255
PT
151562012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15157
15158 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15159
7ecdb005
RM
151602012-07-31 Roland McGrath <roland@hack.frob.com>
15161
b4180a5e 15162 [BZ #10191]
789bd351
RM
15163 * include/sys/socket.h (__libc_accept, __libc_accept4):
15164 Add attribute_hidden.
15165 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15166
40ce302d
RM
15167 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15168 use of PTR_MANGLE.
15169 * inet/getnetgrent_r.c (setup): Likewise.
15170
7ecdb005
RM
15171 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15172
e2eabb2c
DM
151732012-07-31 David S. Miller <davem@davemloft.net>
15174
15175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15176
d0419dbf
JM
151772012-07-31 Joseph Myers <joseph@codesourcery.com>
15178
15179 [BZ #13629]
15180 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15181 value between 1.0 and 2.0 and smaller part has absolute value less
15182 than 1.0.
15183 * math/s_clog10.c (__clog10): Likewise.
15184 * math/s_clog10f.c (__clog10f): Likewise.
15185 * math/s_clog10l.c (__clog10l): Likewise.
15186 * math/s_clogf.c (__clogf): Likewise.
15187 * math/s_clogl.c (__clogl): Likewise.
15188 * math/libm-test.inc (clog_test): Add more tests.
15189 (clog10_test): Likewise.
15190 * sysdeps/i386/fpu/libm-test-ulps: Update.
15191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15192
2bc13872
FW
151932012-07-31 Florian Weimer <fweimer@redhat.com>
15194
15195 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15196 Exit with zero in case no suitable GID is found, and write a
15197 message to standard error.
15198
bea9b193
RM
151992012-07-30 Roland McGrath <roland@hack.frob.com>
15200
15201 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15202 rather than to 1.
15203 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15204 (MAXPATHLEN): Removed.
15205 (NOGROUP, NODEV): New macros.
15206 (setbit, clrbit, isset, isclr): New macros.
15207 (howmany, roundup, powerof2): New macros.
15208 (DEV_BSIZE): New macro.
15209
15210 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15211 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15212
15213 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15214 definition on [!__NO_LONG_DOUBLE_MATH].
15215
15216 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15217 PTR_MANGLE and PTR_DEMANGLE.
15218
15219 * socket/accept4.c (accept4): Rename to __libc_accept4.
15220 Define accept4 as a weak alias.
15221
15222 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15223 on [_DIRENT_HAVE_D_TYPE].
15224 * io/ftw.c (ftw_dir): Likewise.
15225
15226 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15227
15228 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15229
15230 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15231 Use the BSD numbers rather than the arbitrary ones we had.
15232 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15233 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15234 (SIGXCPU, SIGXFSZ): New macros.
15235 (_NSIG): Now 32.
15236
15237 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15238 initializer on [_LIBC_REENTRANT].
15239
15240 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15241 definitions inside [_POSIX_MAPPED_FILES].
15242
15243 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15244
15245 * dirent/opendir.c: Include <fcntl.h>.
15246
15247 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15248 (__libc_getspecific): Likewise.
15249 (__libc_key_create): Likewise.
15250
15251 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15252 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15253 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15254 (tmpfile64): Define as alias.
15255 * sysdeps/wordsize-64/tmpfile.c: File removed.
15256 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15257 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15258 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15259
15260 * stdio-common/vfscanf.c: Include <stdbool.h>.
15261 * nss/makedb.c: Likewise.
15262 * stdio-common/_i18n_number.h: Likewise.
15263 * argp/argp-help.c: Likewise.
15264 * posix/wordexp.c: Likewise.
15265 * sysdeps/posix/spawni.c: Likewise.
15266 * nss/nss_files/files-initgroups.c: Likewise.
15267 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15268 * nss/nss_files/files-initgroups.c: Likewise.
15269 * nss/nss_db/db-netgrp.c: Likewise.
15270 * nss/nss_db/db-initgroups.c: Likewise.
15271 * io/fchmodat.c: Include <sys/stat.h>.
15272
15273 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15274 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15275
15276 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15277 [HAVE_MMAP].
15278
15279 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15280 Add multiple inclusion protection.
15281
e5abc686
DM
152822012-07-27 David S. Miller <davem@davemloft.net>
15283
15284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15285
815e6fa3
GB
152862012-07-27 Gary Benson <gbenson@redhat.com>
15287
15288 [BZ #14298]
15289 * elf/rtld.c: Include <stap-probe.h>.
15290 (dl_main): Added static probes "init_start" and "init_complete".
15291 * elf/dl-load.c: Include <stap-probe.h>.
15292 (lose): Take new parameter "nsid".
15293 Added static probe "map_failed".
15294 (_dl_map_object_from_fd): Pass namespace id to lose.
15295 Added static probe "map_start".
15296 (open_verify): Pass namespace id to lose.
15297 * elf/dl-open.c: Include <stap-probe.h>.
15298 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15299 and "reloc_complete".
15300 * elf/dl-close.c: Include <stap-probe.h>.
15301 (_dl_close_worker): Added static probes "unmap_start" and
15302 "unmap_complete".
15303 * elf/rtld-debugger-interface.txt: New file documenting the above.
15304
9f98c16c
RM
153052012-07-26 Roland McGrath <roland@hack.frob.com>
15306
15307 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15308 rather than a string variable.
15309 * sunrpc/rpc_main.c (h_output): Likewise.
15310 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15311
f3c22df3
PT
153122012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15313
15314 * inet/check_native.c: New file.
15315
3129cfc6
JM
153162012-07-26 Joseph Myers <joseph@codesourcery.com>
15317
da865e95
JM
15318 [BZ #13629]
15319 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15320 if larger part has absolute value 1.0.
15321 * math/s_clog10.c (__clog10): Likewise.
15322 * math/s_clog10f.c (__clog10f): Likewise.
15323 * math/s_clog10l.c (__clog10l): Likewise.
15324 * math/s_clogf.c (__clogf): Likewise.
15325 * math/s_clogl.c (__clogl): Likewise.
15326 * math/libm-test.inc (clog_test): Add more tests.
15327 (clog10_test): Likewise.
15328 * sysdeps/i386/fpu/libm-test-ulps: Update.
15329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15330
3129cfc6
JM
15331 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15332 (pltexit): Likewise.
15333 (La_regs): Likewise.
15334 (La_retval): Likewise.
15335 (int_retval): Likewise.
15336 Update #error for removed macros to refer only to definitions in
15337 tst-audit.h.
15338 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15339 macro.
15340 (pltexit): Likewise.
15341 (La_regs): Likewise.
15342 (La_retval): Likewise.
15343 (int_retval): Likewise.
15344 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15345 macro.
15346 (pltexit): Likewise.
15347 (La_regs): Likewise.
15348 (La_retval): Likewise.
15349 (int_retval): Likewise.
15350 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15351 macro.
15352 (pltexit): Likewise.
15353 (La_regs): Likewise.
15354 (La_retval): Likewise.
15355 (int_retval): Likewise.
15356 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15357 macro.
15358 (pltexit): Likewise.
15359 (La_regs): Likewise.
15360 (La_retval): Likewise.
15361 (int_retval): Likewise.
15362 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15363 macro.
15364 (pltexit): Likewise.
15365 (La_regs): Likewise.
15366 (La_retval): Likewise.
15367 (int_retval): Likewise.
15368 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15369 macro.
15370 (pltexit): Likewise.
15371 (La_regs): Likewise.
15372 (La_retval): Likewise.
15373 (int_retval): Likewise.
15374 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15375 macro definitions in tst-audit.h.
15376 * sysdeps/i386/tst-audit.h: New file.
15377 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15378 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15379 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15380 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15381 * sysdeps/sh/tst-audit.h: Likewise.
15382 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15383 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15384 * sysdeps/x86_64/tst-audit.h: Likewise.
15385
bfc07087
AJ
153862012-07-26 Andreas Jaeger <aj@suse.de>
15387
b1b2aaf8
AJ
15388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15389 ptrace.
15390
15391 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15392 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15393 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15394 PTRACE_O_MASK.
15395 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15396 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15397 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15398
bfc07087
AJ
15399 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15400 value.
15401
15402 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15403 _sigsys.
15404 (si_call_addr, si_syscall, si_arch): Define new macro.
15405 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15406 _sigsys.
15407 (si_call_addr, si_syscall, si_arch): Define new marcro.
15408 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15409 _sigsys.
15410 (si_call_addr, si_syscall, si_arch): Define new macro.
15411 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15412 _sigsys.
15413 (si_call_addr, si_syscall, si_arch): Define new macro.
15414
89b4b02f
JM
154152012-07-25 Joseph Myers <joseph@codesourcery.com>
15416
15417 [BZ #13717]
15418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15419 Change to 2.4.21 where previously 2.4.1.
15420 * sysdeps/unix/sysv/linux/configure: Regenerated.
15421 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15422 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15423 Linux kernel version.
15424 (__ASSUME_STD_AUXV): Remove.
15425 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15426 kernel version.
15427 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15428 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15429 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15430 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15431 (__ASSUME_NETLINK_SUPPORT): Likewise.
15432 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15433 (__no_netlink_support): Remove conditional definition.
15434 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15435 Remove.
15436 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15437 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15438 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15439 (if_nameindex_ioctl): Remove.
15440 (if_nameindex_netlink): Do not handle __no_netlink_support.
15441 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15442 code.
15443 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15444 Remove conditional code.
15445 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15446 code.
15447 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15448 unconditional.
15449 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15450 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15451 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15452 Remove.
15453 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15454 [!__ASSUME_STD_AUXV]: Remove conditional code.
15455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15456 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15457 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15459 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15460 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15461 code.
15462 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15464 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15465 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15466 conditional code.
15467 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15469 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15470 code.
15471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15472 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15473 conditional code.
15474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15475 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15476 code unconditional.
15477 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15478 conditional code.
15479 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15480 unconditional.
15481 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15482 conditional code.
15483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15484 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15485 unconditional.
15486 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15487 conditional code.
15488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15489 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15490 code unconditional.
15491 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15492 conditional code.
15493 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15494 unconditional.
15495 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15496 conditional code.
15497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15498 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15499 code unconditional.
15500 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15501 conditional code.
15502 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15503 unconditional.
15504 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15505 conditional code.
15506
842a39cd
AS
155072012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15508
15509 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15510 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15511 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15512 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15513 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15514 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15515 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15516 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15517 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15518 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15519 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15520 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15521 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15522 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15523 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15524 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15525 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15526 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15527 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15529 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15530 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15531 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15532
84b3fd84
FW
155332012-07-25 Florian Weimer <fweimer@redhat.com>
15534
15535 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15536 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15537 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15538 Introduce __libc_secure_getenv.
0c7936d5
FW
15539 * stdlib/Versions (2.17): Add secure_getenv
15540 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15541 * stdlib/secure-getenv.c: Rename __secure_getenv to
15542 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15543 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15544 * stdlib/tst-secure-getenv.c: New.
15545 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15546 * manual/startup.texi (Environment Access): Document
15547 secure_getenv.
84b3fd84
FW
15548 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15549 __libc_secure_getenv.
15550 * inet/ruserpass.c (ruserpass): Likewise.
15551 * malloc/mtrace.c (mtrace): Likewise.
15552 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15553 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15554 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15555 * sysdeps/posix/tempname.c: Likewise. Evaluate
15556 HAVE_SECURE_GETENV.
15557 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15558 __secure_getenv to __libc_secure_getenv.
84b3fd84 15559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15561 Likewise.
15562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15563 Likewise.
15564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15571
56e49b71
JM
155722012-07-25 Joseph Myers <joseph@codesourcery.com>
15573
15574 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15575 (struct La_i86_retval): Likewise.
15576 (struct La_x86_64_regs): Likewise.
15577 (struct La_x86_64_retval): Likewise.
15578 (struct La_x32_regs): Likewise.
15579 (struct La_x32_retval): Likewise.
15580 (struct La_ppc32_regs): Likewise.
15581 (struct La_ppc32_retval): Likewise.
15582 (struct La_ppc64_regs): Likewise.
15583 (struct La_ppc64_retval): Likewise.
15584 (struct La_sh_regs): Likewise.
15585 (struct La_sh_retval): Likewise.
15586 (struct La_s390_32_regs): Likewise.
15587 (struct La_s390_32_retval): Likewise.
15588 (struct La_s390_64_regs): Likewise.
15589 (struct La_s390_64_retval): Likewise.
15590 (struct La_sparc32_regs): Likewise.
15591 (struct La_sparc32_retval): Likewise.
15592 (struct La_sparc64_regs): Likewise.
15593 (struct La_sparc64_retval): Likewise.
15594 (struct audit_ifaces): Remove architecture-specific pltenter and
15595 pltexit members.
15596 * sysdeps/i386/ldsodefs.h: New file.
15597 * sysdeps/powerpc/ldsodefs.h: Likewise.
15598 * sysdeps/s390/ldsodefs.h: Likewise.
15599 * sysdeps/sh/ldsodefs.h: Likewise.
15600 * sysdeps/sparc/ldsodefs.h: Likewise.
15601 * sysdeps/x86_64/ldsodefs.h: Likewise.
15602
354691b7
MP
156032012-07-25 Marek Polacek <polacek@redhat.com>
15604
15605 [BZ #6808]
15606 * math/libm-test.inc (yn_test): Add another test.
15607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15608 to ERANGE when the result is +-Inf.
15609 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15610 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15611 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15612 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15613
bf9e2071
JM
156142012-07-24 Joseph Myers <joseph@codesourcery.com>
15615
15616 * conform/data/time.h-data (NULL): Use macro-constant. Require
15617 equal to 0.
15618 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15619 clock_t.
15620 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15621
57633811
TS
156222012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15623
15624 * configure.in <sysdeps resolving>: Correct printing
15625 Implies_before.
15626 * configure: Regenerate.
15627
c23c33b0
TS
156282012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15629
15630 * math/w_ilogb.c: Include <limits.h>.
15631 * math/w_ilogbl.c: Likewise.
15632
b5982523
JM
156332012-07-20 Joseph Myers <joseph@codesourcery.com>
15634
15635 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15636 va_copy. Document allowing for unavailable va_copy only as
15637 pre-C99 compatibility.
15638 * manual/string.texi (Copying and Concatenation): Use va_copy
15639 instead of __va_copy in concat example.
15640
ac4ea442
PT
156412012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15642
15643 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15644 (__sendto): Use create_address_port. Initialize APORT and deallocate
15645 it if not null.
15646
f98eafbd
PT
15647 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15648 with O_NOLINK passed to __file_name_lookup.
15649
898c7aab
PT
15650 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15651 with O_NOLINK passed to __file_name_lookup.
15652
0ced335a
PT
15653 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15654 negative N or less than NGIDS.
15655
b3404dbd
PT
15656 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15657 type to string_t. Set ERANGE as errno and return it if NAME is not big
15658 enough. Use memcpy instead of strncpy.
15659
0f48659e
JM
156602012-07-20 Joseph Myers <joseph@codesourcery.com>
15661
15662 * elf/Makefile (check-data): Remove.
15663 (localplt.data): New vpath directive.
15664 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15665 instead of $(check-data).
15666 * scripts/data/localplt-generic.data: Move to ...
15667 * sysdeps/generic/localplt.data: ... here.
15668 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15669 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15670 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15672 ... here.
15673 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15675 ... here.
15676 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15678 ... here.
15679 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15681 ... here.
15682 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15684 ... here.
15685 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15687 ... here.
15688
d37cbdaa
AZ
156892012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15690
15691 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15692 PPC32 and PPC64 files.
15693 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15694 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15695
46f85fc2
AK
156962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15697
15698 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15699 __makecontext_ret to ...
15700 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15701 ... here and call exit if uc_link is NULL. New file.
15702 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15703 __makecontext_ret.S.
15704 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15705 __makecontext_ret to ...
15706 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15707 ... here and call exit if uc_link is NULL. New file.
15708 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15709 __makecontext_ret.S.
15710
08f43f9b
AK
157112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15712
15713 * elf/elf.h (R_390_IRELATIVE): New definition.
15714 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15715 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15716 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15717 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15718 (elf_machine_lazy_rel): Likewise.
15719 * sysdeps/s390/dl-irel.h: New file.
15720 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15721 * sysdeps/s390/s390-64/memset.S: New asm code.
15722 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15723 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15724 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15725 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15726 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15727 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15728 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15729 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15730 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15731 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15732 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15733 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15734 * sysdeps/s390/s390-32/memset.S: New asm code.
15735 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15736
3b05db33
MP
157372012-07-17 Marek Polacek <polacek@redhat.com>
15738
15739 [BZ #14349]
15740 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15741 * sysdeps/s390/s390-64/configure.in: Likewise.
15742 * sysdeps/sparc/configure.in: Likewise.
15743 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15744 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15745 * sysdeps/i386/configure.in: Likewise.
15746 * sysdeps/x86_64/configure.in: Likewise.
15747 * sysdeps/sh/configure.in: Likewise.
15748 * sysdeps/s390/s390-32/configure: Regenerated.
15749 * sysdeps/s390/s390-64/configure: Likewise.
15750 * sysdeps/x86_64/configure: Likewise.
15751 * sysdeps/sh/configure: Likewise.
15752 * sysdeps/powerpc/powerpc64/configure: Likewise.
15753 * sysdeps/powerpc/powerpc32/configure: Likewise.
15754 * sysdeps/sparc/configure: Likwise.
15755 * sysdeps/i386/configure: Likewise.
15756
a66877c6
MP
15757 * elf/dl-open.c: Comment fixes.
15758
cfc82fd8
JM
157592012-07-17 Joseph Myers <joseph@codesourcery.com>
15760
bd29910a
JM
15761 * Makefile [CXX] (check-data): Remove.
15762 [CXX] (c++-types.data): New vpath directive.
15763 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15764 vpath. Do not allow for C++ type data being missing.
15765 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15766 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15767 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15768 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15769 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15770 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15771 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15773 ... here.
15774 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15776 ... here.
15777 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15779 ... here.
15780 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15782 ... here.
15783 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15785 ... here.
15786 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15788 ... here.
15789 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15791 ... here.
15792 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15794
cfc82fd8
JM
15795 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15796 definitions to architecture-specific files.
15797 (TLS_IE): Likewise.
15798 (TLS_LD): Likewise.
15799 (TLS_GD): Likewise.
15800 * sysdeps/i386/tls-macros.h: New file.
15801 * sysdeps/powerpc/tls-macros.h: Likewise.
15802 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15803 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15804 * sysdeps/sh/tls-macros.h: Likewise.
15805 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15806 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15807 * sysdeps/x86_64/tls-macros.h: Likewise.
15808
f7db3170
TS
158092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15810
07cbfc23
TS
15811 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15812 zero value for regular exit case.
15813
f7db3170
TS
15814 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15815 (__start_context): Preserve zero value for regular exit case.
15816
dc97c227
TS
158172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15818 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15819
15820 * manual/setjmp.texi (setcontext): Clarify normal process
15821 termination when uc_link is the null pointer.
15822 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15823 exit call.
15824
d0cd7d02
AS
158252012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15826
15827 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15828 preprocessor. Test for each exception mask separately.
15829
dd318934
AJ
158302012-07-16 Andreas Jaeger <aj@suse.de>
15831
15832 * po/ru.po: Update from translation team.
15833
8048311a
JM
158342012-07-15 Joseph Myers <joseph@codesourcery.com>
15835
15836 * conform/data/string.h-data (NULL): Use macro-constant. Require
15837 equal to 0.
15838 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15839 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15840 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15841 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15842 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15843
b637d46e
AJ
158442012-07-13 Andreas Jaeger <aj@suse.de>
15845
15846 * po/fr.po: Update from translation team.
15847
541428fe
MP
158482012-07-12 Marek Polacek <polacek@redhat.com>
15849
15850 [BZ #14173]
15851 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15852 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15853 loop condition.
15854
ec332e94
JM
158552012-07-12 Joseph Myers <joseph@codesourcery.com>
15856
15857 [BZ #13717]
15858 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15859 Change to 2.4.1 where previously 2.4.0.
15860 * sysdeps/unix/sysv/linux/configure: Regenerated.
15861 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15862 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15863 version.
15864 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15865 (__ASSUME_AT_CLKTCK): Remove.
15866 (__ASSUME_AT_PAGESIZE): Likewise.
15867 (__ASSUME_AT_XID): Likewise.
15868 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15869 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15870 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15871 unconditionally.
15872 (HAVE_AUX_PAGESIZE): Likewise.
15873 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15874 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15875 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15876
7b6e99be
JB
158772012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15878
15879 [BZ #14307]
15880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15881 the temporary buffer used to invoke __gethostbyname2_r,
15882 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15883 host_data / struct gaih_addrtuple.
15884 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15885 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15886 header file nss/nsswitch.h.
15887 * nss/nsswitch.h (global scope): Add definition of implementation
15888 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15889 resolv/nss_dns/dns-host.c).
15890
608404eb
AJ
158912012-07-11 Andreas Jaeger <aj@suse.de>
15892
15893 * po/fr.po: Update from translation team.
15894
71220aca
AJ
15895 * po/sv.po: Update from translation team
15896 * po/fr.po: Another update from translation team.
15897
28cfe843
AZ
158982012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15899
15900 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15901 for subnormals or multiply small sinh result by itself.
15902 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15904
6b90f981
DM
159052012-07-11 David S. Miller <davem@davemloft.net>
15906
15907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15908
c6825772
AS
159092012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15910
15911 [BZ #14347]
15912 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15913 (INTERNAL_MARK): Shift it here.
15914
7b8e0d49
MP
159152012-07-10 Marek Polacek <polacek@redhat.com>
15916
15917 [BZ #14151]
15918 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15919 libc_cv_asm_global_directive with .globl.
15920 * configure: Regenerated.
15921 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15922 with .globl.
15923 * sysdeps/i386/configure: Regenerated.
15924 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15925 with .globl.
15926 * sysdeps/x86_64/configure: Regenerated.
15927 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15928 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15929 * elf/tst-unique2mod2.c: Likewise.
15930 * elf/tst-unique2mod1.c: Likewise.
15931 * elf/tst-unique1mod2.c: Likewise.
15932 * elf/tst-unique1mod1.c: Likewise.
15933 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15934 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15935 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15936 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15937 * sysdeps/mach/sysdep.h: Likewise.
15938 * sysdeps/i386/sysdep.h: Likewise.
15939 * sysdeps/i386/i386-mcount.S: Likewise.
15940 * sysdeps/x86_64/_mcount.S: Likewise.
15941 * sysdeps/x86_64/sysdep.h: Likewise.
15942 * sysdeps/sh/_mcount.S: Likewise.
15943 * sysdeps/sh/sysdep.h: Likewise.
15944 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15945 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15946 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15947 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15948 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15949 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15950 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15951 * locale/localeinfo.h: Likewise.
15952 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15953 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15954
6c55cda3
RM
159552012-07-09 Roland McGrath <roland@hack.frob.com>
15956
15957 [BZ #14336]
15958 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15959 system".
15960 * manual/message.texi (The Uniforum approach): Likewise.
15961 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15962 (glibc iconv Implementation): Likewise.
15963
638a572e
JM
159642012-07-09 Joseph Myers <joseph@codesourcery.com>
15965
15966 [BZ #14337]
15967 * math/s_clog.c (__clog): Avoid scaling a value down where that
15968 could result in underflow.
15969 * math/s_clog10.c (__clog10): Likewise.
15970 * math/s_clog10f.c (__clog10f): Likewise.
15971 * math/s_clog10l.c (__clog10l): Likewise.
15972 * math/s_clogf.c (__clogf): Likewise.
15973 * math/s_clogl.c (__clogl): Likewise.
15974 * math/libm-test.inc (clog_test): Add more tests.
15975 (clog10_test): Likewise.
15976 * sysdeps/i386/fpu/libm-test-ulps: Update.
15977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15978
261f4859
AS
159792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15980
0abaf3e4
AS
15981 [BZ #14283]
15982 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15983 by 7 not 8 to examine high bit of fractional part.
15984
261f4859
AS
15985 [BZ #14042]
15986 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15987 for call to __mcount_internal.
15988 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15989 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15990 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15991
f17ac40d
JM
159922012-07-06 Joseph Myers <joseph@codesourcery.com>
15993
9ad63c23
JM
15994 [BZ #14154]
15995 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15996 approximation for values within 0x1p-13f of an odd multiple of
15997 pi/4.
15998 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15999 exception. Add more tests.
16000 * sysdeps/i386/fpu/libm-test-ulps: Update.
16001
f17ac40d
JM
16002 [BZ #6778]
16003 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16004 inputs and return -1 for them. Do not check for +Inf in case not
16005 reachable for +Inf.
16006 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16007 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16008 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16009 and return -1 for them. Do not check for +Inf in case not
16010 reachable for +Inf.
16011 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16012 define.
16013 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16014 and return -1 for them. Do not check for +Inf in case not
16015 reachable for +Inf.
16016 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16017 spurious underflow.
16018 * sysdeps/i386/fpu/libm-test-ulps: Update.
16019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16020
fb21f89b
MF
160212012-07-06 Mike Frysinger <vapier@gentoo.org>
16022
16023 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16024
cdfe2c5e
JM
160252012-07-05 Joseph Myers <joseph@codesourcery.com>
16026
16027 [BZ #14157]
16028 [BZ #14331]
16029 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16030 could result in spurious underflow. Scale down values above
16031 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16032 * math/s_csqrtf.c (__csqrtf): Likewise.
16033 * math/s_csqrtl.c (__csqrtl): Likewise.
16034 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16035 spurious underflow.
16036 * sysdeps/i386/fpu/libm-test-ulps: Update.
16037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16038
70d35b67
AS
160392012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16040
704bc459
AS
16041 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16042 xopen-msg.sed.
16043 * catgets/xopen-msg.awk: New file.
16044 * catgets/xopen-msg.sed: Removed.
16045
70d35b67
AS
16046 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16047 po2text.sed.
16048 * intl/po2test.awk: New file.
16049 * intl/po2test.sed: Removed.
16050
ca61cf32
JM
160512012-07-04 Joseph Myers <joseph@codesourcery.com>
16052
16053 [BZ #14328]
16054 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16055 or multiply small sinh result by itself.
16056 * math/s_ctanf.c (__ctanf): Likewise.
16057 * math/s_ctanh.c (__ctanh): Likewise.
16058 * math/s_ctanhf.c (__ctanhf): Likewise.
16059 * math/s_ctanhl.c (__ctanhl): Likewise.
16060 * math/s_ctanl.c (__ctanl): Likewise.
16061 * math/libm-test.inc (ctan_test_tonearest): New function.
16062 (ctan_test_towardzero): Likewise.
16063 (ctan_test_downward): Likewise.
16064 (ctan_test_upward): Likewise.
16065 (ctanh_test_tonearest): Likewise.
16066 (ctanh_test_towardzero): Likewise.
16067 (ctanh_test_downward): Likewise.
16068 (ctanh_test_upward): Likewise.
16069 (main): Call these new functions.
16070 * sysdeps/i386/fpu/libm-test-ulps: Update.
16071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16072
ca48a46a
MF
160732012-07-03 Mike Frysinger <vapier@gentoo.org>
16074
16075 * .gitignore: Delete /ports entry.
16076
9d63d37d
AJ
160772012-07-03 Andreas Jaeger <aj@suse.de>
16078
16079 * po/bg.po: Update from translation team.
16080 * po/cs.po: Likewise.
16081 * po/de.po: Likewise.
16082 * po/hr.po: Likewise.
16083 * po/nl.pl: Likewise.
16084 * po/pl.po: Likewise.
16085 * po/vi.po: Likewise.
16086
370ca3d2
JM
160872012-07-03 Joseph Myers <joseph@codesourcery.com>
16088
95f5a9a8
JM
16089 * Makeconfig [!+link] (+link-before-libc): New variable.
16090 [!+link] (+link-after-libc): Likewise.
16091 [!+link] (+link-tests): Likewise.
16092 [!+link] (+link): Define in terms of $(+link-before-libc) and
16093 $(+link-after-libc).
16094 [!+link-static] (+link-static-before-libc): New variable.
16095 [!+link-static] (+link-static-after-libc): Likewise.
16096 [!+link-static] (+link-static-tests): Likewise.
16097 [!+link-static] (+link-static): Define in terms of
16098 $(+link-static-before-libc) and $(+link-static-after-libc).
16099 [build-shared] (link-libc-before-gnulib): New variable.
16100 [build-shared] (link-libc-tests): Likewise.
16101 [build-shared] (link-libc): Define in terms of
16102 $(link-libc-before-gnulib).
16103 [!build-shared] (link-libc-tests): New variable.
16104 (link-libc-static-tests): New variable.
16105 [!gnulib] (gnulib-arch): New variable.
16106 [!gnulib] (gnulib-tests): Likewise.
16107 [!gnulib] (static-gnulib-arch): Likewise.
16108 [!gnulib] (static-gnulib-tests): Likewise.
16109 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16110 Define with "=" instead of ":=".
16111 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16112 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16113 * Rules (binaries-all-notests): New variable.
16114 (binaries-all-tests): Likewise.
16115 (binaries-static-notests): Likewise.
16116 (binaries-static-tests): Likewise.
16117 (binaries-all): Define using $(binaries-all-notests) and
16118 $(binaries-all-tests).
16119 (binaries-static): Define using $(binaries-static-notests) and
16120 $(binaries-static-tests).
16121 (binaries-shared-tests): New variable.
16122 (binaries-shared-notests): Likewise.
16123 (binaries-shared): Remove variable.
16124 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16125 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16126 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16127 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16128 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16129 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16130 * elf/Makefile (sln-modules): New variable.
16131 (extra-objs): Add $(sln-modules:=.o).
16132 (ldconfig-modules): Add static-stubs.
16133 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16134 * elf/static-stubs.c: New file.
16135
7a845b2c
JM
16136 [BZ #14283]
16137 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16138 by 7 not 8 to examine high bit of fractional part. Use volatile
16139 variables when splitting into final array of floats if
16140 __FLT_EVAL_METHOD__ != 0.
16141 * math/libm-test.inc (cos_test): Add another test.
16142 (sin_test): Likewise.
16143 * sysdeps/i386/fpu/libm-test-ulps: Update.
16144
e2283f38
JM
16145 [BZ #14273]
16146 * math/libm-test.inc (cosh_test): Add more tests.
16147
370ca3d2
JM
16148 * version.h (RELEASE): Set to "development".
16149 (VERSION): Set to "2.16.90".
16150
ee9247c3
CD
161512012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16152
16153 * NEWS: Update copyright. Remove last-updated date.
16154 Mention math library bug fixes and timezone data changes.
16155 * README: Mention GNU/Hurd, x32, and HPPA support status.
16156
4648c381
TS
161572012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16158
16159 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16160
aac78a43
AJ
161612012-06-27 Andreas Jaeger <aj@suse.de>
16162
16163 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16164
ed3dbfad
AJ
161652012-06-25 Andreas Jaeger <aj@suse.de>
16166
16167 * sysdeps/s390/fpu/libm-test-ulps: Update.
16168
4d0ee855
AS
161692012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16170 Thomas Schwinge <thomas@codesourcery.com>
16171
16172 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16173 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16175 fanotify_mark.
16176
af1bce34
TS
161772012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16178
a9fa33ba
TS
16179 * sysdeps/mach/start.c: Remove file.
16180 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16181 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16182 * sysdeps/sh/init-first.c: Likewise.
16183
58f902b8
TS
16184 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16185 registers for frame unwinding purposes, add CFI directives.
16186 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16187 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16188 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16189 Likewise.
16190
1518f58b
TS
16191 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16192 __fortify_fail returning.
16193 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16194
db9b5059
TS
16195 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16196 sysdeps/sh/____longjmp_chk.S.
16197 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16198 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16199 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16200 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16201
967705fe
TS
16202 * sysdeps/sh/abort-instr.h: New file.
16203 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16204 process in case exit returns.
16205
a9def8c4
TS
16206 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16207 initialize the GOT register before use.
16208
2a649725
TS
16209 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16210 calculation of ARGC > 4.
16211
af1bce34
TS
16212 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16213 meaningful names to some local labels.
16214
d230f50a
KK
162152012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16216 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16217
16218 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16219 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16220 (__arch_compare_and_exchange_val_16_acq): Likewise.
16221 (__arch_compare_and_exchange_val_32_acq): Likewise.
16222 (atomic_exchange_and_add): Fix gUSA sequence.
16223 (atomic_add): Likewise.
16224 (atomic_add_negative): Likewise.
16225 (atomic_add_zero): Likewise.
16226 (atomic_bit_test_set): Likewise.
16227
0479b305
AS
162282012-06-22 Andreas Schwab <schwab@redhat.com>
16229
16230 [BZ #13579]
16231 * include/link.h (struct link_map): Add l_free_initfini.
16232 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16233 l_initfini.
16234 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16235 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16236 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16237 set.
16238
0e3933b9
CD
162392012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16240
16241 * configure.in: Use AC_LANG_SOURCE.
16242 * configure: Regenerate.
16243
4248b1b1
RM
162442012-06-22 Roland McGrath <roland@hack.frob.com>
16245
16246 * configure.in (libc_cv_localstatedir): New substituted variable.
16247 * configure: Regenerated.
16248 * config.make.in (localstatedir): New variable, substituted from
16249 libc_cv_localstatedir.
16250 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16251 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16252 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16253 * sysdeps/gnu/configure: Regenerated.
16254
006dd861
JL
162552012-06-21 Jeff Law <law@redhat.com>
16256
16257 [BZ #14277]
16258 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16259 free. Simplify list management for _LIBC case.
16260
79662d42
JM
162612012-06-21 Joseph Myers <joseph@codesourcery.com>
16262
b7abb4bf
JM
16263 [BZ #14273]
16264 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16265 Clear sign bit of 64-bit integer value before comparing against
16266 overflow value.
16267
79662d42
JM
16268 * sysdeps/mach/configure: Regenerated.
16269
1f150908
L
162702012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16271
16272 [BZ #14278]
16273 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16274
28363bbf
JL
162752012-06-21 Jeff Law <law@redhat.com>
16276
16277 [BZ #13882]
16278 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16279 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16280 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16281 * elf/dl-open.c (dl_open_worker): Likewise.
16282
09615db4
CD
162832012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16284
16285 * scripts/list-sources.sh: Scan PORTS for translations.
16286 * po/libc.pot: Regenerated.
16287
2174c6dd
AJ
162882012-06-21 Andreas Jaeger <aj@suse.de>
16289
16290 [BZ #12194]
16291 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16292 warning.
16293 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16294 * bits/byteswap-16.h (__bswap_16): Likewise.
16295 * bits/byteswap.h (__bswap_constant_16): Likewise.
16296
3ee947b1
L
162972012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16298
16299 [BZ #14117]
a2f34833
L
16300 * sysdeps/i386/fpu_control.h: Removed.
16301 * sysdeps/x86_64/fpu_control.h: Moved to ...
16302 * sysdeps/x86/fpu_control.h: Here.
16303
3ee947b1
L
16304 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16305 (_FPU_SETCW): Likewise.
16306
ed1825f8
L
163072012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16308
25f1282a
L
16309 [BZ #14117]
16310 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16311 * sysdeps/x86/fpu/bits/mathinline.h: This.
16312 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16313
ed1825f8
L
16314 [BZ #14050]
16315 [BZ #14117]
16316 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16317 functions if __x86_64__ is defined.
16318
36d54b74
CLT
163192012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16320
16321 * string/endian.h: Add !__ASSEMBLER__ condition for including
16322 conversion interfaces.
16323
10285c21
JM
163242012-06-15 Joseph Myers <joseph@codesourcery.com>
16325
16326 [BZ #14241]
16327 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16328 of ABS(x) in calculating zero to negative powers other than odd
16329 integers.
16330 * math/libm-test.inc (pow_test): Add more tests.
16331
06c5abbd
AJ
163322012-06-15 Andreas Jaeger <aj@suse.de>
16333
16334 * manual/contrib.texi (Contributors): Update entry of Liubov
16335 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16336 Machado Filho.
16337
a3aeac40
CH
163382012-06-15 Cyril Hrubis <metan@ucw.cz>
16339
16340 * string/string.h: Add __wur to GNU version of strerror_r.
16341
49bdf4c1
L
163422012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16343
16344 [BZ #14229]
16345 * string/Makefile (tests): Add tst-strtok_r.
16346 * string/tst-strtok_r.c: New file.
16347 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16348 RAX_LP/RDX_LP on SAVE_PTR.
16349
834f9b8d
RM
163502012-06-14 Roland McGrath <roland@hack.frob.com>
16351
16352 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16353
75fa1921
JM
163542012-06-14 Joseph Myers <joseph@codesourcery.com>
16355
16356 * libm_test.inc (csqrt_test): Allow more spurious underflow
16357 exceptions.
16358 (j0_test): Likewise.
16359 (j1_test): Likewise.
16360 (y0_test): Likewise.
16361 (y1_test): Likewise.
16362
771766df
CD
163632012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16364
16365 * po/Makefile (libc.pot): Use UTF-8 charset.
16366
ceb9e56b
PP
163672012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16368
16369 [BZ #14210]
16370 Suppress sign-conversion warning from FD_SET.
16371 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16372 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16373 not unsigned long int.
16374 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16375
ddb28975
L
163762012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16377
16378 [BZ #14050]
16379 [BZ #14117]
16380 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16381 __extern_always_inline instead of __extern_inline.
16382 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16383 (__signbit): Likewise.
16384 (__signbitl): Support C++ namespace.
16385 (lrintf): New inline function.
16386 (lrint): Likewise.
16387 (llrintf): Likewise.
16388 (llrint): Likewise.
16389 (fmaxf): Likewise.
16390 (fmax): Likewise.
16391 (fminf): Likewise.
16392 (fmin): Likewise.
16393 (rint): Likewise.
16394 (rintf): Likewise.
16395 (ceil): Likewise.
16396 (ceilf): Likewise.
16397 (floor): Likewise.
16398 (floorf): Likewise.
16399 (nearbyint): Likewise.
16400 (nearbyintf): Likewise.
16401
d7b4fb26
TS
164022012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16403
16404 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16405 non-default versions.
16406
eb55f5c2
RM
164072012-06-11 Roland McGrath <roland@hack.frob.com>
16408
16409 [BZ #14218]
16410 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16411
366af02c
TS
164122012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16413
99ff6e5c
TS
16414 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16415 (FE_UPWARD, FE_DOWNWARD): Don't define.
16416 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16417 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16418
366af02c
TS
16419 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16420 reading it.
16421 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16422 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16423
793ea851
KK
164242012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16425
16426 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16427 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16428 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16429 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16430
a728a38f
L
164312012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16432
16433 [BZ #14117]
c08010c7
L
16434 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16435 * sysdeps/i386/fpu/Implies: New file.
16436 * sysdeps/x86_64/fpu/Implies: Likewise.
16437 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16438 * sysdeps/x86/fpu/bits/fenv.h: This.
16439
a728a38f
L
16440 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16441 __SSE_MATH__.
16442
6e230d11
SP
164432012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16444
16445 [BZ #14134]
16446 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16447 character 0xffff that matches the last element of the
16448 conversion table.
16449
1b671feb
AZ
164502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16451
16452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16453 fmodl commit.
16454
6043738b
AZ
164552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16456
16457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16458 values higher than 25.6283.
16459
34ae0b32
AZ
164602012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16461
16462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16463 subnormal exponent extraction and add some __builtin_expect.
16464 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16465 Fix for subnormal mantissa calculation.
16466
1214ec8f
MF
164672012-06-04 Mike Frysinger <vapier@gentoo.org>
16468
16469 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16470 cpu2 is -1 and errno is not ENOSYS.
16471
f3d1f93c
L
164722012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16473
16474 [BZ #14117]
0e4a3cd7
L
16475 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16476 * sysdeps/x86/bits/string.h: This.
16477 * sysdeps/x86_64/bits/string.h: Removed.
16478
6704c645
L
16479 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16480 if not compiling for x86-64, but compiling for >= i486.
16481
48495318
L
16482 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16483 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16484
14adcbfc
L
16485 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16486 New macro from Linux kernel 3.4.0.
16487 (FP_XSTATE_MAGIC2): Likewise.
16488 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16489 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16490 (struct _fpx_sw_bytes): New struct.
16491 (struct _xsave_hdr): Likewise.
16492 (struct _ymmh_state): Likewise.
16493 (struct _xstate): Likewise.
16494
68e408ab
L
16495 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16496 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16497 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16498 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16499 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16500 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16501
f3d1f93c
L
16502 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16503 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16504 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16505 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16506 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16507 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16508
d9dc34cd
TMQMF
165092012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16510
16511 [BZ #13743]
16512 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16513 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16514 (sysdep_headers): Include sys/platform/ppc.h.
16515 * sysdeps/powerpc/test-gettimebase.c: Test for
16516 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16517 * manual/Makefile (appendices): Include platform.texi.
16518 * manual/contrib.texi (Contributors): Update @node pointers.
16519 * manual/maint.texi (Maintenance): Likewise.
16520 (Platform): New node.
16521 * manual/platform.texi: New file. Document the new features.
16522
4af3879c
SP
165232012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16524 Jakub Jelinek <jakub@redhat.com>
16525
16526 [BZ #14188]
16527 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16528 where __builtin_expect is unavailable.
16529
2fd6ff13
DM
165302012-06-03 David S. Miller <davem@davemloft.net>
16531
16532 * stdlib/longlong.h: Updated from GCC.
16533
173f7220
AS
165342012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16535
16536 [BZ #14042]
16537 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16538 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16539 __mcount_internal.
16540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16541 (GLIBC_2.16): Likewise.
16542
f34a1c6f
L
165432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16544
16545 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16546
88a4576f
JM
165472012-06-01 Joseph Myers <joseph@codesourcery.com>
16548
ea32bcdd
JM
16549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16550 (default-abi): New variable.
16551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16552 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16553 variable.
16554 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16555 Likewise.
16556 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16557 Likewise.
16558 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16559 Likewise.
16560
88a4576f
JM
16561 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16562 definition. Document in comment.
16563
402fe938
DM
165642012-06-01 David S. Miller <davem@davemloft.net>
16565
16566 * stdlib/longlong.h: Updated from GCC.
16567
3553723f
L
165682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16569
16570 [BZ #14117]
3bd872c4
L
16571 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16572 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16573 sys/debugreg.h sys/io.h here.
16574 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16575 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16576 sys/io.h.
16577 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16578 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16579 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16580 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16581 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16582 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16583
3553723f
L
16584 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16585 Define only if __x86_64__ is defined.
16586
4842e4fe
JM
165872012-06-01 Joseph Myers <joseph@codesourcery.com>
16588
c5bfe3d5
JM
16589 [BZ #14048]
16590 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16591 Use int64_t for variable i.
16592 * math/libm-test.inc (fmod_test): Add more tests.
16593
4842e4fe
JM
16594 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16595 z computation is not scheduled after fetestexcept.
16596 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16597 Use math_force_eval instead of asm to ensure calculation scheduled
16598 before exception test.
16599 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16600 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16601
efb73488
AJ
166022012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16603
16604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16605 computation is not scheduled after fetestexcept.
16606
29bcce7c
L
166072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16608
16609 [BZ #14117]
16610 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16611 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16612
73a68f94
AZ
166132012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16614
16615 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16616 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16617
67b6df78
L
166182012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16619
edf2933a 16620 [BZ #14117]
ebc64a18
L
16621 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16622 <bits/wordsize.h>.
16623 (__WCHAR_MIN): Support __WORDSIZE == 64.
16624 (__WCHAR_MAX): Likewise.
16625
edf2933a
L
16626 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16627 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16628
57c6cf40
L
16629 [BZ #14183]
16630 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16631 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16632
67b6df78 16633 [BZ #14117]
8eb6281e
L
16634 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16635 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16636
aac639f4
L
16637 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16638 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16639
67b6df78
L
16640 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16641 Defined to 1 if __x86_64__ isn't defined.
16642 (_STAT_VER_LINUX_OLD): New.
16643 (st_atime): Remove duplicate.
16644 (st_mtime): Likewise.
16645 (st_ctime): Likewise.
16646
1c2cfe81
DM
166472012-05-31 David S. Miller <davem@davemloft.net>
16648
16649 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16650 entries.
16651
5be8418c
AS
166522012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16653
e7725326
AS
16654 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16655 gen-libm-test.pl.
16656
5be8418c
AS
16657 [BZ #14132]
16658 * elf/dl-reloc.c: Include <_itoa.h>.
16659 (_dl_reloc_bad_type): Remove use of INTUSE.
16660 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16661 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16662 * stdio-common/psiginfo.c (psiginfo): Likewise.
16663 * stdio-common/psignal.c (psignal): Likewise.
16664 * string/strsignal.c (strsignal): Likewise.
16665 * include/signal.h (_sys_siglist): Declare hidden proto.
16666 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16667 INTVARDEF with libc_hidden_data_def.
16668 * stdio-common/itoa-udigits.c: Likewise.
16669 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16670 (_itoa_lower_digits_internal): Remove declaration.
16671 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16672 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16673 (_sys_sigabbrev_internal): Remove aliases.
16674 (_sys_siglist): Define hidden alias.
16675
507352f1
MT
166762012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16677
16678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16679 bits/sysctl.h.
16680
42bbb1c3
L
166812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16682
16683 [BZ #14117]
6bd784b6
L
16684 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16685 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16686
8bca20f0
L
16687 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16688 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16689 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16690 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16691 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16692 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16693
f9e890a9
L
16694 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16695 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16696 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16697
471101a1
L
16698 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16699 with __addr.
16700 (insw): Likewise.
16701 (insl): Likewise.
16702 (outsb): Likewise.
16703 (outsw): Likewise.
16704 (outsl): Likewise.
16705
6451c862
L
16706 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16707 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16708 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16709
a254b8c9
L
16710 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16711 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16712 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16713 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16714 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16715 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16716
b8dfdd92
L
16717 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16718 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16719
578cd270
L
16720 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16721 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16722
de662f5f
L
16723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16725 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16726
25653439
L
16727 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16728 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16729 to ...
16730 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16731
6bad24a0
L
16732 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16733 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16734 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16735
42bbb1c3
L
16736 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16737 for x86-64.
16738 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16739
2d10d547
JM
167402012-05-31 Joseph Myers <joseph@codesourcery.com>
16741
16742 * math/math.h (M_El): Use two more decimal places.
16743 (M_LOG2El): Likewise.
16744 (M_LOG10El): Likewise.
16745 (M_LN2l): Likewise.
16746 (M_LN10l): Likewise.
16747 (M_PIl): Likewise.
16748 (M_PI_2l): Likewise.
16749 (M_PI_4l): Likewise.
16750 (M_1_PIl): Likewise.
16751 (M_2_PIl): Likewise.
16752 (M_2_SQRTPIl): Likewise.
16753 (M_SQRT2l): Likewise.
16754 (M_SQRT1_2l): Likewise.
16755
f230c29b
DM
167562012-05-31 David S. Miller <davem@davemloft.net>
16757
16758 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16759 values between float registers.
16760 * sysdeps/sparc/sparc64/memset.S: Likewise.
16761 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16762
fed806c3
MF
167632012-05-31 Mike Frysinger <vapier@gentoo.org>
16764
16765 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16766 -D_FORTIFY_SOURCE=1.
16767 (CPPFLAGS-tst-longjmp_chk.c): Define.
16768 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16769 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16770 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16771 CFLAGS-tst-wchar-h.c.
16772
30917259
MP
167732012-05-31 Marek Polacek <polacek@redhat.com>
16774
16775 [BZ #14132]
16776 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16777 __endmntent_internal): Remove declaration.
16778 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16779 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16780 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16781
1c58d5dc
DM
167822012-05-30 David S. Miller <davem@davemloft.net>
16783
16784 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16785 (___Q_simulate_exceptions): Use real FP ops rather than writing
16786 into the %fsr.
16787 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16788 Likewise.
16789
7dc00e0d
L
167902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16791
16792 [BZ #14117]
0bd53985
L
16793 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16794 * sysdeps/x86/bits/xtitypes.h: This.
16795
3a257e66
L
16796 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16797 * sysdeps/x86/bits/wordsize.h: This.
16798
62f62904
L
16799 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16800 * sysdeps/x86/bits/huge_vall.h: This.
16801
404fe9d9
L
16802 * sysdeps/i386/bits/select.h: Removed.
16803 * sysdeps/x86_64/bits/select.h: Renamed to ...
16804 * sysdeps/x86/bits/select.h: This.
16805
d48d0446
L
16806 * sysdeps/i386/bits/setjmp.h: Removed.
16807 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16808 * sysdeps/x86/bits/setjmp.h: This.
16809
7dc00e0d
L
16810 * sysdeps/i386/bits/mathdef.h: Removed.
16811 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16812 * sysdeps/x86/bits/mathdef.h: This.
16813
03277f8f
AS
168142012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16815
16816 [BZ #14132]
16817 * include/sys/socket.h (__connect_internal)
16818 (__libc_sa_len_internal): Remove declaration.
16819 (__connect, __libc_sa_len): Declare hidden_proto.
16820 (SA_LEN): Remove use of INTUSE.
16821 * socket/connect.c: Add libc_hidden_def.
16822 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16823 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16824 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16825 alias.
16826 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16827 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16828 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16829 of adding _internal alias.
16830
13764867
L
168312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16832
16833 [BZ #14117]
6bd97696
L
16834 * sysdeps/i386/bits/link.h: Removed.
16835 * sysdeps/i386/bits/linkmap.h: Likewise.
16836 * sysdeps/x86_64/bits/link.h: Renamed to ...
16837 * sysdeps/x86/bits/link.h: This.
16838 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16839 * sysdeps/x86/bits/linkmap.h: This.
16840
f726f0bb
L
16841 * sysdeps/i386/bits/endian.h: Removed.
16842 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16843 * sysdeps/x86/bits/endian.h: This.
16844
13764867
L
16845 * sysdeps/i386/bits/byteswap.h: Removed.
16846 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16847 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16848 * sysdeps/x86/bits/byteswap.h: This.
16849 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16850 * sysdeps/x86/bits/byteswap-16.h: This.
16851 * sysdeps/i386/Implies: Add x86.
16852 * sysdeps/x86_64/Implies: Likewise.
16853
ae251b0b
DM
168542012-05-30 David S. Miller <davem@davemloft.net>
16855
16856 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16857 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16858 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16859 (FP_TRAPPING_EXCEPTIONS): Define.
16860 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16861 (FP_TRAPPING_EXCEPTIONS): Define.
16862 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16863 subnormals only when inexact has been signalled or underflow
16864 exceptions are enabled.
16865 (_FP_PACK_CANONICAL): Likewise.
16866
d5c90867
L
168672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16868
16869 [BZ #14183]
16870 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16871 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16872
63f1549e
RH
168732012-05-30 Richard Henderson <rth@twiddle.net>
16874
8d8f2279
RH
16875 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16876 with #ifndef NOT_IN_libc.
16877
63f1549e
RH
16878 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16879 marked to avoid plt entry.
16880
0ab0291b
L
168812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16882
16883 [BZ #14112]
16884 * Makeconfig (default-abi): New macro.
16885 (abi-includes): Likewise.
16886 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16887 $(abi-$(default-abi)-lib-soname) for soname if defined.
16888 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16889 abi-variants.
16890 * Makefile (installed-stubs): Likewise.
16891 * include/stubs-biarch.h: Removed.
16892 * scripts/lib-names.awk: Only handle one library at a time.
16893 * scripts/soversions.awk: Remove WORDSIZE support.
16894 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16895 entries.
16896 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16897 Removed.
16898 (syscall-list-default-condition): Likewise.
16899 (syscall-list-default-condition): Likewise.
16900 (syscall-list-includes): Likewise.
16901 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16902 syscall-list-* with abi-*. Handle undefined abi-variants.
16903 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16904 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16905 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16906 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16907 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16908 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16909 Removed.
16910 (syscall-list-32-options): Likewise.
16911 (syscall-list-32-condition): Likewise.
16912 (syscall-list-64-options): Likewise.
16913 (syscall-list-64-condition): Likewise.
16914 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16915 macro.
16916 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16917 Renamed to ...
16918 (abi-*): This.
16919 (abi-64-ld-soname): New macro.
16920 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16921 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16922 Renamed to ...
16923 (abi-*): This.
16924 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16925 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16926
4da0431d
JM
169272012-05-30 Joseph Myers <joseph@codesourcery.com>
16928
3a85279c
JM
16929 * sysdeps/unix/sysv/linux/kernel-features.h
16930 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16931 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16932 include <kernel-features.h>.
16933 [!__NR_ftruncate64]: Remove conditional code.
16934 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16935 [__NR_ftruncate64]: Make code unconditional.
16936 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16937 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16938 include <kernel-features.h>.
16939 [!__NR_ftruncate64]: Remove conditional code.
16940 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16941 [__NR_ftruncate64]: Make code unconditional.
16942 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16944 include <kernel-features.h>.
16945 [!__NR_ftruncate64]: Remove conditional code.
16946 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16947 [__NR_ftruncate64]: Make code unconditional.
16948 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16950 include <kernel-features.h>.
16951 [!__NR_ftruncate64]: Remove conditional code.
16952 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16953 [__NR_ftruncate64]: Make code unconditional.
16954 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16955
4da0431d
JM
16956 * configure.in (libc_cv_fpie): Weaken to a compile test using
16957 LIBC_TRY_CC_OPTION.
16958 * configure: Regenerated.
16959
11ef492c
AK
169602012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16961
16962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16966 Refreshed.
16967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16973 Refreshed.
16974
d66ef399
DM
169752012-05-27 David S. Miller <davem@davemloft.net>
16976
16977 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16978 (___Q_zero): New.
16979 (__Q_simulate_exceptions): Return void. Change to simulate
16980 exceptions by writing into the %fsr.
16981 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16982 (__Qp_handle_exceptions): Likewise.
16983 (numbers): Delete.
16984 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16985 __Qp_handle_exceptions.
16986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16987 __Qp_handle_exceptions.
16988 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16989 as unused and give dummy FP_RND_NEAREST initializer.
16990 (FP_INHIBIT_RESULTS): Define.
16991 (___Q_simulate_exceptions): Update declaration.
16992 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16993 formatting.
16994 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16995 as unused and give dummy FP_RND_NEAREST initializer.
16996 (__Qp_handle_exceptions): Update declaration.
16997 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16998 formatting.
16999
04fb54b5
TS
170002012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17001
17002 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17003 the temporary FPU control word.
17004 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17005 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17006 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17007 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17008 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17009 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17010 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17011 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17012 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17013 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17014 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17015
3f99608f
KK
170162012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17017
17018 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17019 fields.
17020
65a4de4e
CLT
170212012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17022
17023 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17024 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17025 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17026 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17027 Likewise.
17028 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17029 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17030 Likewise.
17031
15749d40
UD
170322012-05-27 Ulrich Drepper <drepper@gmail.com>
17033
17034 * po/h.po: Update from translation team.
17035
25dbcb27
AS
170362012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17037
3d3f8e55
AS
17038 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17039
25dbcb27
AS
17040 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17041 handling of denormals.
17042 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17043 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17044 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17045 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17049 Likewise.
17050
7ad47a80 170512012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17052
17053 [BZ #14152]
17054 * math/libm-test.inc (fma_test): Don't always expect underflow
17055 exception.
17056
9c6ea9fa
SP
170572012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17058
17059 [BZ #12416]
17060 * elf/tst-execstack.c: Include stackinfo.h.
17061 (do_test): Adjust test case to ensure that pthread_getattr_np
17062 behaviour remains the same after marking stack executable.
17063
a8239222
JM
170642012-05-25 Joseph Myers <joseph@codesourcery.com>
17065
17066 * sysdeps/unix/sysv/linux/kernel-features.h
17067 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17068 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17069 kernel-features.h.
17070 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17071 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17072 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17073 kernel-features.h.
17074 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17075 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17076
918b5606
L
170772012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17078
17079 * configure.in: Define the default includes to being none.
17080 * configure: Regenerated.
17081
3a097cc7
RM
170822012-05-25 Roland McGrath <roland@hack.frob.com>
17083
8422c9a5
RM
17084 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17085 * sysdeps/x86_64/setjmp.S: Likewise.
17086 * sysdeps/i386/bsd-setjmp.S: Likewise.
17087 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17088 * sysdeps/i386/setjmp.S: Likewise.
17089 * sysdeps/i386/__longjmp.S: Likewise.
17090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17091 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17092
3a097cc7
RM
17093 * include/stap-probe.h: New file.
17094 * configure.in: Handle --enable-systemtap.
17095 * configure: Regenerated.
17096 * config.h.in (USE_STAP_PROBE): New #undef.
17097 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17098 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17099 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17100
21708942
JM
171012012-05-25 Joseph Myers <joseph@codesourcery.com>
17102
17103 [BZ #13717]
17104 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17105 to 2.4.0 where earlier.
17106 * sysdeps/unix/sysv/linux/configure: Regenerated.
17107 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
17116 [__ASSUME_32BITUIDS]: Make code unconditional.
17117 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17118 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17119 <kernel-features.h>.
17120 [__ASSUME_32BITUIDS]: Make code unconditional.
17121 [!__ASSUME_32BITUIDS]: Remove conditional code.
17122 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17123 <kernel-features.h>.
17124 [__ASSUME_32BITUIDS]: Make code unconditional.
17125 [!__ASSUME_32BITUIDS]: Remove conditional code.
17126 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17127 <kernel-features.h>.
17128 [__ASSUME_32BITUIDS]: Make code unconditional.
17129 [!__ASSUME_32BITUIDS]: Remove conditional code.
17130 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17131 <kernel-features.h>.
17132 [__ASSUME_32BITUIDS]: Make code unconditional.
17133 [!__ASSUME_32BITUIDS]: Remove conditional code.
17134 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17135 <kernel-features.h>.
17136 [__ASSUME_32BITUIDS]: Make code unconditional.
17137 [!__ASSUME_32BITUIDS]: Remove conditional code.
17138 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17139 <kernel-features.h>.
17140 [__ASSUME_32BITUIDS]: Make code unconditional.
17141 [!__ASSUME_32BITUIDS]: Remove conditional code.
17142 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17143 <kernel-features.h>.
17144 [__ASSUME_32BITUIDS]: Make code unconditional.
17145 [!__ASSUME_32BITUIDS]: Remove conditional code.
17146 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17147 <kernel-features.h>.
17148 [__ASSUME_32BITUIDS]: Make code unconditional.
17149 [!__ASSUME_32BITUIDS]: Remove conditional code.
17150 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17151 <kernel-features.h>.
17152 [__ASSUME_32BITUIDS]: Make code unconditional.
17153 [!__ASSUME_32BITUIDS]: Remove conditional code.
17154 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17155 <kernel-features.h>.
17156 [__ASSUME_32BITUIDS]: Make code unconditional.
17157 [!__ASSUME_32BITUIDS]: Remove conditional code.
17158 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17159 <kernel-features.h>.
17160 [__NR_setresgid] (__setresgid): Do not declare.
17161 [__ASSUME_32BITUIDS]: Make code unconditional.
17162 [!__ASSUME_32BITUIDS]: Remove conditional code.
17163 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17164 <kernel-features.h>.
17165 [__NR_setresuid] (__setresuid): Do not declare.
17166 [__ASSUME_32BITUIDS]: Make code unconditional.
17167 [!__ASSUME_32BITUIDS]: Remove conditional code.
17168 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17169 <kernel-features.h>.
17170 [__ASSUME_32BITUIDS]: Make code unconditional.
17171 [!__ASSUME_32BITUIDS]: Remove conditional code.
17172 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17173 <kernel-features.h>.
17174 [__ASSUME_32BITUIDS]: Make code unconditional.
17175 [!__ASSUME_32BITUIDS]: Remove conditional code.
17176 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17177 <kernel-features.h>.
17178 [__ASSUME_32BITUIDS]: Make code unconditional.
17179 [!__ASSUME_32BITUIDS]: Remove conditional code.
17180 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17181 <kernel-features.h>.
17182 [__ASSUME_32BITUIDS]: Make code unconditional.
17183 [!__ASSUME_32BITUIDS]: Remove conditional code.
17184 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17185 <kernel-features.h>.
17186 [__ASSUME_32BITUIDS]: Make code unconditional.
17187 [!__ASSUME_32BITUIDS]: Remove conditional code.
17188 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17189 <kernel-features.h>.
17190 [__ASSUME_32BITUIDS]: Make code unconditional.
17191 [!__ASSUME_32BITUIDS]: Remove conditional code.
17192 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17193 <kernel-features.h>.
17194 [__ASSUME_32BITUIDS]: Make code unconditional.
17195 [!__ASSUME_32BITUIDS]: Remove conditional code.
17196 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17197 <kernel-features.h>.
17198 [__ASSUME_32BITUIDS]: Make code unconditional.
17199 [!__ASSUME_32BITUIDS]: Remove conditional code.
17200 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17201 <kernel-features.h>.
17202 [__ASSUME_32BITUIDS]: Make code unconditional.
17203 [!__ASSUME_32BITUIDS]: Remove conditional code.
17204 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17205 <kernel-features.h>.
17206 [__ASSUME_32BITUIDS]: Make code unconditional.
17207 [!__ASSUME_32BITUIDS]: Remove conditional code.
17208 * sysdeps/unix/sysv/linux/kernel-features.h
17209 (__ASSUME_SETRESUID_SYSCALL): Remove.
17210 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17211 (__ASSUME_32BITUIDS): Likewise.
17212 (__ASSUME_LDT_WORKS): Likewise.
17213 (__ASSUME_O_DIRECTORY): Likewise.
17214 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17215 architecture but not kernel version.
17216 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17217 (__ASSUME_MMAP2_SYSCALL): Likewise.
17218 (__ASSUME_STAT64_SYSCALL): Likewise.
17219 (__ASSUME_IPC64): Likewise.
17220 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17221 <kernel-features.h>.
17222 [__ASSUME_32BITUIDS]: Make code unconditional.
17223 [!__ASSUME_32BITUIDS]: Remove conditional code.
17224 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17225 <kernel-features.h>.
17226 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17227 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17228 132096]: Remove conditional code.
17229 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17230 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17231 <kernel-features.h>.
17232 [__ASSUME_32BITUIDS]: Make code unconditional.
17233 [!__ASSUME_32BITUIDS]: Remove conditional code.
17234 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17235 <kernel-features.h>.
17236 [__ASSUME_32BITUIDS]: Make code unconditional.
17237 [!__ASSUME_32BITUIDS]: Remove conditional code.
17238 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17239 <kernel-features.h>.
17240 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17241 unconditional.
17242 (__setresgid): Do not declare.
17243 [__ASSUME_32BITUIDS]: Make code unconditional.
17244 [!__ASSUME_32BITUIDS]: Remove conditional code.
17245 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17246 <kernel-features.h>.
17247 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17248 unconditional.
17249 (__setresuid): Do not declare.
17250 [__ASSUME_32BITUIDS]: Make code unconditional.
17251 [!__ASSUME_32BITUIDS]: Remove conditional code.
17252 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17253 <kernel-features.h>.
17254 [__ASSUME_32BITUIDS]: Make code unconditional.
17255 [!__ASSUME_32BITUIDS]: Remove conditional code.
17256 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17257 <kernel-features.h>.
17258 [__ASSUME_32BITUIDS]: Make code unconditional.
17259 [!__ASSUME_32BITUIDS]: Remove conditional code.
17260
a386f1cc
RH
172612012-05-25 Richard Henderson <rth@twiddle.net>
17262
17263 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17264 dl_hwcap to ifunc resolver.
17265 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17266 elf_ifunc_invoke.
17267 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17268 dl_hwcap to ifunc resolver.
17269 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17270
b6550497
JM
172712012-05-24 Joseph Myers <joseph@codesourcery.com>
17272
17273 [BZ #14153]
17274 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17275 for |x| <= 2**-26, not 2**-57.
17276 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17277 exception.
17278
b0bc23a1
JL
172792012-05-24 Jeff Law <law@redhat.com>
17280
17281 * stdio-common/Makefile (tests): Add bug25.
17282 * stdio-common/bug25.c: New test.
17283
347c92e9
L
172842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17285
17286 [BZ #13576]
17287 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17288 multiple of MALLOC_ALIGNMENT in size.
17289 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17290
6bcc8b3f
JM
172912012-05-24 Joseph Myers <joseph@codesourcery.com>
17292
17293 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17294 Require >= 256.
17295 (FILENAME_MAX): Use macro-int-constant.
17296 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17297 (_IOFBF): Use macro-int-constant.
17298 (_IOLBF): Likewise.
17299 (_IONBF): Likewise.
17300 (SEEK_CUR): Likewise.
17301 (SEEK_END): Likewise.
17302 (SEEK_SET): Likewise.
17303 (TMP_MAX): Likewise.
17304 (EOF): Use macro-int-constant. Require < 0.
17305 (NULL): Use macro-constant. Require == 0.
17306 (stdin): Require type to be FILE *.
17307 (stdout): Likewise.
17308 (stderr): Likewise.
17309 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17310 macro-int-constant.
17311 (EXIT_SUCCESS): Likewise.
17312 (NULL): Use macro-constant. Require == 0.
17313 (RAND_MAX): Use macro-int-constant.
17314 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17315 [C99-based standards] (strtof): Require function.
17316 [C99-based standards] (strtold): Likewise.
17317 [C99-based standards] (strtoll): Likewise.
17318 [C99-based standards] (strtoull): Likewise.
17319 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17320 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17321 [ISO || ISO99 || ISO11] (math.h): Likewise.
17322 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17323 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17325
d18ea0c5
AS
173262012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17327
17328 [BZ #14132]
56d25bb8
AS
17329 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17330 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17331 * intl/dgettext.c (DCGETTEXT): Likewise.
17332 * intl/gettext.c (DCGETTEXT): Likewise.
17333 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17334 * posix/regex_internal.h (gettext): Likewise.
17335 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17336 Remove declaration.
17337 * include/argz.h (__argz_count_internal)
17338 (__argz_stringify_internal): Remove declaration.
17339 (__argz_count, __argz_stringify): Declare hidden proto.
17340 * intl/dcgettext.c: Remove use of INTDEF.
17341 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17342 * string/argz-stringify.c: Likewise.
17343 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17344 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17345 Declare hidden proto.
d18ea0c5
AS
17346 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17347 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17348 Declare hidden proto.
17349 * include/stdio.h (__asprintf_internal): Don't declare.
17350 (__asprintf): Don't define as macro. Declare hidden proto.
17351 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17352 (__fsetlocking): Declare hidden proto.
17353 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17354 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17355 hidden proto.
17356 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17357 (_IO_setlinebuf): Remove use of INTUSE.
17358 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17359 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17360 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17361 Remove declaration.
17362 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17363 (_IO_do_flush): Remove use of INTUSE.
17364 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17365 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17366 (_IO_adjust_column, _IO_least_wmarker)
17367 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17368 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17369 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17370 (_IO_default_doallocate, _IO_wdefault_doallocate)
17371 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17372 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17373 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17374 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17375 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17376 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17377 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17378 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17379 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17380 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17381 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17382 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17383 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17384 proto.
17385 (_IO_flush_all_internal, _IO_adjust_column_internal)
17386 (_IO_default_uflow_internal, _IO_default_finish_internal)
17387 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17388 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17389 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17390 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17391 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17392 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17393 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17394 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17395 (_IO_file_close_internal, _IO_file_close_it_internal)
17396 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17397 (_IO_file_init_internal, _IO_file_attach_internal)
17398 (_IO_file_fopen_internal, _IO_file_read_internal)
17399 (_IO_file_sync_internal, _IO_file_seek_internal)
17400 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17401 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17402 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17403 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17404 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17405 (_IO_list_all_internal, _IO_link_in_internal)
17406 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17407 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17408 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17409 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17410 (_IO_do_write_internal, _IO_padn_internal)
17411 (_IO_getline_info_internal, _IO_getline_internal)
17412 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17413 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17414 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17415 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17416 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17417 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17418 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17419 with libc_hidden_ver, remove use of INTUSE.
17420 * libio/genops.c: Likewise.
17421 * libio/freopen.c: Likewise.
17422 * libio/freopen64.c: Likewise.
17423 * libio/iofclose.c: Likewise.
17424 * libio/iofdopen.c: Likewise.
17425 * libio/iofflush.c: Likewise.
17426 * libio/iofflush_u.c: Likewise.
17427 * libio/iofgets.c: Likewise.
17428 * libio/iofgets_u.c: Likewise.
17429 * libio/iofopen.c: Likewise.
17430 * libio/iofopncook.c: Likewise.
17431 * libio/iofread.c: Likewise.
17432 * libio/iofread_u.c: Likewise.
17433 * libio/ioftell.c: Likewise.
17434 * libio/iofwrite.c: Likewise.
17435 * libio/iogetline.c: Likewise.
17436 * libio/iogets.c: Likewise.
17437 * libio/iogetwline.c: Likewise.
17438 * libio/iopadn.c: Likewise.
17439 * libio/iopopen.c: Likewise.
17440 * libio/ioseekoff.c: Likewise.
17441 * libio/ioseekpos.c: Likewise.
17442 * libio/iosetbuffer.c: Likewise.
17443 * libio/iosetvbuf.c: Likewise.
17444 * libio/ioungetc.c: Likewise.
17445 * libio/ioungetwc.c: Likewise.
17446 * libio/iovdprintf.c: Likewise.
17447 * libio/iovsprintf.c: Likewise.
17448 * libio/iovsscanf.c: Likewise.
17449 * libio/memstream.c: Likewise.
17450 * libio/obprintf.c: Likewise.
17451 * libio/oldfileops.c: Likewise.
17452 * libio/oldiofclose.c: Likewise.
17453 * libio/oldiofdopen.c: Likewise.
17454 * libio/oldiofopen.c: Likewise.
17455 * libio/oldiopopen.c: Likewise.
17456 * libio/oldstdfiles.c: Likewise.
17457 * libio/putc.c: Likewise.
17458 * libio/setbuf.c: Likewise.
17459 * libio/setlinebuf.c: Likewise.
17460 * libio/stdfiles.c: Likewise.
17461 * libio/strops.c: Likewise.
17462 * libio/vasprintf.c: Likewise.
17463 * libio/vscanf.c: Likewise.
17464 * libio/vsnprintf.c: Likewise.
17465 * libio/vswprintf.c: Likewise.
17466 * libio/wfiledoalloc.c: Likewise.
17467 * libio/wfileops.c: Likewise.
17468 * libio/wgenops.c: Likewise.
17469 * libio/wmemstream.c: Likewise.
17470 * libio/wstrops.c: Likewise.
17471 * libio/__fpurge.c: Likewise.
17472 * libio/__fsetlocking.c: Likewise.
17473 * assert/assert.c: Likewise.
17474 * debug/fgets_chk.c: Likewise.
17475 * debug/fgets_u_chk.c: Likewise.
17476 * debug/fread_chk.c: Likewise.
17477 * debug/fread_u_chk.c: Likewise.
17478 * debug/gets_chk.c: Likewise.
17479 * debug/obprintf_chk.c: Likewise.
17480 * debug/vasprintf_chk.c: Likewise.
17481 * debug/vdprintf_chk.c: Likewise.
17482 * debug/vsnprintf_chk.c: Likewise.
17483 * debug/vsprintf_chk.c: Likewise.
17484 * malloc/mtrace.c: Likewise.
17485 * misc/error.c: Likewise.
17486 * misc/syslog.c: Likewise.
17487 * stdio-common/asprintf.c: Likewise.
17488 * stdio-common/fxprintf.c: Likewise.
17489 * stdio-common/getw.c: Likewise.
17490 * stdio-common/isoc99_fscanf.c: Likewise.
17491 * stdio-common/isoc99_scanf.c: Likewise.
17492 * stdio-common/isoc99_vfscanf.c: Likewise.
17493 * stdio-common/isoc99_vscanf.c: Likewise.
17494 * stdio-common/isoc99_vsscanf.c: Likewise.
17495 * stdio-common/printf-prs.c: Likewise.
17496 * stdio-common/printf_fp.c: Likewise.
17497 * stdio-common/printf_fphex.c: Likewise.
17498 * stdio-common/printf_size.c: Likewise.
17499 * stdio-common/putw.c: Likewise.
17500 * stdio-common/scanf.c: Likewise.
17501 * stdio-common/sprintf.c: Likewise.
17502 * stdio-common/tmpfile.c: Likewise.
17503 * stdio-common/vfprintf.c: Likewise.
17504 * stdio-common/vfscanf.c: Likewise.
17505 * stdlib/strfmon_l.c: Likewise.
17506 * sunrpc/openchild.c: Likewise.
17507 * sunrpc/xdr_stdio.c: Likewise.
17508 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17509 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17510
d6c33fda
RM
175112012-05-24 Roland McGrath <roland@hack.frob.com>
17512
c1487492
RM
17513 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17514
17515 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17516 in the third column, to generate for the shared library an IFUNC
17517 that uses _dl_vdso_vsym.
17518 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17519 * Makeconfig (object-suffixes-noshared): New variable.
17520
17521 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17522 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17523 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17524 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17525
d6c33fda
RM
17526 [BZ #14132]
17527 * include/sys/time.h (__gettimeofday): Remove macro.
17528 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17529 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17530 Remove INTDEF.
17531 (__gettimeofday): Add libc_hidden_def.
17532 (gettimeofday): Add libc_hidden_weak.
17533 * sysdeps/mach/gettimeofday.c: Likewise.
17534 * sysdeps/posix/gettimeofday.c: Likewise.
17535 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17536 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17537 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17538 (__gettimeofday_internal): Remove strong_alias.
17539 (__gettimeofday): Add libc_hidden_def.
17540 (gettimeofday): Add libc_hidden_weak.
17541 * sysdeps/unix/syscalls.list (gettimeofday):
17542 Remove __gettimeofday_internal alias.
17543
b5a2bbe6
L
175442012-05-24 Daniel Jacobowitz <drow@false.org>
17545 H.J. Lu <hongjiu.lu@intel.com>
17546
17547 [BZ #12495]
17548 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17549 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17550 (largebin_index_32_big): New.
17551 (largebin_index): Use it for 16-byte alignment.
17552 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17553 correction with front_misalign.
17554
cfba4fda
L
175552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17556
7f907421
L
17557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17559 Likewise.
17560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17561 Likewise.
17562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17563 Likewise.
17564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17565 Likewise.
17566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17567 Likewise.
17568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17569 Likewise.
17570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17571 Likewise.
17572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17573 Likewise.
17574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17575 Likewise.
17576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17577 Likewise.
17578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17579 Likewise.
17580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17581 Likewise.
17582
cfba4fda
L
17583 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17584 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17585
80bad0cc
JM
175862012-05-24 Joseph Myers <joseph@codesourcery.com>
17587
7a25eb06
JM
17588 [BZ #10846]
17589 [BZ #14036]
17590 * math/libm-test.inc (exp_test): Add test from bug 14036.
17591 (pow_test): Add test from bug 10846.
17592
795405f9
JM
17593 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17594 and other flags.
17595 (special_function): Do not include flags in test name.
17596 (parse_args): Likewise.
17597 * sysdeps/i386/fpu/libm-test-ulps: Update.
17598 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17599 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17600 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17602
80bad0cc
JM
17603 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17604 exceptions.
17605 * math/libm-test.inc ("Philosophy"): Update comment about
17606 exception testing.
17607 (UNDERFLOW_EXCEPTION): New macro.
17608 (UNDERFLOW_EXCEPTION_OK): Likewise.
17609 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17610 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17611 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17612 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17613 (INVALID_EXCEPTION_OK): Update value.
17614 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17615 (OVERFLOW_EXCEPTION_OK): Likewise.
17616 (IGNORE_ZERO_INF_SIGN): Likewise.
17617 (test_exceptions): Handle underflow exceptions.
17618 (acos_test): Update for underflow exception expectations.
17619 (cexp_test): Likewise.
17620 (clog_test): Likewise.
17621 (clog10_test): Likewise.
17622 (csqrt_test): Likewise.
17623 (ctan_test): Likewise.
17624 (ctanh_test): Likewise.
17625 (exp_test): Likewise.
17626 (exp10_test): Likewise.
17627 (exp2_test): Likewise.
17628 (expm1_test): Likewise.
17629 (fma_test): Likewise.
17630 (j0_test): Likewise.
17631 (jn_test): Likewise.
17632 (nexttoward_test): Likewise.
17633 (pow_test): Likewise.
17634 (scalbn_test): Likewise.
17635 (scalbln_test): Likewise.
17636 (tan_test): Likewise.
17637 (y1_test): Likewise.
17638 * sysdeps/i386/fpu/libm-test-ulps: Update.
17639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17640
9e0e3d0b
DM
176412012-05-23 David S. Miller <davem@davemloft.net>
17642
17643 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17644 (__libc_sigaction): Remove unused local variables.
17645
ccd0a08f
L
176462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17647
17648 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17649
62bdf9a6
PE
176502012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17651
f8591f80
PE
17652 mktime: avoid signed integer overflow
17653 * time/mktime.c (__mktime_internal): Do not mishandle the case
17654 where diff == INT_MIN.
17655
94c7d826
PE
17656 mktime: simplify computation of average
17657 * time/mktime.c (ranged_convert): Use new time_t_avg function
17658 instead of rolling our own (probably-slower) code.
17659
ce73d683
PE
17660 mktime: do not assume signed right shift propagates sign bit
17661 * time/mktime.c (isdst_differ): New static function.
17662 (__mktime_internal): No need to normalize tm_isdst now.
17663 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17664 tm_isdst values.
17665
72a22e59
PE
17666 mktime: merge another wrapv change from gnulib
17667 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17668 from some compilers.
17669
68605433
PE
17670 mktime: remove incorrect attempt at unusual arithmetics
17671 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17672 The code didn't really work on such machines anyway.
17673 (TYPE_MINIMUM): Assume two's complement.
17674 (twos_complement_arithmetic): Verify that long_int and time_t
17675 are two's complement (or unsigned, in the latter case).
17676
03cf7fe3
PE
17677 mktime: check signed shifts on long_int and time_t, too
17678 * time/mktime.c (SHR): Check that shifts work as desired
17679 on the types long_int and time_t too, as SHR is used on
17680 such types.
17681
f04dfbc2
PE
17682 mktime: do not assume 'long' is wide enough
17683 * time/mktime.c (verify): Move decl up.
17684 (long_int): New type.
17685 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17686 to remove assumption in the code that 'long' is wide enough to
17687 store year values. This assumption is not true on x32 and on
17688 some non-glibc platforms.
17689
62bdf9a6
PE
17690 mktime: merge wrapv change from gnulib
17691 * time/mktime.c (WRAPV): New macro.
17692 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17693 (guess_time_tm, __mktime_internal): Do not assume that signed
17694 integer overflow wraps around; modern compilers generate code
17695 where this assumption is no longer valid.
17696
5e292e4f
L
176972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17698
17699 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17700 Replace "jmp L(pseudo_end)" with "ret".
17701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17702 Likewise.
17703
8caf8c87
AJ
177042012-05-23 Andreas Jaeger <aj@suse.de>
17705
17706 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17707 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17708
1a09dc56
AJ
177092012-05-23 Andreas Jaeger <aj@suse.de>
17710 Maximilian Attems <max@stro.at>
17711
17712 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17713 New macros.
17714
1c87aba0
L
177152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17716
17717 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17718 code so that pseudo_end is just ret and the stack pointer is
17719 correct also for static library in error case.
17720
40e45bd5
JM
177212012-05-23 Joseph Myers <joseph@codesourcery.com>
17722
c2670533
JM
17723 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17724 move to syscalls.list.
17725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17729
40e45bd5
JM
17730 * manual/install.texi (Running make install): Do not mention Linux
17731 kernel version for which pt_chown is not needed.
17732 (Linux): Do not mention problems with nscd with 2.0 kernels.
17733 * INSTALL: Regenerated.
17734
be08eda5
AJ
177352012-05-23 Andreas Jaeger <aj@suse.de>
17736
17737 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17738 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17739 macro.
17740 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17741 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17742 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17743 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17744 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17745 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17746 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17747 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17748 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17749 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17750 * sysdeps/unix/sysv/linux/bits/in.h
17751 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17752
a6a056bb
RM
177532012-05-22 Roland McGrath <roland@hack.frob.com>
17754
17755 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17756 (PREPARE_VERSION): Just use assert instead, it will be elided
17757 under [NDEBUG] anyway.
17758
c9009328
L
177592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17760
17761 * sysdeps/unix/sysv/linux/Makefile: Include
17762 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17763 (sysdep_routines): Remove sysctl.
c9009328
L
17764 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17765 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17766 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17767 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17768 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17769
73338355
AJ
177702012-05-22 Andreas Jaeger <aj@suse.de>
17771
17772 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17773 that pseudo_end is just ret and the stack pointer is correct also
17774 for static library in error case.
17775
d44638b0
PP
177762012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17777
17778 [BZ #14122]
17779 * nss/nsswitch.c (defconfig_entries): New variable.
17780 (__nss_database_lookup): Don't leak defconfig entries.
17781 (nss_parse_service_list): Don't leak on error paths.
17782 (free_database_entries): New function.
17783 (free_defconfig): New function.
17784 (free_mem): Move common code to free_database_entries.
17785
31a39bd8
L
177862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17787
da0331a8
L
17788 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17789 Add arch_prctl.
17790 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17791
31a39bd8
L
17792 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17793 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17795 New macro.
17796 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17797 (INTERNAL_SYSCALL_TYPES): Likewise.
17798 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17799 (LOAD_REGS_TYPES_[1-6]): Likewise.
17800 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17801 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17802
45470df3
AZ
178032012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17804
17805 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17806 copysignl for GLIBC_2_0.
17807 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17808 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17809 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17810 logbl for GLIBC_2_0.
17811 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17812 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17813
98a61bcb
L
178142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17815
a4f6e481
L
17816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17817 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17818
f63d5db6
L
17819 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17820 Use "neg %eax".
17821
98a61bcb
L
17822 * time/mktime.c: Update copyright years.
17823
95770f14
PE
178242012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17825
6226efbd
PE
17826 mktime: merge comment-quoting-style change from gnulib
17827 * time/mktime.c: Quote 'like this' in comments.
17828 The GNU coding standards suggest that we no longer quote `like this',
17829 as "`" and "'" are typically rendered asymmetrically nowadays.
17830 The typical gnulib style is to quote 'like this' when quoting
17831 code, and "like this" when quoting English.
17832
b99e4f78
PE
17833 * time/mktime.c (compile-command): Add "-I.".
17834
643e01e6
PE
17835 mktime: merge mktime-internal.h change from gnulib
17836 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17837
2554247d
PE
17838 mktime: merge time_r change from gnulib
17839 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17840
826dd0ab
PE
17841 mktime: merge DEBUG change from gnulib
17842 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17843 case system <time.h> has a #define.
17844
bd83aabe
PE
17845 mktime: merge <sys/types.h> change from gnulib
17846 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17847 since <time.t> is now guaranteed to define time_t.
17848
95770f14
PE
17849 mktime: merge HAVE_CONFIG_H change from gnulib
17850 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17851
5e1a27a9
L
178522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17853
0e44a77e
L
17854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17855 Use "neg %eax".
17856
5e1a27a9
L
17857 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17858 __rlim_t cast.
17859 (struct rusage): Use anonymous union to pad each field to
17860 __syscall_slong_t.
17861
46259bec
DM
178622012-05-21 David S. Miller <davem@davemloft.net>
17863
17864 * Makefules (o-iterator): Remove .s cases.
17865 (compile-command.s): Delete.
17866 (COMPILE.s): Delete.
17867 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17868
59f0c22e
JM
178692012-05-21 Joseph Myers <joseph@codesourcery.com>
17870
17871 * configure.in (libc_cv_predef_stack_protector): Only consider
17872 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17873 * configure: Regenerated.
17874
20c07380
L
178752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17876
bbb3154b
L
17877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17878 New macro. Use R*LP on int and pointer.
17879 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17880 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17881 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17882 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17883
20c07380
L
17884 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17885 [__WORDSIZE_TIME64_COMPAT32] instead of
17886 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17887 (struct utmp): Likewise.
17888 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17889 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17890 Renamed to ...
17891 (__WORDSIZE_TIME64_COMPAT32): This.
17892 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17893 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17894 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17895 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17896 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17897 (__WORDSIZE_TIME64_COMPAT32): New macro.
17898
d8d1017e
AJ
178992012-05-21 Andreas Jaeger <aj@suse.de>
17900
17901 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17902 only if [SHARED]. Add prototype for __wcschr_ia32.
17903
6c7fb145
RM
179042012-05-21 Roland McGrath <roland@hack.frob.com>
17905
17906 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17907 of %rbp unmolested in the jmp_buf while mangling the low bits.
17908 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17909 unmolested high bits of %rbp while demangling the low bits.
17910 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17911
66274218
AJ
179122012-05-21 Andreas Jaeger <aj@suse.de>
17913
07c58f8f
AJ
17914 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17915 * sunrpc/svc_simple.c: Use it for registerrpc.
17916 * sunrpc/xcrypt.c: Use it for passwd2des.
17917
66274218
AJ
17918 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17919
61f65140
L
179202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17921
17922 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17923 Don't define if [__SYSCALL_WORDSIZE != 32].
17924 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17925 New macro.
17926
5fefb436
AJ
179272012-05-21 Bruno Haible <bruno@clisp.org>
17928 Andreas Jaeger <aj@suse.de>
17929
17930 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17931 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17932 inptr and inend for must_buffer_ch.
17933 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17934 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17935 * stdio-common/Makefile (tests): Remove bug15.
17936 (bug15-ENV): Remove macro.
17937 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17938 anymore.
17939
d8e272ab
AJ
179402012-05-19 Andreas Jaeger <aj@suse.de>
17941 Roland McGrath <roland@hack.frob.com>
17942
17943 * manual/contrib.texi: Completely rewritten. It contains now an
17944 alphabetical list of contributors and their contributions.
17945
4a56a162
RH
179462012-05-21 Richard Henderson <rth@twiddle.net>
17947
17948 * misc/getauxval.c (__getauxval): Use unsigned long int.
17949 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17950 (getauxval): Use unsigned long int.
17951
d024d23c
L
179522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17953
17954 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17955
cbc00a03
RM
179562012-05-21 Roland McGrath <roland@hack.frob.com>
17957
17958 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17959 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17960 __alignof__ (long double).
17961
478143fa
AZ
179622012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17963
17964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17965
c7683a6d
RH
179662012-05-20 Richard Henderson <rth@twiddle.net>
17967
17968 * misc/getauxval.c: New file.
17969 * misc/sys/auxv.h: New file.
17970 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17971 (routines): Add getauxval.
17972 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17973 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17974 * elf/dl-sysdep.c (_dl_auxv): Remove.
17975 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17976 * elf/dl-support.c (_dl_auxv): New variable.
17977 (_dl_aux_init): Initialize it.
17978 * manual/startup.texi (Auxiliary Vector): New node.
17979 * sysdeps/generic/bits/hwcap.h: New file.
17980 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17981 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17982 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17983 * sysdeps/sparc/sysdep.h: ... here. Include it.
17984 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17985 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17987 Update.
c7683a6d
RH
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17996
a6f1845d
AZ
179972012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17998
17999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18000
cbcbe830
DM
180012012-05-19 David S. Miller <davem@davemloft.net>
18002
18003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18004
e0b16cc2
JM
180052012-05-19 Joseph Myers <joseph@codesourcery.com>
18006
18007 [BZ #14123]
18008 * math/s_ccosh.c: Include <float.h>
18009 (__ccosh): Avoid internal overflow calculating sinh and cosh
18010 values before multiplying by sin and cos values.
18011 * math/s_ccoshf.c: Likewise.
18012 * math/s_ccoshl.c: Likewise.
18013 * math/s_csin.c: Likewise.
18014 * math/s_csinf.c: Likewise.
18015 * math/s_csinl.c: Likewise.
18016 * math/s_csinh.c: Likewise.
18017 * math/s_csinhf.c: Likewise.
18018 * math/s_csinhl.c: Likewise.
18019 * math/libm-test.inc (ccos_test): Add more tests.
18020 (ccosh_test): Likewise.
18021 (csin_test): Likewise.
18022 (csinh_test): Likewise.
18023 * sysdeps/i386/fpu/libm-test-ulps: Update.
18024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18025
6ad13e08
L
180262012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18027
f66f0ce8
L
18028 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18029 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18030
6ad13e08
L
18031 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18032
b1d072a7
JM
180332012-05-19 Joseph Myers <joseph@codesourcery.com>
18034
18035 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18036 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18037 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18038 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18039 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18040 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18041 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18042 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18043 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18044 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18045 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18046 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18047 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18048 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18049 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18050 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18051 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18052 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18053 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18054 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18055 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18056 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18057 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18058 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18059 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18060 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18061 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18062 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18063 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18064 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18065 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18066
9eae47cb
AJ
180672012-05-18 Andreas Jaeger <aj@suse.de>
18068
18069 * csu/.gitignore: Delete.
18070
bb07f69f
L
180712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18072
18073 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18074 (timex): Use __syscall_slong_t.
18075
e6bdb741
AJ
180762012-05-18 Andreas Jaeger <aj@suse.de>
18077 Carlos O'Donell <carlos_odonell@mentor.com>
18078
18079 * manual/install.texi (Configuring and compiling): Update
18080 description about files modified in the source directory.
d6c33fda 18081 * INSTALL: Regenerated.
e6bdb741 18082
1b74487e
L
180832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18084
18085 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18086 value. Use "or" to set return value to -1.
18087 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18088 negate return value.
18089
a88b64b9
TMQMF
180902012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18091
18092 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18093 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18094 failure if the compiler has Graphite support disabled.
18095 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18096 Likewise.
18097 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18098 CFLAGS-memmove.c): Likewise.
18099 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18100 Likewise.
18101
3707636e
L
181022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18103
610b8622
L
18104 * sysdeps/x86_64/x32/_itoa.h: New file.
18105
7cd195df
L
18106 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18107 getdents system call only if kernel and user dirents have the
18108 same d_ino and d_off.
18109
94b07d20
L
18110 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18111 LLONG_MAX != LONG_MAX.
18112 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18113 (_fitoa_word): Likewise.
18114
18298070
L
18115 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18116 years.
18117 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18118 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18119 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18120
553c7ea4
L
18121 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18122 include <bits/wordsize.h>. Check __x86_64__ instead of
18123 __WORDSIZE.
18124 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18125 if __x86_64__ is defined. Use anonymous union on fpstate.
18126
3707636e
L
18127 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18128 anonymous union.
18129
b53ef01a
AS
181302012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18131
37fb1dc0
AS
18132 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18133 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18134 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18135 Refer to _rtld_local_ro instead of _rtld_global_ro.
18136 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18137 Likewise.
18138 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18139 Likewise.
18140 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18141 Likewise.
18142 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18143 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18144 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18145
b53ef01a
AS
18146 * sysdeps/powerpc/powerpc32/dl-machine.c
18147 (__elf_machine_runtime_setup) [PROF]: Don't reference
18148 _dl_prof_resolve.
18149
7a185db2
AJ
181502012-05-18 Andreas Jaeger <aj@suse.de>
18151
18152 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18153 function only available for GCCs before 3.4 since GCC 3.4
18154 introduced a builtin.
18155 (lrint): Likewise.
18156 (llrintf): Likewise.
18157 (llrint): Likewise.
18158 (fmaxf): Likewise.
18159 (fmax): Likewise.
18160 (fminf): Likewise.
18161 (fmin): Likewise.
18162 (rint): Likewise.
18163 (rintf): Likewise.
18164 (nearbyint): Likewise.
18165 (nearbyintf): Likewise.
18166 (ceil): Likewise.
18167 (ceilf): Likewise.
18168 (floor): Likewise.
18169 (floorf): Likewise.
18170
3e5aef87
L
181712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18172
428bd707
L
18173 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18174 on both fields and cast pointer to __syscall_ulong_t.
18175
3e5aef87
L
18176 * bits/types.h (__fsword_t): New type.
18177 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18178 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18180 (__FSWORD_T_TYPE): Likewise.
18181 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18182 (__FSWORD_T_TYPE): Likewise.
18183 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18184 (__FSWORD_T_TYPE): Likewise.
18185 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18186 (__FSWORD_T_TYPE): Likewise.
18187 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18188 __SWORD_TYPE with __fsword_t.
18189 (statfs64): Likewise.
18190
1ba7c3dc
DM
181912012-05-17 David S. Miller <davem@davemloft.net>
18192
18193 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18194
59910343
AJ
181952012-05-17 Andreas Jaeger <aj@suse.de>
18196
18197 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18198 warning.
18199
2e4c1e9e
L
182002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18201
18202 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18203
de7f5ce7
AJ
182042012-05-17 Andreas Jaeger <aj@suse.de>
18205
18206 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18207 when it is used.
18208
286abc3d
CM
182092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18210
18211 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18212
477cc68e
L
182132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18214
18215 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18216 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18217
1a0994f5
CD
182182012-05-17 Andreas Jaeger <aj@suse.de>
18219 Carlos O'Donell <carlos_odonell@mentor.com>
18220
18221 [BZ #14059]
18222 * sysdeps/x86_64/multiarch/init-arch.h
18223 (bit_YMM_Usable): Rename to...
18224 (bit_AVX_Usable): ... this.
18225 (bit_FMA4_Usable): New macro.
18226 (bit_XMM_state): New macro.
18227 (bit_YMM_state): New macro.
18228 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18229 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18230 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18231 (CPUID_OSXSAVE): New macro.
18232 (CPUID_AVX): New macro.
18233 (CPUID_FMA4): New macro.
18234 (index_YMM_Usable): Rename to...
18235 (index_AVX_Usable): ... this.
18236 (HAS_AVX): Use HAS_ARCH_FEATURE.
18237 (HAS_FMA4): Likewise.
18238 (HAS_YMM_USABLE): Remove.
18239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18240 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18241 are present.
18242 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18243 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18244 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18245 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18246 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18247
0af797de
CM
182482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18249
18250 * math/libm-test.c: Support platforms without multiple rounding modes.
18251 * math/bug-nextafter.c: Support platforms without FP exceptions.
18252 * math/bug-nexttoward.c: Likewise.
18253 * math/test-fenv.c: Likewise.
18254 * math/test-misc.c: Likewise.
18255 * stdlib/bug-getcontext.c: Likewise.
18256
e39745ff
AJ
182572012-05-17 Andreas Jaeger <aj@suse.de>
18258
18259 * manual/examples/search.c (critter_cmp): Change signature to
18260 avoid warnings.
18261 * manual/string.texi (Collation Functions): Likewise.
18262
48970aba
L
182632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18264
18265 * bits/types.h: Fold copyright years.
18266 * bits/typesizes.h: Likewise.
18267 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18269 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18271 * time/time.h: Likewise.
18272
bedee953
PP
182732012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18274
18275 [BZ #208]
18276 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18277 in instead of returning them. Return void.
18278 (__libc_mallinfo): Accumulate over all arenas.
18279 (__malloc_stats): Adjust for change in int_mallinfo interface.
18280
61653dfb
RM
182812012-05-16 Roland McGrath <roland@hack.frob.com>
18282
30b99d79
RM
18283 [BZ #10375]
18284 * configure.in (NM): Add AC_CHECK_TOOL for it.
18285 (libc_extra_cflags): New substituted variable.
18286 Check for -fstack-protector being used implicitly.
18287 * configure: Regenerated.
18288 * config.make.in (config-extra-cflags): New variable,
18289 gets @libc_extra_cflags@.
18290 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18291
61653dfb
RM
18292 [BZ #10375]
18293 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18294 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18295 * configure: Regenerated.
18296 * config.make.in (CPPUNDEFS): New substituted variable.
18297 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18298 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18299 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18300
661768bb
L
183012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18302
18303 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18304 (mq_attr): Use __syscall_slong_t.
18305
d4261567
L
183062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18307
18308 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18309 Check __x86_64__ instead of __WORDSIZE.
18310 (_STAT_VER_LINUX): Likewise.
18311 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18312 __syscall_ulong_t and __syscall_slong_t.
18313 (stat64): Likewise.
18314
cf3ff365
L
183152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18316
18317 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18318
76cf3e4d
L
183192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18320
18321 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18322
a637753a
L
183232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18324
18325 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18326 __syscall_ulong_t.
18327
d5e05119
L
18328 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18329 include <bits/wordsize.h>. Check __x86_64__ instead of
18330 __WORDSIZE.
18331 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18332 defined.
18333 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18334
f62ee380
L
18335 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18336 include <bits/wordsize.h>. Check __x86_64__ instead of
18337 __WORDSIZE.
18338 (user_regs_struct): Use "__extension__ unsigned long long"
18339 instead of "unsigned long" if __x86_64__ is defined.
18340 (user): Likewise. Pad after pointer field if __ILP32__ is
18341 defined.
18342
4e124ced
JM
183432012-05-16 Joseph Myers <joseph@codesourcery.com>
18344
6a3951a0
JM
18345 * configure.in (makeinfo): Require version 4.5 or later. Allow
18346 versions 5 to 9.
18347 * configure: Regenerated.
18348 * manual/install.texi (texinfo): Increase version requirement to
18349 4.5 or later.
18350 * INSTALL: Regenerated.
18351
4e124ced
JM
18352 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18353
953ca31a
L
183542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18355
18356 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18357
617aca05
L
18358 * sysdeps/x86_64/x32/ffs.c: New file.
18359
5762f7ae
L
18360 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18361 __syscall_ulong_t.
18362 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18363 defined. Use __syscall_ulong_t.
18364 (shminfo): Use __syscall_ulong_t.
18365 (shm_info): Likewise.
18366
a26b6856
L
18367 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18368 __syscall_ulong_t.
18369
cb2b9ef7
L
18370 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18371 <bits/wordsize.h>.
18372 (msgqnum_t): Use __syscall_ulong_t.
18373 (msglen_t): Likewise.
18374 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18375 __syscall_ulong_t.
18376
34683bb0
L
18377 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18378 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18379
84a68786
L
18380 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18381
48baa5f1
L
18382 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18383 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18384
180be88b
L
18385 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18386 __syscall_slong_t.
18387
5e90c8ad
L
18388 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18389 include <bits/wordsize.h>. Check __x86_64__ instead of
18390 __WORDSIZE.
18391
23dfb58b
L
18392 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18393 "unsigned long long int" if __x86_64__ is defined.
18394 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18395
ce5d54b0
L
18396 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18397 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18398 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18399
13dc9eac
L
18400 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18401 <stdint.h>.
18402 (GET_PC): Cast to uintptr_t first.
18403 (GET_FRAME): Likewise.
18404 (GET_STACK): Likewise.
18405
a7895d15
L
18406 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18407 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18408 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18409 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18410 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18411 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18412 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18413 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18414 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18415 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18416 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18417 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18418 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18419 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18420 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18421 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18422 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18423 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18424 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18425 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18426 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18427 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18428 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18429 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18430 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18431 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18432 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18433 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18434 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18435
656416c9
AS
184362012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18437
5bd66283
AS
18438 * Makerules (+depfiles): Also collect depfiles from .oS in
18439 $(extra-objs).
18440 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18441 .oS, $(libnldbl-routines)).
18442
656416c9
AS
18443 * Makerules (native-compile-mkdep-flags): Define.
18444 * sunrpc/Makefile (extra-objs): Add $(addprefix
18445 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18446 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18447 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18448 calling $(make-target-directory).
18449
a46f2169
L
184502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18451
18452 * bits/types.h (__snseconds_t): Removed.
18453 * time/time.h (struct timespec): Replace __snseconds_t with
18454 __syscall_slong_t.
18455 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18456 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18457 Likewise.
18458 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18459 (__SNSECONDS_T_TYPE): Likewise.
18460 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18461 (__SNSECONDS_T_TYPE): Likewise.
18462 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18463 (__SNSECONDS_T_TYPE): Likewise.
18464
6af6528b
L
184652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18466
18467 * sysdeps/mach/hurd/bits/typesizes.h
18468 (__SYSCALL_SLONG_TYPE): New macro.
18469 (__SYSCALL_ULONG_TYPE): Likewise.
18470
de986b56
L
184712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18472
18473 * bits/types.h (__syscall_slong_t): New type.
18474 (__syscall_ulong_t): Likewise.
18475
18476 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18477 (__SYSCALL_ULONG_TYPE): Likewise.
18478 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18479 (__SYSCALL_SLONG_TYPE): Likewise.
18480 (__SYSCALL_ULONG_TYPE): Likewise.
18481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18482 (__SYSCALL_SLONG_TYPE): Likewise.
18483 (__SYSCALL_ULONG_TYPE): Likewise.
18484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18485 (__SYSCALL_SLONG_TYPE): Likewise.
18486 (__SYSCALL_ULONG_TYPE): Likewise.
18487
85736dc7
L
184882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18489
18490 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18491 Add sigaltstack-offsets.sym.
18492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18493 <sigaltstack-offsets.h>.
18494 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18495 longjmp_msg pointer.
18496 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18497 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18498 signal stack.
18499 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18500
cc03b296
JM
185012012-05-15 Joseph Myers <joseph@codesourcery.com>
18502
a9538892
JM
18503 * elf/stackguard-macros.h: Remove file.
18504 * sysdeps/generic/stackguard-macros.h: New file.
18505 * sysdeps/i386/stackguard-macros.h: Likewise.
18506 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18507 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18508 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18509 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18510 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18511 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18512 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18513 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18514 <elf/stackguard-macros.h>.
18515
cc03b296
JM
18516 [BZ #14109]
18517 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18518 __aligned__ in attribute.
18519 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18520 (gregset_t): Likewise.
18521
93171016
L
185222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18523
18524 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18525 * sysdeps/x86_64/64/Implies-after: Here. New file.
18526 * sysdeps/x86_64/x32/Implies-after: New file.
18527
d86813a0
L
185282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18529
18530 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18531 and access return value for _dl_profile_fixup. Use R10_LP to
18532 load frame size.
18533
2953ec75
L
185342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18535
18536 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18537
3b550e9e
L
185382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18539
18540 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18541 * sysdeps/x86_64/x32/sysdep.h: New file.
18542
eda41706
L
185432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18544
18545 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18546 * sysdeps/x86_64/setjmp.S: Likewise.
18547
9ea01d93
AZ
185482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18549
18550 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18551 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18552 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18553 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18554 remove unused global constant.
18555
02a91938
CM
185562012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18557
18558 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18559 include of <not-cancel.h>.
18560
6540185f
RM
185612012-05-15 Roland McGrath <roland@hack.frob.com>
18562
18563 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18564
509072a0
AJ
185652012-05-15 Jeff Law <law@redhat.com>
18566 Andreas Jaeger <aj@suse.de>
18567
18568 [BZ #13594]
18569 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18570 out from...
18571 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18572 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18573 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18574 code changing __hst_map_handle.map.
18575
ba75122d
RM
185762012-05-15 Roland McGrath <roland@hack.frob.com>
18577
18578 * configure.in (sysnames): Look for Implies-before and Implies-after
18579 files.
18580 * configure: Regenerated.
18581
890d8bd8
L
185822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18583
18584 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18585 8-byte data alignment with LP_SIZE alignment.
18586
f6ee6623
L
185872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18588
18589 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18590 into R10_LP.
18591
ea2626f6
L
185922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18593
18594 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18595
085f715e
L
185962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18597
18598 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18599 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18600 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18601 Likewise.
18602 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18603
be8498fc
L
186042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18605
18606 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18607 (stackinfo_sub_sp): Likewise.
18608
70bc83b9
L
186092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18610
18611 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18612 RAX_LP.
18613
9bc0b730
L
186142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18615
18616 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18617 into R*_LP.
18618
6d2850e7
L
186192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18620
18621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18622 sizes into R*_LP.
18623
3cb84561
L
186242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18625
18626 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18627
54e2ed81
L
186282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18629
18630 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18631 into R11_LP and load __x86_64_shared_cache_size_half into
18632 R8_LP.
18633
8a17f349
L
186342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18635
18636 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18637 R8_LP.
18638
777b1eea
AZ
186392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18640
18641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18642 logb for POWER7.
18643 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18644 logbf for POWER7.
18645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18646 logbl for POWER7.
18647 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18648 powerpc32/power7/fpu/s_logb.c via #include.
18649 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18650 powerpc32/power7/fpu/s_logbf.c via #include.
18651 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18652 powerpc32/power7/fpu/s_logbl.c via #include.
18653
d20d4ac2
JM
186542012-05-15 Joseph Myers <joseph@codesourcery.com>
18655
18656 * README.libm: Remove file.
18657
6cdef1ab
L
186582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18659
18660 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18661 count for x32. Use R*_LP and omit operand-size suffix.
18662
0b254d8f
L
186632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18664
18665 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18666 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18667 * sysdeps/x86_64/x32/shlib-versions: New file.
18668
ceb809dc
RM
186692012-05-14 Roland McGrath <roland@hack.frob.com>
18670
18671 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18672 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18673 Use _dl_fatal_printf instead.
18674
37f1abd4
JM
186752012-05-14 Joseph Myers <joseph@codesourcery.com>
18676
18677 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18678 set if not set by the user. Do not allow for being unset.
18679 * sysdeps/unix/sysv/linux/configure: Regenerated.
18680
11de3a33
L
186812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18682
18683 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18684 the `q' suffix from lea and replace .quad with ASM_ADDR.
18685
e02f153a
L
186862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18687
18688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18689 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18690 instead of $17.
18691 (PTR_DEMANGLE): Likewise.
18692
520ae0fd
L
186932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18694
18695 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18696 (LP_OP): Likewise.
18697 (ASM_ADDR): Likewise.
18698 (RAX_LP): Likewise.
18699 (RBP_LP): Likewise.
18700 (RBX_LP): Likewise.
18701 (RCX_LP): Likewise.
18702 (RDI_LP): Likewise.
18703 (RSI_LP): Likewise.
18704 (RSP_LP): Likewise.
18705 (R8_LP): Likewise.
18706 (R9_LP): Likewise.
18707 (R10_LP): Likewise.
18708 (R10_LP): Likewise.
18709 (R11_LP): Likewise.
18710 (R12_LP): Likewise.
18711 (R13_LP): Likewise.
18712 (R14_LP): Likewise.
18713 (R15_LP): Likewise.
18714
b985be81
L
187152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18716
18717 * sysdeps/x86_64/x32/dl-machine.h: New file.
18718
6a4888ff
AJ
187192012-05-14 Andreas Jaeger <aj@suse.de>
18720
18721 * manual/Makefile (subdir): Remove export of subdir.
18722 (all): Remove target.
18723 (.PHONY): Remove all from list.
18724 (mkinstalldirs): Remove.
18725 (.PHONY): Remove installdirs from list.
18726 ($(inst_infodir)/libc.info): Use make-target-directory.
18727 (installdirs): Remove.
18728 (subdir_%): Remove.
18729 (glibc-targets): Remove.
18730 (lib): Remove.
18731 (stubs): Remove.
18732 ($(objpfx)stubs ../po/manual.pot): Remove.
18733 ($(objpfx)stamp%): Remove.
18734 (make-target-directory): Remove.
18735 (subdir_install): Remove.
18736 (routines): Remove.
18737 (aux): Remove.
18738 (sources): Remove.
18739 (objects): Remove.
18740 (headers): Remove.
18741
18742 [BZ #13750]
18743 * manual/.gitignore: Remove, it's not needed anymore.
18744 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18745 all files in it.
18746 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18747 directory.
18748 (texis): Renamed to $(objpfx)texis.
18749 (texis-path): New, contains path to generated files.
18750 (chapters.%): Use texis-path for complete path, add extra argument
18751 libc-texinfo.sh.
18752 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18753 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18754 (summary,texi, stamp-summary): Use complete path of
18755 files. Generate files in build dir.
18756 (dir-add.texi): Build in build dir.
18757 (libm-err.texi,stamp-libm-err): Likewise.
18758 (version.texi, stamp-version): Likewise.
18759 (.%c.texi): Likewise.
18760 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18761 (mostlyclean): Remove target.
18762 (realclean): Remove target.
18763 (generated): Add new variable with contents from mostlyclean and
18764 realclean, remove entries duplicated in common-mostlyclean, add
18765 stamp-libm-err and stamp-version.
18766 (generated-dirs): Add libc directory.
18767 ($(inst_infodir)/libc.info): Install files from build dir.
18768
18769 * manual/install.texi (Configuring and compiling): Adjust since
18770 the info files are not part of the tar ball anymore.
18771
7ac77294
AJ
187722012-05-14 Andreas Jaeger <aj@suse.de>
18773
18774 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18775 variable.
18776
ffb7875d
JM
187772012-05-14 Joseph Myers <joseph@codesourcery.com>
18778
18779 [BZ #13717]
18780 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18781 to 2.2.0 where earlier.
18782 * sysdeps/unix/sysv/linux/configure: Regenerated.
18783 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18784 Remove conditional code.
18785 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18786 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18787 Remove conditional code.
18788 [!__NR_lchown]: Likewise.
18789 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18790 [__NR_lchown]: Likewise.
18791 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18792 comment referencing __ASSUME_LCHOWN_SYSCALL.
18793 * sysdeps/unix/sysv/linux/i386/sigaction.c
18794 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18795 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18796 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18797 Remove conditional code.
18798 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18799 (__protocol_available): Remove #if 0 code.
18800 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18801 conditional code.
18802 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18803 * sysdeps/unix/sysv/linux/kernel-features.h
18804 (__ASSUME_GETCWD_SYSCALL): Don't define.
18805 (__ASSUME_REALTIME_SIGNALS): Likewise.
18806 (__ASSUME_PREAD_SYSCALL): Likewise.
18807 (__ASSUME_PWRITE_SYSCALL): Likewise.
18808 (__ASSUME_POLL_SYSCALL): Likewise.
18809 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18810 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18811 non-SPARC.
18812 (__ASSUME_SIOCGIFNAME): Don't define.
18813 (__ASSUME_MSG_NOSIGNAL): Likewise.
18814 (__ASSUME_SENDFILE): Define unconditionally.
18815 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18816 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18817 conditional code.
18818 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18819 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18820 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18821 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18822 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18823 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18824 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18826 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18827 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18829 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18832 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18833 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18835 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18838 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18839 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18841 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18842 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18844 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18845 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18847 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18848 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18849 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18850 Remove conditional code.
18851 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18852 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18853 Remove conditional code.
18854 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18855 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18856 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18857 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18858 Remove conditional code.
18859 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18860 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18861 Remove conditional code.
18862 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18863 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18864 Remove conditional code.
18865 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18866 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18867 Remove conditional code.
18868 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18869 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18870 Remove conditional code.
18871 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18872 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18873 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18874 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18875 * sysdeps/unix/sysv/linux/sigaction.c
18876 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18877 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18878 * sysdeps/unix/sysv/linux/sigpending.c
18879 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18880 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18881 * sysdeps/unix/sysv/linux/sigprocmask.c
18882 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18883 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18884 * sysdeps/unix/sysv/linux/sigsuspend.c
18885 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18886 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18887 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18888 (__libc_missing_rt_sigs): Remove.
18889 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18890 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18891 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18892 Remove conditional code.
18893 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18894 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18895 return 1.
18896 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18897 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18898 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18899 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18900
1bfb7291
AJ
189012012-05-14 Andreas Jaeger <aj@suse.de>
18902
caae5a81
AJ
18903 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18904 it's not used in glibc.
18905 (__coshm1): Likewise.
18906 (__acosh1p): Likewise.
18907 (__sgn): Likewise.
18908
1bfb7291
AJ
18909 * manual/string.texi (Copying and Concatenation): Add missing
18910 variable in concat example.
18911 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18912
c044d724
L
189132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18914
144c5467 18915 [BZ #14103]
c044d724
L
18916 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18917 __builtin_clzl with __builtin_clzll.
18918
2523c62b
L
189192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18920
18921 [BZ #14104]
18922 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18923 libc_freeres_ptr.
18924
d7bb4c42
LD
189252012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18926
18927 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18928 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18929 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18930 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18931
9dc4e1fb
MF
189322012-05-14 Mike Frysinger <vapier@gentoo.org>
18933
18934 * NEWS: Update ia64 info.
18935
c7df0112
AS
189362012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18937
18938 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18939 used as bcopy.
18940
dc70356c
TS
189412012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18942
18943 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18944 * sysdeps/unix/syscalls.list (dup3): Likewise.
18945 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18946 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18947
9fb1a21f
L
189482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18949
18950 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18951 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18952
4822a2a5
L
189532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18954
18955 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18956 thread pointer.
18957 (TLS_IE): Use mov/add instead of movq/addq to load thread
18958 pointer.
18959 (TLS_GD_PREFIX): New.
18960 (TLS_GD): Use it.
18961
842b81d6
DM
189622012-05-11 David S. Miller <davem@davemloft.net>
18963
18964 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18965 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18966 (_FPU_SETCW): Likewise.
18967
1cf463cd
L
189682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18969
18970 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18971 is 32-byte aligned.
18972
60cc4a18
AS
189732012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18974
18975 [BZ #11837]
18976 * iconvdata/gb18030.c: Update tables.
18977 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18978 characters specially.
18979 (BODY for TO_LOOP): Add encoding of missing ranges.
18980
febb44a4
TS
189812012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18982
18983 [BZ #13673]
18984 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18985 * sysdeps/mach/hurd/dup3.c: Likewise.
18986 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18987 * sysdeps/powerpc/memmove.c:: Likewise.
18988
0a10fb9e
L
189892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18990
18991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18992 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18993
df8a552f
L
189942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18995
18996 * elf/elf.h (R_X86_64_RELATIVE64): New.
18997 (R_X86_64_NUM): Updated.
18998 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18999 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19000 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19001 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19002 tst-quad1pie tst-quad2pie
19003 (modules-names): Add tst-quadmod1 tst-quadmod2.
19004 ($(objpfx)tst-quad1): New dependency.
19005 ($(objpfx)tst-quad2): Likewise.
19006 ($(objpfx)tst-quad1pie): Likewise.
19007 ($(objpfx)tst-quad2pie): Likewise.
19008 * sysdeps/x86_64/tst-quad1.c: New file.
19009 * sysdeps/x86_64/tst-quad1pie.c: New file.
19010 * sysdeps/x86_64/tst-quad2.c: Likewise.
19011 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19012 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19013 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19014 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19015 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19016
f34d6f84
ST
190172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19018
f42d41d1
ST
19019 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19020 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19021 * streams/stropts.h (t_scalar_t): Define type.
19022
3c3571fc
ST
19023 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19024 (_PATH_PRESERVE): Set to "/var/lib".
19025 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19026
61f06bd3
ST
19027 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19028 instead of int.
19029
918d4d71
ST
19030 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19031 if __dir_mkfile succeeded.
19032
f34d6f84
ST
19033 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19034 checking for _hurd_dtablesize. Unlock it right after having
19035 finished _hurd_dtable allocation.
19036
10589b4a
TS
190372012-05-10 Thomas Schwinge <thomas@schwinge.name>
19038
674cdbc7
TS
19039 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19040 * sysdeps/mach/hurd/configure: Regenerated.
19041 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19042 special-casing to...
19043 * sysdeps/gnu/configure.in: ... this new file.
19044 * sysdeps/unix/sysv/linux/configure: Regenerated.
19045 * sysdeps/gnu/configure: New generated file.
19046
8e41b99f
TS
19047 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19048 for Linux: use nsec instead of usec, as well as:
19049 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19050 members of type struct timespec.
19051 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19052 New macros.
19053 (struct stat64): Likewise.
19054 (_STATBUF_ST_NSEC): New macro.
19055 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19056
10589b4a
TS
19057 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19058 __strtoul_internal rather than strtoul.
19059
63643c85
PT
190602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19061
19062 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19063 and reject them.
19064
3faebe6a
ST
190652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19066
19067 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19068 which preserves existing values.
19069 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19070
c6474b07
PT
190712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19072
19073 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19074 TIMEOUT values. Return EINVAL for NFDS values either negative or
19075 greater than FD_SETSIZE.
19076
1043890b
ST
190772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19078
19079 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19080 allocated, call __vm_protect to finish enabling the existing space, and
19081 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19082 allocate the remainder.
19083
37ed8b9b
PT
190842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19085
19086 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19087 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19088
db653660
ST
190892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19090
37ed8b9b
PT
19091 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19092 sysdeps/mach/hurd/readlink.c.
b29d4053 19093
db653660
ST
19094 * posix/tst-sysconf.c (posix_options): Only use
19095 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19096 _POSIX_SYNCHRONIZED_IO when they are defined
19097 * sysdeps/mach/hurd/bits/posix_opt.h:
19098 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19099 (_XOPEN_REALTIME): Undefine macro.
19100 (_XOPEN_REALTIME_THREADS): Undefine macro.
19101 (_XOPEN_SHM): Undefine macro.
19102 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19103 macro to -1.
19104 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19105 macro to -1.
19106 (_POSIX_ASYNC_IO): Undefine macro.
19107 (_POSIX_PRIORITIZED_IO): Undefine macro.
19108 (_POSIX_SPIN_LOCKS): Define macro to -1.
19109
ee16e894
ST
19110 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19111 SA_NODEFER, SA_RESETHAND.
19112 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19113 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19114 F_DUPFD_CLOEXEC.
19115
6103ae3b
TS
191162012-05-10 Thomas Schwinge <thomas@schwinge.name>
19117
19118 * elf/Makefile (pldd-modules): Define unconditionally.
19119
80b4e5f3
TS
191202012-05-10 Thomas Schwinge <thomas@schwinge.name>
19121
19122 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19123
edadcbd6
ST
191242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19125
19126 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19127 Return ENOENT when name is empty.
19128 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19129
80694780
TS
191302012-05-10 Thomas Schwinge <thomas@schwinge.name>
19131
1792c087
TS
19132 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19133
80694780
TS
19134 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19135
6b645f0d
ST
191362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19137
80694780
TS
19138 Fix mlock in all cases except non-readable pages.
19139 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19140 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19141
6b645f0d
ST
19142 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19143 (__mkdir): When path is `/', just fail with EEXIST.
19144 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19145
e468f8a3
TS
191462012-05-10 Thomas Schwinge <thomas@schwinge.name>
19147
19148 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19149 <sys/uio.h> (for writev).
19150 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19151 and <sys/param.h> (for MIN).
19152
a4186cff
PT
191532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19154
19155 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19156 REQUESTED_TIME. Properly set the remaining time and return EINTR
19157 if interrupted.
19158
510bbf14
TS
191592012-05-10 Thomas Schwinge <thomas@schwinge.name>
19160
19161 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19162 Depend on against $(link-rpcuserlibs).
19163
5d5722e8
ST
191642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19165
a4186cff
PT
19166 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19167 (__libc_stack_end): Do not use attribute_relro.
19168 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19169 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19170 to libthread-provided value.
a4186cff
PT
19171 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19172 attribute_relro.
5d5722e8 19173
37233df9
TS
191742012-05-10 Thomas Schwinge <thomas@schwinge.name>
19175
be971a2b
TS
19176 [BZ #3748]
19177 * bits/libc-lock.h (__libc_once_get): New macro.
19178 * sysdeps/mach/bits/libc-lock.h: Likewise.
19179 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19180 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19181 instead of using implementation details.
19182
37233df9
TS
19183 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19184 * libio/freopen.c: Likewise.
19185 * libio/freopen64.c: Likewise.
19186 * misc/syslog.c: Likewise.
19187 * nscd/connections.c: Likewise.
19188 * nscd/netgroupcache.c: Likewise.
19189 * sysdeps/posix/getcwd.c: Likewise.
19190
38de94a5
RM
191912012-05-10 Roland McGrath <roland@hack.frob.com>
19192
19193 * math/w_ilogbf.c: Add #include <limits.h>.
19194
67530489
ST
191952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19196
a4186cff 19197 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19198 path instead of returning without unlocking.
19199
67530489
ST
19200 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19201 immediate-write ioctls.
19202 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19203
5aa3a74a
TS
192042012-05-10 Thomas Schwinge <thomas@schwinge.name>
19205
18bad2ae
TS
19206 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19207 __builtin_frame_address instead of making assumptions about the
19208 location of the return address relative to DATA. Force early load of
19209 the return address.
19210 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19211 __builtin_frame_address.
19212
5aa3a74a
TS
19213 dup3 for GNU Hurd.
19214 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19215 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19216 implement dup3 and do some further code clean-ups.
19217 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19218 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19219
ecd0de9a
ST
192202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19221
cd9fa985
ST
19222 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19223
a4186cff
PT
19224 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19225 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19226 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19227 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19228 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19229 d->port.lock.
802ca5a5 19230
a4186cff
PT
19231 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19232 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19233 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19234
bcf55240
TS
192352012-05-10 Thomas Schwinge <thomas@schwinge.name>
19236
6960eb42
TS
19237 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19238 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19239 definitions.
19240
eb43375f
TS
19241 accept4 for GNU Hurd.
19242 * include/sys/socket.h (__libc_accept4): New prototype.
19243 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19244 to implement __libc_accept4.
19245 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19246 __libc_accept4.
19247 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19248
bcf55240
TS
19249 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19250 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19251 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19252 signal-defines.sym.
19253
6178c55b
ST
192542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19255
a4186cff 19256 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19257
6f080c2f
TS
192582012-05-10 Thomas Schwinge <thomas@schwinge.name>
19259
19260 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19261 assertion on O_CLOEXEC flag.
19262 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19263 * hurd/intern-fd.c: Likewise.
19264 * hurd/port2fd.c: Likewise.
19265
bcfe3a54
ST
192662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19267
19268 [BZ #3906]
19269 * bits/in.h (IPV6_PKTINFO): Define new macro.
19270 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19271
89c9aa49
AZ
192722012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19273
19274 [BZ #13954]
19275 [BZ #13955]
19276 [BZ #13956]
19277 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19279 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19280 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19281 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19282 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19283 * math/libm-test.inc (logb_test) : Additional logb tests.
19284
021db4be
AJ
192852012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19286 Andreas Jaeger <aj@suse.de>
19287
19288 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19289 * configure: Regenerated.
19290 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19291 * config.make.in (link-obsolete-rpc): New substituted variable.
19292 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19293 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19294 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19295 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19296 so that libc.a contains the symbols.
19297 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19298 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19299 * sunrpc/auth_none.c: Likewise.
19300 * sunrpc/auth_unix.c: Likewise.
19301 * sunrpc/authdes_prot.c: Likewise.
19302 * sunrpc/authuxprot.c: Likewise.
19303 * sunrpc/clnt_gen.c: Likewise.
19304 * sunrpc/clnt_perr.c: Likewise.
19305 * sunrpc/clnt_raw.c: Likewise.
19306 * sunrpc/clnt_simp.c: Likewise.
19307 * sunrpc/clnt_tcp.c: Likewise.
19308 * sunrpc/clnt_udp.c: Likewise.
19309 * sunrpc/clnt_unix.c: Likewise.
19310 * sunrpc/des_crypt.c: Likewise.
19311 * sunrpc/des_soft.c: Likewise.
19312 * sunrpc/get_myaddr.c: Likewise.
19313 * sunrpc/key_call.c: Likewise.
19314 * sunrpc/key_prot.c: Likewise.
19315 * sunrpc/netname.c: Likewise.
19316 * sunrpc/pm_getmaps.c: Likewise.
19317 * sunrpc/pm_getport.c: Likewise.
19318 * sunrpc/pmap_clnt.c: Likewise.
19319 * sunrpc/pmap_prot.c: Likewise.
19320 * sunrpc/pmap_prot2.c: Likewise.
19321 * sunrpc/pmap_rmt.c: Likewise.
19322 * sunrpc/publickey.c: Likewise.
19323 * sunrpc/rpc_cmsg.c: Likewise.
19324 * sunrpc/rpc_common.c: Likewise.
19325 * sunrpc/rpc_dtable.c: Likewise.
19326 * sunrpc/rpc_prot.c: Likewise.
19327 * sunrpc/rpc_thread.c: Likewise.
19328 * sunrpc/rtime.c: Likewise.
19329 * sunrpc/svc.c: Likewise.
19330 * sunrpc/svc_auth.c: Likewise.
19331 * sunrpc/svc_raw.c: Likewise.
19332 * sunrpc/svc_run.c: Likewise.
19333 * sunrpc/svc_tcp.c: Likewise.
19334 * sunrpc/svc_udp.c: Likewise.
19335 * sunrpc/svc_unix.c: Likewise.
19336 * sunrpc/svcauth_des.c: Likewise.
19337 * sunrpc/xcrypt.c: Likewise.
19338 * sunrpc/xdr.c: Likewise.
19339 * sunrpc/xdr_array.c: Likewise.
19340 * sunrpc/xdr_float.c: Likewise.
19341 * sunrpc/xdr_intXX_t.c: Likewise.
19342 * sunrpc/xdr_mem.c: Likewise.
19343 * sunrpc/xdr_rec.c: Likewise.
19344 * sunrpc/xdr_ref.c: Likewise.
19345 * sunrpc/xdr_sizeof.c: Likewise.
19346 * sunrpc/xdr_stdio.c: Likewise.
19347
b5c086a2
RM
193482012-05-10 Roland McGrath <roland@hack.frob.com>
19349
19350 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19351 change. Update copyright years.
19352
6d74dd09
JM
193532012-05-10 Joseph Myers <joseph@codesourcery.com>
19354
19355 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19356
28e72501
MK
193572012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19358 Joseph Myers <joseph@codesourcery.com>
19359 Paul Pluzhnikov <ppluzhnikov@google.com>
19360
19361 [BZ #14012]
19362 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19363 requiring rpcgen.
19364 [cross-compiling] (extra-libs): Likewise.
19365 [cross-compiling] (extra-libs-others): Likewise.
19366 [cross-compiling] (librpcsvc-routines): Likewise.
19367 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19368 [cross-compiling] (omit-deps): Likewise.
19369 (sunrpc-CPPFLAGS): New variable.
19370 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19371 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19372 (cross-rpcgen-objs): New variable.
19373 (extra-objs): Append $(cross-rpcgen-objs).
19374 ($(cross-rpcgen-objs)): New rule.
19375 ($(objpfx)cross-rpcgen): Likewise.
19376 (rpcgen-cmd): Define to use $(built-program-file). Expand
19377 comment.
19378 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19379 ($(objpfx)x%.stmp): Likewise.
19380 * sunrpc/proto.h [IS_IN_build] (_): Define.
19381 [IS_IN_build] (_libc_intl_domainname): Likewise.
19382
c8c59454
L
193832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19384
19385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19386 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19387 and R_X86_64_TPOFF64.
19388
6f27cd16
JM
193892012-05-10 Joseph Myers <joseph@codesourcery.com>
19390
19391 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19392 sysdeps/unix/sysv/syscalls.list.
19393 (stime): Likewise.
19394 (utime): Likewise.
19395 * sysdeps/unix/sysv/syscalls.list: Remove file.
19396
02467e1c
PE
193972012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19398
19399 [BZ #3440]
19400 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19401 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19402 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19403 (__LC_IDENTIFICATION): Make these macros useful in #if
19404 expressions, as required by C99.
19405
da392631
AS
194062012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19407
19408 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19409 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19410 after this.
19411
8115f29b
L
194122012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19413
19414 * stdlib/longlong.h: Updated from GCC.
19415
bdd74070
AJ
194162012-05-09 Andreas Jaeger <aj@suse.de>
19417
edfe0dbe
AJ
19418 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19419 default is first entry.
19420 (run_mode): Set type.
19421 (main): Remove informal message about syslog.
19422 (options): Fix typo.
19423
bcfe3a54
ST
19424 [BZ #14053]
19425 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19426 to asm.
bcfe3a54
ST
19427 (lrint): Likewise.
19428 (llrintf): Likewise.
19429 (llrint): Likewise.
19430 (rint): Likewise.
19431 (rintf): Likewise.
19432 (nearbyint): Likewise.
19433 (nearbyintf): Likewise.
bdd74070 19434
91d8d69e
AJ
194352012-05-09 Andreas Jaeger <aj@suse.de>
19436 Pedro Alves <palves@redhat.com>
19437
19438 * nscd/nscd.c (run_mode): Use enum.
19439 (main): Cleanup coding style issue.
19440
bb90b80b
AJ
194412012-05-09 Alexandre Oliva <aoliva@redhat.com>
19442 Andreas Jaeger <aj@suse.de>
19443
bcfe3a54
ST
19444 * nscd/nscd.c (go_background): Replaced with...
19445 (run_mode): ... this.
bb90b80b 19446 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19447 (options): Add -F --foreground.
19448 (main): Implement it.
19449 (parse_opt): Parse it.
bb90b80b 19450
1a4b75a1
AJ
194512012-05-09 Andreas Jaeger <aj@suse.de>
19452
19453 [BZ #14083]
19454 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19455 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19456 -Wconversion warning.
19457 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19458 Likewise.
19459
b1cc2472
JM
194602012-05-09 Joseph Myers <joseph@codesourcery.com>
19461
19462 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19463 == 0.
19464 (LC_ALL): Use macro-int-constant.
19465 (LC_COLLATE): Likewise.
19466 (LC_CTYPE): Likewise.
19467 (LC_MESSAGES): Likewise.
19468 (LC_MONETARY): Likewise.
19469 (LC_NUMERIC): Likewise.
19470 (LC_TIME): Likewise.
19471 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19472 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19473 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19474 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19475 Specify type.
19476 [C99-based standards] (float_t): Expect type.
19477 [C99-based standards] (double_t): Expect type.
19478 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19479 type.
19480 [C99-based standards] (HUGE_VALL): Likewise.
19481 [C99-based standards] (INFINITY): Likewise.
19482 [C99-based standards] (NAN): Likewise.
19483 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19484 [C99-based standards] (FP_NAN): Likewise.
19485 [C99-based standards] (FP_NORMAL): Likewise.
19486 [C99-based standards] (FP_SUBNORMAL): Likewise.
19487 [C99-based standards] (FP_ZERO): Likewise.
19488 [C99-based standards] (FP_FAST_FMA): Use
19489 optional-macro-int-constant. Specify type. Require == 1.
19490 [C99-based standards] (FP_FAST_FMAF): Likewise.
19491 [C99-based standards] (FP_FAST_FMAL): Likewise.
19492 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19493 [C99-based standards] (FP_ILOGBNAN): Likewise.
19494 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19495 Specify type.
19496 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19497 [C99-based standards] (math_errhandling): Specify type.
19498 [ISO99 || ISO11] (signgam): Do not allow.
19499 [non-C99-based standards] (copysignf): Do not allow.
19500 [non-C99-based standards] (exp2f): Likewise.
19501 [non-C99-based standards] (log2f): Likewise.
19502 [non-C99-based standards] (modff): Allow.
19503 [non-C99-based standards] (erff): Do not allow.
19504 [non-C99-based standards] (erfcf): Likewise.
19505 [non-C99-based standards] (gammaf): Likewise.
19506 [non-C99-based standards] (hypotf): Likewise.
19507 [non-C99-based standards] (j0f): Likewise.
19508 [non-C99-based standards] (j1f): Likewise.
19509 [non-C99-based standards] (jnf): Likewise.
19510 [non-C99-based standards] (lgammaf): Likewise.
19511 [non-C99-based standards] (tgammaf): Likewise.
19512 [non-C99-based standards] (y0f): Likewise.
19513 [non-C99-based standards] (y1f): Likewise.
19514 [non-C99-based standards] (ynf): Likewise.
19515 [non-C99-based standards] (isnanf): Likewise.
19516 [non-C99-based standards] (acoshf): Likewise.
19517 [non-C99-based standards] (asinhf): Likewise.
19518 [non-C99-based standards] (atanhf): Likewise.
19519 [non-C99-based standards] (cbrtf): Likewise.
19520 [non-C99-based standards] (expm1f): Likewise.
19521 [non-C99-based standards] (ilogbf): Likewise.
19522 [non-C99-based standards] (log1pf): Likewise.
19523 [non-C99-based standards] (logbf): Likewise.
19524 [non-C99-based standards] (nextafterf): Likewise.
19525 [non-C99-based standards] (remainderf): Likewise.
19526 [non-C99-based standards] (rintf): Likewise.
19527 [non-C99-based standards] (scalbf): Likewise.
19528 [non-C99-based standards] (copysignl): Likewise.
19529 [non-C99-based standards] (exp2l): Likewise.
19530 [non-C99-based standards] (log2l): Likewise.
19531 [non-C99-based standards] (modfl): Allow.
19532 [non-C99-based standards] (erfl): Do not allow.
19533 [non-C99-based standards] (erfcl): Likewise.
19534 [non-C99-based standards] (gammal): Likewise.
19535 [non-C99-based standards] (hypotl): Likewise.
19536 [non-C99-based standards] (j0l): Likewise.
19537 [non-C99-based standards] (j1l): Likewise.
19538 [non-C99-based standards] (jnl): Likewise.
19539 [non-C99-based standards] (lgammal): Likewise.
19540 [non-C99-based standards] (tgammal): Likewise.
19541 [non-C99-based standards] (y0l): Likewise.
19542 [non-C99-based standards] (y1l): Likewise.
19543 [non-C99-based standards] (ynl): Likewise.
19544 [non-C99-based standards] (isnanl): Likewise.
19545 [non-C99-based standards] (acoshl): Likewise.
19546 [non-C99-based standards] (asinhl): Likewise.
19547 [non-C99-based standards] (atanhl): Likewise.
19548 [non-C99-based standards] (cbrtl): Likewise.
19549 [non-C99-based standards] (expm1l): Likewise.
19550 [non-C99-based standards] (ilogbl): Likewise.
19551 [non-C99-based standards] (log1pl): Likewise.
19552 [non-C99-based standards] (logbl): Likewise.
19553 [non-C99-based standards] (nextafterl): Likewise.
19554 [non-C99-based standards] (remainderl): Likewise.
19555 [non-C99-based standards] (rintl): Likewise.
19556 [non-C99-based standards] (scalbl): Likewise.
19557 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19558 [non-C99-based standards] (FP_*): Do not allow.
19559 [C99-based standards] (FP_*): Change to
19560 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19561 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19562 allow.
19563 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19564 (SIG_ERR): Likewise.
19565 [X/Open-based standards] (SIG_HOLD): Likewise.
19566 (SIG_IGN): Likewise.
19567 (SIGABRT): Use macro-int-constant. Specify type. Require
19568 positive value.
19569 (SIGFPE): Likewise.
19570 (SIGILL): Likewise.
19571 (SIGINT): Likewise.
19572 (SIGSEGV): Likewise.
19573 (SIGTER): Likewise.
19574 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19575 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19576 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19577 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19578 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19579 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19580 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19581 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19582 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19583 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19584 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19585 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19586 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19587 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19588 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19589 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19590 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19591 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19592 [X/Open-based standards] (SIGTRAP): Likewise.
19593 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19594 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19595 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19596 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19597 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19598 allow.
19599
b9f1922d
IW
196002012-05-08 Ian Wienand <ianw@vmware.com>
19601
19602 [BZ #14080]
19603 * time/tzset.c (__tzset_parse_tz): Update default rules for
19604 daylight time changes in the Energy Policy Act of 2005.
19605
1db86e88
AJ
196062012-05-09 Andreas Jaeger <aj@suse.de>
19607
19608 [BZ #13983]
19609 * elf/ldconfig.c (parse_conf): Change string to make clear that
19610 ldconfig only issued a warning if ld.so.conf does not exist.
19611
dee4a4e3
DM
196122012-05-08 David S. Miller <davem@davemloft.net>
19613
ee0db190
DM
19614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19615 movxtod instead of popping the value on the stack.
19616
dee4a4e3
DM
19617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19618
6a43ec98
CD
196192012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19620
19621 * config.h.in: Add HAVE_ARM_PCS_VFP.
19622
05c2c961
RMG
196232012-05-08 Roland Mc Grath <roland@hack.frob.com>
19624
bcfe3a54
ST
19625 [BZ #13979]
19626 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19627 checking but the checks are disabled for any reason.
05c2c961 19628
4b30f61a
L
196292012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19630
19631 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19632 and ELF64_R_TYPE with ELFW(R_TYPE).
19633
eee2bc67
JM
196342012-05-08 Joseph Myers <joseph@codesourcery.com>
19635
7ea5391a
JM
19636 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19637 (ulimit): Likewise.
19638
eee2bc67
JM
19639 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19640 (settimeofday): Likewise.
19641
abb66a67
MF
196422012-05-08 Mike Frysinger <vapier@gentoo.org>
19643
19644 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19645 a struct th_u2 inside the union, and move tu_block/tu_code into
19646 a new th_u3 union of tu_block/tu_code inside of that. Move
19647 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19648 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19649 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19650 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19651 (th_stuff): Change to th_u1.tu_stuff.
19652 (th_data): Define.
19653 (th_msg): Change to th_u1.th_u2.tu_data.
19654
7f18b530
DM
196552012-05-07 David S. Miller <davem@davemloft.net>
19656
05760585
DM
19657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19658
7f18b530
DM
19659 [BZ #14074]
19660 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19661 (SETUP_PIC_REG): Use it.
19662 (SETUP_PIC_REG_LEAF): Use it.
19663
495fd99f
JM
196642012-05-07 Joseph Myers <joseph@codesourcery.com>
19665
19666 [BZ #13885]
19667 [BZ #13923]
19668 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19669 USE_AS_EXPM1L.
19670 (EXPL_FINITE): Likewise.
19671 (FLDLOG): Likewise.
19672 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19673 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19674 e_expl.S.
19675 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19676 USE_AS_EXPM1L.
19677 (EXPL_FINITE): Likewise.
19678 (FLDLOG): Likewise.
19679 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19680 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19681 e_expl.S.
19682 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19683 test of -max_value argument for long double.
19684 * sysdeps/i386/fpu/libm-test-ulps: Update.
19685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19686
6693d694
DM
196872012-05-06 David S. Miller <davem@davemloft.net>
19688
19689 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19690 quad soft-float symbols whose references which are compiler
19691 generated.
19692 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19693
6c23e11c
JM
196942012-05-06 Joseph Myers <joseph@codesourcery.com>
19695
d8b82cad
JM
19696 [BZ #13884]
19697 [BZ #13914]
19698 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19699 USE_AS_EXP10L.
19700 (EXPL_FINITE): Likewise.
19701 (FLDLOG): Likewise.
19702 (c0): Likewise.
19703 (c1): Likewise.
19704 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19705 Adjust comments for base varying.
19706 (__expl_finite): Change alias to EXPL_FINITE.
19707 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19708 e_expl.S.
19709 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19710 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19711 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19712 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19713 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19714 USE_AS_EXP10L.
19715 (EXPL_FINITE): Likewise.
19716 (FLDLOG): Likewise.
19717 (c0): Likewise.
19718 (c1): Likewise.
19719 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19720 Adjust comments for base varying.
19721 (__expl_finite): Change alias to EXPL_FINITE.
19722 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19723 tests for bugs.
19724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19725
6c23e11c
JM
19726 [BZ #14064]
19727 * math/libm-test.inc (check_float_internal): Correct ulp
19728 calculation for subnormal expected results.
19729
29ba805c
AJ
197302012-05-06 Andreas Jaeger <aj@suse.de>
19731
19732 * Makeconfig (+math-flags): New, set to -frounding-math.
19733 (+cflags): Add +math-flags so that all of glibc gets compiled with
19734 it.
19735
19736 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19737
7b17aeda
JM
197382012-05-05 Joseph Myers <joseph@codesourcery.com>
19739
5779f134
JM
19740 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19741 Disable one test.
19742
41498f4d
JM
19743 [BZ #13787]
19744 [BZ #13922]
19745 [BZ #14036]
19746 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19747 (__ieee754_expl): Allow for and saturate large arguments.
19748 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19749 (u_threshold): Likewise.
19750 (__exp): Call __ieee754_exp before checking for overflow and
19751 underflow.
19752 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19753 (u_threshold): Likewise.
19754 (__expf): Call __ieee754_expf before checking for overflow and
19755 underflow.
19756 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19757 (u_threshold): Likewise.
19758 (__expl): Call __ieee754_expl before checking for overflow and
19759 underflow.
19760 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19761 (__ieee754_expl): Allow for and saturate large arguments.
19762 * math/libm-test.inc (exp_test): Add another test. Do not allow
19763 missing overflow exception on overflow.
19764 (expm1_test): Do not allow missing overflow exception on overflow.
19765
6698b8bf
JM
19766 * sysdeps/i386/fpu/e_expl.c: Move to ...
19767 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19768 rather than using inline asm.
19769 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19770 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19771 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19772
7b17aeda
JM
19773 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19774 (nice): Likewise.
19775 (poll): Likewise.
19776 (signal): Likewise.
19777 (time): Likewise.
19778 (times): Likewise.
19779
f7c85819
JM
197802012-05-04 Joseph Myers <joseph@codesourcery.com>
19781
19782 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19783 sysdeps/unix/common/syscalls.list.
19784 (fchmod): Likewise.
19785 (fchown): Likewise.
19786 (ftruncate): Likewise.
19787 (getrusage): Likewise.
19788 (gettimeofday): Likewise.
19789 (setpgid): Likewise.
19790 (setregid): Likewise.
19791 (setreuid): Likewise.
19792 (sigaction): Likewise.
19793 (truncate): Likewise.
19794 (vhangup): Likewise.
19795 * sysdeps/unix/common/syscalls.list: Remove file.
19796 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19797 * sysdeps/unix/sysv/linux/Implies: Likewise.
19798
336270d0
L
197992012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19800
19801 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19803 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19804 Moved to ...
19805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19806 Here.
19807 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19808 to ...
19809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19810 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19811 to ...
19812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19813 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19814 to ...
19815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19816 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19817 to ...
19818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19819 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19820 to ...
19821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19822 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19823 to ...
19824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19825 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19826 to ...
19827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19828 Here.
19829 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19830 to ...
19831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19832 Here.
19833 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19834 to ...
19835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19836 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19837 Moved to ...
19838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19839 Here.
19840 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19841 to ...
19842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19843
d128e450
JM
198442012-05-04 Joseph Myers <joseph@codesourcery.com>
19845
fa8ee516
JM
19846 * sysdeps/unix/common/bits/dirent.h: Remove file.
19847 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19848
d128e450
JM
19849 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19850 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19851 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19852 * sysdeps/unix/bsd/isatty.c: Likewise.
19853 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19854 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19855 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19856
ff8faaf0 198572012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19858
62881be4 19859 [BZ #13563]
31dc8730
AZ
19860 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19861 long double comparison inaccuracies.
19862 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19864
6fef930c
AS
198652012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19866
19867 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19869
8f203e6c
JM
198702012-05-04 Joseph Myers <joseph@codesourcery.com>
19871
19872 [BZ #14049]
19873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19874 nonzero digits before rounding a hex value.
19875 * stdlib/tst-strtod.c (tests): Add another test.
19876
5197d9c2
AK
198772012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19878
19879 * sysdeps/s390/fpu/libm-test-ulps: Update.
19880
f0c1dedf
AJ
198812012-05-03 Andreas Jaeger <aj@suse.de>
19882
19883 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19884 does not get optimized out.
19885 (malloc_opt_barrier): New.
19886
a65ef2ae 198872012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19888 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19889
2b942cb7 19890 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19891 intermediate file deletion.
2b942cb7 19892 (generated): Add .symlist files.
a65ef2ae 19893
54b71e02
JM
198942012-05-03 Joseph Myers <joseph@codesourcery.com>
19895
19896 [BZ #13775]
19897 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19898 Redirect under this condition.
19899 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19900 [__USE_GNU] (__dprintf_chk): Not under this condition.
19901 [__USE_GNU] (__vdprintf_chk): Likewise.
19902 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19903 under this condition.
19904 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19905 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19906 [__USE_XOPEN2K8] (vdprintf): Likewise.
19907 [__USE_GNU] (__dprintf_chk): Not under this condition.
19908 [__USE_GNU] (__vdprintf_chk): Likewise.
19909 [__USE_GNU] (dprintf): Likewise.
19910 [__USE_GNU] (vdprintf): Likewise.
19911
d3dfcc41
RM
199122012-05-03 Roland McGrath <roland@hack.frob.com>
19913
19914 * elf/Makefile (common-generated): Set this instead of generated for
19915 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19916 $(all-built-dso)-derived lists.
19917
7ac30cc5
AJ
199182012-05-03 Andreas Jaeger <aj@suse.de>
19919
0c51e550
AJ
19920 * sysdeps/i386/fpu/libm-test-ulps: Update.
19921
7ac30cc5
AJ
19922 * FAQ: Removed.
19923 * FAQ.in: Likewise.
19924 * scripts/gen-FAQ.pl: Likewise.
19925 * manual/install.texi (Installation): Point to online location of
19926 FAQ.
19927 * Makefile (files-for-dist): Remove FAQ.
19928 (FAQ): Remove.
19929
d4c2917f
AM
199302012-05-02 Allan McRae <allan@archlinux.org>
19931
19932 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19933 (LDFLAGS-reldepmod5.so): Likewise.
19934 (LDFLAGS-reldep6mod1.so): Likewise.
19935 (LDFLAGS-reldep6mod4.so): Likewise.
19936 (LDFLAGS-reldep8mod3.so): Likewise.
19937 (LDFLAGS-unload4mod1.so): Likewise.
19938 (LDFLAGS-unload4mod2.so): Likewise.
19939 (LDFLAGS-tst-initorder): Likewise.
19940 (LDFLAGS-tst-initordera2.so): Likewise.
19941 (LDFLAGS-tst-initordera3.so): Likewise.
19942 (LDFLAGS-tst-initordera4.so): Likewise.
19943 (LDFLAGS-tst-initorderb2.so): Likewise.
19944 (LDFLAGS-noload): Likewise.
19945 (LDFLAGS-next): Likewise.
19946 (LDFLAGS-order2mod1.so): Likewise.
19947 (LDFLAGS-order2mod2.so): Likewise.
19948 (LDFLAGS-tst-initorder2): Likewise.
19949 (LDFLAGS-tst-initorder2a.so): Likewise.
19950 (LDFLAGS-tst-initorder2b.so): Likewise.
19951 (LDFLAGS-tst-initorder2c.so): Likewise.
19952 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19953
d77f993f
DM
199542012-05-02 David S. Miller <davem@davemloft.net>
19955
19956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19957
171a70b4
PP
199582012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19959
19960 [BZ #14055]
19961 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19962
0be196ad
AJ
199632012-05-02 Andreas Jaeger <aj@suse.de>
19964
19965 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19966 since we manipulate rounding mode.
19967 (CPPFLAGS-test-idouble.c): Likewise.
19968 (CPPFLAGS-test-ifloat.c): Likewise.
19969 (CFLAGS-test-ldouble.c): Likewise.
19970 (CFLAGS-test-double.c): Likewise.
19971 (CFLAGS-test-float.c): Likewise.
19972 (CFLAGS-test-misc.c): Likewise.
19973 (CFLAGS-test-test-fenv.c): Likewise.
19974
4f9d04aa
AZ
199752012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19976
2b942cb7
RM
19977 [BZ #2550]
19978 [BZ #2570]
19979 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19980 comparisons to determine direction to adjust input.
4f9d04aa 19981
82a79e7d
RM
199822012-05-01 Roland McGrath <roland@hack.frob.com>
19983
f5a01ca9
RM
19984 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19985 output to the target.
19986
90fe4186
RM
19987 * scripts/localplt.awk: New file.
19988 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19989 (check-localplt-CFLAGS): Variable removed.
19990 ($(all-built-dso:=.jmprel)): New static pattern rule.
19991 (generated): Add those targets.
19992 (localplt-built-dso): New variable.
19993 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19994
19995 * elf/check-localplt.c: File removed.
19996
82397ed6
RM
19997 * scripts/check-execstack.awk: New file.
19998 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19999 (check-execstack-CFLAGS): Variable removed.
20000 ($(objpfx)check-execstack.h): Target removed.
20001 ($(objpfx)execstack-default): New target.
20002 (generated): Add that instead of check-execstack.h.
20003 ($(all-built-dso:=.phdr)): New static pattern rule.
20004 (generated): Add those targets.
20005 * elf/check-execstack.c: File removed.
20006
82a79e7d
RM
20007 * scripts/check-textrel.awk: New file.
20008 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20009 (check-textrel-CFLAGS): Variable removed.
20010 (all-built-dso): Use := to define.o
20011 ($(all-built-dso:=.dyn)): New static pattern rule.
20012 (generated): Add those targets.
20013 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20014 * config.make.in (READELF): New substituted variable.
20015 * elf/check-textrel.c: File removed.
20016
62fde54f 200172012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20018
615605c9
JM
20019 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20020 allow.
20021 * conform/data/ctype.h-data [C99-based standards] (isblank):
20022 Expect function.
20023 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20024 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20026 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20027 Specify type. Require positive value.
20028 (EILSEQ): Likewise.
20029 (ERANGE): Likewise.
20030 [ISO || POSIX] (EILSEQ): Do not expect.
20031 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20032 Specify type. Require positive value.
20033 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20034 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20035 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20036 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20037 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20038 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20039 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20040 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20041 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20042 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20043 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20045 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20046 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20047 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20048 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20049 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20050 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20051 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20052 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20053 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20054 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20055 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20056 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20057 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20058 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20059 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20060 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20061 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20062 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20063 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20064 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20065 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20066 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20067 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20068 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20069 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20070 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20071 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20072 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20073 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20074 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20075 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20076 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20077 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20078 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20079 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20080 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20081 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20082 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20083 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20084 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20085 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20086 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20087 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20088 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20089 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20090 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20091 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20092 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20093 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20094 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20095 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20096 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20097 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20098 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20099 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20100 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20101 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20102 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20103 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20104 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20105 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20106 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20107 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20108 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20109 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20110 Require >= 2.
20111 (FLT_ROUNDS): Expect as macro, not constant.
20112 (FLT_MANT_DIG): Use macro-int-constant.
20113 (DBL_MANT_DIG): Likewise.
20114 (LDBL_MANT_DIG): Likewise.
20115 (FLT_DIG): Likewise.
20116 (DBL_DIG): Likewise.
20117 (LDBL_DIG): Likewise.
20118 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20119 (DBL_MIN_EXP): Likewise.
20120 (LDBL_MIN_EXP): Likewise.
20121 (FLT_MAX_EXP): Use macro-int-constant.
20122 (DBL_MAX_EXP): Likewise.
20123 (LDBL_MAX_EXP): Likewise.
20124 (FLT_MAX_10_EXP): Likewise.
20125 (DBL_MAX_10_EXP): Likewise.
20126 (LDBL_MAX_10_EXP): Likewise.
20127 (FLT_MAX): Use macro-constant.
20128 (DBL_MAX): Likewise.
20129 (LDBL_MAX): Likewise.
20130 (FLT_EPSILON): Use macro-constant. Give upper bound.
20131 (DBL_EPSILON): Likewise.
20132 (LDBL_EPSILON): Likewise.
20133 (FLT_MIN): Likewise.
20134 (DBL_MIN): Likewise.
20135 (LDBL_MIN): Likewise.
20136 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20137 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20138 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20139 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20140 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20141 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20142 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20143 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20144 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20145 [ISO11] (FLT_TRUE_MIN): Likewise.
20146 [ISO11] (LDBL_TRUE_MIN): Likewise.
20147 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20148 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20149 (SCHAR_MIN): Use macro-int-constant. Specify type.
20150 (SCHAR_MAX): Likewise.
20151 (UCHAR_MAX): Likewise.
20152 (CHAR_MIN): Likewise.
20153 (CHAR_MAX): Likewise.
20154 (MB_LEN_MAX): Use macro-int-constant.
20155 (SHRT_MIN): Use macro-int-constant. Specify type.
20156 (SHRT_MAX): Likewise.
20157 (USHRT_MAX): Likewise.
20158 (INT_MAX): Likewise.
20159 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20160 bound negative.
20161 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20162 bound with "U".
20163 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20164 bound with "L".
20165 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20166 bound negative. Suffix upper bound with "L".
20167 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20168 bound with "UL".
20169 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20170 Specify type.
20171 [C99-based standards] (LLONG_MAX): Likewise.
20172 [C99-based standards] (ULLONG_MAX): Likewise.
20173 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20174 == 0.
20175 [ISO11] (max_align_t): Require type.
20176 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20177
c9140a62
JM
20178 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20179 from $CFLAGS, without defining away __attribute__ calls.
20180 (checknamespace): Use $CFLAGS_namespace.
20181
9af0bf29
JM
20182 * conform/conformtest.pl (@keywords): Only include C99 keywords
20183 for standards based on C99 or C11.
20184
343222a2
JM
20185 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20186 Disable tests.
20187 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20188 UNIX98]: Likewise.
20189
661f8cf0
JM
20190 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20191 usability of symbols in #if.
20192
ee74b9cb
JM
20193 * conform/conformtest.pl: If macro or constant types start
20194 "promoted:", expect the symbol to be of the following type
20195 promoted by the integer promotions.
62fde54f 20196
aafc49b3
JM
20197 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20198 in one place. Also handle "macro-constant".
20199
fefdf574
JM
20200 * conform/conformtest.pl: Only accept expected macro values with
20201 "==". Parse all "macro" lines in one place.
20202 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20203
f2d922fe
JM
20204 * conform/conformtest.pl: Handle braced types on "constant" lines
20205 instead of handling "typed-constant".
20206 * conform/data/signal.h-data: Use "constant" instead of
20207 "typed-constant".
20208
d22956c9
JM
20209 * conform/conformtest.pl: Handle "optional-" at start of lines in
20210 one place rather than duplicating several cases. Handle each
20211 format of "macro" line with initial "optional-".
20212
028e2e38
JM
20213 * conform/conformtest.pl: Only accept expected constant or
20214 optional-constant values with "==". Parse all "constant" lines in
20215 one place. Parse all "optional-constant" lines in one place.
20216 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20217 * conform/data/fmtmsg.h-data: Likewise.
20218 * conform/data/netinet/in.h-data: Likewise.
20219 * conform/data/tar.h-data: Likewise.
20220 * conform/data/limits.h-data: Use "==" form on "constant" and
20221 "optional-constant" lines.
20222
1b8f2850
JM
20223 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20224 Use -std=c99 for XOPEN2K.
20225 (@knownproblems): Remove.
20226 (newtoken): Don't check %isknown.
20227
a05a144b
JM
20228 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20229 Do not expect macro.
20230 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20231 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20232 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20233 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20234 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20235 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20236 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20237 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20238 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20239 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20240 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20241 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20242 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20243 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20244 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20245 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20246 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20247 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20248 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20249 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20250 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20251 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20252 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20253 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20254 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20255 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20256 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20257 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20258 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20259 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20260 [XPG3] (acosh): Likewise.
20261 [XPG3] (asinh): Likewise.
20262 [XPG3] (atanh): Likewise.
20263 [XPG3] (cbrt): Likewise.
20264 [XPG3] (expm1): Likewise.
20265 [XPG3] (ilogb): Likewise.
20266 [XPG3] (log1p): Likewise.
20267 [XPG3] (logb): Likewise.
20268 [XPG3] (nextafter): Likewise.
20269 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20270 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20271 [XPG3] (remainder): Likewise.
20272 [XPG3] (rint): Likewise.
20273 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20274 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20275 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20276 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20277 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20278 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20279 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20280 [UNIX98 || XOPEN2K] (scalb): Expect.
20281 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20282 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20283 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20284 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20285 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20286 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20287 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20288 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20289 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20290 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20291 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20292 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20293 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20294 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20295 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20296 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20297 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20298 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20299 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20300 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20301 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20302 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20303 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20304 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20305 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20306 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20307 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20308 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20309 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20310 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20311 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20312 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20313 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20314 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20315 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20316 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20317 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20318 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20319 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20320 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20321 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20322 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20323 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20324 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20325 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20326 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20327 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20328 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20329 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20330 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20331 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20332 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20333 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20334 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20335 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20336 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20337 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20338 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20339 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20340 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20341 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20342 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20343 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20344 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20345 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20346 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20347 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20348 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20349 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20350 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20351 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20352 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20353 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20354 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20355 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20356 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20357 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20358 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20359 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20360 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20361 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20362 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20363 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20364 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20365 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20366 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20367 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20368 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20369 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20370 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20371 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20372 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20373 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20374 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20375 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20376 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20377 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20378 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20379 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20380 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20381 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20382 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20383 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20384 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20385 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20386 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20387 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20388 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20389 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20390 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20391 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20392 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20393 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20394 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20395 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20396 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20397 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20398 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20399 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20400 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20401 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20402 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20403 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20404 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20405 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20406 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20407 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20408 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20409 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20410 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20411 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20412 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20413 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20414 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20415 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20416 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20417 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20418
73c5ebe3
JM
20419 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20420 _XOPEN_SOURCE_EXTENDED for XPG4.
20421
39c33b6c
JM
20422 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20423
62fde54f
JM
20424 * Makeconfig (localtime): Remove variable.
20425 (inst_localtime-file): Likewise.
20426
0741d64c
AS
204272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20428
20429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20430 Update.
20431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20432 Update.
20433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20434 Update.
20435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20436 Update.
20437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20438 Update.
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20440 Update.
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20442 Update.
20443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20444 Update.
20445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20446 Update.
20447
7cb029ee
JM
204482012-05-01 Joseph Myers <joseph@codesourcery.com>
20449
20450 [BZ #2550]
20451 [BZ #2570]
20452 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20453 comparisons to determine direction to adjust input.
20454 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20455 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20456 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20457 Likewise.
20458 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20459 Likewise.
20460 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20461 Likewise.
20462 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20463 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20464 Likewise.
20465 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20466 Likewise.
20467 * math/libm-test.inc (nexttoward_test): Add more tests.
20468
412bd966
AS
204692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20470
20471 [BZ #14040]
20472 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20473 in version GLIBC_2.1, not GLIBC_2.0.
20474 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20475 Likewise.
20476
9568c0c2
JM
204772012-04-30 Joseph Myers <joseph@codesourcery.com>
20478
adfbc8ac
JM
20479 [BZ #13942]
20480 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20481 (1 - x) * (1 + x).
20482 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20483 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20484 * math/libm-test.inc (acos_test): Add more tests.
20485 (asin_test): Likewise.
20486 * sysdeps/i386/fpu/libm-test-ulps: Update.
20487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20488
5ba3cc69
JM
20489 [BZ #14034]
20490 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20491 of square root.
20492 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20493 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20494 * math/libm-test.inc (acos_test_tonearest): New function.
20495 (acos_test_towardzero): Likewise.
20496 (acos_test_downward): Likewise.
20497 (acos_test_upward): Likewise.
20498 (asin_test_tonearest): Likewise.
20499 (asin_test_towardzero): Likewise.
20500 (asin_test_downward): Likewise.
20501 (asin_test_upward): Likewise.
20502 (main): Call the new functions.
20503 * sysdeps/i386/fpu/libm-test-ulps: Update.
20504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20505
9568c0c2
JM
20506 [BZ #13884]
20507 [BZ #13924]
20508 * math/e_exp10.c: Include <float.h>.
20509 (__ieee754_exp10): Handle underflow here rather than multiplying
20510 large negative argument by M_LN10.
20511 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20512 of __ieee754_expf.
20513 * math/e_exp10l.c: Include <float.h>.
20514 (__ieee754_exp10l): Handle underflow here rather than multiplying
20515 large negative argument by M_LN10l.
20516 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20517 spurious overflow exception on underflow.
20518
5ac3ea17
MP
205192012-04-29 Marek Polacek <polacek@redhat.com>
20520
20521 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20522 (__fortify_function): New macro.
20523 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20524 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20525 __extern_always_inline.
20526 * libio/bits/stdio2.h: Likewise.
20527 * libio/bits/stdio.h: Likewise.
20528 * string/string.h: Likewise.
20529 * string/bits/string3.h: Likewise.
20530 * include/stdio.h: Likewise.
20531 * stdlib/bits/stdlib.h: Likewise.
20532 * stdlib/stdlib.h: Likewise.
20533 * rt/bits/mqueue2.h: Likewise.
20534 * rt/mqueue.h: Likewise.
20535 * posix/bits/unistd.h: Likewise.
20536 * posix/unistd.h: Likewise.
20537 * io/bits/poll2.h: Likewise.
20538 * io/bits/fcntl2.h: Likewise.
20539 * io/fcntl.h: Likewise.
20540 * io/sys/poll.h: Likewise.
20541 * misc/bits/syslog.h: Likewise.
20542 * misc/bits/syslog-ldbl.h: Likewise.
20543 * misc/sys/syslog.h: Likewise.
20544 * socket/bits/socket2.h: Likewise.
20545 * socket/sys/socket.h: Likewise.
20546 * debug/tst-chk1.c: Likewise.
20547 * wcsmbs/bits/wchar2.h: Likewise.
20548 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20549 * wcsmbs/wchar.h: Likewise.
20550
ecf0ebfb
AJ
205512012-04-29 Andreas Jaeger <aj@suse.de>
20552
20553 * Makerules (tests): Remove enable-check-abi protection.
20554 (check-abi-warn): Remove.
20555 (check-abi-%): Remove check-abi-warn usage.
20556
20557 * configure.in: Remove check-abi configure option.
20558 * configure: Regenerated.
20559 * config.make.in (enable-check-abi): Remove.
20560
6d5c57fa
AS
205612012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20562
24c5d07e 20563 [BZ #14033]
ded5180a
AS
20564 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20565 double functions to double *_finite functions.
20566
7e0d315d
AS
20567 [BZ #13941]
20568 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20569 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20570 LDBL_MIN_EXP.
20571 * stdio-common/Makefile (tests): Add tst-sprintf3.
20572 * stdio-common/tst-sprintf3.c: New file.
20573
6d5c57fa
AS
20574 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20575 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20576
0749ff8b
JM
205772012-04-28 Joseph Myers <joseph@codesourcery.com>
20578
20579 * conform/conformtest.pl: Remove duplicate typed-constant
20580 handling.
20581
8dbd5d7b
DM
205822012-04-28 David S. Miller <davem@davemloft.net>
20583
20584 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20585 (check-abi-%): Remove AWK script prerequisite and explicit
20586 abilist directory.
20587 (check-abi): Rewrite to just diff the symlist with the abilist.
20588 (config-tls, config-abi-config): Delete, no longer used.
20589 (update-abi-%): Remove AWK script and explicit abilist directory.
20590 (update-abi): Rewrite to simply compare and conditionally copy the
20591 symlist and the sysdep abilist file. Remove update-abi-config
20592 checks.
20593 * abilist/ld.abilist: Remove.
20594 * abilist/libBrokenLocale.abilist: Remove.
20595 * abilist/libanl.abilist: Remove.
20596 * abilist/libcrypt.abilist: Remove.
20597 * abilist/libdl.abilist: Remove.
20598 * abilist/librt.abilist: Remove.
20599 * abilist/libthread_db.abilist: Remove.
20600 * abilist/libutil.abilist: Remove.
20601 * scripts/extract-abilist.awk: Remove.
20602 * scripts/merge-abilist.awk: Remove.
20603 * sysdeps/generic/libcidn.abilist: New file.
20604 * sysdeps/generic/libnss_compat.abilist: New file.
20605 * sysdeps/generic/libnss_db.abilist: New file.
20606 * sysdeps/generic/libnss_dns.abilist: New file.
20607 * sysdeps/generic/libnss_files.abilist: New file.
20608 * sysdeps/generic/libnss_hesiod.abilist: New file.
20609 * sysdeps/generic/libnss_nis.abilist: New file.
20610 * sysdeps/generic/libnss_nisplus.abilist: New file.
20611 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20612 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20613 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20614 file.
20615 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20616 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20617 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20618 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20619 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20620 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20621 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20622 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20623 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20624 file.
20625 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20626 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20627 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20628 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20629 file.
20630 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20631 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20632 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20633 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20634 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20635 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20636 file.
20637 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20638 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20639 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20640 file.
20641 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20643 New file.
20644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20645 New file.
20646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20647 New file.
20648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20649 New file.
20650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20651 New file.
20652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20653 New file.
20654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20655 New file.
20656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20657 New file.
20658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20659 New file.
20660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20661 New file.
20662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20663 New file.
20664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20665 New file.
20666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20667 New file.
20668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20669 file.
20670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20671 New file.
20672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20673 New file.
20674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20675 file.
20676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20677 New file.
20678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20679 New file.
20680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20681 file.
20682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20683 New file.
20684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20685 New file.
20686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20687 New file.
20688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20689 New file.
20690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20691 New file.
20692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20693 New file.
20694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20696 file.
20697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20698 New file.
20699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20700 file.
20701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20702 file.
20703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20704 file.
20705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20706 file.
20707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20708 file.
20709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20710 New file.
20711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20712 file.
20713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20714 file.
20715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20716 New file.
20717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20718 file.
20719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20721 file.
20722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20723 New file.
20724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20725 file.
20726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20727 file.
20728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20729 file.
20730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20731 file.
20732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20733 file.
20734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20735 New file.
20736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20737 file.
20738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20739 file.
20740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20741 New file.
20742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20743 file.
20744 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20745 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20746 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20747 file.
20748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20749 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20750 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20751 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20752 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20753 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20754 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20755 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20756 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20757 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20760 file.
20761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20762 New file.
20763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20764 file.
20765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20766 file.
20767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20768 file.
20769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20770 file.
20771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20772 file.
20773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20774 New file.
20775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20776 New file.
20777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20778 file.
20779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20780 New file.
20781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20782 file.
20783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20785 file.
20786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20787 New file.
20788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20789 file.
20790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20791 file.
20792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20793 file.
20794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20795 file.
20796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20797 file.
20798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20799 New file.
20800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20801 New file.
20802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20803 file.
20804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20805 New file.
20806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20807 file.
20808
41d73a1b
JM
208092012-04-28 Joseph Myers <joseph@codesourcery.com>
20810
20811 * conform/conformtest.pl: Fix typo in handling typed-constant from
20812 allow-header.
20813
28aeeda4
JM
208142012-04-27 Joseph Myers <joseph@codesourcery.com>
20815
adae8f5e
JM
20816 * README: Cut down references to pre-2.6 Linux kernels and
20817 Linuxthreads. Update lists of configurations in libc and ports
20818 and sort alphabetically. Say "or newer" with Linux kernel version
20819 requirements.
20820
28aeeda4
JM
20821 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20822
a462cb63
RA
208232012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20824
20825 [BZ #887]
20826 * math/libm-test.inc (logb_test_downward): New test to expose
20827 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20828 rounding mode.
20829
6ad3493e
JM
208302012-04-27 Joseph Myers <joseph@codesourcery.com>
20831
20832 [BZ #14027]
20833 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20834 to be done.
20835 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20836 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20837
2ce4f015
JM
208382012-04-26 Joseph Myers <joseph@codesourcery.com>
20839
5aeb141a
JM
20840 * sysdeps/unix/i386/brk.S: Remove file.
20841 * sysdeps/unix/i386/dl-brk.S: Likewise.
20842 * sysdeps/unix/i386/pipe.S: Likewise.
20843 * sysdeps/unix/i386/sigreturn.S: Likewise.
20844 * sysdeps/unix/i386/syscall.S: Likewise.
20845 * sysdeps/unix/i386/vfork.S: Likewise.
20846 * sysdeps/unix/i386/wait.S: Likewise.
20847
7143acae
JM
20848 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20849 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20850
2ce4f015
JM
20851 * configure.in (arm*-none*): Do not allow without
20852 --enable-hacker-mode.
20853 (netbsd*): Remove case setting base_os.
20854 (386bsd*): Likewise.
20855 (freebsd*): Likewise.
20856 (bsdi*): Likewise.
20857 (osf*): Likewise.
20858 (sunos*): Likewise.
20859 (ultrix*): Likewise.
20860 (newsos*): Likewise.
20861 (dynix*): Likewise.
20862 (*bsd*): Likewise.
20863 (sysv*): Likewise.
20864 (isc*): Likewise.
20865 (esix*): Likewise.
20866 (sco*): Likewise.
20867 (minix*): Likewise.
20868 (irix4*): Likewise.
20869 (irix6*): Likewise.
20870 (solaris[2-9]*): Likewise.
20871 (none): Likewise.
20872 * configure: Regenerated.
20873
0ac229c8
AZ
208742012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20875
20876 [BZ #11521]
20877 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20878 overflow or cancellation in calculating denominator.
20879 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20880 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20881 down expression to avoid unexpected rounding in newer GCCs.
20882 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20883
33f244f4
DM
208842012-04-26 David S. Miller <davem@davemloft.net>
20885
20886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20887 long-double compat symbols.
20888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20901
cfa1f3e8
DM
209022012-04-25 David S. Miller <davem@davemloft.net>
20903
20904 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20905 HWCAP_* values only after the memory barriers have been defined.
20906 (atomic_full_barrier): Define.
20907 (atomic_read_barrier): Define.
20908 (atomic_write_barrier): Define.
20909
6e236b92
SP
209102012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20911
20912 * shlib-versions: Add libgcc_s version information.
20913 * sysdeps/generic/libgcc_s.h: Remove.
20914 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20915 libgcc_s.h.
20916 * sysdeps/gnu/unwind-resume.c: Likewise.
20917 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20918
aab39a09
DM
209192012-04-25 David S. Miller <davem@davemloft.net>
20920
20921 * sysdeps/unix/sparc/brk.S: Delete.
20922 * sysdeps/unix/sparc/dl-brk.S: Delete.
20923 * sysdeps/unix/sparc/pipe.S: Delete.
20924 * sysdeps/unix/sparc/sysdep.S: Delete.
20925 * sysdeps/unix/sparc/sysdep.h: Delete.
20926 * sysdeps/unix/sparc/vfork.S: Delete.
20927 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20928 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20929 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20930 ret_ERRVAL, r0, r1, MOVE): Define.
20931 (JUMPTARGET): Remove.
20932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20933 sysdeps/unix/sparc/sysdep.h
20934 (ENTRY, END): Remove.
20935 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20936
a3cc4f48
JM
209372012-04-25 Joseph Myers <joseph@codesourcery.com>
20938
2ed8cda2
JM
20939 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20940 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20941 -DIS_IN_build.
20942
35d76d59
JM
20943 * timezone/README: Update upstream location and email address for
20944 tzcode and tzdata.
20945 * timezone/zdump.c: Update from tzcode 2012b.
20946 * timezone/zic.c: Likewise.
20947
a3cc4f48
JM
20948 * configure.in (libc_cv_as_needed): Remove test.
20949 * configure: Regenerated.
20950 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20951 conditional definition.
20952 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20953 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20954 * config.make.in (have-as-needed): Remove variable.
20955
ceab42c3
SP
209562012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20957 Paul Pluzhnikov <ppluzhnikov@google.com>
20958
20959 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20960 strings correctly.
20961
3ce2865f
CLT
209622012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20963
20964 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20965 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20966 * sysdeps/sh/strlen.S: Likewise.
20967
f37e0d68
JM
209682012-04-24 Joseph Myers <joseph@codesourcery.com>
20969
ae186e9a
JM
20970 * sysdeps/unix/fork.S: Remove file.
20971 * sysdeps/unix/i386/fork.S: Likewise.
20972 * sysdeps/unix/sparc/fork.S: Likewise.
20973
b96914af
JM
20974 * sysdeps/unix/system.c: Remove file.
20975 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20976
f37e0d68
JM
20977 * sysdeps/unix/getegid.S: Remove file.
20978 * sysdeps/unix/geteuid.S: Likewise.
20979
87ef29ca
RM
209802012-04-24 Roland McGrath <roland@hack.frob.com>
20981
83bcd236
RM
20982 * scripts/check-localplt.awk: New file.
20983 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20984 of diff.
20985 * scripts/data/localplt-generic.data: Add a comment.
20986
87ef29ca
RM
20987 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20988 NODE when __dir_mkfile failed.
20989 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20990 Reported by Ludovic Courtès <ludo@gnu.org>.
20991
e5a6e567
AJ
209922012-04-24 Andreas Jaeger <aj@suse.de>
20993
20994 * Makerules (common-clean): Also remove gen-as-const-headers
20995 files.
20996
c1820385
JM
209972012-04-24 Joseph Myers <joseph@codesourcery.com>
20998
20999 * Makerules (native-compile): Do not change working directory for
21000 build. Use $(OUTPUT_OPTION) in command.
21001 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21002
94e02fc4
AZ
210032012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21004
21005 [BZ #13886]
21006 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21007 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21008 * math/libm-test.inc (floor_test): Add more tests.
21009 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21010
3a533ca3
JM
210112012-04-24 Joseph Myers <joseph@codesourcery.com>
21012
940ab4b3
JM
21013 * sysdeps/unix/getdents.c: Remove file.
21014 * sysdeps/unix/sysv/getdents.c: Likewise.
21015 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21016
90e037bd
JM
21017 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21018 sysdeps/unix/mman/syscalls.list.
21019 (mmap): Likewise.
21020 (mprotect): Likewise.
21021 (msync): Likewise.
21022 (munmap): Likewise.
21023 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21024 * sysdeps/unix/mman/syscalls.list: Remove.
21025 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21026
3a533ca3
JM
21027 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21028 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21029 * configure: Regenerated.
21030 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21031 $(libgcc_s_suffix).
21032 * config.make.in (libgcc_s_suffix): Remove variable.
21033
1ad743de
JM
210342012-04-23 Joseph Myers <joseph@codesourcery.com>
21035
4ad451e2
JM
21036 * sysdeps/unix/sysv/gethostname.c: Move to ...
21037 * sysdeps/posix/gethostname.c: ... here.
21038
5e37ce39
JM
21039 * sysdeps/unix/execve.S: Remove file.
21040
1ad743de
JM
21041 * sysdeps/unix/_exit.S: Remove file.
21042
4e681b5b
AJ
210432012-04-23 Andreas Jaeger <aj@suse.de>
21044
21045 [BZ #13739]
21046 * manual/Makefile: Remove make dist support, there's no
21047 need for a stand-alone documentation tar ball.
21048 (TEXI2DVI): Define always, it's not in Makeconfig.
21049 (dist): Removed.
21050 (tar-it): Removed.
21051 (edition): Removed.
21052 (glibc-doc-$(edition).tar): Removed
21053 (%.Z): Removed.
21054 (%.gz): Removed.
21055 (%.uu): Removed.
21056 (ETAGS): Remove, it's in Makeconfig.
21057 (move-if-change): Remove, it's in Makeconfig.
21058
38686a03 210592012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21060
21061 [BZ #13970]
21062 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21063 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21064 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21065 (strtod_l, strtof_l, strtold_l): Remove __wur.
21066 It is not necessarily an error to ignore strtol's return value.
21067 One can reliably look at the stored endptr to decide whether
21068 the number had valid syntax.
21069
7c0616fa
AJ
210702012-04-21 Andreas Jaeger <aj@suse.de>
21071
803cb6b7 21072 [BZ #13739]
7c0616fa
AJ
21073 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21074
b0fe253f
JM
210752012-04-21 Joseph Myers <joseph@codesourcery.com>
21076
21077 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21078 * sysdeps/unix/sysv/Versions: Remove file.
21079
8280f22d
MT
210802012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21081
21082 [BZ #13927]
21083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21084
75ce411f 210852012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21086
21087 [BZ #7064]
21088 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21089 version from __vm86.
21090
097d59fa
JM
210912012-04-20 Joseph Myers <joseph@codesourcery.com>
21092
a90f3bcb
JM
21093 * sysdeps/unix/common/lxstat.c: Remove file.
21094 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21095
edc7ea78
JM
21096 * sysdeps/unix/sysv/Makefile: Remove file.
21097
cb78c221
JM
21098 * sysdeps/unix/sysv/direct.h: Remove file.
21099
efa6a45f
JM
21100 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21101 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21102 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21103 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21104 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21105 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21106 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21107
9c9f2d0c
JM
21108 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21109
4541c83b
JM
21110 * sysdeps/unix/xmknod.c: Remove file.
21111 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21112
f5d153a0
JM
21113 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21114
aa746595
JM
21115 * sysdeps/unix/sysv/i386/time.S: Remove file.
21116
cce5905e
JM
21117 * sysdeps/unix/fxstat.c: Remove file.
21118 * sysdeps/unix/xstat.c: Likewise.
21119 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21120
37fa3841
JM
21121 * sysdeps/unix/sysv/sigaction.c: Remove file.
21122
ff1962a3
JM
21123 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21124 (sysdep_headers): Remove variable.
21125 [termio.h not in sysdep_headers] (generated): Likewise.
21126 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21127 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21128 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21129 * sysdeps/unix/sysv/tcflow.c: Likewise.
21130 * sysdeps/unix/sysv/tcflush.c: Likewise.
21131 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21132 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21133 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21134 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21135 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21136
e7740d31
JM
21137 * sysdeps/unix/siglist.c: Remove file.
21138
ee06f18b
JM
21139 * sysdeps/unix/getppid.S: Remove file.
21140
097d59fa
JM
21141 * sysdeps/unix/mkdir.c: Remove file.
21142 * sysdeps/unix/rmdir.c: Likewise.
21143
ff3d51ec
AS
211442012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21145
21146 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21147 ERR_MAX value.
21148 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21149 errlist-compat value.
21150
50f81fd7
DM
211512012-04-18 David S. Miller <davem@davemloft.net>
21152
21153 * sysdeps/generic/memcopy.h (reg_char): Delete.
21154 * debug/strcat_chk.c: Use char, not reg_char.
21155 * debug/strcpy_chk.c: Likewise.
21156 * debug/strncat_chk.c: Likewise.
21157 * debug/strncpy_chk.c: Likewise.
21158 * string/memchr.c: Likewise.
21159 * string/memrchr.c: Likewise.
21160 * string/rawmemchr.c: Likewise.
21161 * string/strcat.c: Likewise.
21162 * string/strchr.c: Likewise.
21163 * string/strchrnul.c: Likewise.
21164 * string/strcmp.c: Likewise.
21165 * string/strcpy.c: Likewise.
21166 * string/strncat.c: Likewise.
21167 * string/strncmp.c: Likewise.
21168 * string/strncpy.c: Likewise.
21169
8ff41c46
WS
211702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21171
21172 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21173 __builtin_memcopy is called when src and dest ranges are known to not
21174 overlap.
21175
6b652f46
WS
211762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21177
21178 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21179 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21180 fwd_align_merge macro call.
21181 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21182 bwd_align_merge macro call.
21183 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21184
b282631e
WS
211852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21186
21187 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21188 bwd_align_merge macros.
21189 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21190 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21191 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21192
95aa737c
DM
211932012-04-18 David S. Miller <davem@davemloft.net>
21194
21195 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21196
7a99a614
AJ
211972012-04-18 Andreas Jaeger <aj@suse.de>
21198
21199 [BZ# 6794]
21200 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21201 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21202 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21203
21204 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21205 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21206 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21207
21208 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21209 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21210 Adjust for changed ldbl-128 files.
21211
21212 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21213 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21214 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21215
e5270c23
DM
212162012-04-17 David S. Miller <davem@davemloft.net>
21217
21218 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21219
fb5e92c9
AS
212202012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21221
21222 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21223 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21224 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21225 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21226 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21227 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21228
76da7265
AZ
212292012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21230
21231 [BZ #6794]
21232 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21233 * math/libm-test.inc: Add ilogb errno and exception tests.
21234 * math/w_ilogb.c: New file: ilogb wrapper.
21235 * math/w_ilogbf.c: New file: ilogbf wrapper.
21236 * math/w_ilogbl.c: New file: ilogbl wrapper.
21237 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21238 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21239 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21240 exception being thrown with 0.0 as argument.
21241 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21242 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21243 exception being thrown with 0.0 as argument.
21244 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21245 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21246 exception being thrown with 0.0 as argument.
21247 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21248 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21249 exception being thrown with 0.0 as argument.
21250 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21251 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21252 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21253 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21254 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21255 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21256 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21257 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21258 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21259
0396e69d
PB
212602012-04-17 Petr Baudis <pasky@ucw.cz>
21261
21262 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21263 with altivec.
21264
750b5926
MP
212652012-04-16 Marek Polacek <polacek@redhat.com>
21266
21267 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21268
751728a1
MP
212692012-04-16 Marek Polacek <polacek@redhat.com>
21270
21271 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21272 operands of fdivp instruction.
21273
34a27407
L
212742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21275
21276 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21277 * elf/tst-auditmod3b.c: Likewise.
21278 * elf/tst-auditmod4b.c: Likewise.
21279 * elf/tst-auditmod5b.c: Likewise.
21280 * elf/tst-auditmod6b.c: Likewise.
21281 * elf/tst-auditmod6c.c: Likewise.
21282 * elf/tst-auditmod7b.c: Likewise.
21283 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21284 * sysdeps/x86_64/preconfigure.in: Likewise.
21285 * sysdeps/x86_64/preconfigure: Regenerated.
21286
7e73e17d
L
212872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21288
21289 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21290 __ILP32__.
21291
c7a6ab72
AB
212922012-04-13 Antoine Balestrat <merkil33@gmail.com>
21293
21294 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21295 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21296
a9e8e0e0
CL
212972012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21298
21299 [BZ #13973]
21300 * locale/iso-639.def: Fix gl language name. Spotted by
21301 Yaron Shahrabani.
21302
ec98af7d
RM
213032012-04-12 Roland McGrath <roland@hack.frob.com>
21304
21305 [BZ #2074]
21306 * libio/libio.h (__io_write_fn): Update comment.
21307
247c3ede
PB
213082012-04-12 Petr Baudis <pasky@ucw.cz>
21309
21310 [BZ #2074]
21311 * stdio.texi (Hook Functions): The user provided writer function
21312 is not allowed to return -1.
21313
55939d6d
DM
213142012-04-11 David S. Miller <davem@davemloft.net>
21315
21316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21317
90020f5a
MF
213182012-04-11 Mike Frysinger <vapier@gentoo.org>
21319
21320 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21321 Add a leading slash to rtkaio.
21322
288f9098
JM
213232012-04-11 Jim Meyering <meyering@redhat.com>
21324
90020f5a
MF
21325 [BZ #11959]
21326 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21327 It is not necessarily an error to ignore fwrite's return
21328 value. One can reliably use ferror to test for errors after
21329 the fact.
288f9098 21330
4be2b570
L
213312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21332
21333 * bits/types.h (__snseconds_t): New type.
21334 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21335
21336 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21338 (__SNSECONDS_T_TYPE): Likewise.
21339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21340 (__SNSECONDS_T_TYPE): Likewise.
21341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21342 (__SNSECONDS_T_TYPE): Likewise.
21343
288f9098 213442012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21345
21346 [BZ #2636]
21347 * manual/time.texi (Processor Time): Return type of times is
21348 elapsed real time since an arbitrary point in the past.
21349 (CPU Time): Move CLK_TCK from here...
21350 (Processor Time): ...to here. Correct description.
21351 * manual/conf.texi (Constants for Sysconf): Correct description of
21352 _SC_CLK_TCK.
21353
d7dd4413
DM
213542012-04-10 David S. Miller <davem@davemloft.net>
21355
21356 [BZ #13967]
21357 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21358 where the is a gap between DT_REL(A) and DT_JMPREL.
21359
b46068fc
L
213602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21361
21362 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21363 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21364 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21365
73d65cc3
SP
213662012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21367
21368 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21369 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21370 (dl_main): Handle --inhibit-cache.
21371 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21372 _dl_inhibit_cache.
21373 * elf/dl-load.c (_dl_map_object): Use it.
21374 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21375
bcc8d661
JM
213762012-04-09 Joseph Myers <joseph@codesourcery.com>
21377
8f9a2fae
JM
21378 [BZ #13872]
21379 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21380 (__ieee754_powl): Saturate large exponents rather than testing for
21381 overflow of y*log2(x).
21382 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21383 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21384 exceptions.
21385
bcc8d661
JM
21386 [BZ #11521]
21387 * math/s_ctan.c: Include <float.h>.
21388 (__ctan): Avoid internal overflow or cancellation in calculating
21389 denominator.
21390 * math/s_ctanf.c: Likewise.
21391 * math/s_ctanl.c: Likewise.
21392 * math/s_ctanh.c: Likewise.
21393 * math/s_ctanhf.c: Likewise.
21394 * math/s_ctanhl.c: Likewise.
21395 * math/libm-test.inc (ctan_test): Add more tests.
21396 (ctanh_test): Likewise.
21397 * sysdeps/i386/fpu/libm-test-ulps: Update.
21398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21399
823fbbb4
AJ
214002012-04-09 Andreas Jaeger <aj@suse.de>
21401
03879793
AJ
21402 [BZ #6894]
21403 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21404 is an optional BSD extension.
21405
823fbbb4
AJ
21406 [BZ #10254]
21407 * manual/stdio.texi (Opening Streams): Document additional fopen
21408 parameters.
21409
8de131cb
RM
214102012-04-09 Roland McGrath <roland@hack.frob.com>
21411
21412 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21413 %eax without telling the compiler.
21414
c0ed9d7d
CD
214152012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21416
21417 [BZ # 13963]
21418 * manual/install.texi: Use sourceware.org.
21419
c483f6b4
JM
214202012-04-09 Joseph Myers <joseph@codesourcery.com>
21421
d7dd9453
JM
21422 [BZ #13873]
21423 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21424 (__ieee754_pow): Generate overflow and underflow using huge*huge
21425 and tiny*tiny rather than just returning constant infinity or zero
21426 for large exponents.
21427 * math/libm-test.inc (pow_test): Require overflow exceptions for
21428 applicable cases of large exponents.
21429
c483f6b4
JM
21430 [BZ #706]
21431 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21432 (__ieee754_pow): Use iterative multiplication algorithm only for
21433 integer exponents with absolute value below 1024. Check for odd
21434 integer exponents when using algorithm for real exponents.
21435 * math/libm-test.inc (pow_test): Add more tests.
21436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21437
d2de7579
JM
214382012-04-08 Joseph Myers <joseph@codesourcery.com>
21439
21440 [BZ #13705]
21441 * math/libm-test.inc (exp_test): Do not allow overflow exception
21442 on underflow test.
21443
f77f1232
AJ
214442012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21445
21446 [BZ #13705]
21447 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21448 instead of __kernel_standard_f.
21449
3884932b
MF
214502012-04-08 Mike Frysinger <vapier@gentoo.org>
21451
21452 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21453 * sysdeps/x86_64/memset_chk.S: Likewise.
21454
54472e9c
AJ
214552012-04-08 Andreas Jaeger <aj@suse.de>
21456
6ab0fbfc
AJ
21457 [BZ #10153]
21458 * manual/startup.texi (Environment Access): Describe return value
21459 for putenv and setenv.
21460
61efba8c
AJ
21461 [BZ #6895]
21462 * manual/filesys.texi (Directory Entries): Add description for
21463 DT_LNK.
21464
95c3f29a
AJ
21465 [BZ #6890]
21466 * manual/filesys.texi (Directory Entries): Clarify that it's file
21467 system not operating system in the description of DT_UNKNOWN.
21468
54472e9c
AJ
21469 [BZ #6578]
21470 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21471
624254b1
SC
214722012-04-08 Stephen Compall <s11@member.fsf.org>
21473
21474 [BZ #6649]
21475 * manual/llio.texi (Opening and Closing Files): Add cross
21476 reference to explain mode argument.
21477
1e4920e0
MF
214782012-04-07 Mike Frysinger <vapier@gentoo.org>
21479
21480 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21481 * sysdeps/x86_64/memset_chk.S: Likewise.
21482
5ed848f3
DM
214832012-04-07 David S. Miller <davem@davemloft.net>
21484
21485 * elf/elf.h (R_SPARC_WDISP10): Define.
21486 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21487 R_SPARC_SIZE32.
21488 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21489 R_SPARC_SIZE64 and R_SPARC_H34.
21490
96154cd8
CD
214912012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21492
21493 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21494 conditions and remove no longer applicable assertion.
21495
9904dc47
L
214962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21497
21498 * bits/byteswap.h: Include <features.h>.
21499 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21500 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21501
f8887d0a
L
215022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21503
21504 * bits/byteswap.h (__bswap_16): Removed.
21505 Include <bits/byteswap-16.h> to get __bswap_16.
21506 * sysdeps/i386/bits/byteswap.h: Likewise.
21507 * sysdeps/s390/bits/byteswap.h: Likewise.
21508 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21509 * bits/byteswap-16.h: New file.
21510 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21511 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21512 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21513 * string/Makefile (headers): Add bits/byteswap-16.h.
21514
62470f60
PP
215152012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21516
21517 [BZ #13895]
21518 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21519 extra indirection.
21520 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21521 * nss/tst-nss-static.c: New.
21522
4dad7bab
RM
215232012-04-06 Robert Millan <rmh@gnu.org>
21524
21525 [BZ #6486]
21526 * manual/llio.texi (File Position Primitive): lseek
21527 refers to WHENCE when it really means OFFSET.
21528
e9142a17
AJ
215292012-04-06 Andreas Jaeger <aj@suse.de>
21530
2c040eff
AJ
21531 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21532 strncmp declarations.
21533
e9142a17
AJ
21534 * abilist/libc.abilist: Add __poll and __ppoll.
21535
ff9f1c5f
DM
215362012-04-05 David S. Miller <davem@davemloft.net>
21537
dcd2ae90
DM
21538 * scripts/check-local-headers.sh: Accept a host triplet in the
21539 path matched by the exclude regexp.
21540
993eb054
DM
21541 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21542 definition.
21543 * sysdeps/powerpc/powerpc32/dl-machine.h
21544 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21545 * sysdeps/s390/s390-32/dl-machine.h
21546 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21547 * sysdeps/sparc/sparc32/dl-machine.h
21548 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21549 * sysdeps/sparc/sparc64/dl-machine.h
21550 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21551
ff9f1c5f
DM
21552 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21553 lazy binding.
48e2e132 21554 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21555 undefined symbol errors.
21556
48e2e132 21557 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21558 DT_NEEDED entries.
21559
e80d6f94
MM
215602012-04-05 Michael Matz <matz@suse.de>
21561
21562 [BZ #13592]
21563 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21564
349fa79f
AJ
215652012-04-05 Andreas Jaeger <aj@suse.de>
21566
21567 [BZ #13908]
21568 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21569 comment.
21570
f402708f
KK
215712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21572
21573 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21574 which ROUND is no valid rounding mode.
21575
2ecccfc9
KK
215762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21577
21578 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21579 read again.
21580 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21581
8a53f50f
KK
215822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21583
21584 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21585 an exception using FPU order intentionally.
21586
215872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21588
21589 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21590 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21591 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21592 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21593
d653abb7
SJ
215942012-04-05 Simon Josefsson <simon@josefsson.org>
21595
21596 [BZ #12340]
21597 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21598 EINVAL when BUFLEN is too smal.
21599
c3b1bf7d
TS
216002012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21601
21602 [BZ #13553]
21603 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21604 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21605
b1aa60f3
AJ
216062012-04-03 Andreas Jaeger <aj@suse.de>
21607
c3b1bf7d 21608 [BZ #13938]
67f60a26
AJ
21609 * manual/setjmp.texi (System V contexts): Fix sentence.
21610
b1aa60f3
AJ
21611 [BZ #13926]
21612 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21613 New macro for this case.
21614 [!__GNUC__] (__bswap_64): New inline function for this case.
21615 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21616 * bits/byteswap.h: Likewise.
21617 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21618 ull, guard with __GLIBC_HAVE_LONG_LONG.
21619
21620 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21621 __GLIBC_HAVE_LONG_LONG.
21622
21623 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21624 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21625
39c59c35
TMQMF
216262012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21627
21628 [BZ #13691]
21629 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21630 inptr and inend, rather than using last_ch.
21631
135ffda8
DM
216322012-04-02 David S. Miller <davem@davemloft.net>
21633
21634 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21635 * stdio-common/printf-parse.h (read_int): Change return type to
21636 'int', return -1 on INT_MAX overflow.
21637 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21638 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21639 overflows INT_MAX. Check for overflow of in-format-string precision
21640 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21641 SIZE_MAX not INT_MAX for integer overflow test.
21642 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21643 skip the construct in the format string but do not record anything.
21644 * stdio-common/bug22.c: Adjust to test both width/prevision
21645 INT_MAX overflow as well as total length INT_MAX overflow. Check
21646 explicitly for proper errno values.
21647
228c019e
TS
216482012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21649
302cadd3
TS
21650 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21651 CHAR_MAX.
21652 * string/test-strcmp.c [! WIDE]: Likewise.
21653 * time/tst-mktime2.c: Likewise for INT_MAX.
21654 * string/test-string.h: #include <sys/param.h> for MIN.
21655
228c019e
TS
21656 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21657 * sysdeps/i386/init-first.c (init): Likewise.
21658 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21659 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21660 * sysdeps/sh/init-first.c (init): Likewise.
21661
cfa633f5
UD
216622012-04-01 Ulrich Drepper <drepper@gmail.com>
21663
21664 * po/ru.po: Update from translation team.
d1635ef8 21665 * po/vi.po: Likewise.
cfa633f5 21666
6cd0a5ea
SP
216672012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21668
21669 * resolv/nss_dns/dns-host.c: Merge copyright years.
21670
4b43400f
LD
216712012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21672
21673 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21674 Optimize memcpy with prefetch if
21675 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21676 src, dst pointers have unequal 16 byte alignments.
21677
48c41d04
SP
216782012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21679
21680 [BZ #13928]
21681 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21682 from a CNAME entry and return the minimum ttl for the query.
21683 (gaih_getanswer_slice): Likewise.
21684
b8dc394d
JL
216852012-03-30 Jeff Law <law@redhat.com>
21686
21687 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21688 due to long keys.
21689 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21690 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21691
2f5a5ed0
JL
21692 * resolv/nss_dns/dns-host.c: Update copyright year.
21693
1d39e359
UD
216942012-03-30 Ulrich Drepper <drepper@gmail.com>
21695
c030f70c 21696 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21697 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21698
1d39e359
UD
21699 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21700 comments for sendmmsg.
21701
217022012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21703
21704 [BZ #13691]
21705 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21706 with only 1 character between 0x0041 and 0x01b0.
21707 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21708 * wcsmbs/tst-mbsnrtowcs.c: New file.
21709
20fde227
DM
217102012-03-29 David S. Miller <davem@davemloft.net>
21711
21712 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21713 small copies by hand.
21714
984a4237
JL
217152012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21716
21717 [BZ #13761]
21718 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21719 _nss_compat_initgroups_dyn): Fall back to malloc/free
21720 for large group memberships.
21721
18c9d62b
DM
217222012-03-28 David S. Miller <davem@davemloft.net>
21723
88d85d4f
DM
21724 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21725 that branches into memcpy.
21726 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21727 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21729 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21731 bits.
21732 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21733 implementation too.
21734 * sysdeps/sparc/mempcpy.S: New file.
21735
e5aa83e1
DM
21736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21737 the IFUNC routine in the libc case.
21738 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21739
88570753
DM
21740 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21741 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21742 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21743 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21744 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21745 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21746 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21747 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21748
249d7567
DM
21749 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21750 loop to 256 bytes instead of 64 bytes and fix test signedness.
21751
18c9d62b
DM
21752 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21753 * sysdeps/sparc/sparc32/Makefile: rather than here...
21754 * sysdeps/sparc/sparc64/Makefile: and here.
21755
05f3d1f6
UD
217562012-03-28 Ulrich Drepper <drepper@gmail.com>
21757
21758 * malloc/mallocbug.c: Avoid warnings about unused variables.
21759
86ae07a8
JL
217602012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21761
21762 [BZ #13760]
21763 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21764 in the right place. Discard and retry query if response is
21765 larger than input buffer size.
21766
41bf21a1
JM
217672012-03-28 Joseph Myers <joseph@codesourcery.com>
21768
d6270972
JM
21769 [BZ #369]
21770 [BZ #2678]
21771 [BZ #3866]
21772 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21773 x for large integer exponent.
21774 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21775 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21776 sign of result as needed afterwards.
21777 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21778 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21779 result for underflowing pow the same as for overflow.
21780 (__kernel_standard_l): Handle powl overflow and underflow here
21781 rather than calling __kernel_standard.
21782 * math/libm-test.inc (pow_test): Add more tests.
21783
414fca03 21784 [BZ #3868]
41bf21a1
JM
21785 [BZ #13879]
21786 [BZ #13910]
21787 [BZ #13911]
21788 [BZ #13912]
21789 [BZ #13913]
21790 [BZ #13915]
21791 [BZ #13916]
21792 [BZ #13917]
21793 [BZ #13918]
21794 [BZ #13919]
21795 [BZ #13920]
21796 [BZ #13921]
21797 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21798 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21799 (__kernel_standard_l): New function.
21800 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21801 __kernel_standard.
21802 * math/w_acosl.c (__acosl): Likewise.
21803 * math/w_asinl.c (__asinl): Likewise.
21804 * math/w_atan2l.c (__atan2l): Likewise.
21805 * math/w_atanhl.c (__atanhl): Likewise.
21806 * math/w_coshl.c (__coshl): Likewise.
21807 * math/w_exp10l.c (__exp10l): Likewise.
21808 * math/w_exp2l.c (__exp2l): Likewise.
21809 * math/w_fmodl.c (__fmodl): Likewise.
21810 * math/w_hypotl.c (__hypotl): Likewise.
21811 * math/w_j0l.c (__j0l, __y0l): Likewise.
21812 * math/w_j1l.c (__j1l, __y1l): Likewise.
21813 * math/w_jnl.c (__jnl, __ynl): Likewise.
21814 * math/w_lgammal.c (__lgammal): Likewise.
21815 * math/w_log10l.c (__log10l): Likewise.
21816 * math/w_log2l.c (__log2l): Likewise.
21817 * math/w_logl.c (__logl): Likewise.
21818 * math/w_powl.c (__powl): Likewise.
21819 * math/w_remainderl.c (__remainderl): Likewise.
21820 * math/w_scalbl.c (sysv_scalbl): Likewise.
21821 * math/w_sinhl.c (__sinhl): Likewise.
21822 * math/w_sqrtl.c (__sqrtl): Likewise.
21823 * math/w_tgammal.c (__tgammal): Likewise.
21824 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21825 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21826 * math/libm-test.inc (acos_test): Add more tests.
21827 (acosh_test): Likewise.
21828 (asin_test): Likewise.
21829 (atanh_test): Likewise.
21830 (exp_test): Likewise.
21831 (exp10_test): Likewise.
21832 (exp2_test): Likewise.
21833 (expm1_test): Likewise.
21834 (lgamma_test): Likewise.
21835 (log_test): Likewise.
21836 (log10_test): Likewise.
21837 (log1p_test): Likewise.
21838 (log2_test): Likewise.
21839 (pow_test): Do not allow some spurious overflow exceptions.
21840 (sqrt_test): Add more tests.
21841 (tgamma_test): Likewise.
21842 (y0_test): Likewise.
21843 (y1_test): Likewise.
21844 (yn_test): Likewise.
21845
dd62fda6
AB
218462012-03-27 Anton Blanchard <anton@samba.org>
21847
21848 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21849 MAP_HUGETLB.
21850 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21851 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21852 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21853
1e3cdfda
AJ
218542012-03-27 David S. Miller <davem@davemloft.net>
21855
b855ab85
DM
21856 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21857
1e3cdfda
AJ
21858 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21859 have-as-vis3 check.
21860
218612012-03-27 Andreas Jaeger <aj@suse.de>
21862
21863 * sysdeps/x86_64/elf/configure.in: Moved to ...
21864 * sysdeps/x86_64/configure.in: ... here.
21865 * sysdeps/x86_64/elf/start.S: Moved to ...
21866 * sysdeps/x86_64/start.S: ... here.
21867 * sysdeps/x86_64/elf/configure: Delete.
21868
21869 * sysdeps/x86_64/configure.in: Merge contents from
21870 sysdeps/i386/configure.in (without i686 check).
21871
21872 * sysdeps/i386/elf/Versions: Merge into ...
21873 * sysdeps/i386/Versions: ... this.
21874 * sysdeps/i386/elf/Versions: Delete file.
21875 * sysdeps/i386/elf/start.S: Moved to ...
21876 * sysdeps/i386/start.S: ...here.
21877 * sysdeps/i386/elf/configure.in: Merge into...
21878 * sysdeps/i386/configure.in: ...here.
21879 * sysdeps/i386/elf/configure.in: Delete file.
21880 * sysdeps/i386/elf/configure: Delete file.
21881
21882 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21883 * debug/backtracesyms.c: ... here.
21884 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21885 * debug/backtracesymsfd.c: ... here.
21886 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21887 * sysdeps/generic/ifunc-sel.h: ... here.
21888
21889 * sysdeps/unix/i386/start.c: Delete file.
21890 * sysdeps/unix/sparc/start.c: Delete file.
21891 * sysdeps/unix/start.c: Delete file.
21892
21893 * sysdeps/sh/elf/configure.in: Moved to ...
21894 * sysdeps/sh/configure.in: ... here.
21895 * sysdeps/sh/elf/start.S: Moved to ...
21896 * sysdeps/sh/start.S: ... here.
21897 * sysdeps/sh/elf/configure: Delete file.
21898
21899 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21900 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21901 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21902 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21903 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21904 * sysdeps/powerpc/powerpc64/start.S: here.
21905 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21906 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21907 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21908 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21909 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21910
21911 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21912 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21913 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21914 * sysdeps/powerpc/powerpc32/start.S: ... here.
21915 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21916 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21917 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21918
21919 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21920 * sysdeps/powerpc/ifunc-sel.h: ... here.
21921 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21922 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21923
21924 * sysdeps/sparc/elf/configure.in: Moved to ...
21925 * sysdeps/sparc/configure.in: ... here.
21926 * sysdeps/sparc/elf/configure: Delete file.
21927 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21928 * sysdeps/sparc/sparc32/start.S: ... here.
21929 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21930 * sysdeps/sparc/sparc64/start.S: ... here.
21931 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21932 * sysdeps/sparc/sparc32/Makefile: ... this.
21933 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21934 * sysdeps/sparc/sparc64/Makefile: ... this.
21935
21936 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21937 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21938 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21939 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21940 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21941 * sysdeps/s390/s390-32/setjmp.S: ... here.
21942 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21943 * sysdeps/s390/s390-32/configure.in: ... here.
21944 * sysdeps/s390/s390-32/elf/configure: Delete file.
21945 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21946 * sysdeps/s390/s390-32/start.S: ... here.
21947
21948 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21949 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21950 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21951 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21952 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21953 * sysdeps/s390/s390-64/setjmp.S: ... here.
21954 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21955 * sysdeps/s390/s390-64/configure.in: ... here
21956 * sysdeps/s390/s390-64/elf/configure: Delete file.
21957 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21958 * sysdeps/s390/s390-64/start.S: ... here.
21959 * sysdeps/s390/s390-64/elf/configure: Delete.
21960
21961 * configure.in: Remove support for elf directories in sysdeps.
21962
21963 * configure: Regenerated.
21964 * sysdeps/i386/configure: Regenerated.
21965 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21966 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21967 * sysdeps/s390/s390-32/configure: Regenerated.
21968 * sysdeps/s390/s390-64/configure: Regenerated.
21969 * sysdeps/sh/configure: Regenerated.
21970 * sysdeps/sparc/configure: Regenerated.
21971 * sysdeps/x86_64/configure: Regenerated.
21972
a3f61311
AS
219732012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21974
c876e002
AS
21975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21976
a3f61311
AS
21977 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21978 denormal result into account.
21979
ac4c54f0
RM
219802012-03-25 Roland McGrath <roland@hack.frob.com>
21981
21982 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21983 Reported by Allan McRae <allan@archlinux.org>.
21984
6a9b9c02
JL
219852012-03-23 Jeff Law <law@redhat.com>
21986
21987 * nss/getnssent.c (__nss_getent): Fix typo.
21988
4c42a0c1
DM
219892012-03-23 David S. Miller <davem@davemloft.net>
21990
21991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21992
1532c7ac
L
219932012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21994
21995 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21996 to pad to uint64_t for each field.
21997 (dl_tls_index): Replace unsigned long with uint64_t.
21998
3ff42526
PP
219992012-03-23 Daniel Jacobowitz <dmj@google.com>
22000 Paul Pluzhnikov <ppluzhnikov@google.com>
22001
22002 [BZ #6528]
22003 * grp/Makefile (otherlibs): Don't set it.
22004 * inet/Makefile (otherlibs): Likewise.
22005 * login/Makefile (otherlibs): Likewise.
22006 * nscd/Makefile (otherlibs): Likewise.
22007 * posix/Makefile (otherlibs): Likewise.
22008 * pwd/Makefile (otherlibs): Likewise.
22009 * rt/Makefile (otherlibs): Likewise.
22010 * sunrpc/Makefile (otherlibs): Likewise.
22011 * nss/Makefile (otherlibs): Likewise.
22012 Add libnss_files to routines and static-only-routines.
22013 ($(objpfx)getent): Remove rule.
22014 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22015 static-only-routines.
22016
7c69cd14
JM
220172012-03-22 Joseph Myers <joseph@codesourcery.com>
22018
22019 [BZ #13892]
22020 * math/s_cexp.c: Include <float.h>.
22021 (__cexp): Handle exp result overflowing not necessarily
22022 overflowing both real and imaginary parts of result.
22023 * math/s_cexpf.c: Likewise.
22024 * math/s_cexpl.c: Likewise.
22025 * math/libm-test.inc (cexp_test): Add more tests.
22026 * sysdeps/i386/fpu/libm-test-ulps: Update.
22027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22028
81b035fe
L
220292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22030
22031 * include/link.h (ELFW): New macro.
22032 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22033 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22034
1da7940c
L
220352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22036
22037 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22038 with uint64_t.
22039
b749dbb9
L
220402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22041
22042 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22043 declaration.
22044 (struct La_x32_retval): Likewise.
22045
2ff87f3f
L
220462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22047
22048 * sysdeps/x86_64/preconfigure.in: New file.
22049 * sysdeps/x86_64/preconfigure: New generated file.
22050
c0df8e69
JM
220512012-03-22 Joseph Myers <joseph@codesourcery.com>
22052
48e44791
JM
22053 [BZ #13824]
22054 * math/e_exp2l.c: Include <float.h>.
22055 (__ieee754_exp2l): Handle overflow and underflow cases
22056 separately. Only pass fractional part of argument to
22057 __ieee754_expl.
22058 * math/libm-test.inc (exp2_test): Add more tests.
22059
c0df8e69
JM
22060 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22061 negating x to take absolute value.
22062 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22063 Likewise.
22064 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22065 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22066 Likewise.
22067 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22068 computing low part if x was negated.
22069 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22070
c8e43ba7
L
220712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22072
22073 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22074 la_x32_gnu_pltexit.
22075 (pltexit): Cast int_retval to ptrdiff_t.
22076 * elf/tst-auditmod3b.c: Likewise.
22077 * elf/tst-auditmod4b.c: Likewise.
22078 * elf/tst-auditmod5b.c: Likewise.
22079 * elf/tst-auditmod6b.c: Likewise.
22080 * elf/tst-auditmod6c.c: Likewise.
22081 * elf/tst-auditmod7b.c: Likewise.
22082
22083 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22084 and x32_gnu_pltexit.
22085
22086 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22087 __ELF_NATIVE_CLASS.
22088 (La_x32_regs): New macro.
22089 (La_x32_retval): Likewise.
22090 (la_x32_gnu_pltenter): New function prototype.
22091 (la_x32_gnu_pltexit): Likewise.
22092
7998fa78
AS
220932012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22094
dcb33988
AS
22095 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22096 exponent.
22097
233fc563
AS
22098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22099
7998fa78
AS
22100 * configure.in (libc_cv_cc_nofma): Check for option to disable
22101 generation of FMA instructions.
22102 * configure: Regenerate.
22103 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22104 * sysdeps/ieee754/dbl-64/Makefile: New file.
22105 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22106 Remove brandred-fma4.
22107 (CFLAGS-brandred-fma4.c): Remove.
22108 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22109 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22110 define.
22111 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22112 define.
22113
8e95c99a
L
221142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22115
22116 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22117 LLONG_MAX != LONG_MAX.
22118 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22119 (_fitoa_word): Likewise.
22120 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22121 LLONG_MAX != LONG_MAX.
22122 * stdio-common/_itowa.h: Include <_itoa.h>.
22123 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22124 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22125 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22126 only if not defined.
22127 (_ITOA_WORD_TYPE): Likewise.
22128 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22129 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22130
6f4db457
DM
221312012-03-21 David S. Miller <davem@davemloft.net>
22132
22133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22134
7785fe5a
L
221352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22136
22137 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22138 of x86_64 when setting libc_cv_slibdir, libdir and
22139 libc_cv_localedir.
22140 * sysdeps/unix/sysv/linux/configure: Regenerated.
22141
4535cd55
JM
221422012-03-21 Joseph Myers <joseph@codesourcery.com>
22143
22144 * manual/lang.texi (Old Varargs): Remove section.
22145 (How Variadic): Update menu.
22146 (va_start): Do not mention varargs.h.
22147
17228132
TS
221482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22149 Joseph Myers <joseph@codesourcery.com>
22150
22151 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22152 link test.
22153 * configure: Regenerated.
22154
8149f976
TS
221552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22156
05f3d1f6
UD
22157 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22158 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22159 conformtest.pl
8149f976 22160
1a4ac776
JM
221612012-03-21 Joseph Myers <joseph@codesourcery.com>
22162
be22ce65
JM
22163 * NOTES: Remove.
22164 * Makefile (files-for-dist): Remove NOTES.
22165 (NOTES): Remove rule.
22166 * README: Don't refer to NOTES.
22167 * manual/creature.texi: Don't include macros.texi.
22168 * manual/intro.texi (creature.texi): Remove comment referring to
22169 NOTES.
22170
40b601fb
JM
22171 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22172 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22173 * configure: Regenerated.
22174 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22175 LIBC_TRY_CC_OPTION.
22176 (libc_cv_as_i686): Likewise.
22177 (libc_cv_cc_avx): Likewise.
22178 (libc_cv_cc_sse2avx): Likewise.
22179 (libc_cv_cc_fma4): Likewise.
22180 (libc_cv_cc_novzeroupper): Likewise.
22181 * sysdeps/i386/configure: Regenerated.
22182
1a4ac776
JM
22183 [BZ #13883]
22184 * sysdeps/i386/fpu/s_cexp.S: Remove.
22185 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22186 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22187 * math/libm-test.inc (cexp_test): Add more tests.
22188 * sysdeps/i386/fpu/libm-test-ulps: Update.
22189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22190
a458e7fe
AM
221912012-03-21 Allan McRae <allan@archlinux.org>
22192
22193 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22194
0cb7efc5
JM
221952012-03-21 Joseph Myers <joseph@codesourcery.com>
22196
22197 [BZ #13871]
22198 * math/w_exp2.c: Do not include <float.h>.
22199 (o_threshold, u_threshold): Remove.
22200 (__exp2): Calculate result before checking finiteness and calling
22201 __kernel_standard.
22202 * math/w_exp2f.c: Likewise.
22203 * math/w_exp2l.c: Likewise.
22204 * math/libm-test.inc (exp2_test): Require overflow exception for
22205 1e6 input.
2460d3aa
JM
22206
22207 [BZ #3866]
22208 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22209 range of signed 64-bit integers before using fistpll. Remove
22210 checks for whether integers fit in mantissa bits.
22211 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22212 the range of signed 32-bit integers before using fistpl. Remove
22213 checks for whether integers fit in mantissa bits.
22214 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22215 (__ieee754_powl): Test for y outside the range of signed 64-bit
22216 integers before using fistpll. Reduce 64-bit values to 63-bit
22217 ones as needed.
22218 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22219 divide-by-zero is raised for zero to large negative powers.
22220 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22221 (__ieee754_powl): Test for y outside the range of signed 64-bit
22222 integers before using fistpll. Reduce 64-bit values to 63-bit
22223 ones as needed.
22224 * math/libm-test.inc (pow_test): Add more tests.
22225
eb96ffb0
L
222262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22227
22228 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22229 <stdio-common/_itoa.h>.
22230 * debug/segfault.c: Likewise.
22231 * elf/dl-cache.c: Likewise.
22232 * elf/dl-minimal.c: Likewise.
22233 * elf/dl-misc.c: Likewise.
22234 * elf/dl-sysdep.c: Likewise.
22235 * elf/dl-version.c: Likewise.
22236 * elf/rtld.c: Likewise.
22237 * hurd/hurdsock.c: Likewise.
22238 * hurd/lookup-retry.c: Likewise.
22239 * malloc/malloc.c: Likewise.
22240 * malloc/mtrace.c: Likewise.
22241 * nscd/nscd_getgr_r.c: Likewise.
22242 * nscd/nscd_getpw_r.c: Likewise.
22243 * nscd/nscd_getserv_r.c: Likewise.
22244 * posix/getopt_init.c: Likewise.
22245 * posix/wordexp.c: Likewise.
22246 * stdio-common/_itoa.c: Likewise.
22247 * stdio-common/printf_fphex.c: Likewise.
22248 * stdio-common/vfprintf.c: Likewise.
22249 * string/_strerror.c: Likewise.
22250 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22251 * sysdeps/i386/i686/hp-timing.h: Likewise.
22252 * sysdeps/mach/_strerror.c: Likewise.
22253 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22254 * sysdeps/mach/hurd/sethostid.c: Likewise.
22255 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22256 * sysdeps/mach/xpg-strerror.c: Likewise.
22257 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22258 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22259 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22260 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22261 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22262 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22263 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22264 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22265 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22266 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22267 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22268 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22269 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22270 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22271 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22272 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22273 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22274 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22275 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22276 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22277 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22278
22279 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22280
22281 * stdio-common/_itoa.h: Moved to ...
22282 * sysdeps/generic/_itoa.h: Here.
22283
22284 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22285
22286 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22287 instead of "_itoa.h" and "_itowa.h".
22288 * stdio-common/vfprintf.: Likewise.
22289
d1af992d
L
222902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22291
22292 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22293 <bits/wordsize.h>.
22294 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22295 (__signbit): Likwise.
22296 (llrintf): Likwise.
22297 (llrint): Likwise.
22298
114883e0
L
222992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22300
22301 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22302 __WORDSIZE != 64.
22303
c135cc1b
JM
223042012-03-20 Joseph Myers <joseph@codesourcery.com>
22305
22306 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22307 OVERFLOW_EXCEPTION_OK.
22308 * math/libm-test.inc ("Philosophy"): Update comment about
22309 exception testing.
22310 (OVERFLOW_EXCEPTION): Define.
22311 (OVERFLOW_EXCEPTION_OK): Likewise.
22312 (INVALID_EXCEPTION_OK): Renumber.
22313 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22314 (IGNORE_ZERO_INF_SIGN): Likewise.
22315 (test_exceptions): Handle FE_OVERFLOW.
22316 (exp10_test): Expect overflow exceptions.
22317 (exp2_test): Likewise.
22318 (expm1_test): Likewise.
22319 (nextafter_test): Likewise.
22320 (pow_test): Likewise.
22321 (scalbn_test): Likewise.
22322 (scalbln_test): Likewise.
22323
95443d88
L
223242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22325
22326 * sysdeps/x86_64/bits/atomic.h
22327 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22328 64bit integer.
22329 (atomic_exchange_acq): Likewise.
22330 (__arch_exchange_and_add_body): Likewise.
22331 (__arch_add_body): Likewise.
22332 (atomic_add_negative): Likewise.
22333 (atomic_add_zero): Likewise.
22334
490df6c4
L
223352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22336
c2722551 22337 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22338 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22339
5e52b189
L
223402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22341
22342 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22343 Check __x86_64__ instead of __WORDSIZE.
22344
a9879d4c
L
223452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22346
22347 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22348
5df98260
DM
223492012-03-19 David S. Miller <davem@davemloft.net>
22350
e1497744
DM
22351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22352
5df98260
DM
22353 * sysdeps/sparc/fpu/fenv_private.h: New file.
22354 * sysdeps/sparc/fpu/math_private.h: Use it.
22355 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22356 Remove.
22357 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22358 (libc_feholdexcept_setroundl): Remove.
22359 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22360 Remove.
22361 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22362 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22363
b4c35121
L
223642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22365
22366 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22367 int64_t instead of long int.
22368 (INSERT_WORDS64): Likwise.
22369
56965fd7
L
223702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22371
22372 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22373 _Unwind_GetCFA return to _Unwind_Ptr first.
22374
83d1aec8
JM
223752012-03-19 Joseph Myers <joseph@codesourcery.com>
22376
1897ad44
JM
22377 [BZ #13629]
22378 * math/s_clog.c: Include <float.h>.
22379 (__clog): Scale large or subnormal inputs.
22380 * math/s_clogf.c: Likewise.
22381 * math/s_clogl.c: Likewise.
22382 * math/s_clog10.c: Include <float.h>.
22383 (M_LOG10_2): Define.
22384 (__clog10): Scale large or subnormal inputs.
22385 * math/s_clog10f.c: Likewise.
22386 * math/s_clog10l.c: Likewise.
22387 * math/libm-test.inc (clog_test): Add more tests.
22388 (clog10_test): Likewise.
22389 * sysdeps/i386/fpu/libm-test-ulps: Update.
22390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22391
7726d6a9
JM
22392 [BZ #11451]
22393 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22394 x and y.
22395 * math/libm-test.inc (atan2_test): Add another test.
22396
83d1aec8
JM
22397 * Makerules (common-objdir-compile): Remove.
22398 * sysdeps/unix/Makefile (config-generated): Do not add
22399 $(unix-generated) to variable.
22400 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22401 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22402 Remove rule.
22403 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22404 Likewise.
22405 [generic bits/local_lim.h] (before-compile): Do not append to
22406 variable.
22407 [generic bits/local_lim.h] (common-generated): Likewise.
22408 [generic sys/param.h] (before-compile): Do not append to variable.
22409 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22410 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22411 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22412 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22413 include.
22414 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22415 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22416 [generic sys/param.h] ($(addprefix
22417 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22418 [generic sys/param.h] (common-generated): Do not append to
22419 variable.
22420 [generic sys/param.h] (sysdep_headers): Likewise.
22421 [generic bits/errno.h] (before-compile): Do not append to
22422 variable.
22423 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22424 rule.
22425 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22426 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22427 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22428 [generic bits/errno.h] (common-generated): Do not append to
22429 variable.
22430 [generic bits/ioctls.h] (before-compile): Do not append to
22431 variable.
22432 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22433 rule.
22434 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22435 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22436 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22437 rule.
22438 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22439 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22440 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22441 [generic bits/ioctls.h] (common-generated): Do not append to
22442 variable.
22443 [generic sys/syscall.h] (syscall.h): Remove variable.
22444 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22445 rule.
22446 [generic sys/syscall.h] (before-compile): Do not append to
22447 variable.
22448 [generic sys/syscall.h] (common-generated): Likewise.
22449 * sysdeps/unix/errnos-tmpl.c: Remove file.
22450 * sysdeps/unix/errnos.awk: Likewise.
22451 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22452 * sysdeps/unix/ioctls.awk: Likewise.
22453 * sysdeps/unix/mk-local_lim.c: Likewise.
22454 * sysdeps/unix/snarf-ioctls: Likewise.
22455
4851a949
RH
224562012-03-19 Richard Henderson <rth@twiddle.net>
22457
bd37f2ee
RH
22458 * sysdeps/i386/fpu/fenv_private.h: New file.
22459 * sysdeps/i386/fpu/math_private.h: Use it.
22460 (math_opt_barrier, math_force_eval): Remove.
22461 (libc_feholdexcept_setround_53bit): Remove.
22462 (libc_feupdateenv_53bit): Remove.
22463 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22464 (math_opt_barrier, math_force_eval): Remove.
22465 (libc_feholdexcept): Remove.
22466 (libc_feholdexcept_setround): Remove.
22467 (libc_fetestexcept, libc_fesetenv): Remove.
22468 (libc_feupdateenv_test): Remove.
22469 (libc_feupdateenv, libc_feholdsetround): Remove.
22470 (libc_feresetround): Remove.
22471
d0adc922
RH
22472 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22473 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22474
0fe0f1f8
RH
22475 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22476 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22477 (libc_feupdateenv_testl): New.
22478 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22479 (libc_feupdateenv_testf): New.
22480 (libc_feupdateenv): Use libc_feupdateenv_test.
22481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22482 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22483
eb92c487
RH
22484 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22485 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22486 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22487 (libc_feresetround_noex): New.
22488 (libc_feresetround_noexf): New.
22489 (libc_feresetround_noexl): New.
22490 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22491 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22492 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22493 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22494 SET_RESTORE_ROUND.
22495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22496 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22497 (__cos): Likewise.
22498 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22499 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22500 SET_RESTORE_ROUND_NOEX.
22501 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22502 SET_RESTORE_ROUND_NOEXF.
22503 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22504 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22505 (libc_feholdsetroundf): New.
22506 (libc_feresetround, libc_feresetroundf): New.
22507
7d2e8012
RH
22508 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22509 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22510 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22511
b4dabbb4
RH
22512 * sysdeps/generic/math_private.h: Include <fenv.h>.
22513 (default_libc_feholdexcept): New.
22514 (default_libc_feholdexcept_setround): New.
22515 (default_libc_fesetenv, default_libc_feupdateenv): New.
22516 (libc_feholdexcept): Only define if undefined.
22517 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22518 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22519 (libc_feholdexcept_setroundl): Likewise.
22520 (libc_feholdexcept_setround_53bit): Likewise.
22521 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22522 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22523 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22524 (libc_feupdateenv_53bit): Likewise.
22525 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22526 (libc_feholdexcept): Convert from macro to inline function.
22527 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22528 (libc_fesetenv, libc_feupdateenv): Likewise.
22529
4851a949
RH
22530 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22531 not previously defined.
22532 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22533 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22534 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22535 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22536 * sysdeps/ieee754/flt-32/math_private.h: New file.
22537 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22538 math_private.h below SET_FLOAT_WORD.
22539 (__isnan, __isinf_ns, __finite): Remove.
22540 (__isnanf, __isinf_nsf, __finitef): Remove.
22541
e79d442e
AS
225422012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22543
22544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22545
90b80344
DM
225462012-03-17 David S. Miller <davem@davemloft.net>
22547
22548 [BZ #6471]
22549 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22550 for 2.16.
22551
edc21804
DM
225522012-03-16 David S. Miller <davem@davemloft.net>
22553
77e927af
DM
22554 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22555 warnings.
22556
374976dd
DM
22557 [BZ #6471]
22558 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22559 properly.
22560 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22561 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22562 sysdep_routines when subdir is sysvipc.
22563 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22564 __getshmlba helper.
22565
edc21804
DM
22566 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22567
473c3ef3
L
225682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22569
22570 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22571 [__LP64__].
22572
eb0f39b6
L
225732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22574
22575 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22576 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22577 (__lround): Renamed to ...
22578 (__llround): This. Replace long int with long long int.
22579 Define lround functions as aliases of llround functions.
22580 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22581
6b6cd74b
L
225822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22583
22584 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22585 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22586 adresses to uintptr_t. Replace "long int" and "unsigned long
22587 int" with "greg_t" on va_arg.
22588
f1a77b01
L
225892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22590
22591 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22592 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22593
22594 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22595 Move e_machine check before EI_CLASS check. Handle x32
22596 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22597 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22598 SKIP_EM_IA_64 and include
22599 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22600
22601 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22602 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22603 (add_system_dir): New macro.
22604
22605 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22606 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22607
11b90b9f
JM
226082012-03-16 Joseph Myers <joseph@codesourcery.com>
22609
c36e1d23
JM
22610 [BZ #2551]
22611 [BZ #2552]
22612 [BZ #2553]
22613 [BZ #2554]
22614 [BZ #2562]
22615 [BZ #2563]
22616 [BZ #2565]
22617 [BZ #2566]
22618 [BZ #2576]
22619 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22620 (y0): Likewise.
22621 * math/w_j0f.c (j0f): Likewise.
22622 (y0f): Likewise.
22623 * math/w_j0l.c (__j0l): Likewise.
22624 (__y0l): Likewise.
22625 * math/w_j1.c (j1): Likewise.
22626 (y1): Likewise.
22627 * math/w_j1f.c (j1f): Likewise.
22628 (y1f): Likewise.
22629 * math/w_j1l.c (__j1l): Likewise.
22630 (__y1l): Likewise.
22631 * math/w_jn.c (jn): Likewise.
22632 (yn): Likewise.
22633 * math/w_jnf.c (jnf): Likewise.
22634 (ynf): Likewise.
22635 * math/w_jnl.c (__jnl): Likewise.
22636 (__ynl): Likewise.
22637 * math/libm-test.inc (j0_test): Add more tests.
22638 (j1_test): Likewise.
22639 (jn_test): Likewise. Add trailing semicolon to existing test.
22640 (y0_test): Likewise.
22641 (y1_test): Likewise.
22642 * sysdeps/i386/fpu/libm-test-ulps: Update.
22643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22644
11b90b9f
JM
22645 [BZ #13851]
22646 [BZ #13854]
22647 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22648 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22649 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22650 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22651 (__tanl): Set errno for infinite argument.
22652 * sysdeps/i386/fpu/mptan.c: Remove.
22653 * sysdeps/i386/fpu/s_tan.S: Likewise.
22654 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22655 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22656 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22657 * math/libm-test.inc (tan_test): Add more tests and enable more
22658 tests for double and long double.
22659 * sysdeps/i386/fpu/libm-test-ulps: Update.
22660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22661
6a1bd2a1
JK
226622012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22663
22664 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22665 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22666
10a803e0
RM
226672012-03-16 Roland McGrath <roland@hack.frob.com>
22668
22669 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22670 * configure.in: Use it for both main tree and add-ons.
22671 * configure: Regenerated.
22672
f196c7f7
L
226732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22674
22675 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22676
8848d99d
JM
226772012-03-16 Joseph Myers <joseph@codesourcery.com>
22678
96cbe7f4
JM
22679 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22680 in comment.
22681
8848d99d
JM
22682 [BZ #13851]
22683 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22684 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22688 infinite argument.
22689 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22690 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22691 != 0 for prec == 2.
22692 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22693 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22694 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22695 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22696 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22697 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22698 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22699 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22700 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22701 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22702 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22703 * math/libm-test.inc (cos_test): Add more tests and enable more
22704 tests for long double.
22705 (sin_test): Likewise.
22706 (sincos_test): Likewise.
22707 * sysdeps/i386/fpu/libm-test-ulps: Update.
22708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22709
dd7f4703
DM
227102012-03-16 David S. Miller <davem@davemloft.net>
22711
22712 * sysdeps/sparc/fpu/math_private.h: New file.
22713
006f1daa
DM
227142012-03-15 David S. Miller <davem@davemloft.net>
22715
c0c83bc8
DM
22716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22717 file.
e6a62e18 22718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22720 file.
e6a62e18
DM
22721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22726 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22727 sysdep routines.
22728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22729
88cb87d9
DM
22730 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22731 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22732
006f1daa 22733 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22735 sparc-ifunc.h
006f1daa 22736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22738 Likewise.
22739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22740 Likewise.
006f1daa
DM
22741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22745 Likewise.
006f1daa
DM
22746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22751 Likewise.
22752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22753 Likewise.
006f1daa
DM
22754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22760 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22772 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22776 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22778
11e0098e
AS
227792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22780
22781 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22782 scaling.
22783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22784
e85b09d0
AJ
227852012-03-15 Andreas Jaeger <aj@suse.de>
22786
22787 [BZ #13852]
22788 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22789 ieee754/flt-32 implementation for sin, cos and sincos.
22790 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22791 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22792 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22793 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22794 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22795 ieee754/flt-32 implementation for tan.
22796
22797 * math/libm-test.inc (cos_test): Enable some large input tests for
22798 float as well
22799 (sin_test): Likewise.
22800 (sincos_test): Likewise.
22801 (tan_test): Add tests for large input.
22802
22803 * sysdeps/i386/fpu/libm-test-ulps: Update.
22804
81c64153
AJ
228052012-03-15 Andreas Jaeger <aj@suse.de>
22806
22807 [BZ #13658]
22808 * math/libm-test.inc (cos_test): Add more test cases.
22809 (sin_test): Likewise.
22810 (sincos_test): Likewise.
22811
7bbfa5c6
AJ
228122012-03-15 Andreas Jaeger <aj@suse.de>
22813
22814 [BZ #13837]
22815 * math/libm-test.inc (cos_test): Add a test case for large input
22816 value.
22817 (sin_test): Likewise.
22818 (sincos_test): Likewise.
22819
228202012-03-15 Andreas Jaeger <aj@suse.de>,
22821 Joseph Myers <joseph@codesourcery.com>
22822
22823 [BZ #13658]
0671f479 22824 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22825 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22826 * sysdeps/i386/fpu/branred.c: Likewise.
22827 * sysdeps/i386/fpu/dosincos.c: Likewise.
22828 * sysdeps/i386/fpu/mpa.c: Likewise.
22829 * sysdeps/i386/fpu/s_cos.S: Likewise.
22830 * sysdeps/i386/fpu/s_sin.S: Likewise.
22831 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22832 * sysdeps/i386/fpu/sincos32.c: Likewise.
22833
22834 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22835 Define.
22836 (libc_feupdateenv_53bit): Define.
22837 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22838 Define.
22839 (libc_feupdateenv_53bit): Define.
22840
22841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22842 53 bit (without extend i386 double precision).
22843
22844 * math/libm-test.inc (sincos_test): Add tests for large input.
22845 (sin): Likewise.
22846 (cos): Likewise.
22847
22848 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22849
9cad04ea
AS
228502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22851
22852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22853
f7062b9a
DM
228542012-03-15 David S. Miller <davem@davemloft.net>
22855
22856 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22857 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22858 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22859 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22872 file.
f7062b9a 22873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22875 file.
f7062b9a 22876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22878 file.
f7062b9a 22879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22881 file.
f7062b9a
DM
22882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22884 fmin/fmax sysdep routines.
22885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22886
7bd951ff
DM
228872012-03-14 David S. Miller <davem@davemloft.net>
22888
559398ab
DM
22889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22893 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22894 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22895 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22896 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22901 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22909 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22910 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22911 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22913 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22918 routines.
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22920 file.
559398ab 22921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22923 file.
559398ab 22924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22926 file.
559398ab 22927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22929 file.
559398ab 22930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22932 file.
559398ab 22933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22935 file.
22936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22937 file.
22938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22939 file.
22940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22941 file.
22942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22943 New file.
22944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22945 file.
22946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22947 file.
559398ab 22948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22950 file.
559398ab 22951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22953 file.
559398ab 22954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22956 file.
559398ab 22957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22959 VIS3 routines.
559398ab
DM
22960
22961 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22962 New file.
22963
5a1c1e32
DM
22964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22965
eae47a36
DM
22966 * sysdeps/sparc/configure.in: New file.
22967 * sysdeps/sparc/configure: Generate.
22968 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22969 * configure: Regenerate.
22970 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22971 * config.make.in (have-as-vis3): New.
22972 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22973 available use -Av9d instead of -Av9a.
22974 * sysdeps/sparc/sparc64/Makefile: Likewise.
22975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22977 New file.
22978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22979 file.
22980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22981 New file.
22982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22983 file.
eae47a36
DM
22984 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22985 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22989
c0c83bc8
DM
22990 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22991 fzeros/fnegs to load 0x80000000 into a float register instead of
22992 using the stack.
7bd951ff
DM
22993 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22994
bd951ccb
JM
229952012-03-14 Joseph Myers <joseph@codesourcery.com>
22996
22997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22998 bits/syscall.h.
22999 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23000 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23001 ($(inst_includedir)/bits/syscall.h): Remove rule.
23002 ($(objpfx)bits/syscall.d): Include instead of
23003 $(objpfx)syscall-list.d.
23004 (generated): Change syscall-list.h and syscall-list.d to
23005 bits/syscall.h and bits/syscall.d.
23006
bb4e6db2
RM
230072012-03-14 Roland McGrath <roland@hack.frob.com>
23008
23009 [BZ #13846]
23010 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23011
aa4a2ae1
JM
230122012-03-14 Joseph Myers <joseph@codesourcery.com>
23013
e456826d
JM
23014 [BZ #13841]
23015 * math/s_csqrt.c: Include <float.h>.
23016 (__csqrt): Scale large or subnormal inputs.
23017 * math/s_csqrtf.c: Likewise.
23018 * math/s_csqrtl.c: Likewise.
23019 * math/libm-test.inc (csqrt_test): Add more tests.
23020 * sysdeps/i386/fpu/libm-test-ulps: Update.
23021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23022
aa4a2ae1
JM
23023 [BZ #13840]
23024 * math/libm-test.inc (hypot_test): Add more tests.
23025
7c10fd35
DM
230262012-03-13 David S. Miller <davem@davemloft.net>
23027
23028 [BZ #13840]
23029 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23030 double-precision for the calculation instead of scaling.
23031
f453b98b
JM
230322012-03-13 Joseph Myers <joseph@codesourcery.com>
23033
23034 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23035 manipulate bits before adding and subtracting TWO52[sx].
23036 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23037 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23038 Likewise.
23039 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23040
09a3453f
DM
230412012-03-13 David S. Miller <davem@davemloft.net>
23042
8e59da90
DM
23043 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23044 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23046 rtld-global-offsets.h
23047 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23048
2a8ab7f2
DM
23049 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23050 large parameters.
23051
10f62770
DM
23052 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23053
5f0bdb18
DM
23054 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23055 'err' in the ifdef scope in which it is actually used.
23056
09a3453f
DM
23057 * nss/nss_db/db-init.c: Include string.h
23058
b4b2eb5e
DM
230592012-03-12 David S. Miller <davem@davemloft.net>
23060
98bb2f1c
DM
23061 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23062 masking out of the most significant byte of random value used.
23063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23064 Fix coding style in previous change.
23065
b4b2eb5e
DM
23066 * sysdeps/unix/sysv/linux/kernel-features.h
23067 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23068 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23069 expression.
23070 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23071 later.
23072
6e226b09
DM
230732012-03-11 David S. Miller <davem@davemloft.net>
23074
a1bcbd40
DM
23075 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23076 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23077 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23078 for 'resultvar' otherwise things get truncated on 64-bit.
23079
cb9d6174
DM
23080 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23081 Fix masking out of the most significant byte of random value used.
23082
6e226b09
DM
23083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23084
058c132d
AS
230852012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23086
23087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23088
2d2cd515
DM
230892012-03-09 David S. Miller <davem@davemloft.net>
23090
23091 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23092 variables with appropriate CPP guards.
23093 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23094 frame pointer, not the stack pointer. Correct layout comments. Fix test
23095 on resulting framesize and the management of the outregs buffer for pltexit.
23096 Preserve floating point return values across _dl_call_pltexit call.
23097 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23098 framesize and the management of the outregs buffer for pltexit.
23099 Preserve floating point return values across _dl_call_pltexit
23100 call.
23101 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23102 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23103 (print_exit): Fix format string for return register value.
23104
9a07f9d0
JM
231052012-03-10 Joseph Myers <joseph@codesourcery.com>
23106
23107 * sunrpc/Makefile (others): Add rpcgen.
23108 ($(objpfx)rpcgen): Remove special build rule and dependency on
23109 libc.
23110 * sunrpc/rpcgen.c: New file.
23111
547b5e30
PE
231122012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23113
c524201a
PE
23114 [BZ #13673]
23115 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23116 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23117 * sysdeps/i386/crti.S: Likewise.
23118 * sysdeps/i386/crtn.S: Likewise.
23119 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23120 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23121 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23122 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23123 * sysdeps/sh/crti.S: Likewise.
23124 * sysdeps/sh/crtn.S: Likewise.
23125 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23126
7b6235f2
PE
23127 [BZ #13673]
23128 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23129 with URL.
23130 * locale/programs/locfile-kw.gperf: Likewise.
23131 * locale/programs/charmap-kw.h: Regenerated.
23132 * locale/programs/locfile-kw.h: Likewise.
23133
547b5e30
PE
23134 [BZ #13673]
23135 * intl/plural.y: Replace FSF snail mail address with URL.
23136 * intl/plural.c: Regenerated.
23137
5f0a5dae
RH
231382012-03-09 Richard Henderson <rth@twiddle.net>
23139
23140 * include/math_private.h: Remove file.
23141 * math/math_private.h: Move file ...
23142 * sysdeps/generic/math_private.h: ... here.
23143
b8c03620
RH
23144 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23145 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23146 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23147
4e234f5d 23148 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23149 and <math_private.h>.
23150 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23151 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23152 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23153 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23154 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23155 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23156 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23158 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23159 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23161 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23162 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23180 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23181 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23182 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23183 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23184 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23185 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23186 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23188 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23190 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23191 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23192 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23195 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23197 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23209 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23212 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23217 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23219 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23220 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23221 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23222 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23223 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23226 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23228 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23229 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23230 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23231 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23235 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23238 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23239 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23240 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23241 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23242 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23243 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23244 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23245 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23246 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23247 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23248 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23249 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23250 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23251 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23252 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23253 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23254 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23255 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23256 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23257 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23258 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23259 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23260 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23261 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23262 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23263 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23264 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23265 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23266 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23267 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23268 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23269 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23270 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23271 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23272 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23273 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23274 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23275 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23276 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23277 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23278 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23279 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23280 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23281 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23282 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23283 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23284 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23285 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23286 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23287 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23288 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23289 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23290 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23291 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23292 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23293 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23294 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23295 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23296 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23297 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23298 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23299 * sysdeps/ieee754/k_standard.c: Likewise.
23300 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23301 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23302 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23303 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23304 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23305 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23306 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23309 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23310 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23311 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23312 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23313 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23314 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23315 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23316 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23317 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23318 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23321 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23322 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23323 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23326 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23327 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23328 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23330 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23331 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23332 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23333 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23334 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23335 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23337 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23338 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23340 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23341 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23342 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23345 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23346 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23351 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23352 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23353 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23354 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23355 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23356 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23357 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23358 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23359 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23360 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23361 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23362 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23363 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23365 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23366 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23367 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23368 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23370 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23371 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23372 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23373 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23374 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23376 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23377 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23378 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23379 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23380 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23381 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23382 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23383 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23384 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23385 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23386 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23387 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23388 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23389 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23390 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23391 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23393 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23394 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23396 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23397 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23398 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23399 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23401 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23402 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23403 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23404 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23405 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23409 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23410 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23411 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23412 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23413 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23414 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23415 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23416 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23417 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23418 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23419 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23420 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23421 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23422 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23426 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23427 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23428 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23431 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23432 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23433 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23434 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23445 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23448 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23449 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23450 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23454 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23455 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23456 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23457 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23458 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23459 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23460 * sysdeps/ieee754/s_lib_version.c: Likewise.
23461 * sysdeps/ieee754/s_matherr.c: Likewise.
23462 * sysdeps/ieee754/s_signgam.c: Likewise.
23463 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23464 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23465 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23466 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23467 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23468 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23469 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23470 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23471 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23472 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23473 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23474 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23475 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23476 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23477 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23478 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23479 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23480 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23481 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23482 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23483 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23484
1991fa03
JM
234852012-03-09 Joseph Myers <joseph@codesourcery.com>
23486
23487 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23488 * sunrpc/rpc_main.c: Likewise.
23489 * sunrpc/rpc_svcout.c: Likewise.
23490
60d6f5a6
DM
234912012-03-09 David S. Miller <davem@davemloft.net>
23492
23493 * include/math_private.h: New file.
23494
4962050e
JM
234952012-03-09 Joseph Myers <joseph@codesourcery.com>
23496
02a6f887
JM
23497 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23498 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23499 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23500 from <bits/socket_type.h>.
23501 (enum __socket_type): Don't define here.
23502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23504 bits/socket_type.h.
23505
c6e013c1
JM
23506 [BZ #13566]
23507 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23508 checking __USE_GNU.
23509
4962050e
JM
23510 * Makerules ($(inst_includedir)/%.h): New rule.
23511 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23512 (install-others): Remove variable setting.
23513 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23514
38842f45
RH
235152012-03-08 Richard Henderson <rth@twiddle.net>
23516
67bb6da6
RH
23517 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23518 from macro to inline function; merge with the
23519 !__LIBC_INTERNAL_MATH_INLINES version.
23520 (__ieee754_sqrtf): Likewise.
23521
15194b4b
RH
23522 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23523 to inline function.
23524 (__rintf, __floor, __floorf): Likewise.
23525
64e21ede
RH
23526 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23527 macro to inline function.
23528 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23529
38842f45
RH
23530 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23531 not <math/math_private.h>.
23532
c64bf5fe
DM
235332012-03-08 David S. Miller <davem@davemloft.net>
23534
23535 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23536 copyright year.
23537 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23538
82d86f28
TS
235392012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23540
23541 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23542 normalization.
23543 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23544 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23545
aea5d727
UD
235462012-03-08 Ulrich Drepper <drepper@gmail.com>
23547
23548 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23549 be defined individually, they must be defined as a block. Define
23550 S for printing a string instead of hidint the different by using a
23551 macro for adding the 'l'.
23552 * stdio-common/tst-fphex-wide.c: Adjust.
23553
70bca0a3
MP
235542012-03-07 Marek Polacek <polacek@redhat.com>
23555
23556 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23557
65b81130
MP
235582012-03-08 Marek Polacek <polacek@redhat.com>
23559
23560 [BZ #13806]
23561 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23562 * stdio-common/tst-fphex.c: Define a few macros to make the
23563 test reusable. Use them.
23564 * stdio-common/tst-fphex-wide.c: New file.
23565
07037eeb
JM
235662012-03-08 Joseph Myers <joseph@codesourcery.com>
23567
a7a93d50
JM
23568 [BZ #6911]
23569 * manual/macros.texi (gnusystems): New macro.
23570 (nongnusystems): Likewise.
23571 (gnulinuxhurdsystems): Likewise.
23572 (gnuhurdsystems): Likewise..
23573 (gnulinuxsystems): Likewise.
23574 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23575 variants of the GNU system, not "GNU system".
23576 * manual/conf.texi: Likewise.
23577 * manual/errno.texi: Likewise. Update example of errno macro
23578 expansion.
23579 * manual/filesys.texi: Likewise.
23580 (getumask): Document as specific to GNU/Hurd.
23581 * manual/install.texi: Likewise. Reword some references to
23582 GNU/Linux.
23583 * manual/intro.texi: Likewise.
23584 * manual/io.texi: Likewise.
23585 (File Name Portability): Detail which constraints are inapplicable
23586 to all GNU systems and which are only inapplicable to GNU/Hurd.
23587 * manual/job.texi: Likewise.
23588 * manual/llio.texi: Likewise.
23589 (O_NOCTTY): Document as present on GNU/Linux.
23590 * manual/maint.texi: Likewise.
23591 * manual/memory.texi: Likewise.
23592 * manual/pattern.texi: Likewise.
23593 * manual/pipe.texi: Likewise.
23594 * manual/process.texi: Likewise.
23595 * manual/resource.texi: Likewise.
23596 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23597 child on GNU/Hurd.
23598 * manual/setjmp.texi: Likewise.
23599 * manual/signal.texi: Likewise.
23600 * manual/startup.texi: Likewise.
23601 * manual/stdio.texi: Likewise.
23602 * manual/terminal.texi: Likewise.
23603 (ONLCR): Document as POSIX.
23604 (OXTABS): Document availability on GNU/Linux as XTABS.
23605 (ONOEOT): Document availability separately from other bits.
23606 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23607 * manual/time.texi: Likewise.
23608 * manual/users.texi: Likewise.
23609 * INSTALL: Regenerated.
23610 * sysdeps/gnu/errlist.c: Regenerated.
23611
07037eeb
JM
23612 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23613 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23614 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23615 puts.
23616 * configure: Regenerated.
23617
d1d3431a
JM
236182012-03-07 Joseph Myers <joseph@codesourcery.com>
23619
af6a1e37
JM
23620 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23621 default includes instead of AC_HEADER_CHECK.
23622 * sysdeps/i386/configure: Regenerated.
23623
d1d3431a
JM
23624 [BZ #10716]
23625 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23626 * math/s_cacoshf.c (__cacoshf): Likewise.
23627 * math/s_cacoshl.c (__cacoshl): Likewise.
23628 * math/s_casinh.c (__casinh): Set signs of result from argument.
23629 * math/s_casinhf.c (__casinhf): Likewise.
23630 * math/s_casinhl.c (__casinhl): Likewise.
23631 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23632 (casinh_test): Add more tests.
23633 * sysdeps/i386/fpu/libm-test-ulps: Update.
23634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23635
482ff4da
UD
236362012-03-07 Ulrich Drepper <drepper@gmail.com>
23637
872fda05
UD
23638 * po/zh_TW.po: Update from translation team.
23639
a4300c7a
UD
23640 * login/Makefile (distribute): Remove variable.
23641 * catgets/Makefile: Likewise.
23642 * mach/Makefile: Likewise.
23643 * malloc/Makefile: Likewise.
23644 * misc/Makefile: Likewise.
23645 * iconv/Makefile: Likewise.
23646 * nscd/Makefile: Likewise.
23647 * hurd/Makefile: Likewise.
23648 * manual/Makefile: Likewise.
23649 * locale/Makefile: Likewise.
23650 * intl/Makefile: Likewise.
23651 * conform/Makefile: Likewise.
23652 * nss/Makefile: Likewise.
23653 * time/Makefile: Likewise.
23654 * soft-fp/Makefile: Likewise.
23655 * dirent/Makefile: Likewise.
23656 * gmon/Makefile: Likewise.
23657 * po/Makefile: Likewise.
23658 * rt/Makefile: Likewise.
23659 * socket/Makefile: Likewise.
23660 * math/Makefile: Likewise.
23661 * signal/Makefile: Likewise.
23662 * debug/Makefile: Likewise.
23663 * elf/Makefile: Likewise.
23664 * timezone/Makefile: Likewise.
23665 * stdlib/Makefile: Likewise.
23666 * iconvdata/Makefile: Likewise.
23667 * sunrpc/Makefile: Likewise.
23668 * io/Makefile: Likewise.
23669 * argp/Makefile: Likewise.
23670 * inet/Makefile: Likewise.
23671 * hesiod/Makefile: Likewise.
23672 * grp/Makefile: Likewise.
23673 * csu/Makefile: Likewise.
23674 * wctype/Makefile: Likewise.
23675 * crypt/Makefile: Likewise.
23676 * libio/Makefile: Likewise.
23677 * string/Makefile: Likewise.
23678 * nis/Makefile: Likewise.
23679 * resolv/Makefile: Likewise.
23680 * stdio-common/Makefile: Likewise.
23681 * wcsmbs/Makefile: Likewise.
23682 * dlfcn/Makefile: Likewise.
23683 * posix/Makefile: Likewise.
23684
3b7c4e74 23685 [BZ #6959]
482ff4da
UD
23686 * timezone/Makefile: Don't install timezone files, just the programs
23687 and scripts.
23688
f72ed77d
UD
236892012-03-06 Ulrich Drepper <drepper@gmail.com>
23690
a000466f
UD
23691 * nss/databases.def: Add missing gshadow entry.
23692
f72ed77d
UD
23693 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23694
a53b7a4e
MP
236952012-03-06 Marek Polacek <polacek@redhat.com>
23696
23697 [BZ #13726]
23698 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23699 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23700 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23701 * stdio-common/tst-long-dbl-fphex.c: New file.
23702
e9258400
DM
237032012-03-06 David S. Miller <davem@davemloft.net>
23704
23705 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23706 (set_obp_int): New function.
23707 (get_obp_int): New function.
23708 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23709 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23710 Avoid unused variable warnings on 'val' and use builtin_expect.
23711 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23712 __builtin_expect.
e9258400
DM
23713 (INLINE_CLONE_SYSCALL): Likewise.
23714
3bd2c723
DM
237152012-03-05 David S. Miller <davem@davemloft.net>
23716
23717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23718
bbb78d03
AS
237192012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23720
884c5db4
AS
23721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23722
bbb78d03
AS
23723 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23724 only for |x| >= 40.
23725 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23726
1c9f702a 237272012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23728
23729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23730 Replace gettimeofday with __vdso_gettimeofday.
23731
7be16f82
RM
23732 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23733 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23734 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23735
23736 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23737 time with __vdso_time.
23738
ed58a00f
JM
237392012-03-05 Joseph Myers <joseph@codesourcery.com>
23740
23741 * manual/lang.texi (size_t): Note types to which size_t may be
23742 equivalent with the GNU C Library, but do not describe when
23743 differences between them are significant.
23744
30ee4ced
AJ
237452012-03-05 Andreas Jaeger <aj@suse.de>
23746
23747 * sysdeps/i386/fpu/libm-test-ulps: Update.
23748
b7cd39e8
JM
237492012-03-05 Joseph Myers <joseph@codesourcery.com>
23750
23751 [BZ #3976]
23752 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23753 (__ieee754_pow): Save and restore rounding mode and use
23754 round-to-nearest for main computations.
23755 * math/libm-test.inc (pow_test_tonearest): New function.
23756 (pow_test_towardzero): Likewise.
23757 (pow_test_downward): Likewise.
23758 (pow_test_upward): Likewise.
23759 (main): Call the new functions.
23760 * sysdeps/i386/fpu/libm-test-ulps: Update.
23761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23762
23763 [BZ #3976]
23764 * math/libm-test.inc (cosh_test_tonearest): New function.
23765 (cosh_test_towardzero): Likewise.
23766 (cosh_test_downward): Likewise.
23767 (cosh_test_upward): Likewise.
23768 (sinh_test_tonearest): Likewise.
23769 (sinh_test_towardzero): Likewise.
23770 (sinh_test_downward): Likewise.
23771 (sinh_test_upward): Likewise.
23772 (main): Call the new functions.
23773 * sysdeps/i386/fpu/libm-test-ulps: Update.
23774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23775
6c6a98c9
TV
237762012-03-05 Tom de Vries <tom@codesourcery.com>
23777
23778 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23779 default stack guard is set in last bytes.
23780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23781
21bb2d2e 237822012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23783
21bb2d2e 23784 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23785
21bb2d2e
AJ
23786 [BZ #13656]
23787 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23788 possibly allocate from heap instead of stack.
23789 * stdio-common/bug-vfprintf-nargs.c: New file.
23790 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23791
c6922934
AS
237922012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23793
23794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23795
bc957d53
MP
237962012-03-03 Marek Polacek <polacek@redhat.com>
23797
23798 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23799 * math/math_private.h: Likewise.
23800 * stdlib/tst-strtod.c: Likewise.
23801 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23802 * sysdeps/x86_64/bits/atomic.h: Likewise.
23803
6358490d
DM
238042012-03-02 David S. Miller <davem@davemloft.net>
23805
23806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23810 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23811 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23812 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23813 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23814
01ae168d
RM
238152012-03-02 Roland McGrath <roland@hack.frob.com>
23816
d9a17c07
RM
23817 [BZ #13792]
23818 * manual/examples/README: New file, says the example source files
23819 can be used under GPL>=2.
23820 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23821 line containing just "*/".
23822 * manual/examples/add.c: Add copyright header (GPL>=2).
23823 * manual/examples/argp-ex1.c: Likewise.
23824 * manual/examples/argp-ex2.c: Likewise.
23825 * manual/examples/argp-ex3.c: Likewise.
23826 * manual/examples/argp-ex4.c: Likewise.
23827 * manual/examples/atexit.c: Likewise.
23828 * manual/examples/db.c: Likewise.
23829 * manual/examples/dir.c: Likewise.
23830 * manual/examples/dir2.c: Likewise.
23831 * manual/examples/execinfo.c: Likewise.
23832 * manual/examples/filecli.c: Likewise.
23833 * manual/examples/filesrv.c: Likewise.
23834 * manual/examples/fmtmsgexpl.c: Likewise.
23835 * manual/examples/genpass.c: Likewise.
23836 * manual/examples/inetcli.c: Likewise.
23837 * manual/examples/inetsrv.c: Likewise.
23838 * manual/examples/isockad.c: Likewise.
23839 * manual/examples/longopt.c: Likewise.
23840 * manual/examples/memopen.c: Likewise.
23841 * manual/examples/memstrm.c: Likewise.
23842 * manual/examples/mkfsock.c: Likewise.
23843 * manual/examples/mkisock.c: Likewise.
23844 * manual/examples/mygetpass.c: Likewise.
23845 * manual/examples/pipe.c: Likewise.
23846 * manual/examples/popen.c: Likewise.
23847 * manual/examples/rprintf.c: Likewise.
23848 * manual/examples/search.c: Likewise.
23849 * manual/examples/select.c: Likewise.
23850 * manual/examples/setjmp.c: Likewise.
23851 * manual/examples/sigh1.c: Likewise.
23852 * manual/examples/sigusr.c: Likewise.
23853 * manual/examples/stpcpy.c: Likewise.
23854 * manual/examples/strdupa.c: Likewise.
23855 * manual/examples/strftim.c: Likewise.
23856 * manual/examples/strncat.c: Likewise.
23857 * manual/examples/subopt.c: Likewise.
23858 * manual/examples/swapcontext.c: Likewise.
23859 * manual/examples/termios.c: Likewise.
23860 * manual/examples/testopt.c: Likewise.
23861 * manual/examples/testpass.c: Likewise.
23862 * manual/examples/timeval_subtract.c: Likewise.
23863
01ae168d
RM
23864 [BZ #13792]
23865 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23866 function to ...
23867 * manual/timeval_subtract.c.texi: ... here, new file.
23868
49efa33d
DM
238692012-03-02 David S. Miller <davem@davemloft.net>
23870
23871 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23872
28afd92d
JM
238732012-03-02 Joseph Myers <joseph@codesourcery.com>
23874
804360ed
JM
23875 [BZ #3976]
23876 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23877 (__sin): Save and restore rounding mode and use round-to-nearest
23878 for all computations.
23879 (__cos): Save and restore rounding mode and use round-to-nearest
23880 for all computations.
23881 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23882 <fenv.h>.
23883 (tan): Save and restore rounding mode and use round-to-nearest for
23884 all computations.
23885 * math/libm-test.inc (cos_test_tonearest): New function.
23886 (cos_test_towardzero): Likewise.
23887 (cos_test_downward): Likewise.
23888 (cos_test_upward): Likewise.
23889 (sin_test_tonearest): Likewise.
23890 (sin_test_towardzero): Likewise.
23891 (sin_test_downward): Likewise.
23892 (sin_test_upward): Likewise.
23893 (tan_test_tonearest): Likewise.
23894 (tan_test_towardzero): Likewise.
23895 (tan_test_downward): Likewise.
23896 (tan_test_upward): Likewise.
23897 (main): Call the new functions.
23898 * sysdeps/i386/fpu/libm-test-ulps: Update.
23899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23900
a6d06d7b
JM
23901 [BZ #10135]
23902 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23903 small n, then large n, before computing and testing k+n.
23904 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23906 Likewise.
23907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23908 Likewise.
23909 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23910 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23911 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23912 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23913 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23914 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23915 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23916 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23917 * math/libm-test.inc (scalbn_test): Add more tests.
23918 (scalbln_test): Likewise.
23919
07e12bb3
JM
23920 * manual/filesys.texi (mode_t): Describe constraints on size and
23921 signedness, not exact equivalence to a particular type.
23922 (ino_t): Likewise.
23923 (ino64_t): Likewise.
23924 (dev_t): Likewise.
23925 (nlink_t): Likewise.
23926 (blkcnt_t): Likewise.
23927 (blkcnt64_t): Likewise.
23928 * manual/llio.texi (off_t): Likewise.
23929
28afd92d
JM
23930 [BZ #3976]
23931 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23932 (__ieee754_exp): Save and restore rounding mode and use
23933 round-to-nearest for all computations.
23934 * math/libm-test.inc (exp_test_tonearest): New function.
23935 (exp_test_towardzero): Likewise.
23936 (exp_test_downward): Likewise.
23937 (exp_test_upward): Likewise.
23938 (main): Call the new functions.
23939 * sysdeps/i386/fpu/libm-test-ulps: Update.
23940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23941
b1eeb65d
CD
239422012-03-01 Chris Demetriou <cgd@google.com>
23943
23944 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23945 have predictable order.
23946
53362a4b
DM
239472012-03-01 David S. Miller <davem@davemloft.net>
23948
3c969083
DM
23949 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23950
759707de
DM
23951 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23952 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23953 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23954 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23955
dfdb8ff2
DM
23956 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23957 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23958 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23960 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23961 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23962 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23963 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23964 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23965
ead89f96
DM
23966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23967
7f66bd07
DM
23968 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23969 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23970 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23971
53362a4b
DM
23972 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23973 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23974 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23975 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23976 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23977 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23978 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23979 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23980 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23981 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23982 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23983 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23985 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23986 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23988 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23989 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23990 * sysdeps/sparc/elf/configure: Regenerated.
23991
7b1902cb
JM
239922012-03-01 Joseph Myers <joseph@codesourcery.com>
23993
bec039bc
JM
23994 * configure.in (AS, LD): Require binutils 2.20 or later.
23995 * configure: Regenerated.
23996 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23997 as required minimum version.
23998 * INSTALL: Regenerated.
23999
7b1902cb
JM
24000 [BZ #2541]
24001 [BZ #4108]
24002 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24003 before squaring exponent.
24004 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24005 bottom long double and 27 bits of top long double before squaring
24006 exponent.
24007 * math/libm-test.inc (erfc_test): Add more tests.
24008 * sysdeps/i386/fpu/libm-test-ulps: Update.
24009 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24011
f775c276
KT
240122012-03-01 Kai Tietz <ktietz@redhat.com>
24013
24014 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24015 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24016 containing bit-fields.
24017 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24018 * soft-fp/single.h (_FP_UNION_S): Likewise.
24019 * soft-fp/double.h (_FP_UNION_D): Likewise.
24020
5b8a4d4a
JM
240212012-02-29 Joseph Myers <joseph@codesourcery.com>
24022
0bab47b6
JM
24023 [BZ #13786]
24024 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24025 not include ../strcmp.S.
24026 [USE_AS_STRNCASECMP_L]: Likewise.
24027 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24028 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24029 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24030 (__strncasecmp_l_ia32): Define as alias to
24031 __strncasecmp_l_nonascii.
24032
0fcad3e2
JM
24033 [BZ #5794]
24034 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24035 * sysdeps/i386/fpu/libm-test-ulps: Update.
24036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24037
5b8a4d4a
JM
24038 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24040
8fdceb2e
JL
240412012-02-29 Jeff Law <law@redhat.com>
24042
24043 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24044 out of bounds read.
24045
1f393a11
MP
240462012-02-29 Marek Polacek <polacek@redhat.com>
24047
24048 [BZ #13706]
24049 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24050 * elf/Makefile: Add rules to run tst-unused-dep.out.
24051
8847f037
DM
240522012-02-28 David S. Miller <davem@davemloft.net>
24053
24054 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24055 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24056 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24057 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24058 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24059 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24060
169d7f11
JM
240612012-02-29 Joseph Myers <joseph@codesourcery.com>
24062
24063 * math/libm-test.inc (llround_test): Move one test from
24064 lround_test. Use TEST_f_L in moved test.
24065 (lround_test): Move misplaced test to llround_test. Add testcase
24066 from bug 2561.
24067
39adf059
UD
240682012-02-28 Ulrich Drepper <drepper@gmail.com>
24069
24070 * sysdeps/x86_64/fpu/e_expf.S: New file.
24071 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24072
71b5d1c5
SB
240732012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24074
24075 [BZ #13637]
24076 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24077 of remain_len that may cause incomplete multi-byte character and
24078 false match.
24079 * posix/bug-regex33.c: New file.
24080 * posix/Makefile (tests): Add bug-regex33.
24081
1f77f049
JM
240822012-02-28 Joseph Myers <joseph@codesourcery.com>
24083
24084 * manual/macros.texi: New file.
24085 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24086 * manual/libc.texinfo: Include macros.texi.
24087 * manual/creatute.texi: Likewise.
24088 * manual/install.texi: Likewise.
24089 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24090 @glibcadj{} in references to the GNU C Library.
24091 * manual/charset.texi: Likewise.
24092 * manual/conf.texi: Likewise.
24093 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24094 when not using those macros.
24095 * manual/creature.texi: Likewise.
24096 * manual/crypt.texi: Likewise.
24097 * manual/errno.texi: Likewise.
24098 * manual/filesys.texi: Likewise.
24099 * manual/header.texi: Likewise.
24100 * manual/install.texi: Likewise.
24101 * manual/intro.texi: Likewise.
24102 * manual/io.texi: Likewise.
24103 * manual/job.texi: Likewise.
24104 * manual/lang.texi: Likewise.
24105 * manual/libc.texiinfo: Likewise.
24106 * manual/llio.texi: Likewise.
24107 * manual/locale.texi: Likewise.
24108 * manual/maint.texi: Likewise.
24109 * manual/math.texi: Likewise.
24110 * manual/memory.texi: Likewise.
24111 * manual/message.texi: Likewise.
24112 * manual/nss.texi: Likewise.
24113 * manual/pattern.texi: Likewise.
24114 * manual/process.texi: Likewise.
24115 * manual/resource.texi: Likewise.
24116 * manual/search.texi: Likewise.
24117 * manual/setjmp.texi: Likewise.
24118 * manual/signal.texi: Likewise.
24119 * manual/socket.texi: Likewise.
24120 * manual/startup.texi: Likewise.
24121 * manual/stdio.texi: Likewise.
24122 * manual/string.texi: Likewise.
24123 * manual/sysinfo.texi: Likewise.
24124 * manual/syslog.texi: Likewise.
24125 * manual/terminal.texi: Likewise.
24126 * manual/time.texi: Likewise.
24127 * manual/users.texi: Likewise.
24128 * INSTALL: Regenerated.
24129 * NOTES: Regenerated.
d40c5d54 24130 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24131
450bf206
AS
241322012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24133
24134 * include/dirent.h: Include <dirstream.h> before
24135 <dirent/dirent.h>.
24136
741a235b
DM
241372012-02-28 David S. Miller <davem@davemloft.net>
24138
24139 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24140 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24141 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24142 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24143
d6b5aa58
DM
241442012-02-27 David S. Miller <davem@davemloft.net>
24145
1aff59a3
DM
24146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24148 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24149 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24150
d6b5aa58
DM
24151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24152 frame pointer instead of stack pointer relative arg slot.
24153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24154 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24155 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24156
433f48bf
CD
241572012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24158
24159 [BZ #3992]
24160 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24161
d674b76d
DM
241622012-02-27 David S. Miller <davem@davemloft.net>
24163
24164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24168 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24169 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24170 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24171 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24172
0e7727f7
JM
241732012-02-27 Joseph Myers <joseph@codesourcery.com>
24174
24175 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24176 later. Allow versions 5-9.
43be4ca2 24177 * configure: Regenerated.
0e7727f7
JM
24178 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24179 required minimum version and 4.6 as recommended version. Do not
24180 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24181 * INSTALL: Regenerated.
0e7727f7 24182
a78bc654
DM
241832012-02-27 David S. Miller <davem@davemloft.net>
24184
428d5830
DM
24185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24189 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24190 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24191 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24192 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24193
a78bc654
DM
24194 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24195 manipulate bits before adding and subtracting TWO112[sx].
24196 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24197
4579f81c
RM
241982012-02-27 Roland McGrath <roland@hack.frob.com>
24199
36c8acb4
RM
24200 [BZ #13775]
24201 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24202 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24203 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24204 being in POSIX, because they are in 1003.1-2008.
24205
84ad622b
RM
24206 * rt/tst-aio.c: Include <fcntl.h>.
24207 * rt/tst-aio7.c: Likewise.
24208 * rt/tst-aio64.c: Likewise.
24209
4579f81c
RM
24210 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24211
abd923db
JM
242122012-02-27 Joseph Myers <joseph@codesourcery.com>
24213
24214 * manual/install.texi (--with-headers): Describe headers as
24215 interface headers, not private headers.
24216 (Specific advice for GNU/Linux systems): Describe use of headers
24217 from "make headers_install", not private headers from older
24218 kernels.
43be4ca2 24219 * INSTALL: Regenerated.
abd923db
JM
24220 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24221 Change to 2.6.19.
24222 * sysdeps/unix/sysv/linux/configure: Regenerated.
24223
6664049b
JM
24224 * manual/llio.texi (fclean): Remove documentation.
24225
bb8b6697
JM
24226 * manual/Makefile (libc-texi-generated): New variable. Include
24227 version.texi.
24228 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24229 $(libc-texi-generated), not duplicated list of files.
24230 (version.texi, stamp-version): New rules.
24231 (realclean): Remove $(libc-texi-generated), not individual files
24232 from that list. Do not remove dir-add.texinfo.
24233 * manual/libc.texinfo: Comment out uses of edition numbers and
24234 references to printed manual. Remove last-updated dates.
24235 (EDITION): Comment out.
24236 (ISBN): Likewise.
24237 (VERSION, UPDATED): Remove.
24238 (version.texi): Include.
24239
12e5c3b9
AS
242402012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24241
24242 * sysdeps/posix/spawni.c: Include <signal.h>.
24243 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24244 * sysdeps/pthread/aio_fsync.c: Likewise.
24245
4efeffc1 242462012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24247
ba63ba08
UD
24248 * conform/Makefile (tests): Run only when not cross-compiling and
24249 when fast-check is not defined.
24250
d94a4670
UD
24251 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24252 * conform/data/limits.h-data: Fixes for POSIX2008.
24253 * conform/run-conformtest.sh: Run all tests.
24254 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24255 headers.
24256 * include/bits/dlfcn.h: Likewise.
24257 * include/langinfo.h: Likewise.
24258 * include/monetary.h: Likewise.
24259 * include/sys/poll.h: Likewise.
24260
24261 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24262 for __USE_GNU.
24263 * posix/spawn.h: Define __need_sigset_t.
24264 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24265 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24266 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24267 to get sigevent_t only.
24268 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24269 only for __USE_GNU.
24270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24271 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24272 process_vm_writev only for __USE_GNU.
24273 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24274
24275 * conform/Makefile: For now ignore errors from run-conformtest.
24276 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24277 POSIX to avoid namespace pollution. Don't prepend headers.
24278 * conform/data/aio.h-data: Fixes for POSIX testing.
24279 * conform/data/fcntl.h-data: Likewise.
24280 * conform/data/glob.h-data: Likewise.
24281 * conform/data/grp.h-data: Likewise.
24282 * conform/data/pthread.h-data: Likewise.
24283 * conform/data/pwd.h-data: Likewise.
24284 * conform/data/signal.h-data: Likewise.
24285 * conform/data/spawn.h-data: Likewise.
24286 * conform/data/stdio.h-data: Likewise.
24287 * conform/data/stdlib.h-data: Likewise.
24288 * conform/data/stropts.h-data: Likewise.
24289 * conform/data/sys/mman.h-data: Likewise.
24290 * conform/data/sys/stat.h-data: Likewise.
24291 * conform/data/sys/types.h-data: Likewise.
24292 * conform/data/sys/wait.h-data: Likewise.
24293 * conform/data/time.h-data: Likewise.
24294 * conform/data/unistd.h-data: Likewise.
24295 * conform/data/utime.h-data: Likewise.
24296
24297 * io/sys/stat.h: fchmod was always in POSIX.
24298 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24299 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24300 * rt/aio.h: Define __need_timespec before including <time.h>.
24301 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24302 struct. Add forward declaration of pthread_attr_t and use it in
24303 sigevent.
24304 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24305 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24306 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24307 always remove CLK_TCK definition.
24308
c20105c3
AS
243092012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24310
24311 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24312
7a270350
UD
243132012-02-25 Ulrich Drepper <drepper@gmail.com>
24314
31341567
UD
24315 * conform/run-conformtest.sh: New file.
24316 * conform/Makefile: Run run-conformtest for tests.
24317 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24318 support.
24319
24320 * conform/data/uchar.h-data: New file.
24321 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24322 * conform/data/arpa/inet.h-data: Likewise.
24323 * conform/data/assert.h-data: Likewise.
24324 * conform/data/complex.h-data: Likewise.
24325 * conform/data/cpio.h-data: Likewise.
24326 * conform/data/ctype.h-data: Likewise.
24327 * conform/data/dirent.h-data: Likewise.
24328 * conform/data/dlfcn.h-data: Likewise.
24329 * conform/data/errno.h-data: Likewise.
24330 * conform/data/fcntl.h-data: Likewise.
24331 * conform/data/float.h-data: Likewise.
24332 * conform/data/fmtmsg.h-data: Likewise.
24333 * conform/data/fnmatch.h-data: Likewise.
24334 * conform/data/ftw.h-data: Likewise.
24335 * conform/data/glob.h-data: Likewise.
24336 * conform/data/grp.h-data: Likewise.
24337 * conform/data/iconv.h-data: Likewise.
24338 * conform/data/inttypes.h-data: Likewise.
24339 * conform/data/langinfo.h-data: Likewise.
24340 * conform/data/libgen.h-data: Likewise.
24341 * conform/data/limits.h-data: Likewise.
24342 * conform/data/locale.h-data: Likewise.
24343 * conform/data/math.h-data: Likewise.
24344 * conform/data/monetary.h-data: Likewise.
24345 * conform/data/mqueue.h-data: Likewise.
24346 * conform/data/ndbm.h-data: Likewise.
24347 * conform/data/net/if.h-data: Likewise.
24348 * conform/data/netdb.h-data: Likewise.
24349 * conform/data/netinet/in.h-data: Likewise.
24350 * conform/data/nl_types.h-data: Likewise.
24351 * conform/data/poll.h-data: Likewise.
24352 * conform/data/pthread.h-data: Likewise.
24353 * conform/data/pwd.h-data: Likewise.
24354 * conform/data/regex.h-data: Likewise.
24355 * conform/data/sched.h-data: Likewise.
24356 * conform/data/search.h-data: Likewise.
24357 * conform/data/semaphore.h-data: Likewise.
24358 * conform/data/setjmp.h-data: Likewise.
24359 * conform/data/signal.h-data: Likewise.
24360 * conform/data/spawn.h-data: Likewise.
24361 * conform/data/stdarg.h-data: Likewise.
24362 * conform/data/stdio.h-data: Likewise.
24363 * conform/data/stdlib.h-data: Likewise.
24364 * conform/data/string.h-data: Likewise.
24365 * conform/data/strings.h-data: Likewise.
24366 * conform/data/stropts.h-data: Likewise.
24367 * conform/data/sys/ipc.h-data: Likewise.
24368 * conform/data/sys/mman.h-data: Likewise.
24369 * conform/data/sys/msg.h-data: Likewise.
24370 * conform/data/sys/resource.h-data: Likewise.
24371 * conform/data/sys/select.h-data: Likewise.
24372 * conform/data/sys/sem.h-data: Likewise.
24373 * conform/data/sys/shm.h-data: Likewise.
24374 * conform/data/sys/socket.h-data: Likewise.
24375 * conform/data/sys/stat.h-data: Likewise.
24376 * conform/data/sys/statvfs.h-data: Likewise.
24377 * conform/data/sys/time.h-data: Likewise.
24378 * conform/data/sys/timeb.h-data: Likewise.
24379 * conform/data/sys/times.h-data: Likewise.
24380 * conform/data/sys/types.h-data: Likewise.
24381 * conform/data/sys/uio.h-data: Likewise.
24382 * conform/data/sys/un.h-data: Likewise.
24383 * conform/data/sys/utsname.h-data: Likewise.
24384 * conform/data/sys/wait.h-data: Likewise.
24385 * conform/data/syslog.h-data: Likewise.
24386 * conform/data/tar.h-data: Likewise.
24387 * conform/data/termios.h-data: Likewise.
24388 * conform/data/utime.h-data: Likewise.
24389 * conform/data/utmpx.h-data: Likewise.
24390 * conform/data/varargs.h-data: Likewise.
24391 * conform/data/wchar.h-data: Likewise.
24392 * conform/data/wctype.h-data: Likewise.
24393 * conform/data/wordexp.h-data: Likewise.
24394
24395 * include/stropts.h: New file.
24396 * include/uchar.h: New file.
24397 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24398 * include/assert.h: Likewise.
24399 * include/ctype.h: Likewise.
24400 * include/dirent.h: Likewise.
24401 * include/dlfcn.h: Likewise.
24402 * include/fcntl.h: Likewise.
24403 * include/fnmatch.h: Likewise.
24404 * include/glob.h: Likewise.
24405 * include/grp.h: Likewise.
24406 * include/libio.h: Likewise.
24407 * include/locale.h: Likewise.
24408 * include/math.h: Likewise.
24409 * include/net/if.h: Likewise.
24410 * include/netdb.h: Likewise.
24411 * include/netinet/in.h: Likewise.
24412 * include/pthread.h: Likewise.
24413 * include/pwd.h: Likewise.
24414 * include/regex.h: Likewise.
24415 * include/sched.h: Likewise.
24416 * include/search.h: Likewise.
24417 * include/setjmp.h: Likewise.
24418 * include/signal.h: Likewise.
24419 * include/stdio.h: Likewise.
24420 * include/stdlib.h: Likewise.
24421 * include/string.h: Likewise.
24422 * include/sys/cdefs.h: Likewise.
24423 * include/sys/mman.h: Likewise.
24424 * include/sys/msg.h: Likewise.
24425 * include/sys/resource.h: Likewise.
24426 * include/sys/select.h: Likewise.
24427 * include/sys/socket.h: Likewise.
24428 * include/sys/stat.h: Likewise.
24429 * include/sys/statvfs.h: Likewise.
24430 * include/sys/time.h: Likewise.
24431 * include/sys/times.h: Likewise.
24432 * include/sys/uio.h: Likewise.
24433 * include/sys/utsname.h: Likewise.
24434 * include/sys/wait.h: Likewise.
24435 * include/termios.h: Likewise.
24436 * include/time.h: Likewise.
24437 * include/ulimit.h: Likewise.
24438 * include/unistd.h: Likewise.
24439 * include/utime.h: Likewise.
24440 * include/wchar.h: Likewise.
24441 * include/wctype.h: Likewise.
24442 * include/wordexp.h: Likewise.
24443
24444 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24445
7a270350
UD
24446 * time/time.h: TIME_UTC must be a macro.
24447 Make timespec_get available for ISO C11 only as well.
24448
7724defc
UD
244492012-02-24 Ulrich Drepper <drepper@gmail.com>
24450
24451 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24452 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24453
6b1d1d46
JM
244542012-02-24 Joseph Myers <joseph@codesourcery.com>
24455
24456 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24457
0f8bbd69
JM
244582012-02-24 Joseph Myers <joseph@codesourcery.com>
24459
24460 * manual/texinfo.tex: Update to version 2012-01-19.16.
24461
66ab80bc
JM
244622012-02-24 Joseph Myers <joseph@codesourcery.com>
24463
24464 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24465
74981cc5
RM
244662012-02-24 Roland McGrath <roland@hack.frob.com>
24467
ee968201
RM
24468 [BZ #13738]
24469 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24470 * manual/fdl-1.3.texi: New file.
24471 * manual/fdl-1.1.texi: File removed.
24472
74981cc5
RM
24473 [BZ #13738]
24474 * manual/libc.texinfo (FDL_VERSION): New @set.
24475 Use it for mention of FDL in cover text.
24476 (Documentation License): Use it in @include file name.
24477
7bb764bc
JM
244782012-02-22 Joseph Myers <joseph@codesourcery.com>
24479 Roland McGrath <roland@hack.frob.com>
24480
24481 [BZ #5461]
24482 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24483 not LONG_LONG_MAX and LONG_LONG_MIN.
24484 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24485 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24486 name.
24487 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24488
6cbeae47
JM
244892012-02-22 Joseph Myers <joseph@codesourcery.com>
24490
24491 [BZ #2547]
24492 [BZ #11365]
24493 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24494 manipulate bits before adding and subtracting TWO23[sx].
24495 * math/libm-test.inc (nearbyint_test): Add more tests.
24496
fe45ce09
JM
244972012-02-22 Joseph Myers <joseph@codesourcery.com>
24498
24499 [BZ #2548]
24500 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24501 bits before adding and subtracting TWO23[sx].
24502 * math/libm-test.inc (rint_test): Add more tests.
24503 (rint_test_tonearest): Likewise.
24504 (rint_test_towardzero): Likewise.
24505 (rint_test_downward): Likewise.
24506 (rint_test_upward: Likewise.
24507
ff3b3d82
JM
245082012-02-22 Joseph Myers <joseph@codesourcery.com>
24509
24510 [BZ #10110]
24511 * include/stdc-predef.h: New file. Extracted from features.h.
24512 * include/features.h: Include stdc-predef.h.
24513 * Makefile (headers): Add stdc-predef.h.
24514 * CONFORMANCE (Compiler limitations): Update.
24515
ef0aab35
JM
245162012-02-22 Joseph Myers <joseph@codesourcery.com>
24517
24518 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24519
58639409
DM
245202012-02-21 David S. Miller <davem@davemloft.net>
24521
24522 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24523 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24524
c0e70b25
DM
245252012-02-20 David S. Miller <davem@davemloft.net>
24526
24527 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24528 using a normal save/restore sequence, rather than allocating a
24529 dummy stack frame just to store a frame pointer and restore.
24530 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24531
fb06851d
JM
245322012-02-21 Joseph Myers <joseph@codesourcery.com>
24533
24534 * manual/install.texi: Fix stray word in line-wrapped comment.
24535
7a8b71c3
DM
245362012-02-20 David S. Miller <davem@davemloft.net>
24537
d510c123
DM
24538 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24539 both binutils and gcc support GOTDATA.
24540
0722d7c2
DM
24541 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24542 "rd %pc" in the PIC register setup sequences.
24543
3d2b3019
DM
24544 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24545 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24546 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24547 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24548 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24549 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24550 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24551 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24553 (SYSCALL_ERROR_HANDLER): Likewise.
24554 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24555 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24557 (SYSCALL_ERROR_HANDLER): Likewise.
24558
c80098a9
DM
24559 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24560 (HAVE_GCC_GOTDATA): New.
24561 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24562 relocation support in both binutils and gcc.
24563 * sysdeps/sparc/elf/configure: Regenerate.
24564
3a2545a0
DM
24565 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24566 * sysdeps/sparc/sparc32/elf/configure: Delete.
24567 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24568 * sysdeps/sparc/sparc64/elf/configure: Delete.
24569 * sysdeps/sparc/elf/configure.in: New file.
24570 * sysdeps/sparc/elf/configure: Generate.
24571
7a8b71c3
DM
24572 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24573 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24574 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24575 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24576 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24577
f1e86fca
JM
245782012-02-21 Joseph Myers <joseph@codesourcery.com>
24579
24580 * manual/install.texi: Do not mention specific glibc version
24581 numbers.
24582 * manual/libc.texinfo (VERSION, UPDATED): Update.
24583 (@copying): Use @copyright{} and range of years.
24584
0e7dfaef
JM
245852012-02-21 Joseph Myers <joseph@codesourcery.com>
24586
24587 [BZ #13695]
24588 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24589 [crti.S not in sysdirs] (generated): Do not append.
24590 [crti.S not in sysdirs] (omit-deps): Likewise.
24591 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24592 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24593 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24594 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24595 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24596 Likewise.
24597 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24598 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24599 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24600 * csu/defs.awk: Remove file.
24601 * sysdeps/generic/initfini.c: Likewise.
24602 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24603 variable.
24604 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24605 Likewise.
24606
599af3ca
JM
246072012-02-20 Joseph Myers <joseph@codesourcery.com>
24608
24609 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24610 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24611 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24612 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24613 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24614 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24615 <bits/epoll.h>.
24616 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24617 (__EPOLL_PACKED): Define to empty if not defined by
24618 <bits/epoll.h>.
24619 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24621 bits/epoll.h.
24622
0e499750
JM
246232012-02-20 Joseph Myers <joseph@codesourcery.com>
24624
24625 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24626 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24627 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24628 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24629 <bits/timerfd.h>.
24630 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24632 bits/timerfd.h.
24633
5ad91f6e
JM
246342012-02-20 Joseph Myers <joseph@codesourcery.com>
24635
24636 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24637 in C locale.
24638 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24639 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24640 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24642
06b99b02
AJ
246432012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24644
24645 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24646 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24647
7638c0fd
AS
246482012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24649
24650 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24651 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24652 defined.
24653 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24654 Likewise.
24655 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24656 entry for 2.16.
24657
92221550
AJ
246582012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24659
24660 * math/w_acos.c: Use non-signaling floating-point comparisons.
24661 * math/w_acosf.c: Likewise.
24662 * math/w_acosh.c: Likewise.
24663 * math/w_acoshf.c: Likewise.
24664 * math/w_acoshl.c: Likewise.
24665 * math/w_acosl.c: Likewise.
24666 * math/w_asin.c: Likewise.
24667 * math/w_asinf.c: Likewise.
24668 * math/w_asinl.c: Likewise.
24669 * math/w_atanh.c: Likewise.
24670 * math/w_atanhf.c: Likewise.
24671 * math/w_atanhl.c: Likewise.
24672 * math/w_exp2.c: Likewise.
24673 * math/w_exp2f.c: Likewise.
24674 * math/w_exp2l.c: Likewise.
24675 * math/w_j0.c: Likewise.
24676 * math/w_j0f.c: Likewise.
24677 * math/w_j0l.c: Likewise.
24678 * math/w_j1.c: Likewise.
24679 * math/w_j1f.c: Likewise.
24680 * math/w_j1l.c: Likewise.
24681 * math/w_jn.c: Likewise.
24682 * math/w_jnf.c: Likewise.
24683 * math/w_log.c: Likewise.
24684 * math/w_log10.c: Likewise.
24685 * math/w_log10f.c: Likewise.
24686 * math/w_log10l.c: Likewise.
24687 * math/w_log2.c: Likewise.
24688 * math/w_log2f.c: Likewise.
24689 * math/w_log2l.c: Likewise.
24690 * math/w_logf.c: Likewise.
24691 * math/w_logl.c: Likewise.
24692 * math/w_sqrt.c: Likewise.
24693 * math/w_sqrtf.c: Likewise.
24694 * math/w_sqrtl.c: Likewise.
24695 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24696 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24697 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24698 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24699 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24700
ebaf36eb
JM
247012012-02-19 Joseph Myers <joseph@codesourcery.com>
24702
24703 [BZ #9739]
24704 * manual/string.texi (strnlen): Use correct parameter name in
24705 equivalent expression.
24706
71c254a6
JM
247072012-02-19 Joseph Myers <joseph@codesourcery.com>
24708
24709 [BZ #11174]
24710 * manual/users.texi (seteuid): Consistently use neweuid for
24711 argument name.
24712
16d2c631
JM
247132012-02-19 Joseph Myers <joseph@codesourcery.com>
24714
24715 [BZ #13704]
24716 * manual/nss.texi (Services in the NSS configuration): Correct
24717 list of services in example configuration file.
24718
cd837b09
NB
247192012-02-19 Nick Bowler <nbowler@draconx.ca>
24720
24721 [BZ #11322]
24722 * manual/arith.texi: Remove statements about negative zero
24723 behaving identically to zero.
24724
02c4bbad
JM
247252012-02-18 Joseph Myers <joseph@codesourcery.com>
24726
24727 [BZ #5993]
24728 * manual/install.texi: Do not document upgrading from libc5.
24729
366842e7
JM
247302012-02-18 Joseph Myers <joseph@codesourcery.com>
24731
24732 [BZ #4596]
24733 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24734
dd54084d
DM
247352012-02-18 David S. Miller <davem@davemloft.net>
24736
24737 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24738 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24739 %o7 across the call.
24740 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24741 instead.
24742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24743 SETUP_PIC_REG_LEAF.
24744 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24745 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24746 * sysdeps/sparc/crtn.S: Likewise.
24747
2bcc53a3
UD
247482012-02-17 Ulrich Drepper <drepper@gmail.com>
24749
24750 * aout/Makefile: Remove.
24751
09c093b5
RK
247522012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24753
24754 [BZ #13058]
24755 * manual/examples/argp-ex1.c (main): Format definition in GNU
24756 style.
24757 * manual/examples/argp-ex2.c (main): Likewise.
24758 * manual/examples/argp-ex3.c (main): Likewise.
24759 * manual/examples/argp-ex4.c (main): Likewise.
24760 * manual/examples/longopt.c (main): Use new-style prototype
24761 definition.
24762 * manual/examples/strncat.c (main): Specify return type and use
24763 (void) for arguments.
24764 * manual/examples/subopt.c (main): Use char **argv argument.
24765
2ee633a2
JM
247662012-02-17 Joseph Myers <joseph@codesourcery.com>
24767
24768 [BZ #5077]
24769 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24770 rounding modes.
24771
0520adde
FB
247722012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24773
24774 [BZ #6907]
24775 * manual/string.texi (strchr): Change when strchrnul is
24776 recommended.
24777
3f4081cd
DGM
247782012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24779
24780 [BZ #174]
24781 * manual/locale.texi (setlocale): Document LOCPATH.
24782
d1b10e78
JM
247832012-02-17 Joseph Myers <joseph@codesourcery.com>
24784
24785 [BZ #10210]
24786 * manual/process.texi (execle): Move @dots{} before last argument.
24787
79c6869c
PB
247882012-02-17 Paul Bolle <pebolle@tiscali.nl>
24789
24790 [BZ #12047]
24791 * manual/charset.texi (Generic Charset Conversion): Fix typo
24792 (LC_TYPE -> LC_CTYPE).
24793
cc6e48bc
NB
247942012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24795
24796 [BZ #5805]
24797 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24798 (scalbnf): Likewise.
24799 (scalbnl): Likewise.
24800 (scalbln): Likewise.
24801 (scalblnf): Likewise.
24802 (scalblnl): Likewise.
24803 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24804 (vwarnx): Likewise.
24805 (verr): Likewise.
24806 (verrx): Likewise.
24807 * manual/filesys.texi (telldir): Use braces around return type.
24808 * manual/llio.texi (mmap): Add space after comma.
24809 (mmap64): Likewise.
24810 * manual/math.texi (jn): Use @var{} on parameter names.
24811 (jnf): Likewise.
24812 (jnl): Likewise.
24813 (yn): Likewise.
24814 (ynf): Likewise.
24815 (ynl): Likewise.
24816 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24817 line.
24818 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24819 "...".
24820 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24821 (sched_get_priority_max): Likewise.
24822 * manual/signal.texi (sigvec): Add space after comma.
24823 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24824 names.
24825 (if_indextoname): Likewise.
24826 (if_freenameindex): Likewise.
24827 (sendto): Use ',' instead of '.' in prototype.
24828 * manual/startup.texi (syscall): Use @dots{} instead of literal
24829 "...".
24830 * manual/stdio.texi (__fpending): Separate initial words of
24831 paragraph from @deftypefun line.
24832 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24833 "...".
24834 (vsyslog): Use @var{} on parameter names.
24835 * manual/terminal.texi (stty): Use @var{} on parameter names.
24836 * manual/users.texi (getutmp): Use @var{} on parameter names.
24837 (getutmpx): Likewise.
24838
5b23062f
JM
248392012-02-17 Joseph Myers <joseph@codesourcery.com>
24840
24841 [BZ #6884]
24842 * manual/stdio.texi (fopen): Fix typos in description of
24843 ",ccs=STRING".
24844
8dee4833
AJ
248452012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24846
24847 [BZ #4026]
24848 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24849 get clock_id definition.
24850
9078ce93
TS
248512012-02-17 Thomas Schwinge <thomas@schwinge.name>
24852
24853 [BZ #4822]
24854 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24855 (madvise): Cast every argument to void on its own.
24856
3835c55f
JM
248572012-02-17 Joseph Myers <joseph@codesourcery.com>
24858
24859 [BZ #9902]
24860 * manual/startup.texi (Exit Status): Fix typo.
24861
35c47e37
JM
248622012-02-17 Joseph Myers <joseph@codesourcery.com>
24863
24864 [BZ #10140]
24865 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24866 * manual/examples/argp-ex2.c: Likewise.
24867 * manual/examples/argp-ex3.c: Likewise.
24868
e3b69ca7
RH
248692012-02-16 Richard Henderson <rth@redhat.com>
24870
24871 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24872 * sysdeps/s390/s390-32/initfini.c: Remove.
24873 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24874 * sysdeps/s390/s390-64/initfini.c: Remove.
24875
df83af67
KK
248762012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24877
24878 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24879 compiler output for sysdeps/generic/initfini.c.
24880 * sysdeps/sh/elf/initfini.c: Remove file.
24881
f63f3380
DM
248822012-02-16 David S. Miller <davem@davemloft.net>
24883
fb59b3a4
DM
24884 [BZ #11494]
24885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24886
f63f3380
DM
24887 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24888 * sysdeps/sparc/crti.S: New file.
24889 * sysdeps/sparc/crtn.S: New file.
24890 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24891 * sysdeps/sparc/sparc64/Makefile: Likewise.
24892
df6a4a4a
MF
248932012-02-15 Mike Frysinger <vapier@gentoo.org>
24894
6dd8f3dc 24895 [BZ #3335]
df6a4a4a
MF
24896 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24897
1cac7236
RM
248982012-02-15 Roland McGrath <roland@hack.frob.com>
24899
d2c736f8
RM
24900 [BZ #4822]
24901 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24902
1cac7236
RM
24903 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24904 (write, read, close): Likewise.
24905 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24906
8e475601
JM
249072012-02-15 Joseph Myers <joseph@codesourcery.com>
24908
24909 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24910 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24911 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24912 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24913 <bits/signalfd.h>.
24914 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24916 bits/signalfd.h.
24917
ed656b40
MP
249182012-02-14 Marek Polacek <polacek@redhat.com>
24919
24920 * sysdeps/x86_64/crti.S: New file.
24921 * sysdeps/x86_64/crtn.S: New file.
24922 * sysdeps/x86_64/elf/initfini.c: Remove file.
24923
2a979d3a
JM
249242012-02-13 Joseph Myers <joseph@codesourcery.com>
24925
24926 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24927 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24928 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24929 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24930 <bits/inotify.h>.
24931 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24933 bits/inotify.h.
24934
2a418ac3
JM
249352012-02-13 Joseph Myers <joseph@codesourcery.com>
24936
24937 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24938 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24939 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24940 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24941 <bits/eventfd.h>.
24942 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24944 bits/eventfd.h.
24945
fb779be7
TS
249462012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24947
e19e83c5
RM
24948 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24949 __feraiseexcept instead of feraiseexcept.
7c35ffed 24950
fb779be7
TS
24951 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24952 nanosleep invocations.
24953 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24954 strings, and add error checking for a nanosleep invocations.
24955
59ba27a6
PE
249562012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24957
24958 Replace FSF snail mail address with URLs, as per GNU coding standards.
24959 Most of the snail mail addresses were wrong anyway, and omitting
24960 them makes the source code easier to maintain. Almost all of the
24961 changes are to license notices and to locale LC_IDENTIFICATION
24962 addresses, except for this one:
24963 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24964 not its snail mail address.
24965
57b957eb
RH
249662012-02-09 Richard Henderson <rth@twiddle.net>
24967
af850b1c
RH
24968 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24969 of kernel-features.h.
24970
57b957eb
RH
24971 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24972
6b73181a
MP
249732012-02-08 Marek Polacek <polacek@redhat.com>
24974
24975 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24976 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24977 * sysdeps/gnu/_G_config.h: Likewise.
24978 * sysdeps/generic/_G_config.h: Likewise.
24979
26ecc33a
AS
249802012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24981
6c6dbc63
AS
24982 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24983 tests.
24984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24985
e216c012
AS
24986 * sysdeps/powerpc/powerpc32/crti.S: New file.
24987 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24988 * sysdeps/powerpc/powerpc64/crti.S: New file.
24989 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24990
26ecc33a
AS
24991 * Makeconfig (have-initfini): Don't set.
24992 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24993 * configure.in (nopic_initfini): Don't substitute.
24994 * config.h.in (HAVE_INITFINI): Don't #undef.
24995 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24996 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24997
3add8e13
JM
249982012-02-08 Joseph Myers <joseph@codesourcery.com>
24999
25000 Support crti.S and crtn.S provided directly by architectures.
25001 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25002 [crti.S in sysdirs] (omit-deps): Likewise.
25003 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25004 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25005 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25006 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25007 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25008 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25009 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25010 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25011 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25012 compiler output for sysdeps/generic/initfini.c.
25013 * sysdeps/i386/elf/Makefile: Remove file.
25014 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25015
a22f12b4
MP
250162012-02-07 Marek Polacek <polacek@redhat.com>
25017
25018 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25019 * sysdeps/gnu/_G_config.h: Likewise.
25020 * sysdeps/mach/hurd/_G_config.h: Likewise.
25021
148cf100
MP
250222012-02-07 Marek Polacek <polacek@redhat.com>
25023
25024 * math/Makefile (tests): Add tst-CMPLX2.
25025 * math/tst-CMPLX2.c: New file.
25026
cfdc0dd7
AS
250272012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25028
84ba42c4
AS
25029 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25030
cfdc0dd7
AS
25031 * math/libm-test.inc (jn_test): Add missing L suffix.
25032
622c86f4
MP
250332012-02-06 Marek Polacek <polacek@redhat.com>
25034
25035 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25036 * sysdeps/i386/fpu/e_powf.S: Likewise.
25037 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25038 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25039 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25040 * sysdeps/i386/fpu/e_pow.S: Likewise.
25041 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25042 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25043 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25044 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25045 * sysdeps/i386/fpu/e_log2.S: Likewise.
25046 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25047 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25048 * sysdeps/i386/fpu/e_powl.S: Likewise.
25049 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25050 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25051 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25052 * sysdeps/i386/fpu/e_logl.S: Likewise.
25053 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25054 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25055 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25056 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25057 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25058 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25059 * sysdeps/i386/fpu/e_log.S: Likewise.
25060 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25061 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25062 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25063 * sysdeps/i386/fpu/e_logf.S: Likewise.
25064 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25065 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25066 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25067 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25068 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25069 * sysdeps/i386/fpu/e_log10.S: Likewise.
25070 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25071 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25072 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25073 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25074 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25075 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25076 * sysdeps/i386/asm-syntax.h: Likewise.
25077 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25078 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25079 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25080 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25081 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25082 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25083 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25084 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25085 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25086 * sysdeps/powerpc/sysdep.h: Likewise.
25087 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25088 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25089
d4a54ac6
JM
250902012-02-06 Joseph Myers <joseph@codesourcery.com>
25091
25092 [BZ #411]
25093 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25094
314054ea
JM
250952012-02-06 Joseph Myers <joseph@codesourcery.com>
25096
25097 * sysdeps/i386/sysdep.h: Include <features.h>.
25098 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25099 version.
25100
d8e0ca50
JM
251012012-02-05 Joseph Myers <joseph@codesourcery.com>
25102
25103 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25104 Define.
25105 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25106 LOAD_PIC_REG_STR.
25107
b1da7dd9
JM
251082012-02-03 Joseph Myers <joseph@codesourcery.com>
25109
25110 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25111 (SETUP_PIC_REG): Use GET_PC_THUNK.
25112 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25113 macro.
25114
9a1d9254
JM
251152012-02-03 Joseph Myers <joseph@codesourcery.com>
25116
25117 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25118 for non-PIC compilation.
25119 (SETUP_PIC_REG): Add .p2align directive.
25120 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25121 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25122 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25123 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25124 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25125 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25126 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25127 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25128 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25129 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25130 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25131 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25132 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25133 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25134 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25135 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25136 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25137 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25138 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25139 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25140 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25141 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25142 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25143 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25144 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25146 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25147 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25148 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25149 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25150 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25151 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25152 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25153 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25154 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25155 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25156 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25157 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25158 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25159 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25160 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25161
65dc3b75
JM
251622012-02-03 Joseph Myers <joseph@codesourcery.com>
25163
25164 * math/tst-CMPLX.c: Include <stdio.h>.
25165
d55bf177
JM
251662012-01-31 Joseph Myers <joseph@codesourcery.com>
25167
25168 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25169 float.
25170 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25171 * sysdeps/sparc/bits/mathdef.h: Likewise.
25172
69db4f8f
MP
251732012-01-31 Marek Polacek <polacek@redhat.com>
25174
25175 * libio/libio.h: Don't define _PARAMS.
25176 * locale/programs/config.h: Don't define PARAMS.
25177 * stdlib/strtol_l.c: Likewise.
25178 (__strtol_l): Remove PARAMS from the prototype.
25179
41b81892
UD
251802012-01-31 Ulrich Drepper <drepper@gmail.com>
25181
3b49edc0
UD
25182 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25183 names. Just use the correct names. Remove unnecessary wrapper
25184 functions.
25185 * malloc/arena.c: Likewise.
25186 * malloc/hooks.c: Likewise.
25187
41b81892
UD
25188 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25189 ARENA_TEST says not to. Simplify test for creation of a new arena.
25190 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25191
27a25b6e
UD
251922012-01-30 Ulrich Drepper <drepper@gmail.com>
25193
25194 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25195 into tail calls.
25196 (update_get_addr): New function.
25197 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25198 GET_ADDR_MODULE parameter.
25199
c8a89e7d
JM
252002012-01-30 Joseph Myers <joseph@codesourcery.com>
25201
25202 * crypt/cert.c: Remove __STDC__ conditionals.
25203 * crypt/crypt-entry.c: Likewise.
25204 * crypt/crypt_util.c: Likewise.
25205 * libio/filedoalloc.c: Likewise.
25206 * libio/fileops.c: Likewise.
25207 * libio/genops.c: Likewise.
25208 * libio/iofclose.c: Likewise.
25209 * libio/iofdopen.c: Likewise.
25210 * libio/iofopen.c: Likewise.
25211 * libio/iofopen64.c: Likewise.
25212 * libio/iogetdelim.c: Likewise.
25213 * libio/iopopen.c: Likewise.
25214 * libio/obprintf.c: Likewise.
25215 * libio/oldfileops.c: Likewise.
25216 * libio/oldiofclose.c: Likewise.
25217 * libio/oldiofdopen.c: Likewise.
25218 * libio/oldiofopen.c: Likewise.
25219 * libio/oldiopopen.c: Likewise.
25220 * libio/wfiledoalloc.c: Likewise.
25221 * libio/wgenops.c: Likewise.
25222 * locale/programs/xmalloc.c: Likewise.
25223 * misc/syslog.c: Likewise.
25224 * stdio-common/xbug.c: Likewise.
25225 * string/memchr.c: Likewise.
25226 * string/memcmp.c: Likewise.
25227 * string/memrchr.c: Likewise.
25228 * string/rawmemchr.c: Likewise.
25229 * sysdeps/posix/getcwd.c: Likewise.
25230 * time/strftime_l.c: Likewise.
25231
3b100462
JM
252322012-01-30 Joseph Myers <joseph@codesourcery.com>
25233
25234 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25235 * config.make.in (config-cflags-sse2avx): Define.
25236 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25237 Fix typo.
25238
607998af
CM
252392012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25240
25241 * scripts/config.guess: Update from upstream config git repository.
25242 * scripts/config.sub: Likewise.
25243
3601428f
CM
252442012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25245
3ac8b282
CM
25246 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25247 (EM_NUM): Update.
25248 (R_TILEPRO_*, R_TILEGX_*): New macros.
25249
e034841e
CM
25250 * scripts/firstversions.awk: Fix bug in version range handling.
25251
540d7568
CM
25252 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25253
3601428f
CM
25254 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25255
463de862
CM
25256 * include/sys/epoll.h: New file.
25257 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25258 libc_hidden_def.
25259
73139a76
UD
252602012-01-28 Ulrich Drepper <drepper@gmail.com>
25261
96bc5b45
UD
25262 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25263 Avoid unnecessary __WORDSIZE == 64 test.
25264 (fmaxf): Use VEX format if possible.
25265 (fmax): Likewise.
25266 (fminf): Likewise.
25267 (fmin): Likewise.
25268
56f6f6a2
UD
25269 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25270 * math/math_private.h: Remove libc_fegetround* and
25271 libc_fesetround*.
25272 * sysdeps/i386/configure.in: Check for -msse2avx.
25273 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25274 also if SSE2AVX is defined.
25275 Remove libc_fegetround* and libc_fesetround*.
25276 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25277 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25278 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25279 of HAS_YMM_USABLE.
25280 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25281 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25282 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25283 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25284 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25285
73139a76
UD
25286 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25287
d73f93a4
AZ
252882012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25289
25290 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25291 size is not set.
25292 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25293
6ee65ed6
UD
252942012-01-27 Ulrich Drepper <drepper@gmail.com>
25295
25296 [BZ #13618]
25297 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25298 relocation.
25299 * Makeconfig (libm): Define.
25300 * elf/Makefile: Add rules to build and run tst-relsort1.
25301 * elf/tst-relsort1.c: New file.
25302 * elf/tst-relsort1mod1.c: New file.
25303 * elf/tst-relsort1mod2.c: New file.
25304
8db21882
JM
253052012-01-27 Joseph Myers <joseph@codesourcery.com>
25306
25307 * math/s_ldexp.c: Remove __STDC__ conditionals.
25308 * math/s_ldexpf.c: Likewise.
25309 * math/s_ldexpl.c: Likewise.
25310 * math/s_nextafter.c: Likewise.
25311 * math/s_nexttowardf.c: Likewise.
25312 * math/s_significand.c: Likewise.
25313 * math/s_significandf.c: Likewise.
25314 * math/s_significandl.c: Likewise.
25315 * math/w_jnl.c: Likewise.
25316 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25317 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25318 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25319 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25320 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25321 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25322 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25323 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25324 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25325 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25326 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25327 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25328 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25329 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25330 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25332 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25335 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25336 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25337 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25338 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25339 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25340 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25341 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25342 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25343 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25344 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25345 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25346 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25347 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25348 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25349 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25350 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25351 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25352 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25353 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25354 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25355 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25356 * sysdeps/ieee754/k_standard.c: Likewise.
25357 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25358 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25359 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25360 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25361 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25362 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25363 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25364 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25365 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25366 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25367 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25370 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25373 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25375 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25376 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25378 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25379 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25380 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25381 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25382 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25383 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25386 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25387 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25388 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25389 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25392 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25393 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25395 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25396 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25401 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25405 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25418 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25420 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25422 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25423 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25424 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25426 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25428 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25429 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25430 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25431 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25432 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25433 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25434 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25435 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25436 * sysdeps/ieee754/s_matherr.c: Likewise.
25437 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25438 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25439 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25441
965a54a4
JM
254422012-01-26 Joseph Myers <joseph@codesourcery.com>
25443
25444 * crypt/md5.h: Remove __STDC__ conditionals.
25445 * libio/libioP.h: Likewise.
25446 * locale/programs/config.h: Likewise.
25447 * sysdeps/generic/sysdep.h: Likewise.
25448 * sysdeps/i386/asm-syntax.h: Likewise.
25449 * sysdeps/s390/asm-syntax.h: Likewise.
25450 * sysdeps/unix/sysdep.h: Likewise.
25451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25453
7071ad79
JM
254542012-01-26 Joseph Myers <joseph@codesourcery.com>
25455
25456 * libio/libio.h: Remove __STDC__ conditionals.
25457 * malloc/obstack.h: Likewise.
25458 * math/complex.h: Likewise.
25459 * math/math.h: Likewise.
25460 * sysdeps/generic/_G_config.h: Likewise.
25461 * sysdeps/gnu/_G_config.h: Likewise.
25462 * sysdeps/mach/hurd/_G_config.h: Likewise.
25463 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25464 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25465 * sysdeps/sparc/bits/mathdef.h: Likewise.
25466
afc5ed09
UD
254672012-01-26 Ulrich Drepper <drepper@gmail.com>
25468
25469 [BZ #13583]
25470 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25471 Clean up HAS_* macros.
afc5ed09 25472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25473 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25474 possible.
25475 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25476 HAS_AVX.
25477 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25478 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25479 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25480 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25481 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25482
bdb6de1d
JM
254832012-01-25 Joseph Myers <joseph@codesourcery.com>
25484
25485 * elf/tst-unique3.cc (gets): Remove declaration.
25486 * elf/tst-unique3lib.cc (gets): Likewise.
25487 * elf/tst-unique3lib2.cc (gets): Likewise.
25488 * elf/tst-unique4.cc (gets): Likewise.
25489
b15549e6
UD
254902012-01-24 Ulrich Drepper <drepper@gmail.com>
25491
25492 * include/stdio.h: Add C++ protection. Add gets declarations and
25493 definitions.
25494 * debug/tst-chk1.c: Don't declare gets here.
25495 * stdio-common/tst-gets.c: Likewise.
25496
a037381f
JM
254972012-01-24 Joseph Myers <joseph@codesourcery.com>
25498
25499 * posix/glob: Remove directory.
25500
f1d4aa75
JM
255012012-01-24 Joseph Myers <joseph@codesourcery.com>
25502
25503 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25504
81c0c964
PT
255052012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25506
25507 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25508 of the non-standard EPFNOSUPPORT.
25509
0ea698ae
ST
255102011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25511
25512 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25513 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25514 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25515
d220b117
UD
255162012-01-21 Ulrich Drepper <drepper@gmail.com>
25517
25518 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25519
3e1aa84e
UD
255202012-01-20 Ulrich Drepper <drepper@gmail.com>
25521
25522 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25523 transient errors.
25524 * nscd/grpcache.c (cache_addgr): Likewise.
25525 * nscd/hstcache.c (cache_addhst): Likewise.
25526 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25527 * nscd/pwdcache.c (cache_addpw): Likewise.
25528 * nscd/servicescache.c (cache_addserv): Likewise.
25529
400aa020
UD
255302012-01-16 Ulrich Drepper <drepper@gmail.com>
25531
d77e7869
UD
25532 * malloc/malloc.c: Various cleanups.
25533 * malloc/hooks.c: Likewise.
25534
400aa020
UD
25535 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25536 * stdlib/bug-fmtmsg1.c: New file.
25537
25538 * stdlib/fmtmsg.c (init): Add missing unlock.
25539 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25540
e0a309cf
MP
255412012-01-12 Marek Polacek <polacek@redhat.com>
25542
25543 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25544 and _GNU_SOURCE.
25545
929d11c7
WS
255462012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25547
25548 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25549 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25550 macro to ensure uniqueness of label name.
25551 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25552 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25553
41d0e869
UD
255542012-01-11 Ulrich Drepper <drepper@gmail.com>
25555
0cc5ed3b
UD
25556 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25557
41d0e869
UD
25558 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25559 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25560 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25562
a47a831a
UD
255632012-01-10 Ulrich Drepper <drepper@gmail.com>
25564
daa891c0
UD
25565 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25566
25567 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25568 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25569 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25570
e58ef0f2
UD
25571 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25572
a47a831a 25573 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25574 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25575 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25577
25578 * math/bits/math-finite.h: Add ldexp support.
25579
a0bfc9c7
MP
255802012-01-10 Marek Polacek <polacek@redhat.com>
25581
25582 * locale/programs/localedef.h (show_archive_content): Add noreturn
25583 attribute.
25584
d6e97a1d
UD
255852012-01-09 Ulrich Drepper <drepper@gmail.com>
25586
25587 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25588
d5835c26
UD
255892012-01-08 Ulrich Drepper <drepper@gmail.com>
25590
e5f484c6
UD
25591 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25592
d5835c26
UD
25593 * io/Makefile (headers): Add bits/poll2.h.
25594
d1f741e9
WS
255952011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25596
25597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25598 typo #include statement.
25599
ec09c1c4
UD
256002012-01-08 Ulrich Drepper <drepper@gmail.com>
25601
25602 * include/sys/cdefs.h: Define __attribute_alloc_size.
25603 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25604 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25605 * elf/pldd.c: Likewise.
25606 * iconv/iconv_charmap.c: Likewise.
25607 * iconv/iconvconfig.c: Likewise.
25608 * iconv/strtab.c: Likewise.
25609 * locale/programs/locale.c: Likewise.
25610 * locale/programs/localedef.h: Likewise.
25611 * locale/programs/simple-hash.c: Likewise.
25612 * nscd/nscd.h: Likewise.
25613 * nss/makedb.c: Likewise.
25614 * sysdeps/generic/ldconfig.h: Likewise.
25615 * locale/programs/localedef.c: Remove xmalloc prototype.
25616 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25617
20b38e03
PP
256182012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25619
25620 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25621 appropriate.
25622
a0da5fe1
UD
256232012-01-08 Ulrich Drepper <drepper@gmail.com>
25624
1d5a644a 25625 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25626 * math/tst-CMPLX.c: New file.
1d5a644a 25627
8784a6db
UD
25628 * math/complex.h (CMPLXL): Fix typo.
25629
d9a216c0
UD
25630 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25631 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25632 GLIBC_2.16.
25633 * debug/tst-chk1.c: Add poll and ppoll tests.
25634 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25635 * include/sys/poll.h: Add hidden proto for ppoll.
25636 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25637 * sysdeps/mach/hurd/ppoll.c: Likewise.
25638 * io/ppoll.c: Likewise.
25639 * debug/poll_chk.c: New file.
25640 * debug/ppoll_chk.c: New file.
25641 * include/bits/poll2.h: New file.
25642 * io/bits/poll2.h: New file.
25643
ac097f5c
UD
25644 [BZ #1350]
25645 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25646
2119dcfa
UD
25647 * configure.in: static is always set to yes. Remove.
25648 * config.make.in: Don't set build-static.
25649 * Makeconfig: Remove use of build-static.
25650 * dlfcn/Makefile: Likewise.
25651 * elf/Makefile: Likewise.
25652 * math/Makefile: Likewise.
25653 * misc/Makefile: Likewise.
25654 * nptl/Makefile: Likewise.
25655 * sysdeps/mach/hurd/Makefile: Likewise.
25656
121766a9
UD
25657 * configure.in: PWD_P is not used anymore.
25658 * config.make.in: Remove PWD_P entry.
25659
51a1d39c 25660 * configure.in: Remove last remnants of RANLIB.
8720d066 25661 No need to check for signed size_t anymore.
215f4bdc
UD
25662 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25663 and IA-64.
3857022a 25664 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25665 * aclocal.m4: Likewise.
25666
d3ed7225
UD
25667 * wcsmbs/mbrtoc16.c: Implement using towc function.
25668 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25669 * wcsmbs/wcsmbsload.c: Likewise.
25670 * iconv/gconv_simple.c: Likewise.
25671 * iconv/gconv_int.h: Likewise.
25672 * iconv/gconv_builtin.h: Likewise.
25673 * iconv/iconv_prog.c: Remove CHAR16 handling.
25674
25675 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25676
25677 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25678
a0da5fe1
UD
25679 * configure.in: Remove --with-elf and --enable-bounded options.
25680 Dont set base_machine for ia64. More non-ELF conditions removed.
25681 Remove testing and setting of leading underscore information.
25682 * config.make.in (build-bounded): Set to no.
25683 * config.h.in: Remove NO_UNDERSCORES entry.
25684 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25685 them.
25686 * csu/start.c: Remove !NO_UNDERSCORE code.
25687 * locale/localeinfo.h: Likewise.
25688 * sysdeps/generic/machine-gmon.h: Likewise.
25689 * sysdeps/generic/sysdep.h: Likewise.
25690 * sysdeps/i386/sysdep.h: Likewise.
25691 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25692 * sysdeps/mach/sysdep.h: Likewise.
25693 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25694 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25695 * sysdeps/sh/sysdep.h: Likewise.
25696 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25697 * sysdeps/unix/i386/sysdep.S: Likewise.
25698 * sysdeps/unix/sparc/start.c: Likewise.
25699 * sysdeps/unix/sparc/sysdep.S: Likewise.
25700 * sysdeps/unix/sparc/sysdep.h: Likewise.
25701 * sysdeps/unix/start.c: Likewise.
25702 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25703 * sysdeps/x86_64/sysdep.h: Likewise.
25704
df78418a
UD
257052012-01-07 Ulrich Drepper <drepper@gmail.com>
25706
a784e502
UD
25707 [BZ #13553]
25708 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25709 for non-gcc.
25710 * argp/argp-fmtstream.h: Use const instead __const.
25711 * argp/argp.h: Likewise.
25712 * assert/assert.h: Likewise.
25713 * bits/fenv.h: Likewise.
25714 * bits/sched.h: Likewise.
25715 * bits/sigset.h: Likewise.
25716 * bits/sigthread.h: Likewise.
25717 * catgets/nl_types.h: Likewise.
25718 * conform/data/pthread.h-data: Likewise.
25719 * crypt/crypt-private.h: Likewise.
25720 * crypt/crypt.h: Likewise.
25721 * crypt/crypt_util.c: Likewise.
25722 * ctype/ctype.h: Likewise.
25723 * debug/execinfo.h: Likewise.
25724 * debug/mbsnrtowcs_chk.c: Likewise.
25725 * debug/mbsrtowcs_chk.c: Likewise.
25726 * debug/wcsnrtombs_chk.c: Likewise.
25727 * debug/wcsrtombs_chk.c: Likewise.
25728 * debug/wcstombs_chk.c: Likewise.
25729 * dirent/dirent.h: Likewise.
25730 * dlfcn/dlfcn.h: Likewise.
25731 * elf/neededtest4.c: Likewise.
25732 * grp/grp.h: Likewise.
25733 * gshadow/gshadow.h: Likewise.
25734 * iconv/gconv.h: Likewise.
25735 * iconv/gconv_int.h: Likewise.
25736 * iconv/gconv_simple.c: Likewise.
25737 * iconv/iconv.h: Likewise.
25738 * iconv/loop.c: Likewise.
25739 * iconv/skeleton.c: Likewise.
25740 * include/aio.h: Likewise.
25741 * include/aliases.h: Likewise.
25742 * include/argz.h: Likewise.
25743 * include/arpa/inet.h: Likewise.
25744 * include/assert.h: Likewise.
25745 * include/dirent.h: Likewise.
25746 * include/dlfcn.h: Likewise.
25747 * include/execinfo.h: Likewise.
25748 * include/fcntl.h: Likewise.
25749 * include/fenv.h: Likewise.
25750 * include/glob.h: Likewise.
25751 * include/grp.h: Likewise.
25752 * include/libintl.h: Likewise.
25753 * include/mntent.h: Likewise.
25754 * include/netdb.h: Likewise.
25755 * include/pwd.h: Likewise.
25756 * include/rpc/netdb.h: Likewise.
25757 * include/sched.h: Likewise.
25758 * include/search.h: Likewise.
25759 * include/shadow.h: Likewise.
25760 * include/signal.h: Likewise.
25761 * include/stdio.h: Likewise.
25762 * include/stdlib.h: Likewise.
25763 * include/string.h: Likewise.
25764 * include/sys/socket.h: Likewise.
25765 * include/sys/stat.h: Likewise.
25766 * include/sys/statfs.h: Likewise.
25767 * include/sys/statvfs.h: Likewise.
25768 * include/sys/syslog.h: Likewise.
25769 * include/sys/time.h: Likewise.
25770 * include/sys/uio.h: Likewise.
25771 * include/time.h: Likewise.
25772 * include/unistd.h: Likewise.
25773 * include/utmp.h: Likewise.
25774 * include/wchar.h: Likewise.
25775 * include/wctype.h: Likewise.
25776 * inet/aliases.h: Likewise.
25777 * inet/arpa/inet.h: Likewise.
25778 * inet/netinet/ether.h: Likewise.
25779 * inet/netinet/in.h: Likewise.
25780 * intl/libintl.h: Likewise.
25781 * io/bits/fcntl2.h: Likewise.
25782 * io/fcntl.h: Likewise.
25783 * io/ftw.h: Likewise.
25784 * io/sys/poll.h: Likewise.
25785 * io/sys/stat.h: Likewise.
25786 * io/sys/statfs.h: Likewise.
25787 * io/sys/statvfs.h: Likewise.
25788 * io/utime.h: Likewise.
25789 * libio/bits/stdio.h: Likewise.
25790 * libio/bits/stdio2.h: Likewise.
25791 * libio/libio.h: Likewise.
25792 * libio/libioP.h: Likewise.
25793 * libio/stdio.h: Likewise.
25794 * locale/lc-ctype.c: Likewise.
25795 * locale/locale.h: Likewise.
25796 * login/utmp.h: Likewise.
25797 * malloc/arena.c: Likewise.
25798 * malloc/malloc.c: Likewise.
25799 * malloc/malloc.h: Likewise.
25800 * malloc/mcheck.c: Likewise.
25801 * malloc/mtrace.c: Likewise.
25802 * math/bits/mathcalls.h: Likewise.
25803 * math/fenv.h: Likewise.
25804 * math/math_private.h: Likewise.
25805 * misc/bits/error.h: Likewise.
25806 * misc/bits/syslog.h: Likewise.
25807 * misc/err.h: Likewise.
25808 * misc/error.h: Likewise.
25809 * misc/fstab.h: Likewise.
25810 * misc/mntent.h: Likewise.
25811 * misc/regexp.h: Likewise.
25812 * misc/search.h: Likewise.
25813 * misc/sgtty.h: Likewise.
25814 * misc/sys/mman.h: Likewise.
25815 * misc/sys/syslog.h: Likewise.
25816 * misc/sys/uio.h: Likewise.
25817 * misc/sys/xattr.h: Likewise.
25818 * misc/ttyent.h: Likewise.
25819 * nis/rpcsvc/ypclnt.h: Likewise.
25820 * nss/nss.h: Likewise.
25821 * posix/bits/unistd.h: Likewise.
25822 * posix/fnmatch.h: Likewise.
25823 * posix/glob.h: Likewise.
25824 * posix/sched.h: Likewise.
25825 * posix/spawn.h: Likewise.
25826 * posix/sys/wait.h: Likewise.
25827 * posix/unistd.h: Likewise.
25828 * posix/wordexp.h: Likewise.
25829 * pwd/pwd.h: Likewise.
25830 * resolv/netdb.h: Likewise.
25831 * resource/sys/resource.h: Likewise.
25832 * rt/aio.h: Likewise.
25833 * rt/bits/mqueue2.h: Likewise.
25834 * rt/mqueue.h: Likewise.
25835 * shadow/shadow.h: Likewise.
25836 * signal/signal.h: Likewise.
25837 * socket/send.c: Likewise.
25838 * socket/sendto.c: Likewise.
25839 * socket/sys/socket.h: Likewise.
25840 * stdio-common/printf.h: Likewise.
25841 * stdlib/bits/stdlib.h: Likewise.
25842 * stdlib/fmtmsg.h: Likewise.
25843 * stdlib/monetary.h: Likewise.
25844 * stdlib/stdlib.h: Likewise.
25845 * stdlib/ucontext.h: Likewise.
25846 * streams/stropts.h: Likewise.
25847 * string/argz.h: Likewise.
25848 * string/bits/string2.h: Likewise.
25849 * string/string.h: Likewise.
25850 * string/strings.h: Likewise.
25851 * sunrpc/rpc/auth.h: Likewise.
25852 * sunrpc/rpc/auth_des.h: Likewise.
25853 * sunrpc/rpc/clnt.h: Likewise.
25854 * sunrpc/rpc/netdb.h: Likewise.
25855 * sunrpc/rpc/pmap_clnt.h: Likewise.
25856 * sunrpc/rpc/xdr.h: Likewise.
25857 * sysdeps/generic/inttypes.h: Likewise.
25858 * sysdeps/generic/net/if.h: Likewise.
25859 * sysdeps/generic/sys/swap.h: Likewise.
25860 * sysdeps/gnu/net/if.h: Likewise.
25861 * sysdeps/gnu/utmpx.h: Likewise.
25862 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25863 * sysdeps/i386/i486/bits/string.h: Likewise.
25864 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25865 * sysdeps/s390/bits/string.h: Likewise.
25866 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25867 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25868 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25869 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25870 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25871 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25872 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25873 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25874 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25875 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25876 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25877 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25878 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25879 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25880 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25881 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25882 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25883 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25884 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25885 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25886 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25887 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25888 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25889 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25890 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25891 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25892 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25893 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25894 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25895 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25896 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25897 * sysvipc/sys/ipc.h: Likewise.
25898 * sysvipc/sys/msg.h: Likewise.
25899 * sysvipc/sys/sem.h: Likewise.
25900 * sysvipc/sys/shm.h: Likewise.
25901 * termios/termios.h: Likewise.
25902 * time/sys/time.h: Likewise.
25903 * time/time.h: Likewise.
25904 * wcsmbs/bits/wchar2.h: Likewise.
25905 * wcsmbs/uchar.h: Likewise.
25906 * wcsmbs/wchar.h: Likewise.
25907 * wctype/wctype.h: Likewise.
25908
0269750c
UD
25909 [BZ #13551]
25910 * Makeconfig: Remove all but ELF support including AIX support.
25911 * Makerules: Likewise.
25912 * config.h.in: Likewise.
25913 * config.make.in: Likewise.
25914 * configure: Likewise.
25915 * configure.in: Likewise.
25916 * csu/Makefile: Likewise.
25917 * csu/version.c: Likewise.
25918 * debug/Makefile: Likewise.
25919 * dlfcn/Makefile: Likewise.
25920 * elf/Makefile: Likewise.
25921 * extra-lib.mk: Likewise.
25922 * iconv/Makefile: Likewise.
25923 * include/libc-symbols.h: Likewise.
25924 * include/shlib-compat.h: Likewise.
25925 * resolv/Makefile: Likewise.
25926 * resolv/res_libc.c: Likewise.
25927 * rt/Makefile: Likewise.
25928 * sysdeps/i386/asm-syntax.h: Likewise.
25929 * sysdeps/i386/sysdep.h: Likewise.
25930 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25931 * sysdeps/mach/sysdep.h: Likewise.
25932 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25933 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25934 * sysdeps/s390/asm-syntax.h: Likewise.
25935 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25936 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25937 * sysdeps/sh/sysdep.h: Likewise.
25938 * sysdeps/unix/sparc/sysdep.h: Likewise.
25939 * sysdeps/wordsize-32/divdi3.c: Likewise.
25940 * sysdeps/x86_64/sysdep.h: Likewise.
25941
00bbd29b
UD
25942 * argp/Versions: Remove _argp_unlock_xxx.
25943
25944 [BZ #13559]
25945 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25946 * abilist/libBrokenLocale.abilist: Likewise.
25947 * abilist/libanl.abilist: Likewise.
25948 * abilist/libc.abilist: Likewise.
25949 * abilist/libcrypt.abilist: Likewise.
25950 * abilist/libdl.abilist: Likewise.
25951 * abilist/libm.abilist: Likewise.
25952 * abilist/libnsl.abilist: Likewise.
25953 * abilist/libpthread.abilist: Likewise.
25954 * abilist/libresolv.abilist: Likewise.
25955 * abilist/librt.abilist: Likewise.
25956 * abilist/libthread_db.abilist: Likewise.
25957 * abilist/libutil.abilist: Likewise.
25958 * abilist/libnss_db.abilist: New file.
25959
25960 * scripts/abilist.awk: Add support for indirect functions.
25961
a2693a0e
UD
25962 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25963
3f05895f
UD
25964 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25965
ecb6fb48
UD
25966 * shlib-versions: Remove entries for ports architectures.
25967
664f8cb9
UD
25968 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25969 files in ports.
25970 * elf/stackguard-macros.h: Remove support for IA-64.
25971 * elf/tst-auditmod1.c: Likewise.
25972 * sysdeps/generic/ldsodefs.h: Likewise.
25973
7ae81d88
UD
25974 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25975 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25976 configure files.
25977
bdeba135
UD
25978 [BZ #13552]
25979 * configure.in: Remove --enable-omitfp support.
25980 * FAQ.in: Adjust.
25981 * config.make.in: Likewise.
25982 * Makeconfig: Likewise.
25983 * manual/install.texi: Likewise.
25984
d75a0a62
UD
25985 In case anyone cares, the IA-64 architecture could move to ports.
25986 * sysdeps/ia64/*: Removed.
25987 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25988 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25989
dcc9756b
UD
25990 [BZ #13555]
25991 * configure.in: Remove entries for unsupported architectures.
25992
d3761ebc 25993 [BZ #13533]
9954432e
UD
25994 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25995 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25996 routines.
25997 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25998 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25999 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26000 fall back to using wcrtomb.
26001 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26002 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26003 renaming.
26004 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26005 * wcsmbs/tst-c16c32-1.c: New file.
26006
26007 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26008 local variable.
26009
c3a87236
UD
26010 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26011
28926a1b
UD
26012 * elf/tst-unique3.cc: Add explicit declaration of gets.
26013 * elf/tst-unique3lib.cc: Likewise.
26014 * elf/tst-unique3lib2.cc: Likewise.
26015 * elf/tst-unique4.cc: Likewise.
26016
df78418a
UD
26017 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26018
8ecd6b2a
JM
260192012-01-06 Joseph Myers <joseph@codesourcery.com>
26020
26021 [BZ #13566]
26022 * assert/assert.h (static_assert): Don't define for C++.
26023 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26024 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26025
9f115170
UD
260262012-01-03 Ulrich Drepper <drepper@gmail.com>
26027
5e0d0300
UD
26028 * iconv/loop.c (single loop): Fix assertion in storing of
26029 remaining bytes.
26030
9f115170
UD
26031 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26032
81fb02b0
UD
260332012-01-01 Ulrich Drepper <drepper@gmail.com>
26034
26035 * posix/getconf.c: Update copyright year.
26036 * nss/getent.c: Likewise.
a316c1f6 26037 * nss/makedb.c: Likewise.
81fb02b0
UD
26038 * iconv/iconvconfig.c: Likewise.
26039 * iconv/iconv_prog.c: Likewise.
26040 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26041 * elf/pldd.c: Likewise.
26042 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26043 * catgets/gencat.c: Likewise.
26044 * csu/version.c: Likewise.
26045 * elf/ldd.bash.in: Likewise.
26046 * elf/sprof.c (print_version): Likewise.
26047 * locale/programs/locale.c: Likewise.
26048 * locale/programs/localedef.c: Likewise.
a316c1f6 26049 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26050 * nscd/nscd.c (print_version): Likewise.
26051 * debug/xtrace.sh: Likewise.
26052 * malloc/memusage.sh: Likewise.
26053 * malloc/mtrace.pl: Likewise.
26054 * debug/catchsegv.sh: Likewise.
26055
2ba92745
JJ
260562011-12-30 Jakub Jelinek <jakub@redhat.com>
26057
26058 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26059 pure attribute.
26060
dadebdae
UD
260612011-12-24 Ulrich Drepper <drepper@gmail.com>
26062
d3761ebc 26063 [BZ #13533]
db6af3eb
UD
26064 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26065 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26066 transformations.
26067 * iconv/gconv_int.h: Likewise.
26068 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26069 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26070 from libc for GLIBC_2.16.
26071 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26072 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26073 * wcsmbs/uchar.h: Really define mbstate_t.
26074 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26075 * wcsmbs/c16rtomb.c: New file.
26076 * wcsmbs/mbrtoc16.c: New file.
26077 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26078 for C/POSIX locale.
26079 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26080 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26081
dadebdae
UD
26082 * wcsmbs/wchar.h: Add missing __restrict.
26083
67371b56
UD
260842011-12-23 Ulrich Drepper <drepper@gmail.com>
26085
74033a25
UD
26086 [BZ #13532]
26087 * time/Makefile (routines): Add timespec_get.
26088 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26089 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26090 timespec for ISO C11.
26091 * time/timespec_get.c: New file.
26092 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26093 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26094
380d7e87
UD
26095 [BZ #13531]
26096 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26097 * stdlib/stdlib.h: Declare aligned_alloc.
26098 * Versions.def: Add GLIBC_2.16 for libc.
26099 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26100
4e9e7a35
UD
26101 [BZ 13527]
26102 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26103 ISO C11.
26104
380d7e87 26105 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26106 code.
26107
03a71829
UD
26108 [BZ #13528]
26109 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26110
839e283e
UD
26111 [BZ #13529]
26112 * assert/assert.h (static_assert): Define.
26113
ce5294e2 26114 * version.h: Update for 2.16 development version.
90fa7312 26115
8d44e150 26116 [BZ #13526]
d7809905
UD
26117 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26118 _ISOC11_SOURCE.
26119
c0da14cd
UD
26120 * version.h (RELEASE): Bump for 2.15 release.
26121 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26122
530a3249
MP
26123 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26124 Patch by Marek Polacek <mpolacek@redhat.com>.
26125
67371b56
UD
26126 * bits/byteswap.h: Protect long long constants with __extension__.
26127 * sysdeps/i386/bits/byteswap.h: Likewise.
26128 * sysdeps/ia64/bits/byteswap.h: Likewise.
26129 * sysdeps/s390/bits/byteswap.h: Likewise.
26130 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26131
15db4de1
LD
261322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26133
26134 [BZ #13540]
bbe315ea
LD
26135 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26136 destination buffer.
15db4de1
LD
26137 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26138
2b2596b1
MP
261392011-12-23 Marek Polacek <polacek@redhat.com>
26140
26141 * elf/dl-addr.c (determine_info): Add inline keyword.
26142 * elf/tst-auditmod4b.c (check_avx): Likewise.
26143 * elf/tst-auditmod6b.c (check_avx): Likewise.
26144 * elf/tst-auditmod6c.c (check_avx): Likewise.
26145 * elf/tst-auditmod7b.c (check_avx): Likewise.
26146
70c6c246
UD
261472011-12-23 Ulrich Drepper <drepper@gmail.com>
26148
26149 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26150 !__SSE_MATH__.
26151
c044cf14
LD
261522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26153
15db4de1 26154 [BZ #13540]
c044cf14
LD
26155 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26156 processing for last bytes.
26157
6b13d9d9
BH
261582011-08-06 Bruno Haible <bruno@clisp.org>
26159
d455f537
BH
26160 [BZ #13061]
26161 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26162 U+0385, not to U+1FEE.
26163
6b13d9d9
BH
26164 [BZ #13062]
26165 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26166 entry for U+00A5 U+0301.
26167
db910efd
UD
261682011-12-22 Ulrich Drepper <drepper@gmail.com>
26169
27deeafc
UD
26170 [BZ #13166]
26171 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26172 buffer for the output is too small.
26173
aed9d171
UD
26174 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26175 optimization.
26176
db910efd
UD
26177 [BZ #13185]
26178 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26179 SSE flags if possible.
26180
2bd779ae
LD
261812011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26182
e7f9dac3 26183 [BZ #13540]
2bd779ae
LD
26184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26185 processing for last bytes.
26186
154bfc16
JM
261872011-12-22 Joseph Myers <joseph@codesourcery.com>
26188
26189 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26190 (syscall-list-default-options, syscall-list-default-condition)
26191 (syscall-list-includes): Define.
26192 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26193 list of ABIs and options and #if conditions for each ABI. Do not
26194 handle common syscalls between ABIs specially.
26195 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26196 Remove.
26197 (syscall-list-variants, syscall-list-32bit-options)
26198 (syscall-list-32bit-condition, syscall-list-64bit-options)
26199 (syscall-list-64bit-condition): Define.
26200 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26201 (syscall-list-variants, syscall-list-32bit-options)
26202 (syscall-list-32bit-condition, syscall-list-64bit-options)
26203 (syscall-list-64bit-condition): Define.
26204 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26205 Remove.
26206 (syscall-list-variants, syscall-list-32bit-options)
26207 (syscall-list-32bit-condition, syscall-list-64bit-options)
26208 (syscall-list-64bit-condition): Define.
26209 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26210 Remove.
26211 (syscall-list-variants, syscall-list-32bit-options)
26212 (syscall-list-32bit-condition, syscall-list-64bit-options)
26213 (syscall-list-64bit-condition): Define.
26214
21eaf3a5
UD
262152011-12-22 Ulrich Drepper <drepper@gmail.com>
26216
16c6f992
UD
26217 * locale/iso-639.def: Add brx entry.
26218
41043168
UD
26219 [BZ #13328]
26220 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26221 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26222
21eaf3a5
UD
26223 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26224 __feraiseexcept_renamed.
26225
e3a851a2
UD
262262011-12-21 Ulrich Drepper <drepper@gmail.com>
26227
4920765e
UD
26228 [BZ #13538]
26229 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26230 EPOLLET with unsigned values.
26231 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26232 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26233
e3a851a2
UD
26234 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26235 to large cancellation.
26236 * math/s_cacoshf.c: Likewise.
26237 * math/s_cacoshl.c: Likewise.
26238
b27e24b8
RK
262392011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26240
26241 [BZ #13305]
aebefeee 26242 [BZ #12786]
b27e24b8
RK
26243 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26244 * math/s_cacoshf.c: Likewise.
26245 * math/s_cacoshl.c: Likewise.
26246
ee190f67
UD
262472011-12-21 Ulrich Drepper <drepper@gmail.com>
26248
26249 [BZ #13439]
26250 * iconv/gconv.h: Define __GCONV_SWAP.
26251 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26252 * iconvdata/utf-16.c: Likewise.
26253 * iconvdata/utf-32.c: Likewise.
26254
707f25df
AS
262552011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26256
26257 [BZ #13524]
26258 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26259 numerator after shifting it by one limb.
26260
d2daaa1e
RÁE
262612011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26262
26263 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26264 under [__USE_EXTERN_INLINES].
26265
a4647e72
UD
262662011-12-17 Ulrich Drepper <drepper@gmail.com>
26267
26268 [BZ #13446]
26269 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26270
f0b264f1
AZ
262712011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26272
26273 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26274 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26275 optimized code.
26276 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26277 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26278 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26279 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26280 for strncasecmp/strncasecmp_l compilation.
26281 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26282 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26283
8ef4f244
MP
262842011-12-08 Marek Polacek <mpolacek@redhat.com>
26285
26286 [BZ #13484]
26287 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26288 of __asm__.
26289
97ac2654
UD
262902011-12-17 Ulrich Drepper <drepper@gmail.com>
26291
26292 [BZ #13506]
26293 * time/tzfile.c (__tzfile_read): Check values from file header.
26294
91d2a845
WS
262952011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26296
26297 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26298 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26299 * powerpc/powerpc32/dl-start.S: Likewise.
26300 * powerpc/powerpc32/elf/start.S: Likewise.
26301 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26302 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26303 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26304 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26305 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26306 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26307 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26308 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26309 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26310 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26311 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26312 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26313 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26314 * powerpc/powerpc32/memset.S: Likewise.
26315 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26316 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26317 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26318 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26319 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26320 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26321 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26322 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26323 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26324 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26325 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26326 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26327 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26328
a1267ba1
AZ
263292011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26330
26331 * math/libm-test.inc: Added more nearbyint tests.
26332 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26334 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26335 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26336
ad8ac1bd
RL
263372011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26338
26339 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26340 FD_CLOEXEC.
26341
1d3e4b61
UD
263422011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26343
26344 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26345 Add wcscpy-ssse3 wcscpy-c.
26346 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26347 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26348 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26349 * sysdeps/x86_64/wcschr.S: New file.
26350 * sysdeps/x86_64/wcsrchr.S: New file.
26351 * string/test-strcmp.c: Remove checking of wcscmp function for
26352 wrong alignments.
26353 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26354 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26355 wcsrchr-sse2 wcsrchr-c.
26356 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26357 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26358 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26359 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26360 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26361 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26362 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26363 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26364 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26365 * wcsmbc/wcschr.c (WCSCHR): New macro.
26366
5b330a2d
UD
263672011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26368
26369 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26370 * wcsmbs/test-wcsrchr.c: New file.
26371 * string/test-strrchr.c: Add wcsrchr support.
26372 (WIDE): New macro.
26373 * wcsmbs/test-wcscpy.c: New file.
26374 * string/test-strcpy.c: Add wcscpy support.
26375 (WIDE): New macro.
26428b7c 26376
f039c043
UD
263772011-12-10 Ulrich Drepper <drepper@gmail.com>
26378
26379 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26380 the inner loop.
26381
850fb039
AS
263822011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26383
26384 [BZ #13472]
26385 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26386
4efbd5cb
UD
263872011-12-04 Ulrich Drepper <drepper@gmail.com>
26388
52ff5dd0 26389 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26390 Minor optimizations.
52ff5dd0 26391
4efbd5cb
UD
26392 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26393 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26394 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26395
8a426e12
UD
263962011-12-03 Ulrich Drepper <drepper@gmail.com>
26397
aff2453d
UD
26398 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26399 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26400 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26401 for gcc to avoid warnings.
26402 * inet/Makefile (tests): Add tst-checks.
26403 * inet/tst-checks.c: New file.
26404
26405 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26406 warning.
26407
26408 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26409 __wmemcmp_sse2.
26410
26411 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26412 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26413
8a426e12
UD
26414 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26415
9bea3473
UD
264162011-12-02 Ulrich Drepper <drepper@gmail.com>
26417
3a965496
UD
26418 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26419 problem.
26420
9bea3473
UD
26421 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26422
f101631b
UD
264232011-11-29 Joseph Myers <joseph@codesourcery.com>
26424
26425 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26426 conditional on GCC version.
26427 (__arch_compare_and_exchange_val_8_acq)
26428 (__arch_compare_and_exchange_val_16_acq)
26429 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26430 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26431 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26432
a98275aa
UD
264332011-12-02 Joseph Myers <joseph@codesourcery.com>
26434
26435 * sysdeps/sh/backtrace.c: New file.
26436
d4cc29a2
AS
264372011-12-02 Andreas Schwab <schwab@redhat.com>
26438
26439 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26440 parenthesis.
26441
6257af2d
AS
264422011-12-01 Andreas Schwab <schwab@redhat.com>
26443
26444 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26445 falling back to utime.
26446
b5f44c1a
AS
264472011-11-30 Andreas Schwab <schwab@redhat.com>
26448
26449 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26450 expectations for float.
26451
f3a6cc0a
AS
264522011-11-29 Andreas Schwab <schwab@redhat.com>
26453
26454 * locale/weight.h (findidx): Add parameter len.
26455 * locale/weightwc.h (findidx): Likewise.
26456 * posix/fnmatch_loop.c (FCT): Adjust caller.
26457 * posix/regcomp.c (build_equiv_class): Likewise.
26458 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26459 * posix/regexec.c (check_node_accept_bytes): Likewise.
26460 * string/strcoll_l.c (STRCOLL): Likewise.
26461 * string/strxfrm_l.c (STRXFRM): Likewise.
26462
9d65ea3a
UD
264632011-11-17 Ulrich Drepper <drepper@gmail.com>
26464
26465 * Makefile.in: Remove CVSOPT handling.
26466 * configure.in: Remove use of AC_REVISION.
26467 * iconvdata/Makefile (distribute): No need to filter out CVS.
26468 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26469 handling.
26470
5583a086
AS
264712011-11-16 Andreas Schwab <schwab@redhat.com>
26472
26473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26474 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26475 [USE_AS_STRNCASECMP_L]: Likewise.
26476 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26477 NO_TLS_DIRECT_SEG_REFS.
26478 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26479 Fix argument offsets for non-PIC.
26480 [USE_AS_STRNCASECMP_L]: Likewise.
26481 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26482 NO_TLS_DIRECT_SEG_REFS.
26483
d62a8200
UD
264842011-11-15 Ulrich Drepper <drepper@gmail.com>
26485
9d65ea3a 26486 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26487 O_CLOEXEC.
26488 * locale/loadlocale.c (_nl_load_locale): Likewise.
26489
09f93bd3
AS
264902011-11-15 Andreas Schwab <schwab@redhat.com>
26491
446514f9
AS
26492 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26493 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26494 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26495 (SYSCALL_GETTIME): Set errno on error.
26496
09f93bd3
AS
26497 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26498 count references to noai6ai_cached.
26499
312be3f9
UD
265002011-11-15 Ulrich Drepper <drepper@gmail.com>
26501
26502 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26503
26504 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26505 FD_CLOEXEC for /proc/self/maps.
26506
26507 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26508 FD_CLOEXEC for /proc/meminfo.
26509
26510 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26511 gai.conf.
26512
26513 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26514 FD_CLOEXEC for given file.
26515
26516 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26517
26518 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26519 FD_CLOEXEC for /etc/hosts.
26520 (_gethtent): Likewise.
26521
26522 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26523
26524 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26525 cancellation and set FD_CLOEXEC for /etc/netgroup.
26526
26527 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26528 reading /etc/publickey.
26529
26530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26531 allow cancellation when reading /etc/group.
26532
26533 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26534 cancellation.
26535 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26536
26537 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26538 when using data file.
26539
26540 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26541
26542 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26543 (write_nis_obj): Use "c" and "e" in fopen.
26544
26545 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26546
26547 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26548
26549 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26550
26551 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26552
26553 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26554 locale.alias.
26555
26556 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26557
26558 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26559
26560 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26561
26562 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26563 file parsing and set FD_CLOEXEC.
26564
82af0fa8
UD
265652011-11-14 Ulrich Drepper <drepper@gmail.com>
26566
26567 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26568
a5fb313c
AS
265692011-11-14 Andreas Schwab <schwab@redhat.com>
26570
26571 * malloc/arena.c (arena_get2): Don't call reused_arena when
26572 _int_new_arena failed.
26573
6abf3465
UD
265742011-11-14 Ulrich Drepper <drepper@gmail.com>
26575
26576 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26577 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26578 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26579 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26580 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26581 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26582 to compile strcasecmp and strncasecmp.
26583 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26584 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26585
26586 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26587
76e3966e
UD
265882011-11-13 Ulrich Drepper <drepper@gmail.com>
26589
26590 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26591 locale-defines.sym to gen-as-const-headers.
26592 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26593 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26595 to compile strcasecmp and strncasecmp.
26596 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26597 strcasecmp_l and strncasecmp_l.
26598 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26599 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26600 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26601 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26602 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26603 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26604 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26605 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26606 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26607 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26608 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26609
ab26144e
UD
266102011-11-12 Ulrich Drepper <drepper@gmail.com>
26611
7edb22ef
UD
26612 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26613 result of SYSDEP_GETTIME_CPU to retval.
26614 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26615 parameter list to macro. Remove trailing semicolon. Adjust users.
26616
9694fc44
UD
26617 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26618 variable.
26619
8ad89ef8
UD
26620 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26621 mantissa words.
26622 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26623
0c822ef9
UD
26624 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26625 from unused variable.
26626
874e0564
UD
26627 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26628 DWARF definitions.
26629 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26630 for assembling.
26631
3a2edc79
UD
26632 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26633 over namespaces.
26634
f3c2577f
UD
26635 * sunrpc/rpc_prot.c (rejected): Fix case value.
26636
294ce126
UD
26637 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26638 unsigned long long int to avoid warnings in shift.
26639
5e2b63c6
UD
26640 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26641 of use of trans.
26642 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26643 variable tmp.
26644
e7f4b08e
UD
26645 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26646 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26647 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26648
ab26144e
UD
26649 * nis/nis_table.c (nis_list): Use variable of correct type for
26650 result of __follow_path call.
26651
8a6d5255
AZ
266522011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26653
26654 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26655 of math functions ceil, trunc, floor, round, and sqrt, when
26656 avaliable on the platform.
26657 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26658 name clash.
26659 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26660 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26661 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26662
aaddc98c
MP
266632011-10-30 Marek Polacek <mpolacek@redhat.com>
26664
26665 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26666 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26667
95b7042b
RM
266682011-11-11 Roland McGrath <roland@hack.frob.com>
26669
26670 * include/unistd.h: Fix __readlink return type.
26671 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26672
57769839
UD
266732011-11-11 Ulrich Drepper <drepper@gmail.com>
26674
26675 * stdlib/ucontext.h: Undo last change for makecontext.
26676
edc5984d
AS
266772011-11-11 Andreas Schwab <schwab@redhat.com>
26678
98591e58
AS
26679 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26680
edc5984d
AS
26681 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26682 * setjmp/setjmp.h: Mark functions as non-leaf.
26683 * setjmp/bits/setjmp2.h: Likewise.
26684 * stdlib/ucontext.h: Likewise.
26685
77cdc054
AS
266862011-11-10 Andreas Schwab <schwab@redhat.com>
26687
26688 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26689 (reused_arena): Don't check arena limit.
26690 (arena_get2): Atomically check arena limit.
26691
fe72eebd
UD
266922011-11-08 Ulrich Drepper <drepper@gmail.com>
26693
5f078c32
UD
26694 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26695 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26696
fe72eebd
UD
26697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26698 instructions.
26699
ae1bc2fa
AS
267002011-11-07 Andreas Schwab <schwab@redhat.com>
26701
7583a88d
AS
26702 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26703 handler when locking.
26704
ae1bc2fa
AS
26705 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26706 Fix size of allocated buffer.
26707
10fb0bfa
AS
267082011-11-04 Andreas Schwab <schwab@redhat.com>
26709
998832a4
AS
26710 [BZ #10103]
26711 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26712 declarations for long double functions.
26713 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26714
10fb0bfa
AS
26715 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26716
3d7ba52b
AS
267172011-11-03 Andreas Schwab <schwab@redhat.com>
26718
a9ae54a1
AS
26719 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26720 installed.
26721
3d7ba52b
AS
26722 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26723 is disabled.
26724
bc8db248
ST
267252011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26726
26727 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26728
45b96dd6
AS
267292011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26730
647776f6
AS
26731 * include/alloca.h (stackinfo_alloca_round): Define.
26732 (extend_alloca): Use it.
26733 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26734 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26735 here.
26736
d91a8b93
AS
26737 * scripts/check-local-headers.sh: Ignore libaudit.h.
26738
45b96dd6
AS
26739 * nscd/Makefile (extra-objs): Make recursively expanded.
26740
432d41ce
UD
267412011-11-01 Ulrich Drepper <drepper@gmail.com>
26742
34372fc6
UD
26743 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26745
fadb59f8
UD
26746 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26747 * posix/tst-rfc3484-2.c: Likewise.
26748 * posix/tst-rfc3484-3.c: Likewise.
26749
78239589
UD
26750 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26751 process_vm_writev.
26752 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26753 process_vm_writev.
26754 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26755 process_vm_writev from libc using GLIBC_2.15 version.
26756
432d41ce
UD
26757 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26758
02f9c6cf
PP
267592011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26760
26761 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26762 stack usage.
26763
3a2c0242
UD
267642011-10-31 Ulrich Drepper <drepper@gmail.com>
26765
f4ec4833
UD
26766 [BZ #13367]
26767 * nss/getent.c (initgroups_keys): Show error message in case no group
26768 names are given.
26769
3a2c0242
UD
26770 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26771 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26772 __bump_nl_timestamp.
26773 * nscd/connections (nscd_init): When host database is served open
26774 netlink socket and request notification about configuration changes.
26775 (main_loop_poll): Track netlink file descriptor and bump timestamp
26776 in case data becomes available.
26777 (main_loop_epoll): Likewise.
26778 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26779 (database_pers_head): Add extra_data fileds.
26780 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26781 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26782 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26783 Adjust caller.
26784 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26785 in6ai data, call __free_in6ai.
26786 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26787 Add -DHAVE_NETLINK.
26788 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26789 interface information. Reuse previous data if netlink timestamp
26790 is not changed.
26791 (__bump_nl_timestamp): New function.
26792 (__free_in6ai): New function.
26793
636064eb
UD
267942011-10-30 Ulrich Drepper <drepper@gmail.com>
26795
26796 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26797 close_not_cancel_no_status here.
26798 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26799
9beb2334
UD
268002011-10-29 Ulrich Drepper <drepper@gmail.com>
26801
6ef76f3b
UD
26802 [BZ #13276]
26803 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26804 return value.
26805
0ffc4f3e 26806 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26807 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26808 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26809
cb95113e
UD
268102011-07-03 Andreas Jaeger <aj@suse.de>
26811
26812 [BZ #10709]
26813 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26814 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26815 * math/libm-test.inc (sin_test): Add test case.
26816
a1b560ff
UD
268172011-10-29 Ulrich Drepper <drepper@gmail.com>
26818
c9aaface
UD
26819 [BZ #13337]
26820 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26821 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26822
d272e7f1
UD
26823 * elf/chroot_canon.c (chroot_canon): Cleanups.
26824
1bc33071
UD
26825 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26826
1760874d
TJ
26827 [BZ #13335]
26828 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26829 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26830
51d91b18
UD
26831 * string/test-strchr.c: Make usable for strchrnul testing.
26832 * string/test-strchrnul.c: New file.
26833 * string/Makefile (strop-tests): Add strchrnul.
26834
a1b560ff 26835 * po/it.po: Update from translation team.
b611fb81 26836 * po/es.po: Likewise.
a1b560ff 26837
a5b81e1f
UD
268382011-10-28 Ulrich Drepper <drepper@gmail.com>
26839
fd52bc6d
UD
26840 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26841 the three constants needed as parameters. Drop the others.
26842 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26843 __m128i_strloadu_tolower.
52e4b9eb
UD
26844 Create and initialize variable zero and use it in all the places
26845 where _mm_setzero_si128 was used.
fd52bc6d 26846
a5b81e1f
UD
26847 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26848 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26849 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26850 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26851 anymore.
26852 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26853 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26854 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26855 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26856 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26857 __mpranred, __mptan.
26858 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26859 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26860 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26861 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26862 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26863 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26864 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26865 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26866 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26867
b4343346
AS
268682011-10-28 Andreas Schwab <schwab@redhat.com>
26869
0c92d8a8
AS
26870 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26871 redefine if SHARED.
26872 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26873
b4343346
AS
26874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26875 wide char related routines to wcsmbs subdir.
26876
3871f58f
AS
268772011-10-27 Andreas Schwab <schwab@redhat.com>
26878
26879 [BZ #13344]
26880 * misc/sys/cdefs.h (__THROWNL): Define.
26881 * posix/unistd.h: Use __THREADNL instead of __THREAD
26882 for memory synchronization functions.
26883
94d44d9f
RM
268842011-10-26 Roland McGrath <roland@hack.frob.com>
26885
21b64b15 26886 [BZ #13349]
94d44d9f
RM
26887 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26888 doesn't exist.
26889 * manual/stdio.texi (Obstack Streams): Node removed.
26890
f6ce9294
AS
268912011-10-26 Andreas Schwab <schwab@redhat.com>
26892
80479147
AS
26893 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26894 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26895 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26896
f6ce9294
AS
26897 * math/math_private.h (math_force_eval): Allow non-addressable
26898 arguments.
26899 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26900
618280a1
UD
269012011-10-25 Ulrich Drepper <drepper@gmail.com>
26902
e0016b11
UD
26903 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26904 file is not needed.
26905
26906 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26907 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26908 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26909 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26910 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26911 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26912 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26913 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26914 Add AVX variants.
26915 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26916 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26917 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26918 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26919 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26920 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26921 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26922 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26923 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26924 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26925 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26926 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26927 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26928 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26929 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26930 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26931 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26932 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26933 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26934
26935 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26936 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26937
618280a1
UD
26938 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26939 place. Use VEX encoding when compiling for AVX.
26940
37822576
AS
269412011-10-25 Andreas Schwab <schwab@redhat.com>
26942
1f1e1947
AS
26943 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26944 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26945
37822576
AS
26946 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26947
31ea014d
UD
269482011-10-25 Ulrich Drepper <drepper@gmail.com>
26949
d7826aa1 26950 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26951 useless if() expression.
d7826aa1
UD
26952 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26953 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26954 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26955 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26956 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26957 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26958 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26959 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26960 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26961 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26962 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26963 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26964 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26965 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26966 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26967 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26968 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26969 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26970 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26971
31ea014d
UD
26972 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26973
16437fec
AS
269742011-10-25 Andreas Schwab <schwab@redhat.com>
26975
26976 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26977 condition.
26978 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26979
31d3cc00
UD
269802011-10-25 Ulrich Drepper <drepper@gmail.com>
26981
26982 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26983 .text section. Avoid duplicate constants.
26984 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26986 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26992 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26993 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26994 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26995 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26996 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26997 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26998 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26999 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27000 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27001 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27002 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27004 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27005 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27006 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27008 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27009 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27010 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27011 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27012 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27013 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27014 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27015 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27016 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27017 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27018 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27019 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27020 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27021 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27022 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27023 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27024 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27025 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27026 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27027 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27028 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27029
58985aa9
UD
270302011-10-24 Ulrich Drepper <drepper@gmail.com>
27031
202c9deb
UD
27032 * sysdeps/x86_64/dla.h: Move to ...
27033 * sysdeps/x86_64/fpu/dla.h: ...here.
27034 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27035 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27036
af968f62
UD
27037 * config.make.in: Add have-mfma4 entry.
27038 * configure.in: Substitute libc_cv_cc_fma4.
27039 * math/Makefile (dbl-only-routines): Add sincostab.
27040 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27041 Use __sincostab not sincos.
27042 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27043 name is a macro.
27044 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27048 using __copysign.
27049 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27050 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27051 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27052 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27053 and __inv.
27054 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27055 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27056 __copysign.
27057 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27058 define aliases when function name is a macro.
27059 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27060 sysdeps/ieee754/dbl-64/sincos.tbl.
27061 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27062 fma4-enabled routines.
27063 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27064 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27065 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27066 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27067 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27068 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27069 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27070 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27071 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27072 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27073 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27074 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27075 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27076 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27077 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27078 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27079 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27080 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27081 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27082 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27083 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27084 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27085 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27086 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27087 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27088 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27089 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27090 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27091 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27092 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27093
58985aa9
UD
27094 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27095 rename.
27096 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27097 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27099 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27101 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27103 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27104
a201fbcf
AS
271052011-10-24 Andreas Schwab <schwab@redhat.com>
27106
27107 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27108
fc2ee42a
LD
271092011-10-23 Ulrich Drepper <drepper@gmail.com>
27110
bb3129bd
UD
27111 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27112
0275fff8
UD
27113 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27114 prediction.
27115 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27116
2fa2ae85
UD
27117 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27118 Remove unused variable magic_bits.
27119 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27120
fc2ee42a
LD
27121 * string/strnlen.c: Define and use STRNLEN macro.
27122 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27123 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27124 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27125 * wcsmbs/wcslen.c: Define and use WCSLEN.
27126 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27127 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27128 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27129 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27130 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27131 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27132 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27133
ce7dd29f
LD
271342011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27135
27136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27137 strnlen-sse2-no-bsf.
27138 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27139 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27140 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27141 Add strnlen support.
27142 (USE_AS_STRNLEN): New macro.
27143 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27144 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27145 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27146 * sysdeps/x86_64/wcslen.S: New file.
27147
979c70a3
MZ
271482011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27149
27150 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27151 XMM-moves are used for copying on small sizes.
27152
2d09f82f
LD
271532011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27154
27155 * wcsmbs/Makefile (strop-tests): Add wcschr.
27156 * wcsmbs/test-wcschr.c: New file.
27157 * string/test-strchr.c: Update.
27158 Add wcschr support.
27159 (WIDE): New macro.
27160
619fccca
LD
271612011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27162
2d09f82f 27163 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27164 * wcsmbs/test-wcslen.c: New file.
27165 * string/test-strlen.c: Update.
27166 Add wcslen support.
27167 (WIDE): New macro.
27168
09f699ea
UD
271692011-10-23 Ulrich Drepper <drepper@gmail.com>
27170
27171 * po/it.po: Update from translation team.
27172
95584d3b
LD
271732011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27174
27175 * sysdeps/x86_64/wcscmp.S: Update.
27176 Fix wrong comparison semantics.
27177 wcscmp shall use signed comparison not unsigned.
27178 Don't use substraction to avoid overflow bug.
27179 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27180 * wcsmbc/wcscmp.c: Likewise.
27181 * string/test-strcmp.c: Likewise.
27182 Add new tests to check cases with negative values.
27183
c8b3296b
UD
271842011-10-23 Ulrich Drepper <drepper@gmail.com>
27185
27186 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27187 * sysdeps/x86_64/dla.h: ...here. New file.
27188 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27193 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27195 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27197
246ad57a
AS
271982011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27199
27200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27201 __ynl_finite aliases.
27202
a1a87169
UD
272032011-10-22 Ulrich Drepper <drepper@gmail.com>
27204
0d355eb7
UD
27205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27206
a1a87169
UD
27207 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27208 define DLA_FMA.
27209 [DLA_FMA] (EMULV): Use DLA_FMA.
27210 [DLA_FMA] (MUL12): Use EMULV.
27211 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27212 that are not needed.
27213 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27214 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27220
ee2aafe0
AS
272212011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27222
27223 * math/s_nan.c: Undef __nan.
27224 * math/s_nanf.c: Undef __nanf.
27225 * math/s_nanl.c: Undef __nanl.
27226 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27227 "math_private.h".
27228
bc62c2fb
UD
272292011-10-22 Ulrich Drepper <drepper@gmail.com>
27230
77425c63
UD
27231 * math/s_catan.c: Add branch predictions.
27232 * math/s_catanf.c: Likewise.
27233 * math/s_catanh.c: Likewise.
27234 * math/s_catanhf.c: Likewise.
27235 * math/s_catanhl.c: Likewise.
27236 * math/s_catanl.c: Likewise.
27237 * math/s_cexp.c: Likewise.
27238 * math/s_cexpf.c: Likewise.
27239 * math/s_cexpl.c: Likewise.
27240 * math/s_clog.c: Likewise.
27241 * math/s_clog10.c: Likewise.
27242 * math/s_clog10f.c: Likewise.
27243 * math/s_clog10l.c: Likewise.
27244 * math/s_clogf.c: Likewise.
27245 * math/s_clogl.c: Likewise.
27246 * math/s_csqrt.c: Likewise.
27247 * math/s_csqrtf.c: Likewise.
27248 * math/s_csqrtl.c: Likewise.
27249 * math/s_ctanf.c: Likewise.
27250 * math/s_ctanh.c: Likewise.
27251 * math/s_ctanhf.c: Likewise.
27252 * math/s_ctanhl.c: Likewise.
27253 * math/s_ctanl.c: Likewise.
27254
bc62c2fb
UD
27255 * math/math_private.h: Define __nan, __nanf, __nanl.
27256 * math/s_cacosh.c: Include <math_private.h>.
27257 * math/s_cacoshl.c: Likewise.
27258 * math/s_casinh.c: Likewise.
27259 * math/s_casinhf.c: Likewise.
27260 * math/s_casinhl.c: Likewise.
27261 * math/s_ccos.c: Rely entire on ccosh.
27262 * math/s_ccosf.c: Rely entire on ccoshf.
27263 * math/s_ccosl.c: Rely entirely on ccoshl.
27264 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27265 Remove tests for FE_INVALID.
27266 * math/s_ccoshf.c: Likewise.
27267 * math/s_ccoshl.c: Likewise.
27268 * math/s_csin.c: Likewise.
27269 * math/s_csinf.c: Likewise.
27270 * math/s_csinh.c Likewise.
27271 * math/s_csinhf.c: Likewise.
27272 * math/s_csinhl.c: Likewise.
27273 * math/s_csinl.c: Likewise.
27274 * math/s_ctan.c: Likewise.
27275 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27276 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27277 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27278
8ec250a4
UD
272792011-10-21 Ulrich Drepper <drepper@gmail.com>
27280
c196fed8
UD
27281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27282 compilation problems.
27283
8ec250a4
UD
27284 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27285 __builtin_expect.
27286
8d4f46c6
UD
272872011-10-20 Ulrich Drepper <drepper@gmail.com>
27288
ed72b654
UD
27289 * sysdeps/i386/configure.in: Test for -mfma4 option.
27290 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27291 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27292 COMMON_CPUID_INDEX_80000001.
27293 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27294 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27295 use it if FMA3 is not supported.
27296 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27297
8d4f46c6
UD
27298 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27299 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27300
d45c60c2
AS
273012011-10-20 Andreas Schwab <schwab@redhat.com>
27302
27303 [BZ #12892]
27304 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27305 it would create a cycle with a link time dependency.
27306
d9a4d2ab
UD
273072011-10-19 Ulrich Drepper <drepper@gmail.com>
27308
855d1560
UD
27309 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27310 instruction.
27311 * string/Makefile (strop-tests): Add rawmemchr.
27312 * string/test-rawmemchr.c: New file.
27313
d9a4d2ab
UD
27314 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27315 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27316 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27317 when compiling str{,n}casecmp and when AVX is available. Hook up
27318 new optimized code in initializers.
27319
8f3b1ffe
AS
273202011-10-19 Andreas Schwab <schwab@redhat.com>
27321
27322 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27323 __feraiseexcept instead of feraiseexcept.
27324
d38f1dba
UD
273252011-10-18 Ulrich Drepper <drepper@gmail.com>
27326
d9a8d0ab
UD
27327 * math/math_private.h: Define defaults for libc_fetestexcept and
27328 libc_feupdateenv.
27329 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27330 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27331 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27332 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27333 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27334 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27335 libc_fetestexcept and libc_feupdateenv.
27336
4855e3dd
UD
27337 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27338 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27339 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27340 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27341 libc_feholdexcept_setround.
27342
581d30e3
UD
27343 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27344 Add s_nearbyint-c and s_nearbyintf-c.
27345 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27346 nearbyintf inlines.
27347 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27348 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27349 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27350 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27351
d38f1dba
UD
27352 * math/math_private.h: Define defaults for libc_fegetround,
27353 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27354 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27355 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27356 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27357 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27358 standard functions.
27359 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27360 Remove comments and hacks for old compiler versions.
27361 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27362 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27363 libc_feholdexceptl.
27364
caa6c9d8
AS
273652011-10-18 Andreas Schwab <schwab@redhat.com>
27366
27367 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27368 (__feraiseexcept_renamed): Add __NTH.
27369 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27370 namespace violations.
27371
97c066e6
UD
273722011-10-17 Ulrich Drepper <drepper@gmail.com>
27373
99ce7b04
UD
27374 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27375
1004d182
UD
27376 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27377
228a984d
UD
27378 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27379 recently added interfaces.
27380 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27381
c8553a6a
UD
27382 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27383 about macro parameter expansion.
27384
ed22dcf6
UD
27385 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27386 __NO_MATH_INLINES is defined. Cleanups.
27387
27388 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27389 and __floorf is target has SSE4.1.
27390 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27391 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27392 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27393 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27394
b171c137
UD
27395 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27396 name.
27397 (floorf): Likewise.
27398
97c066e6
UD
27399 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27400
629f62ef
AS
274012011-10-17 Andreas Schwab <schwab@redhat.com>
27402
49a43d80
AS
27403 * misc/sys/cdefs.h: Fix last change.
27404
629f62ef
AS
27405 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27406 database lookup.
27407
e453f6cd
UD
274082011-10-16 Ulrich Drepper <drepper@gmail.com>
27409
aa78043a
UD
27410 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27411
ad0f5cad
UD
27412 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27413 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27414 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27415 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27416 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27417 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27418 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27419 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27420 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27421 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27422 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27423 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27424 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27425 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27426 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27427 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27428 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27429 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27430 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27431 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27432 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27433 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27434
27435 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27436 ceil, ceilf, floor, floorf.
27437
27438 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27439 Perform IRELATIVE relocations last.
27440
e453f6cd
UD
27441 * elf/do-rel.h: Add another parameter nrelative, replacing the
27442 local variable with the same name. Change name of the function
27443 to end in Rel or Rela (uppercase).
27444 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27445 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27446 elf_dynamic_do_##reloc function.
27447
fd5bdc09
UD
274482011-10-15 Ulrich Drepper <drepper@gmail.com>
27449
79b195b5
UD
27450 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27451 is sufficient, at least on modern CPUs.
27452
d4a28569
UD
27453 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27454
b61099b5
UD
27455 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27456 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27457
bcf01e6d
UD
27458 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27459 __expl_finite.
27460 * math/bits/math-finite.h: Add entries for exp.
27461 * math/e_expl.c: Add __*_finite alias.
27462 * sysdeps/i386/fpu/e_exp.S: Likewise.
27463 * sysdeps/i386/fpu/e_expf.S: Likewise.
27464 * sysdeps/i386/fpu/e_expl.c: Likewise.
27465 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27466 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27467 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27468 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27469 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27470 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27471 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27472
ba1a0d59
UD
27473 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27474 is sufficient, at least on modern CPUs.
27475
fd5bdc09
UD
27476 * ctype/ctype-info.c (__ctype_init): Define.
27477 * include/ctype.h (__ctype_init): Declare.
27478 (__ctype_b_loc): The variable is always initialized.
27479 (__ctype_toupper_loc): Likewise.
27480 (__ctype_tolower_loc): Likewise.
27481 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27482 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27483
7872cfb0
AS
274842011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27485
b468825a
AS
27486 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27487
7872cfb0
AS
27488 * configure.in: Also look in $cxxmachine/include for C++ system
27489 headers.
27490
be13f7bf
LD
274912011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27492
27493 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27494 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27495 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27496 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27497 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27498 (USE_AS_WMEMCMP): New macro.
27499 Fixing indents.
27500 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27501 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27502 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27503 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27505 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27506 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27507 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27508 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27509 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27510 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27511 (USE_AS_WMEMCMP): New macro.
27512 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27513 * sysdeps/string/test-memcmp.c: Update.
27514 Fix simple_wmemcmp.
27515 Add new tests.
27516 * wcsmbs/wmemcmp.c: Update.
27517 (WMEMCMP): New macro.
27518 Fix overflow bug.
27519
556a2007
AJ
275202011-10-12 Andreas Jaeger <aj@suse.de>
27521
27522 [BZ #13268]
27523 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27524
538faaa7
UD
275252011-10-15 Ulrich Drepper <drepper@gmail.com>
27526
ab6737ff
UD
27527 * libio/iofwide.c (do_length): Avoid warning.
27528
538faaa7
UD
27529 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27530
396a21b1
UD
275312011-10-14 Ulrich Drepper <drepper@gmail.com>
27532
cdf2901f
UD
27533 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27534
38ad40ce
UD
27535 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27536 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27537 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27538 * sysdeps/i386/i686/fpu/e_log.S: New file.
27539 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27540 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27541
396a21b1
UD
27542 * ctype/ctype.h: Add support for inlined isXXX functions when
27543 compiling C++ code.
27544
6b1f68c9
AS
275452011-10-14 Andreas Schwab <schwab@redhat.com>
27546
349290c0
AS
27547 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27548
6b1f68c9
AS
27549 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27550
f2282d42
RM
275512011-10-13 Roland McGrath <roland@hack.frob.com>
27552
27553 [BZ #13291]
27554 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27555
5298ffa8
AS
275562011-10-13 Andreas Schwab <schwab@redhat.com>
27557
714fad23
AS
27558 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27559 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27560 feraiseexcept.
27561
81dcc7fb
AS
27562 * sysdeps/x86_64/memrchr.S: Check for zero size.
27563
5298ffa8
AS
27564 * string/stratcliff.c: Add memrchr tests.
27565
951fbcec
LD
275662011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27567
27568 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27569 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27570 rawmemchr-sse2 rawmemchr-sse2-bsf.
27571 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27572 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27573 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27574 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27575 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27576 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27577 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27578 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27579 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27580 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27581 * string/memrchr.c (MEMRCHR): New macro.
27582
0ac5ae23
UD
275832011-10-12 Ulrich Drepper <drepper@gmail.com>
27584
27585 Add integration with gcc's -ffinite-math-only and optimize wrapper
27586 functions in libm.
27587 * Versions.def: Define GLIBC_2.15 version for libm.
27588 * math/Makefile (headers): Add bits/math-finite.h.
27589 * math/bits/math-finite.h: New file.
27590 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27591 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27592 * math/e_acoshl.c: Add __*_finite alias.
27593 * math/e_acosl.c: Likewise.
27594 * math/e_asinl.c: Likewise.
27595 * math/e_atan2l.c: Likewise.
27596 * math/e_atanhl.c: Likewise.
27597 * math/e_coshl.c: Likewise.
27598 * math/e_exp10.c: Likewise.
27599 * math/e_exp10f.c: Likewise.
27600 * math/e_exp10l.c: Likewise.
27601 * math/e_exp2l.c: Likewise.
27602 * math/e_fmodl.c: Likewise.
27603 * math/e_gammal_r.c: Likewise.
27604 * math/e_hypotl.c: Likewise.
27605 * math/e_j0l.c: Likewise.
27606 * math/e_j1l.c: Likewise.
27607 * math/e_jnl.c: Likewise.
27608 * math/e_lgammal_r.c: Likewise.
27609 * math/e_log10l.c: Likewise.
27610 * math/e_log2l.c: Likewise.
27611 * math/e_logl.c: Likewise.
27612 * math/e_powl.c: Likewise.
27613 * math/e_sinhl.c: Likewise.
27614 * math/e_sqrtl.c: Likewise.
27615 * math/e_scalb.c: Completely rewritten and optimized.
27616 * math/e_scalbf.c: Likewise.
27617 * math/e_scalbl.c: Likewise.
27618 * math/w_acos.c: Likewise.
27619 * math/w_acosf.c: Likewise.
27620 * math/w_acosl.c: Likewise.
27621 * math/w_acosh.c: Likewise.
27622 * math/w_acoshf.c: Likewise.
27623 * math/w_acoshl.c: Likewise.
27624 * math/w_asin.c: Likewise.
27625 * math/w_asinf.c: Likewise.
27626 * math/w_asinl.c: Likewise.
27627 * math/w_atan2.c: Likewise.
27628 * math/w_atan2f.c: Likewise.
27629 * math/w_atan2l.c: Likewise.
27630 * math/w_atanh.c: Likewise.
27631 * math/w_atanhf.c: Likewise.
27632 * math/w_atanhl.c: Likewise.
27633 * math/w_exp10.c: Likewise.
27634 * math/w_exp10f.c: Likewise.
27635 * math/w_exp10l.c: Likewise.
27636 * math/w_fmod.c: Likewise.
27637 * math/w_fmodf.c: Likewise.
27638 * math/w_fmodl.c: Likewise.
27639 * math/w_j0.c: Likewise.
27640 * math/w_j0f.c: Likewise.
27641 * math/w_j0l.c: Likewise.
27642 * math/w_j1.c: Likewise.
27643 * math/w_j1f.c: Likewise.
27644 * math/w_j1l.c: Likewise.
27645 * math/w_jn.c: Likewise.
27646 * math/w_jnf.c: Likewise.
27647 * math/w_log.c: Likewise.
27648 * math/w_logf.c: Likewise.
27649 * math/w_logl.c: Likewise.
27650 * math/w_log10.c: Likewise.
27651 * math/w_log10f.c: Likewise.
27652 * math/w_log10l.c: Likewise.
27653 * math/w_log2.c: Likewise.
27654 * math/w_log2f.c: Likewise.
27655 * math/w_log2l.c: Likewise.
27656 * math/w_pow.c: Likewise.
27657 * math/w_powf.c: Likewise.
27658 * math/w_powl.c: Likewise.
27659 * math/w_remainder.c: Likewise.
27660 * math/w_remainderf.c: Likewise.
27661 * math/w_remainderl.c: Likewise.
27662 * math/w_scalb.c: Likewise.
27663 * math/w_scalbf.c: Likewise.
27664 * math/w_scalbl.c: Likewise.
27665 * math/w_sqrt.c: Likewise.
27666 * math/w_sqrtf.c: Likewise.
27667 * math/w_sqrtl.c: Likewise.
27668 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27669 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27670 used.
27671 * math/math_private.h: Declare __kernel_standard_f.
27672 * math/w_cosh.c: Remove cruft and optimize a bit.
27673 * math/w_coshf.c: Likewise.
27674 * math/w_coshl.c: Likewise.
27675 * math/w_exp2.c: Likewise.
27676 * math/w_exp2f.c: Likewise.
27677 * math/w_exp2l.c: Likewise.
27678 * math/w_hypot.c: Likewise.
27679 * math/w_hypotf.c: Likewise.
27680 * math/w_hypotl.c: Likewise.
27681 * math/w_lgamma.c: Likewise.
27682 * math/w_lgamma_r.c: Likewise.
27683 * math/w_lgammaf.c: Likewise.
27684 * math/w_lgammaf_r.c: Likewise.
27685 * math/w_lgammal.c: Likewise.
27686 * math/w_lgammal_r.c: Likewise.
27687 * math/w_sinh.c: Likewise.
27688 * math/w_sinhf.c: Likewise.
27689 * math/w_sinhl.c: Likewise.
27690 * math/w_tgamma.c: Likewise.
27691 * math/w_tgammaf.c: Likewise.
27692 * math/w_tgammal.c: Likewise.
27693 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27694 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27695 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27696 Minor optimizations. Pretty printing. Remove cruft.
27697 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27698 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27699 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27700 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27701 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27702 * sysdeps/i386/fpu/e_asin.S: Likewise.
27703 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27704 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27705 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27706 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27707 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27708 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27709 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27710 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27711 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27712 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27713 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27714 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27715 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27716 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27717 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27718 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27719 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27720 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27721 * sysdeps/i386/fpu/e_log.S: Likewise.
27722 * sysdeps/i386/fpu/e_log10.S: Likewise.
27723 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27724 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27725 * sysdeps/i386/fpu/e_log2.S: Likewise.
27726 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27727 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27728 * sysdeps/i386/fpu/e_logf.S: Likewise.
27729 * sysdeps/i386/fpu/e_logl.S: Likewise.
27730 * sysdeps/i386/fpu/e_pow.S: Likewise.
27731 * sysdeps/i386/fpu/e_powf.S: Likewise.
27732 * sysdeps/i386/fpu/e_powl.S: Likewise.
27733 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27734 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27735 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27736 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27737 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27738 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27739 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27740 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27741 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27742 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27743 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27745 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27746 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27747 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27748 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27749 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27750 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27751 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27752 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27753 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27755 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27756 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27758 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27759 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27760 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27761 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27762 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27763 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27764 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27765 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27766 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27767 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27768 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27769 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27770 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27771 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27772 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27773 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27774 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27775 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27776 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27777 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27778 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27779 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27780 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27781 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27782 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27783 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27784 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27785 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27786 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27787 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27788 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27789 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27790 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27791 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27792 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27793 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27794 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27795 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27796 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27797 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27798 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27799 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27800 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27801 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27802 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27803 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27804 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27805 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27806 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27807 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27808 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27809 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27810 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27811 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27813 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27814 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27815 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27816 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27818 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27819 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27820 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27821 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27822 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27823 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27824 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27825 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27826 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27827 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27828 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27830 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27831 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27832 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27833 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27834 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27835 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27836 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27837 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27838 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27839 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27840 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27841 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27842 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27843 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27844 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27845 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27846 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27847 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27848 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27850 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27851 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27852 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27853 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27854 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27855 (__isnanf): Likewise.
27856 (__isinf_ns): Likewise.
27857 (__isinf_nsf): Likewise.
27858 (__finite): Likewise.
27859 (__finitef): Likewise.
27860 (__ieee754_sqrt): Define as macro.
27861 (__ieee754_sqrtf): Define as macro.
27862 (__ieee754_sqrtl): Define as macro.
27863 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27864 inlined copy.
27865 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27866 __FINITE_MATH_ONLY__ consistent.
27867 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27868
12cc2fcd
AS
278692011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27870
a843a204
AS
27871 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27872 of rawmemchr.
27873
12cc2fcd
AS
27874 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27875
c853acd5
UD
278762011-10-09 Ulrich Drepper <drepper@gmail.com>
27877
27878 * po/ja.po: Update from translation team.
27879
c658d255
RM
278802011-10-08 Roland McGrath <roland@hack.frob.com>
27881
110946e4
RM
27882 * locale/programs/locarchive.c (prepare_address_space): New function.
27883 (create_archive, enlarge_archive, open_archive): Use it.
27884
50604220
RM
27885 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27886 inside [SHARED], where it is used.
27887
c658d255
RM
27888 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27889
27890 * nss/getent.c (netgroup_keys): Remove unused variable.
27891 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27892
6a621eb7
UD
278932011-10-08 Ulrich Drepper <drepper@gmail.com>
27894
7edb55ce
UD
27895 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27896 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27898 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27899 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27900 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27901 * math/Makefile (libm-calls): Add s_isinf_ns.
27902 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27903 * math/multc3.c: Likewise.
27904 * math/s_casin.c: Likewise.
27905 * math/s_casinf.c: Likewise.
27906 * math/s_casinl.c: Likewise.
27907 * math/s_ccos.c: Likewise.
27908 * math/s_ccosf.c: Likewise.
27909 * math/s_ccosl.c: Likewise.
27910 * math/s_ctan.c: Likewise.
27911 * math/s_ctanf.c: Likewise.
27912 * math/s_ctanh.c: Likewise.
27913 * math/s_ctanhf.c: Likewise.
27914 * math/s_ctanhl.c: Likewise.
27915 * math/s_ctanl.c: Likewise.
27916 * math/w_fmod.c: Likewise.
27917 * math/w_fmodf.c: Likewise.
27918 * math/w_fmodl.c: Likewise.
27919 * math/w_remainder.c: Likewise.
27920 * math/w_remainderf.c: Likewise.
27921 * math/w_remainderl.c: Likewise.
27922 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27923 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27924 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27925 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27926 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27927 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27928 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27929 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27930
187da0ae
UD
27931 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27932 of the number.
27933 * stdio-common/printf_fphex.c: Likewise.
27934 * stdio-common/printf_size.c: Likewise.
27935
9277c064
UD
27936 * math/e_exp10.c: Include math_private.h using <...> not "...".
27937 * math/e_exp10f.c: Likewise.
27938 * math/e_exp10l.c: Likewise.
27939 * math/e_exp2l.c: Likewise.
27940 * math/e_j0l.c: Likewise.
27941 * math/e_j1l.c: Likewise.
27942 * math/e_jnl.c: Likewise.
27943 * math/e_lgammal_r.c: Likewise.
27944 * math/e_rem_pio2l.c: Likewise.
27945 * math/e_scalb.c: Likewise.
27946 * math/e_scalbf.c: Likewise.
27947 * math/e_scalbl.c: Likewise.
27948 * math/k_cosl.c: Likewise.
27949 * math/k_sinl.c: Likewise.
27950 * math/k_tanl.c: Likewise.
27951 * math/s_cacoshf.c: Likewise.
27952 * math/s_catan.c: Likewise.
27953 * math/s_catanf.c: Likewise.
27954 * math/s_catanh.c: Likewise.
27955 * math/s_catanhf.c: Likewise.
27956 * math/s_catanhl.c: Likewise.
27957 * math/s_catanl.c: Likewise.
27958 * math/s_ccosh.c: Likewise.
27959 * math/s_ccoshf.c: Likewise.
27960 * math/s_ccoshl.c: Likewise.
27961 * math/s_cexp.c: Likewise.
27962 * math/s_cexpf.c: Likewise.
27963 * math/s_cexpl.c: Likewise.
27964 * math/s_clog.c: Likewise.
27965 * math/s_clog10.c: Likewise.
27966 * math/s_clog10f.c: Likewise.
27967 * math/s_clog10l.c: Likewise.
27968 * math/s_clogf.c: Likewise.
27969 * math/s_clogl.c: Likewise.
27970 * math/s_csin.c: Likewise.
27971 * math/s_csinf.c: Likewise.
27972 * math/s_csinh.c: Likewise.
27973 * math/s_csinhf.c: Likewise.
27974 * math/s_csinhl.c: Likewise.
27975 * math/s_csinl.c: Likewise.
27976 * math/s_csqrt.c: Likewise.
27977 * math/s_csqrtf.c: Likewise.
27978 * math/s_csqrtl.c: Likewise.
27979 * math/s_ctan.c: Likewise.
27980 * math/s_ctanf.c: Likewise.
27981 * math/s_ctanh.c: Likewise.
27982 * math/s_ctanhf.c: Likewise.
27983 * math/s_ctanhl.c: Likewise.
27984 * math/s_ctanl.c: Likewise.
27985 * math/s_ldexp.c: Likewise.
27986 * math/s_ldexpf.c: Likewise.
27987 * math/s_ldexpl.c: Likewise.
27988 * math/s_significand.c: Likewise.
27989 * math/s_significandf.c: Likewise.
27990 * math/s_significandl.c: Likewise.
27991 * math/w_acos.c: Likewise.
27992 * math/w_acosf.c: Likewise.
27993 * math/w_acosh.c: Likewise.
27994 * math/w_acoshf.c: Likewise.
27995 * math/w_acoshl.c: Likewise.
27996 * math/w_acosl.c: Likewise.
27997 * math/w_asin.c: Likewise.
27998 * math/w_asinf.c: Likewise.
27999 * math/w_asinl.c: Likewise.
28000 * math/w_atan2.c: Likewise.
28001 * math/w_atan2f.c: Likewise.
28002 * math/w_atan2l.c: Likewise.
28003 * math/w_atanh.c: Likewise.
28004 * math/w_atanhf.c: Likewise.
28005 * math/w_atanhl.c: Likewise.
28006 * math/w_cosh.c: Likewise.
28007 * math/w_coshf.c: Likewise.
28008 * math/w_coshl.c: Likewise.
28009 * math/w_dremf.c: Likewise.
28010 * math/w_exp10.c: Likewise.
28011 * math/w_exp10f.c: Likewise.
28012 * math/w_exp10l.c: Likewise.
28013 * math/w_exp2.c: Likewise.
28014 * math/w_exp2f.c: Likewise.
28015 * math/w_fmod.c: Likewise.
28016 * math/w_fmodf.c: Likewise.
28017 * math/w_fmodl.c: Likewise.
28018 * math/w_hypot.c: Likewise.
28019 * math/w_hypotf.c: Likewise.
28020 * math/w_hypotl.c: Likewise.
28021 * math/w_j0.c: Likewise.
28022 * math/w_j0f.c: Likewise.
28023 * math/w_j0l.c: Likewise.
28024 * math/w_j1.c: Likewise.
28025 * math/w_j1f.c: Likewise.
28026 * math/w_j1l.c: Likewise.
28027 * math/w_jn.c: Likewise.
28028 * math/w_jnf.c: Likewise.
28029 * math/w_jnl.c: Likewise.
28030 * math/w_lgamma.c: Likewise.
28031 * math/w_lgamma_r.c: Likewise.
28032 * math/w_lgammaf.c: Likewise.
28033 * math/w_lgammaf_r.c: Likewise.
28034 * math/w_lgammal.c: Likewise.
28035 * math/w_lgammal_r.c: Likewise.
28036 * math/w_log.c: Likewise.
28037 * math/w_log10.c: Likewise.
28038 * math/w_log10f.c: Likewise.
28039 * math/w_log10l.c: Likewise.
28040 * math/w_log2.c: Likewise.
28041 * math/w_log2f.c: Likewise.
28042 * math/w_log2l.c: Likewise.
28043 * math/w_logf.c: Likewise.
28044 * math/w_logl.c: Likewise.
28045 * math/w_pow.c: Likewise.
28046 * math/w_powf.c: Likewise.
28047 * math/w_powl.c: Likewise.
28048 * math/w_remainder.c: Likewise.
28049 * math/w_remainderf.c: Likewise.
28050 * math/w_remainderl.c: Likewise.
28051 * math/w_scalb.c: Likewise.
28052 * math/w_scalbf.c: Likewise.
28053 * math/w_scalbl.c: Likewise.
28054 * math/w_sinh.c: Likewise.
28055 * math/w_sinhf.c: Likewise.
28056 * math/w_sinhl.c: Likewise.
28057 * math/w_sqrt.c: Likewise.
28058 * math/w_sqrtf.c: Likewise.
28059 * math/w_sqrtl.c: Likewise.
28060 * math/w_tgamma.c: Likewise.
28061 * math/w_tgammaf.c: Likewise.
28062 * math/w_tgammal.c: Likewise.
28063
6a621eb7
UD
28064 * po/ja.po: Update from translation team.
28065
bf582445
AJ
280662011-09-29 Andreas Jaeger <aj@suse.de>
28067
f9efbf3a
AJ
28068 [BZ #13179]
28069 * sunrpc/netname.c (netname2host): Fix logic.
28070
bf582445
AJ
28071 [BZ #6779]
28072 [BZ #6783]
28073 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28074 correctly.
28075 * math/w_remainder.c (__remainder): Likewise.
28076 * math/w_remainderf.c (__remainderf): Likewise.
28077 * math/libm-test.inc (remainder_test): Add test cases.
28078
48693bea
AK
280792011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28080
28081 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28082 sdiv_qrnnd.
28083
42622229
LD
280842011-10-07 Ulrich Drepper <drepper@gmail.com>
28085
28086 * string/test-memcmp.c: Avoid unncessary #defines.
28087 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28088
093ecf92
LD
280892011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28090
28091 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28092 Use new sse2 version for core i3 - i7 as it's faster
28093 than sse42 version.
28094 (bit_Prefer_PMINUB_for_stringop): New.
28095 * sysdeps/x86_64/rawmemchr.S: Update.
28096 Replace with faster SSE2 version.
28097 * sysdeps/x86_64/memrchr.S: New file.
28098 * sysdeps/x86_64/memchr.S: Update.
28099 Replace with faster SSE2 version.
28100
fde56e5c
MP
281012011-09-12 Marek Polacek <mpolacek@redhat.com>
28102
28103 * elf/dl-load.c (lose): Add cast to avoid warning.
28104
21fd49a9
UD
281052011-10-07 Ulrich Drepper <drepper@gmail.com>
28106
5a06e643
UD
28107 * po/ca.po: Update from translation team.
28108
684ae515
UD
28109 * inet/getnetgrent_r.c: Hook up nscd.
28110 * nscd/Makefile (routines): Add nscd_netgroup.
28111 (nscd-modules): Add netgroupcache.
28112 (CFLAGS-netgroupcache.c): Define.
28113 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28114 (cache_search): Add const to second parameter.
28115 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28116 INNETGR.
28117 (dbs): Add netgrdb entry.
28118 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28119 (verify_persistent_db): Handle netgrdb.
28120 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28121 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28122 GETFDNETGR.
28123 (netgroup_response_header): Define.
28124 (innetgroup_response_header): Define.
28125 (datahead): Add netgroup_response_header and innetgroup_response_header
28126 elements.
28127 * nscd/nscd.conf: Add entries for netgroup cache.
28128 * nscd/nscd.h (dbtype): Add netgrdb.
28129 (_PATH_NSCD_NETGROUP_DB): Define.
28130 (netgroup_iov_disabled): Declare.
28131 (xmalloc, xcalloc, xrealloc): Move declarations here.
28132 (cache_search): Adjust prototype.
28133 Add netgroup-related prototypes.
28134 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28135 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28136 (__nscd_innetgr): Declare.
28137 * nscd/selinux.c (perms): Use access_vector_t as element type and
28138 add netgroup-related initializers.
28139 * nscd/netgroupcache.c: New file.
28140 * nscd/nscd_netgroup.c: New file.
28141 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28142 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28143 For four parameters use innetgr.
28144 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28145 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28146 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28147 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28148
21fd49a9
UD
28149 * nscd/connections.c (register_traced_file): Don't register file
28150 for disabled databases.
28151
054c0457
UD
281522011-10-06 Ulrich Drepper <drepper@gmail.com>
28153
32b63198
UD
28154 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28155
054c0457
UD
28156 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28157 from tree and freeing node.
28158
64031225
JO
281592011-09-25 Jiri Olsa <jolsa@redhat.com>
28160
28161 * nss/nsswitch.c (__nss_database_lookup): Handle
28162 nss_parse_service_list out of memory case.
28163
0490345c
JO
281642011-09-15 Jiri Olsa <jolsa@redhat.com>
28165
28166 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28167 out of memory case.
28168
3a62d00d
AS
281692011-10-04 Andreas Schwab <schwab@redhat.com>
28170
28171 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28172 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28173 pass it down.
28174 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28175 elf_machine_rela, elf_machine_lazy_rel.
28176 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28177 (ELF_DYNAMIC_DO_REL): Likewise.
28178 (ELF_DYNAMIC_DO_RELA): Likewise.
28179 (ELF_DYNAMIC_RELOCATE): Likewise.
28180 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28181 to ELF_DYNAMIC_DO_REL.
28182 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28183 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28184 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28185 elf_machine_rela.
28186 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28187 skip_ifunc, don't call ifunc function if non-zero.
28188 (elf_machine_rela): Likewise.
28189 (elf_machine_lazy_rel): Likewise.
28190 (elf_machine_lazy_rela): Likewise.
28191 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28192 (elf_machine_lazy_rel): Likewise.
28193 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28194 Likewise.
28195 (elf_machine_lazy_rel): Likewise.
28196 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28197 Likewise.
28198 (elf_machine_lazy_rel): Likewise.
28199 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28200 (elf_machine_lazy_rel): Likewise.
28201 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28202 (elf_machine_lazy_rel): Likewise.
28203 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28204 (elf_machine_lazy_rel): Likewise.
28205 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28206 (elf_machine_lazy_rel): Likewise.
28207 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28208 (elf_machine_lazy_rel): Likewise.
28209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28210 (elf_machine_lazy_rel): Likewise.
28211
68577918
UD
282122011-09-28 Ulrich Drepper <drepper@gmail.com>
28213
28214 * nss/nss_files/files-init.c (_nss_files_init): Use static
28215 initialization for all the *_traced_file variables.
28216
68822d74
AS
282172011-09-28 Andreas Schwab <schwab@redhat.com>
28218
28219 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28220
2056100b
RM
282212011-09-27 Roland McGrath <roland@hack.frob.com>
28222
28223 [BZ #13226]
28224 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28225
32c76b63
AS
282262011-09-27 Andreas Schwab <schwab@redhat.com>
28227
28228 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28229 Reread the line before reparsing it.
28230
bf972c9d
AS
282312011-09-26 Andreas Schwab <schwab@redhat.com>
28232
28233 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28234
e057a1b5
JM
282352011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28236 Maxim Kuvyrkov <maxim@codesourcery.com>
28237 Joseph Myers <joseph@codesourcery.com>
28238
28239 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28240 if needed for __stack_chk_guard.
28241
bc7e1c36
RM
282422011-09-19 Roland McGrath <roland@hack.frob.com>
28243
ecb1482f
RM
28244 * sysdeps/posix/spawni.c (script_execute): Always define it.
28245 It will be optimized away if unused.
28246 (maybe_script_execute): New function.
28247 (__spawni): Call it.
28248
bc7e1c36
RM
28249 * Makerules: Don't include tls.make.
28250 (config-tls): Always set to thread.
28251 * tls.make.c: File removed.
28252
1c3b002b
MF
282532011-09-19 Mike Frysinger <vapier@gentoo.org>
28254
28255 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28256 * config.make.in (CPPFLAGS-config): New substituted variable.
28257
2840865d
UD
282582011-09-15 Ulrich Drepper <drepper@gmail.com>
28259
88738eb6
UD
28260 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28261
cbf645a6 28262 [BZ #13192]
2840865d
UD
28263 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28264 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28265
b402e91a
RM
282662011-09-15 Roland McGrath <roland@hack.frob.com>
28267
28268 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28269 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28270 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28271 (CALL_FAIL): Likewise.
28272 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28273 (CALL_FAIL): Macro removed.
28274 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28275
4c1a1f71
UD
282762011-09-15 Ulrich Drepper <drepper@gmail.com>
28277
28278 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28279 for __FINITE_MATH_ONLY__ == 1.
28280
edc121be
AS
282812011-09-15 Andreas Schwab <schwab@redhat.com>
28282
28283 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28284 __ieee754_sqrt instead of sqrt.
28285 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28286 __ieee754_sqrtf instead of sqrtf.
28287 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28288 __floorf instead of floorf.
28289 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28290 __floorf, __truncf instead of floorf, truncf.
28291
cd205654
UD
282922011-09-14 Ulrich Drepper <drepper@gmail.com>
28293
ee4d0315
UD
28294 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28295
cd205654
UD
28296 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28297 __extern_always_inline.
28298 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28299 32-bit.
28300
48b67d71
AS
283012011-09-14 Andreas Schwab <schwab@redhat.com>
28302
28303 * elf/rtld.c (dl_main): Also relocate in dependency order when
28304 doing symbol dependency testing.
28305
1ae12c75
AS
283062011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28307
28308 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28309 Always define `refsym'.
28310
995a80df
AS
283112011-09-13 Andreas Schwab <schwab@redhat.com>
28312
e529793b
AS
28313 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28314 (__FD_ELT): Renamed from __FDELT.
28315 * misc/bits/select2.h (__FD_ELT): Likewise.
28316 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28317 __FD_MASK instead of __FDELT, __FDMASK.
28318 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28319 Likewise.
28320 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28321 Likewise.
28322
52d4fef8
AS
28323 * elf/Makefile (gen-ldd): Fix pattern.
28324
995a80df
AS
28325 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28326 (init_tls): Likewise.
28327
8682f8b0
UD
283282011-09-12 Ulrich Drepper <drepper@gmail.com>
28329
28330 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28331
de82006d
AS
283322011-09-12 Andreas Schwab <schwab@redhat.com>
28333
a7c8e6a1
AS
28334 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28335 `struct cmsghdr *' instead of `void *'.
28336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28337 Likewise.
28338
0f31fe77
AS
283392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28340
28341 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28342 if non-absolute.
28343 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28344 ldd_rewrite_script.
0f31fe77 28345
32b4c839
UD
283462011-09-11 Ulrich Drepper <drepper@gmail.com>
28347
83cd1420
UD
28348 * configure.in: Remove --with-tls option.
28349 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28350 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28351 out in case it is missing.
28352 * sysdeps/ia64/elf/configure.in: Likewise.
28353 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28354 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28355 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28356 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28357 * sysdeps/sh/elf/configure.in: Likewise.
28358 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28359 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28360 * sysdeps/x86_64/elf/configure.in: Likewise.
28361 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28362 * sysdeps/mach/hurd/tls.h: Likewise.
28363
633f745d
UD
28364 [BZ #13067]
28365 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28366
f318beb8
UD
28367 [BZ #13090]
28368 * configure.in: Fix use of AC_INIT.
28369
32b4c839
UD
28370 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28371
3ce1f295
UD
283722011-09-10 Ulrich Drepper <drepper@gmail.com>
28373
bb016596
UD
28374 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28375 __set_errno.
8e58439c
UD
28376 * malloc/hooks.c: Likewise.
28377
aebae053 28378 [BZ #11929]
02d46fc4
UD
28379 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28380 variables statically.
28381 (narenas): Initialize.
28382 (list_lock): Initialize.
bb016596
UD
28383 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28384 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28385 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28386 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28387 Add initializers to main_arena and mp_.
28388 (malloc_state): Remove pagesize member. Change all users to use
28389 GLRO(dl_pagesize).
28390
28391 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28392 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28393 is always initialized.
28394
22a89187
UD
28395 * malloc/malloc.c: Removed unused configurations and dead code.
28396 * malloc/arena.c: Likewise.
28397 * malloc/hooks.c: Likewise.
02d46fc4 28398 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28399
d063d164
UD
28400 * include/tls.h: Removed. USE___THREAD must always be defined.
28401 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28402 * elf/dl-libc.c: Likewise.
28403 * elf/dl-tsd.c: Likewise.
28404 * include/errno.h: Likewise.
28405 * include/netdb.h: Likewise.
28406 * include/resolv.h: Likewise.
28407 * inet/herrno-loc.c: Likewise.
28408 * inet/herrno.c: Likewise.
28409 * malloc/arena.c: Likewise.
28410 * malloc/hooks.c: Likewise.
28411 * malloc/malloc.c: Likewise.
28412 * resolv/res-state.c: Likewise.
28413 * resolv/res_libc.c: Likewise.
28414 * sysdeps/i386/dl-machine.h: Likewise.
28415 * sysdeps/ia64/dl-machine.h: Likewise.
28416 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28417 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28418 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28419 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28420 * sysdeps/sh/dl-machine.h: Likewise.
28421 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28422 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28423 * sysdeps/unix/i386/sysdep.S: Likewise.
28424 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28425 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28426 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28428 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28430 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28431 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28432 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28433 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28434 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28435 * sysdeps/x86_64/dl-machine.h: Likewise.
28436 * tls.make.c: Likewise.
28437
3ce1f295
UD
28438 * configure.in: Remove --with-__thread option. Make tests for
28439 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28440 tls_model attribute fail if no support is available. Remove
28441 USE_IN_LIBIO.
28442 * Makeconfig: Adjust for dropped configure option. All features are
28443 now mandatory.
28444 * Makerules: Likewise.
28445 * Versions.def: Likewise.
28446 * argp/argp-fmtstream.c: Likewise.
28447 * argp/argp-fmtstream.h: Likewise.
28448 * argp/argp-help.c: Likewise.
28449 * assert/assert.c: Likewise.
28450 * config.h.in: Likewise.
28451 * config.make.in: Likewise.
28452 * configure: Likewise.
28453 * configure.in: Likewise.
28454 * csu/Versions: Likewise.
28455 * csu/init.c: Likewise.
28456 * elf/tst-audit2.c: Likewise.
28457 * elf/tst-tls10.c: Likewise.
28458 * elf/tst-tls10.h: Likewise.
28459 * elf/tst-tls11.c: Likewise.
28460 * elf/tst-tls12.c: Likewise.
28461 * elf/tst-tls14.c: Likewise.
28462 * elf/tst-tlsmod11.c: Likewise.
28463 * elf/tst-tlsmod12.c: Likewise.
28464 * elf/tst-tlsmod13.c: Likewise.
28465 * elf/tst-tlsmod13a.c: Likewise.
28466 * elf/tst-tlsmod14a.c: Likewise.
28467 * elf/tst-tlsmod15b.c: Likewise.
28468 * elf/tst-tlsmod16a.c: Likewise.
28469 * elf/tst-tlsmod16b.c: Likewise.
28470 * elf/tst-tlsmod7.c: Likewise.
28471 * elf/tst-tlsmod8.c: Likewise.
28472 * elf/tst-tlsmod9.c: Likewise.
28473 * gmon/gmon.c: Likewise.
28474 * grp/fgetgrent_r.c: Likewise.
28475 * grp/putgrent.c: Likewise.
28476 * hurd/fopenport.c: Likewise.
28477 * include/libc-symbols.h: Likewise.
28478 * include/tls.h: Likewise.
28479 * intl/gettextP.h: Likewise.
28480 * intl/loadinfo.h: Likewise.
28481 * locale/global-locale.c: Likewise.
28482 * locale/localeinfo.h: Likewise.
28483 * mach/devstream.c: Likewise.
28484 * malloc/arena.c: Likewise.
28485 * malloc/set-freeres.c: Likewise.
28486 * misc/err.c: Likewise.
28487 * misc/getttyent.c: Likewise.
28488 * misc/mntent_r.c: Likewise.
28489 * posix/getopt.c: Likewise.
28490 * posix/wordexp.c: Likewise.
28491 * pwd/fgetpwent_r.c: Likewise.
28492 * resolv/Versions: Likewise.
28493 * resolv/res_hconf.c: Likewise.
28494 * shadow/fgetspent_r.c: Likewise.
28495 * shadow/putspent.c: Likewise.
28496 * stdio-common/printf_fphex.c: Likewise.
28497 * stdio-common/tmpfile.c: Likewise.
28498 * stdlib/abort.c: Likewise.
28499 * stdlib/fmtmsg.c: Likewise.
28500 * sunrpc/auth_unix.c: Likewise.
28501 * sunrpc/clnt_perr.c: Likewise.
28502 * sunrpc/clnt_tcp.c: Likewise.
28503 * sunrpc/clnt_udp.c: Likewise.
28504 * sunrpc/clnt_unix.c: Likewise.
28505 * sunrpc/openchild.c: Likewise.
28506 * sunrpc/svc_simple.c: Likewise.
28507 * sunrpc/svc_tcp.c: Likewise.
28508 * sunrpc/svc_udp.c: Likewise.
28509 * sunrpc/svc_unix.c: Likewise.
28510 * sunrpc/xdr.c: Likewise.
28511 * sunrpc/xdr_array.c: Likewise.
28512 * sunrpc/xdr_rec.c: Likewise.
28513 * sunrpc/xdr_ref.c: Likewise.
28514 * sunrpc/xdr_stdio.c: Likewise.
28515
1248c1c4
PB
285162011-09-09 Ulrich Drepper <drepper@gmail.com>
28517
28518 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28519
285202011-07-03 Andreas Jaeger <aj@suse.de>
28521
28522 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28523 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28524 regenerate with gen-libm-tests.pl.
28525
285262010-05-12 Petr Baudis <pasky@suse.cz>
28527
28528 [BZ #11589]
28529 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28530 around j0() zero points by switching to j1().
28531 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28532 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28534 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28535
f22e1074
UD
285362011-09-09 Ulrich Drepper <drepper@gmail.com>
28537
f19009c1
UD
28538 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28539 instead of 0.
28540 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28541 instead of 0.
f19009c1
UD
28542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28543 Patch in part by Pavel Roskin <proski@gnu.org>.
28544
3f8cc204
UD
28545 [BZ #13138]
28546 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28547 realloc.
28548 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28549 Free memory block if necessary.
28550
f22e1074
UD
28551 [BZ #12847]
28552 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28553 be NULL. Don't lock in this case.
28554
0a2349f9
RM
285552011-09-09 Roland McGrath <roland@hack.frob.com>
28556
28557 * elf/elf.h (ELFOSABI_GNU): New macro.
28558 (ELFOSABI_LINUX): Define to that.
28559
f3cdd467
DZ
285602011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28561
28562 * string/strncat.c (strncat): Undef the symbol in case it has been
28563 defined in bits/string.h.
28564
74718d13
UD
285652011-09-09 Ulrich Drepper <drepper@gmail.com>
28566
633e9e0f
UD
28567 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28568
0a2349f9 28569 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28570 link map.
28571
f9924780
AJ
285722011-08-17 Andreas Jaeger <aj@suse.de>
28573
28574 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28575
7f5517aa
PP
285762011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28577 Ian Lance Taylor <iant@google.com>
28578
28579 * math/libm-test.inc (lround_test): New testcase.
28580 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28581
762011fe
UD
285822011-09-08 Ulrich Drepper <drepper@gmail.com>
28583
92963737
UD
28584 * Makefile: Remove support for automatic cvs check-ins.
28585 * Makerules: Likewise.
28586 * config.make.in: Likewise.
28587 * configure.in: Likewise.
28588 * intl/Makefile: Likewise.
28589 * locale/Makefile: Likewise.
28590 * po/Makefile: Likewise.
28591 * posix/Makefile: Likewise.
28592 * sysdeps/gnu/Makefile: Likewise.
28593 * sysdeps/mach/hurd/Makefile: Likewise.
28594 * sysdeps/sparc/sparc32/Makefile: Likewise.
28595
b0727fd8
JS
28596 [BZ #13118]
28597 * posix/Makefile (bug-regex32-ENV): Define.
28598 Patch by John Stanley <jpsinthemix@verizon.net>.
28599
a0f33f99
UD
28600 * misc/Makefile (headers): Add bits/select2.h.
28601 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28602 * misc/bits/select2.h: New file.
28603 * include/bits/select2.h: New file.
28604 * debug/Makefile (routines): Add fdelt_chk.
28605 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28606 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28607 FD_ISSET.
28608 * debug/fdelt_chk.c: New file.
28609
762011fe
UD
28610 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28611 * wcsmbs/test-wmemcmp.c: Likewise.
28612 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28613 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28614
286152011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28616
28617 * string/Makefile (strop-tests): Add memcmp.
28618 * string/test-wmemcmp.c: New file.
28619 * string/test-memcmp.c: Add wmemcmp support.
28620
7f513ec8
RM
286212011-09-08 Roland McGrath <roland@hack.frob.com>
28622
0442afb4
RM
28623 [BZ #13153]
28624 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28625 2011-07-19 change.
28626
7f513ec8
RM
28627 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28628 garbage value in a __mach_port_mod_refs call in the cases of the
28629 task-self and thread-self ports.
28630
a12b2239
ST
286312011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28632
28633 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28634
610f9ab4
AS
286352011-09-08 Andreas Schwab <schwab@redhat.com>
28636
7f513ec8 28637 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28638
48882a1a
LD
286392011-09-07 Ulrich Drepper <drepper@gmail.com>
28640
b49865be
UD
28641 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28642
fdc86bc9
UD
28643 * elf/dl-libc.c (dlerror_run): Pass back error code from
28644 dl_catch_error.
28645
c966526a
UD
28646 [BZ #13123]
28647 * elf/dl-load.c (lose): Free l_origin if it is valid.
28648
48882a1a
LD
28649 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28650 names.
28651 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28652 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28653 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28654 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28655 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28656 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28657
77a2a8b4
AZ
286582011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28659
28660 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28661 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28662 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28663 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28664 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28665 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28666 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28667 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28668 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28669 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28670
24f579d8
AM
286712011-08-15 Alan Modra <amodra@gmail.com>
28672
28673 [BZ #13092]
28674 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28675 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28676 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28677 ppc_mcount to static-only-routines.
28678 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28679 __mcount_internal.
28680 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28681 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28682
3d4837df
UD
286832011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28684
28685 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28686 for finite and infinity parameters.
28687
22700377
WS
286882011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28689
28690 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28691 and add nop instructions for throughput optimization.
28692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28693
5025581e
WS
286942011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28695
28696 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28697 aligned copy for power7 with vector-scalar instructions.
28698 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28699
08a300c9
L
287002011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28701
28702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28703 AVX check.
28704
59178ef9
AS
287052011-09-07 Andreas Schwab <schwab@redhat.com>
28706
28707 [BZ #13144]
28708 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28709 last change.
28710
e38ba7ab
UD
287112011-09-07 Ulrich Drepper <drepper@gmail.com>
28712
28713 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28714 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28715 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28716 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28717 clock_gettime.
28718
d53a73ac
UD
287192011-09-06 Ulrich Drepper <drepper@gmail.com>
28720
fc8bffcc
UD
28721 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28722 Forgot to demangle the pointer.
28723
ceaa0c5d
UD
28724 * sysdeps/i386/sysdep.h: Define atom_text_section.
28725 * sysdeps/x86_64/sysdep.h: Likewise.
28726 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28727 section with atom_text_section.
28728 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28729 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28730 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28731 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28732 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28733
a77d3c17
UD
28734 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28735 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28736 already be defined. Change to take two parameters and don't assign
28737 result to variable. Adjust all users.
28738 Define INTERNAL_GETTIME if not already defined.
28739 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28740 call.
28741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28742 HAVE_CLOCK_GETTIME_VSYSCALL.
28743 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28744
d53a73ac
UD
28745 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28746 gettimeofday vsyscall, just use time.
28747
a8f84144
AS
287482011-09-06 Andreas Schwab <schwab@redhat.com>
28749
28750 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28751 <errno.h>.
28752
ef606249
UD
287532011-09-06 Ulrich Drepper <drepper@gmail.com>
28754
28755 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28756 syscall on x86-64.
28757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28758 syscall.
28759 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28760 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28761 syscall if possible.
28762
6585cb60
UD
287632011-09-05 Ulrich Drepper <drepper@gmail.com>
28764
28765 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28766 e_ident. Don't pass to find_mapsXX.
28767 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28768
a5f524e4
LD
287692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28770
28771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28772 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28773 * sysdeps/x86_64/multiarch/strchr.S: Update.
28774 Check bit_slow_BSF bit.
28775 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28776 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28777 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28778
554881ef
UD
287792011-09-05 Ulrich Drepper <drepper@gmail.com>
28780
d96de963
UD
28781 [BZ #13134]
28782 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28783 before glibc 2.15.
28784 (tryshell): Define.
28785 (__spawni): Change last parameter to be flag. Test
28786 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28787 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28788 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28789 * posix/spawni.c: Likewise.
28790 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28791 * posix/spawnp.c: Likewise. Change normal version to use
28792 SPAWN_XFLAGS_USE_PATH.
28793 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28794 SPAWN_XFLAGS_TRY_SHELL.
28795
d48e5868
UD
28796 [BZ #13150]
28797 * posix/glob.h: Remove gcc 1.x support.
28798
554881ef
UD
28799 [BZ #13068]
28800 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28801
693fb948
LD
288022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28803
28804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28805 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28806 strrchr-sse2-bsf
28807 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28808 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28809 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28810 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28811 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28812 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28813
1b48c537
UD
288142011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28815
49d42c37
UD
28816 * sysdeps/x86_64/wcscmp.S: New file.
28817
1b48c537
UD
28818 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28819 wcscmp-c wcscmp-sse2
28820 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28821 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28822 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28823 * wcsmbs/wcscmp.c: Allow renaming.
28824
15c95c5d
DM
288252011-09-05 David S. Miller <davem@davemloft.net>
28826
28827 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28828 stack slot, rather than the struct return pointer slot.
28829 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28830 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28832 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28833
2f0ad8f3
UD
288342011-09-05 Ulrich Drepper <drepper@gmail.com>
28835
d88ae418
UD
28836 * po/ja.po: Update from translation team.
28837
2f0ad8f3
UD
28838 [BZ #13144]
28839 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28840 kernel in 64-bit binaries.
28841
5f4318d1
DM
288422011-09-01 David S. Miller <davem@davemloft.net>
28843
28844 * elf/elf.h (HWCAP_SPARC_*): Move to..
28845 * sysdeps/sparc/sysdep.h: this new file and add new values.
28846 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28847 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28848 _DL_HWCAP_COUNT to 24.
28849 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28850 entries.
28851 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28852 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28853 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28854 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28855 instead of magic constants.
28856 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28857
3ba57516
DM
288582011-08-31 David S. Miller <davem@davemloft.net>
28859
28860 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28862 Reimplement to do errno handling inline.
28863 (SYSCALL_ERROR_HANDLER): New macro.
28864 (__SYSCALL_STRING): Do not do errno handling in asm.
28865 (__CLONE_SYSCALL_STRING): Delete.
28866 (__INTERNAL_SYSCALL_STRING): Delete.
28867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28868 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28869 (PSEUDO): Reimplement to do errno handling inline.
28870 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28871 (SYSCALL_ERROR_HANDLER): New macro.
28872 (__SYSCALL_STRING): Do not do errno handling in asm.
28873 (__CLONE_SYSCALL_STRING): Delete.
28874 (__INTERNAL_SYSCALL_STRING): Delete.
28875 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28876 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28877 i386.
28878 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28879 (inline_syscall*): Add 'err' argument.
28880 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28881 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28882 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28883 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28884
28885 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28886 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28887
2bc17433
AS
288882011-08-30 Andreas Schwab <schwab@redhat.com>
28889
28890 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28891
fbeb5f4d
JO
288922011-08-29 Jiri Olsa <jolsa@redhat.com>
28893
28894 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28895 directive.
28896
ad69cc26
DM
288972011-08-24 David S. Miller <davem@davemloft.net>
28898
28899 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28900
39dd69df
AS
289012011-08-24 Andreas Schwab <schwab@redhat.com>
28902
28903 * elf/Makefile: Add rules to build and run unload8 test.
28904 * elf/unload8.c: New file.
28905 * elf/unload8mod1.c: New file.
28906 * elf/unload8mod1x.c: New file.
28907 * elf/unload8mod2.c: New file.
28908 * elf/unload8mod3.c: New file.
28909
28910 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28911 it wasn't used.
28912
2c0b250a
DM
289132011-08-23 David S. Miller <davem@davemloft.net>
28914
28915 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28916 subtract stack bias.
28917 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28918 %sp not %fp in calculations.
28919 (_JMPBUF_UNWINDS_ADJ): Likewise.
28920
22044b48
DM
28921 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28922 (aio_suspend): Call it to force an exception region around the
28923 AIO_MISC_WAIT() invocation.
28924
2cae4995
AS
289252011-08-23 Andreas Schwab <schwab@redhat.com>
28926
28927 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28928 backslash.
28929
873a772e
AJ
289302011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28931
28932 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28933 protection macro.
28934 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28935 and <dl-machine.h>.
28936 (Elf64_FuncDesc): Remove.
28937
25ad0df1
DM
289382011-08-22 David S. Miller <davem@davemloft.net>
28939
28940 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28941 sigaltstack check, add missing cfi directives.
28942 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28943 missing cfi directives, and sigaltstack handling.
28944
e888bcbe
AS
289452011-08-16 Andreas Schwab <schwab@redhat.com>
28946
28947 [BZ #11724]
28948 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28949 object is seen twice.
28950 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28951
28952 * elf/Makefile (distribute): Add tst-initorder2.c.
28953 (tests): Add tst-initorder2.
28954 (modules-names): Add tst-initorder2a tst-initorder2b
28955 tst-initorder2c tst-initorder2d. Add rules to build them.
28956 ($(objpfx)tst-initorder2.out): New rule.
28957 * elf/tst-initorder2.c: New file.
28958 * elf/tst-initorder2.exp: New file.
28959
87162f46
AS
289602011-08-22 Andreas Schwab <schwab@redhat.com>
28961
70538b7f
AS
28962 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28963
f55ffe58
AS
28964 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28965 dependencies back to end of function.
28966
87162f46
AS
28967 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28968 $(elfobjdir)/ld.so.
28969
91b392a4
UD
289702011-08-21 Ulrich Drepper <drepper@gmail.com>
28971
28972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28973 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28975 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28976 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28977 of __vdso_gettimeofday.
28978 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28979 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28980 attribute_hidden.
28981 (_libc_vdso_platform_setup): Remove initialization of
28982 __vdso_gettimeofday and __vdso_time.
28983
5c43483f
UD
289842011-08-20 Ulrich Drepper <drepper@gmail.com>
28985
775a77e7
UD
28986 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28987 and fgetc_unlocked.
28988 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28989 getc_unlocked.
89f447ed 28990
49c74ba9
UD
28991 * elf/dl-open.c (add_to_global): Report additions to the global scope
28992 for LD_DEBUG=scopes.
28993 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28994 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28995
5c43483f
UD
28996 [BZ #13114]
28997 * stdio-common/Makefile (tests): Add bug24.
28998 * stdio-common/bug24.c: New file.
28999
a101b025
AJ
290002011-08-19 Andreas Jaeger <aj@suse.de>
29001
29002 [BZ #13114]
29003 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29004 non-existant file when using close-on-exec mode.
29005
c88f1766
UD
290062011-08-20 Ulrich Drepper <drepper@gmail.com>
29007
0276a718
UD
29008 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29009 the very first instruction.
29010
c88f1766
UD
29011 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29012 the CFI state in the end.
29013 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29014 inclusion of dl-trampoline.h.
29015 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29016
51ccffa0
AS
290172011-08-19 Andreas Schwab <schwab@redhat.com>
29018
94d7165f
AS
29019 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29020 expectations for long double.
29021
51ccffa0
AS
29022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29023 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29024
fd708658 290252011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29026
29027 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29028 artificual limit depends upon the system page size.
29029
44f0a71e
UD
290302011-08-17 Ulrich Drepper <drepper@gmail.com>
29031
29032 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29033 * resolv/Makefile: Define CFLAGS-libresolv.
29034
8de79a24
AS
290352011-08-17 Andreas Schwab <schwab@redhat.com>
29036
29037 * nss/makedb.c (compute_tables): Make variables used in nested
29038 function static.
29039
27724598
UD
290402011-08-17 Ulrich Drepper <drepper@gmail.com>
29041
c5305d88
UD
29042 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29043 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29044 if buffer was too small.
29045
27724598
UD
29046 * elf/pldd.c (main): Attach to all threads in the process.
29047 Rewrite /proc handling to use *at functions.
29048
076fe015
UD
290492011-08-16 Ulrich Drepper <drepper@gmail.com>
29050
174baab3
UD
29051 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29052 specifies first scope to show.
29053 (dl_open_worker): Update callers. Move printing scope of new
29054 object to before the relocation.
44f0a71e 29055 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29056 * sysdeps/generic/ldsodefs.h: Update declaration.
29057
076fe015
UD
29058 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29059 string for the scope number.
29060
a60df2c3
UD
290612011-08-14 Ulrich Drepper <drepper@gmail.com>
29062
29063 * nscd/servicescache.c (cache_addserv): Make sure written is always
29064 initialized.
29065
5e4287d1
RM
290662011-08-14 Roland McGrath <roland@hack.frob.com>
29067
85ae0589
RM
29068 * sysdeps/i386/i486/bits/atomic.h
29069 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29070 statement expression, so as to suppress "set but not used" warning.
29071 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29072
69f63097
RM
29073 * string/strncat.c (STRNCAT): Use prototype definition.
29074
675456ef
RM
29075 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29076 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29077 -Iprograms here.
29078 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29079 (localedef-modules): Add localedef.
29080 (locale-modules): Add locale.
29081
5e4287d1
RM
29082 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29083 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29084 to avoid a warning.
29085
9c96ff23
DM
290862011-08-14 David S. Miller <davem@davemloft.net>
29087
29088 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29089 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29090
f9ddf089
UD
290912011-08-13 Ulrich Drepper <drepper@gmail.com>
29092
44f0a71e 29093 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29094 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29095 * elf/rtld.c (dl_main): Set l_name of vDSO.
29096 Call _dl_show_scope when DL_DEBUG_SCOPES.
29097 (process_dl_debug): Recognize scopes flag and also set it for all.
29098 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29099 Declare _dl_show_scope.
29100
1dc27704
UD
29101 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29102 (do_dlopen): Pass caller_dlopen to dl_open.
29103 (__libc_dlopen_mode): Initialize caller_dlopen.
29104
f9ddf089
UD
29105 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29106 of libc. Make tolower call locale-independent. Optimize a bit by
29107 using isdigit instead of isalnum.
29108 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29109
9ac533d3
UD
291102011-08-12 Ulrich Drepper <drepper@gmail.com>
29111
29112 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29113 was a dependency or dynamically loaded.
29114
89edf2e9
UD
291152011-08-11 Ulrich Drepper <drepper@gmail.com>
29116
8e999d29
UD
29117 * intl/l10nflist.c: Allow architecture-specific pop function.
29118 * sysdeps/x86_64/l10nflist.c: New file.
29119
89edf2e9
UD
29120 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29121 classification.
29122
14d96785
AS
291232011-08-10 Andreas Schwab <schwab@redhat.com>
29124
29125 * include/dirent.h: Add libc_hidden_proto for scandirat and
29126 scandirat64. Don't declare __scandirat64.
29127 * dirent/scandirat.c: Add libc_hidden_def.
29128 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29129 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29130
6761ac04
DM
291312011-08-10 David S. Miller <davem@davemloft.net>
29132
29133 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29134 enum.
29135 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29136 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29137 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29138
c55fbd1e
UD
291392011-08-09 Ulrich Drepper <drepper@gmail.com>
29140
29141 * Versions.def [libc]: Add GLIBC_2.15.
29142 * dirent/Makefile (routines): Add scandirat and scandirat64.
29143 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29144 GLIBC_2.15.
29145 * dirent/dirent.h: Declare scandirat and scandirat64.
29146 * dirent/scandirat.c: New file.
29147 * dirent/scandirat64.c: New file.
29148 * sysdeps/wordsize-64/scandirat.c: New file.
29149 * sysdeps/wordsize-64/scandirat64.c: New file.
29150 * dirent/opendir.c: Define opendirat.
29151 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29152 using scandirat.
29153 * dirent/scandir64.c: Adjust for scandir.c change.
29154 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29155 __scandirat64, and __scandir_cancel_handler.
29156 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29157 additional parameter and use openat instead of open (outside of ld.so).
29158 Add new __opendir as wrapper around __opendirat.
29159 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29160 here without requiring old scandirat implementation.
29161
879165f2
UD
291622011-08-08 Ulrich Drepper <drepper@gmail.com>
29163
29164 * dirent/scandir.c (cancel_handler): Renamed to
29165 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29166 defined. Adjust users.
29167 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29168 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29169
cb7e923b
UD
291702011-08-04 Ulrich Drepper <drepper@gmail.com>
29171
16292edd
UD
29172 * string/test-string.h (IMPL): Use __STRING to expand name and then
29173 stringify it.
29174
cb7e923b
UD
29175 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29176 of cleanups.
29177
cff82933
LD
291782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29179
29180 * string/Makefile: Update.
29181 (strop-tests): Append strncat.
29182 * string/test-wcscmp.c: New file.
29183 New comprehensive test for wcscmp.
29184 * string/test-strcmp.c: Update.
29185 (WIDE): New define.
29186
9be9bfcc
AS
291872011-07-22 Andreas Schwab <schwab@redhat.com>
29188
29189 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29190 line.
29191
2e96f1c7
AS
291922011-07-26 Andreas Schwab <schwab@redhat.com>
29193
29194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29195 encoding to ACE if AI_IDN.
29196
85188888
JJ
291972011-08-01 Jakub Jelinek <jakub@redhat.com>
29198
29199 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29200 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29201
5fa16e9b
LD
292022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29203
29204 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29205 Fix overflow bug in strncat.
29206 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29207
29208 * string/test-strncat.c: Update.
29209 Add new tests for checking overflow bugs.
29210
292112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29212
29213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29214 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29215 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29216 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29217 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29218 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29219 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29220 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29221 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29222
29223 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29224 (USE_AS_STRCAT): Define.
29225 Add strcat and strncat support.
29226 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29227
8c1a459f
AS
292282011-07-25 Andreas Schwab <schwab@redhat.com>
29229
29230 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29231 __n bigger than INT_MAX+1.
29232 (__strncmp_g): Likewise.
29233
bba33c28
UD
292342011-07-23 Ulrich Drepper <drepper@gmail.com>
29235
798be72d
UD
29236 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29237 * libio/stido.h: Likewise.
29238
8accd4dc
UD
29239 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29240 (AF_NFC): Define.
29241 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29242 (AF_NFC): Define.
29243
cbff0d96
UD
29244 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29245 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29246 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29247 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29248 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29249
9191c04a
UD
29250 [BZ #13021]
29251 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29252 installed.
29253
bba33c28
UD
29254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29255 typo.
29256 (_dl_x86_64_save_sse): Likewise.
29257
90f139dd
UD
292582011-07-22 Ulrich Drepper <drepper@gmail.com>
29259
1aae088a
UD
29260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29261 OSXSAVE.
29262 (_dl_x86_64_save_sse): Likewise.
29263
8e2045f5
UD
29264 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29265
90f139dd
UD
29266 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29267
1d002f25
AS
292682011-07-21 Andreas Schwab <schwab@redhat.com>
29269
29270 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29271 change.
29272 (_dl_x86_64_save_sse): Use correct AVX check.
29273
21137f89
UD
292742011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29275
29276 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29277 bug in strncpy/strncat.
29278 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29279
a65c0b7a
UD
292802011-07-21 Ulrich Drepper <drepper@gmail.com>
29281
29282 * string/tester.c (test_strcat): Add tests for different alignments
29283 of source and destination.
29284 (test_strncat): Likewise.
29285
6986b98a
UD
292862011-07-20 Ulrich Drepper <drepper@gmail.com>
29287
90bb2039
UD
29288 [BZ #12852]
29289 * posix/glob.c (glob): Check passed in values before using them in
29290 expressions to avoid some overflows.
29291 (glob_in_dir): Likewise.
29292
5644ef54
UD
29293 [BZ #13007]
29294 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29295 check for AVX enablement so that we don't crash with old kernels and
29296 new hardware.
29297 * elf/tst-audit4.c: Add same checks here.
29298 * elf/tst-audit6.c: Likewise.
29299
29300 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29301
bfc9dc9b
AS
293022011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29303
29304 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29305
702e64bb
UD
293062011-07-20 Ulrich Drepper <drepper@gmail.com>
29307
29308 * po/cs.po: Update from translation team.
29309 * po/bg.po: Likewise.
29310
295e904f
MP
293112011-07-12 Marek Polacek <mpolacek@redhat.com>
29312
29313 * misc/sys/cdefs.h: Add support for const attribute.
29314 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29315 to gnu_dev_{major,minor,makedev} functions.
29316
3ff94596
MP
293172011-07-20 Marek Polacek <mpolacek@redhat.com>
29318
29319 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29320
28b59fca
AS
293212011-07-20 Andreas Schwab <schwab@redhat.com>
29322
29323 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29324 strlen results.
29325
19df733e
AK
293262011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29327
29328 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29329 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29330 register in order to avoid conflicts with the soft frame pointer
29331 being held in r11 when necessary.
29332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29333 (INTERNAL_VSYSCALL_NCS): Likewise.
29334
c8835729
MP
293352011-07-14 Marek Polacek <mpolacek@redhat.com>
29336
29337 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29338 * elf/dl-fini.c (_dl_fini): Adjust caller.
29339 * elf/dl-close.c (_dl_close_worker): Likewise.
29340 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29341
b902330c
MP
293422011-07-15 Marek Polacek <mpolacek@redhat.com>
29343
8991e135
MP
29344 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29345 "aux_cache->nlibs < 0".
29346
b902330c
MP
29347 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29348 in the reload-count case.
29349
99710781
LD
293502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29351
29352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29353 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29354 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29355 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29356 * sysdeps/x86_64/multiarch/strcat.S: New file.
29357 * sysdeps/x86_64/multiarch/strncat.S: New file.
29358 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29359 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29360 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29361 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29362 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29363 (USE_AS_STRCAT): Define.
29364 Add strcat and strncat support.
29365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29366 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29367 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29368 * string/strncat.c: Update.
29369 (USE_AS_STRNCAT): Define.
29370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29371 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29372 and i7.
29373 * sysdeps/x86_64/multiarch/init-arch.h
29374 (bit_Prefer_PMINUB_for_stringop): New.
29375 (index_Prefer_PMINUB_for_stringop): Likewise.
29376 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29377 bit_Prefer_PMINUB_for_stringop.
29378
7dc6bd90
UD
293792011-07-19 Ulrich Drepper <drepper@gmail.com>
29380
29381 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29382 buffer64.
29383 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29384 of casting of buffer.
29385 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29386 buffer32 and buffer64.
29387 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29388 writes instead of casting of buffer.
29389 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29390 buffer32.
29391 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29392 casting of buffer.
29393
e0e72284
AS
293942011-07-19 Andreas Schwab <schwab@redhat.com>
29395
29396 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29397
feb1eb0b
UD
293982011-07-19 Ulrich Drepper <drepper@gmail.com>
29399
29400 * nscd/nscd.c (termination_handler): Don't do anything for a database
29401 if it has not yet been initialized.
29402
298711ff
UD
294032011-07-18 Ulrich Drepper <drepper@gmail.com>
29404
29405 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29406
294072011-07-15 Marek Polacek <mpolacek@redhat.com>
29408
29409 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29410
f9d68389
UD
294112011-07-18 Ulrich Drepper <drepper@gmail.com>
29412
29413 * po/nl.po: Update from translation team.
29414 * po/sv.po: Likewise.
29415
db290cf5
RM
294162011-07-16 Roland McGrath <roland@hack.frob.com>
29417
29418 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29419 now disallowed by GCC.
5c550700 29420
fd5e21c7
RM
29421 * configure.in (use-default-link): Default to yes if a test -shared
29422 link meets our qualifications.
29423 * configure: Regenerated.
29424
5c550700
RM
29425 * config.make.in (output-format): New variable.
29426 * configure.in: Check for ld --print-output-format support.
29427 * configure: Regenerated.
29428 * Makerules ($(common-objpfx)format.lds)
29429 [$(output-format) != unknown]: Just use $(output-format),
29430 instead of the linker-script munging.
29431
9fa2c032
RM
294322011-07-14 Roland McGrath <roland@hack.frob.com>
29433
a6928d51
RM
29434 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29435 of $(common-objpfx)shlib.lds.
29436 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29437
661607b3
RM
29438 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29439 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29440
9fa2c032
RM
29441 * configure.in (-z relro check): Adjust test code to add a large
29442 writable data section after it.
29443 * configure: Regenerated.
29444
defe9061
RM
294452011-07-11 Roland McGrath <roland@hack.frob.com>
29446
29447 * configure.in (-z relro check): Fix test code to make the variable
29448 truly const.
29449 * configure: Regenerated.
29450
319b9ad4
UD
294512011-07-11 Ulrich Drepper <drepper@gmail.com>
29452
29453 * nscd/nscd.h (struct traced_file): Define.
29454 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29455 elements. Add traced_files.
29456 (inotify_fd): Declare.
29457 (register_traced_file): Declare.
29458 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29459 (inotify_fd): Export.
29460 (resolv_conf_descr): Remove.
29461 (nscd_init): Move inotify descriptor creation to main.
29462 Don't register files for notification here.
29463 (register_traced_file): New function.
29464 (invalidate_cache): Don't use reset_res to determine whether to call
29465 res_init, go through the list of registered files.
29466 (main_loop_poll): The inotify descriptors are now stored in the
29467 structures for the traced files.
29468 (main_loop_epoll): Likewise
29469 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29470 to __nss_disable_nscd.
29471 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29472 for a database anymore. Check the records for all the registered
29473 files instead.
29474 * nss/Makefile (libnss_files-routines): Add files-init.
29475 (libnss_db-routines): Add db-init.
29476 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29477 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29478 * nss/nss_db/db-init.c: New file.
29479 * nss/nss_files/files-init.c: New file.
29480 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29481 __nss_lookup_function.
29482 (__nss_lookup_function): Call nss_load_library.
29483 (nss_load_all_libraries): New function.
29484 (__nss_disable_nscd): Take parameter with callback function for files
29485 to register. Set is_nscd. Load all the DSOs for the NSS modules
29486 used for the cached services.
29487 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29488 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29489 options for features to all the files in nscd.
29490
29491 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29492
23bee3e8
RM
294932011-07-10 Roland McGrath <roland@hack.frob.com>
29494
29495 * csu/elf-init.c (__libc_csu_init): Comment typo.
29496
46a5b7f0
UD
294972011-07-09 Ulrich Drepper <drepper@gmail.com>
29498
29499 * po/pl.po: Update from translation team.
29500 * po/ja.po: Likewise.
29501 * po/ru.po: Likewise.
29502 * po/ko.po: Likewise.
29503 * po/fr.po: Likewise.
29504
d30cf5bb
RM
295052011-07-09 Roland McGrath <roland@hack.frob.com>
29506
113ddea4
RM
29507 * configure.in (.ctors/.dtors header and trailer check):
29508 Use an empirical test on a built program.
29509 * configure: Regenerated.
29510
574920b4
RM
29511 * configure.in (-z relro check): Use an empirical test on a built DSO.
29512 Detect, but do not require, on ia64.
29513 * configure: Regenerated.
29514
d30cf5bb
RM
29515 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29516 Update tests that use readelf to use $READELF instead.
29517 * configure: Regenerated.
29518
8538fdb3
UD
295192011-07-08 Ulrich Drepper <drepper@gmail.com>
29520
29521 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29522 if the result is not used.
29523
04d08991
AJ
295242011-07-05 Andreas Jaeger <aj@suse.de>
29525
29526 [BZ#9696]
29527 * stdlib/tst-strtod.c: Add testcase.
29528
de283087
AD
295292011-07-07 Ulrich Drepper <drepper@gmail.com>
29530
4e5f31c8 29531 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29532 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29533 The latter has a higher limit. Take additional parameter to pass to
29534 the new function.
29535 (__pathconf): Pass file to __statfs_link_max.
29536 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29537 __statfs_link_max.
29538 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29539 __statfs_link_max.
29540
de283087
AD
29541 [BZ #12868]
29542 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29543 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29544 Handle Lustre.
29545 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29546 (__statfs_filesize_max): Likewise.
29547 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29548
c75fa153
AJ
295492011-07-05 Andreas Jaeger <aj@suse.de>
29550
29551 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29552
1a544854
UD
295532011-07-06 Marek Polacek <mpolacek@redhat.com>
29554
29555 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29556 `status' variable.
29557 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29558 Likewise.
29559
6f0eec67
UD
295602011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29561
29562 * Makefile (strop-tests): Add strncat.
29563 * string/test-strncat.c: New file.
29564
aae30307
UD
295652011-06-30 Marek Polacek <mpolacek@redhat.com>
29566
29567 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29568
c0cfb5eb
UD
295692011-06-21 Andreas Jaeger <aj@suse.de>
29570
29571 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29572 Copy rule from iconvdata/Makefile.
29573
01636b21
UD
295742011-07-06 Ulrich Drepper <drepper@gmail.com>
29575
29576 [BZ #12922]
29577 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29578 but no long options are defined, just return 'W'.
29579
9895c8bc
UD
295802011-06-22 Marek Polacek <mpolacek@redhat.com>
29581
29582 [BZ #9696]
29583 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29584
5d4cf042
UD
295852011-07-06 Ulrich Drepper <drepper@gmail.com>
29586
29587 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29588 netgroups to read.
960e5535 29589 (innetgr): Likewise.
5d4cf042 29590
751eb97e
RM
295912011-07-05 Roland McGrath <roland@hack.frob.com>
29592
29593 * config.make.in (install_root): Default to $(DESTDIR).
29594
f15f1e45
UD
295952011-07-05 Ulrich Drepper <drepper@gmail.com>
29596
29597 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29598
4e34ac6a
RM
295992011-07-02 Roland McGrath <roland@hack.frob.com>
29600
5e9b6af4
RM
29601 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29602
84f9ea0f
RM
29603 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29604 containing directory rather than embedding absolute directory names.
29605
ea5ee9f7
RM
29606 * scripts/check-local-headers.sh: Rewritten using awk.
29607 Match by word, not by line. Print error messages for matches.
29608 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29609
1b74661a
RM
29610 * Makerules [shlib-lds-flags empty]:
29611 ($(common-objpfx)libc_pic.opts): New target.
29612 ($(common-objpfx)libc_pic.os.clean): New target.
29613 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29614
29615 * config.make.in (OBJCOPY): New variable.
29616 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29617 * configure: Regenerated.
29618
f781ef40
RM
29619 * config.make.in (use-default-link): New variable.
29620 * configure.in (use_default_link): Grok --with-default-link to set it.
29621 * configure: Regenerated.
29622 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29623 (shlib-lds, shlib-lds-flags): Define to empty.
29624
2d4fa81e
RM
29625 * Makerules (shlib-lds): New variable.
29626 (shlib-lds-flags): New variable.
29627 (build-shlib, build-moduile, build-module-asneeded): Use it.
29628 ($(common-objpfx)libc.so): Use $(shlib-lds).
29629 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29630 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29631
31fffa6b
RM
29632 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29633 DT_FLAGS/DT_FLAGS_1 with zero flags.
29634
4e34ac6a
RM
29635 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29636 linker script munging.
29637
fcfc776b
UD
296382011-07-02 Ulrich Drepper <drepper@gmail.com>
29639
29640 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29641 as 128-bit value.
29642 * crypt/sha512.c (sha512_process_block): Perform total addition using
29643 128-bit if possible.
29644 (__sha512_finish_ctx): Likewise.
29645 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29646 as 64-bit value.
29647 * crypt/sha256.c (SWAP64): Define.
29648 (sha256_process_block): Perform total addition using 64-bit if
29649 possible.
29650 (__sha256_finish_ctx): Likewise.
29651
99231d9a
UD
296522011-07-01 Ulrich Drepper <drepper@gmail.com>
29653
29654 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29655 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29656 * nscd/hstcache.c (cache_addhst): Likewise.
29657 * nscd/grpcache.c (cache_addgr): Likewise.
29658 * nscd/aicache.c (addhstaiX): Likewise
29659 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29660
445b4a53
TK
296612011-07-01 Thorsten Kukuk <kukuk@suse.de>
29662
29663 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29664 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29665 * nscd/hstcache.c (cache_addhst): Likewise.
29666 * nscd/grpcache.c (cache_addgr): Likewise.
29667 * nscd/aicache.c (addhstaiX): Likewise
29668
6d4d8e8e
AS
296692011-07-01 Andreas Schwab <schwab@redhat.com>
29670
29671 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29672 domain only when needed.
29673
89f654c5
AS
296742011-06-30 Andreas Schwab <schwab@redhat.com>
29675
29676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29677 is always restored.
29678
cf3b23ff
UD
296792011-06-29 Ulrich Drepper <drepper@gmail.com>
29680
29681 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29682 are re-adding the entry.
29683 * nscd/servicescache.c (cache_addserv): Likewise.
29684
751626f9
AJ
296852011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29686
29687 * sysdeps/generic/dl-irel.h: fix protection against multiple
29688 inclusions.
29689 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29690
9113ea1f
UD
296912011-06-28 Ulrich Drepper <drepper@gmail.com>
29692
5c0b8d90
UD
29693 [BZ #12935]
29694 * malloc/memusage.sh: Fix quoting in message.
29695 * debug/xtrace.sh: Likewise.
29696
9113ea1f
UD
29697 * configure.in: Remove support for --experimental-malloc option, make
29698 it the default.
29699 * config.make.in: Likewise.
29700 * malloc/Makefile: Likewise.
29701
a4172181
AS
297022011-06-27 Andreas Schwab <schwab@redhat.com>
29703
29704 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29705 two-byte characters.
29706
78a7eee7
RM
297072011-06-27 Roland McGrath <roland@hack.frob.com>
29708
62bede13
RM
29709 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29710 AC_CACHE_CHECK invocation.
29711 * configure: Regenerated.
29712
78a7eee7
RM
29713 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29714
5ce33a62
UD
297152011-06-27 Ulrich Drepper <drepper@gmail.com>
29716
034807a9
UD
29717 [BZ #12350]
29718 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29719 bit from old_res_options.
29720
4902da17
UD
29721 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29722
5ce33a62
UD
29723 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29724 value type for setfct.
29725
c2344f56
L
297262011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29727
29728 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29729 __gettimeofday instead of gettimeofday.
29730
68468076
UD
297312011-06-26 Ulrich Drepper <drepper@gmail.com>
29732
29733 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29734
acb0d739
L
297352011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29736
29737 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29738
29739 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29740 info.
29741
8912479f
L
297422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29743
29744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29745 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29746 strcpy-sse2-unaligned strncpy-sse2-unaligned
29747 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29748 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29749 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29750 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29751 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29752 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29754 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29755 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29756 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29757 (STRCPY): Support SSE2 and SSSE3 versions.
29758
d5495a11
UD
297592011-06-24 Ulrich Drepper <drepper@gmail.com>
29760
29761 [BZ #12874]
29762 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29763 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29764 kernels which artificially limit size of requests.
29765
0b1cbaae
L
297662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29767
29768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29769 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29770 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29771 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29772 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29773 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29774 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29775 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29776 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29777 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29778 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29779 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29780 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29781 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29782 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29784 Enable unaligned load optimization for Intel Core i3, i5 and i7
29785 processors.
29786 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29787 Define.
29788 (index_Fast_Unaligned_Load): Define.
29789 (HAS_FAST_UNALIGNED_LOAD): Define.
29790
07f494a0
MP
297912011-06-23 Marek Polacek <mpolacek@redhat.com>
29792
29793 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29794
fa3fc0fe
UD
297952011-06-22 Ulrich Drepper <drepper@gmail.com>
29796
29797 [BZ #12907]
29798 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29799 until it is clear that the information is realy needed.
29800 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29801
e12df166
AS
298022011-06-22 Andreas Schwab <schwab@redhat.com>
29803
29804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29805
852eb34d
UD
298062011-06-22 Ulrich Drepper <drepper@gmail.com>
29807
84e2a551
UD
29808 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29809 /sys/devices/system/cpu/online if it is usable.
29810
852eb34d
UD
29811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29812 reading the information from the /proc filesystem to once a second.
29813
6e502e19
UD
298142011-06-21 Andreas Jaeger <aj@suse.de>
29815
29816 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29817 NULL after inclusion of kernel headers.
29818
75d39ff2
UD
298192011-06-21 Ulrich Drepper <drepper@gmail.com>
29820
51f9aa6a
UD
29821 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29822 calls to internal_setent.
29823
c0244a9d
UD
29824 [BZ #12885]
29825 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29826 addresses using gethostbyname4_r ignore IPv4 addresses.
29827
c5e3c2ae
UD
29828 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29829 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29830
75d39ff2
UD
29831 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29832
42675c6f
DM
298332011-06-20 David S. Miller <davem@davemloft.net>
29834
29835 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29836 inclusions.
29837 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29838
29839 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29840 (elf_irel): Use it.
29841 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29842 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29843 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29844 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29845 * sysdeps/x86_64/dl-irel.h: Likewise.
29846
29847 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29848 * elf/dl-sym.c: Likewise.
29849
57912a71
UD
298502011-06-15 Ulrich Drepper <drepper@gmail.com>
29851
29852 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29853 need to dereference resplen2.
29854
ee22793d
AS
298552011-06-14 Andreas Schwab <schwab@redhat.com>
29856
29857 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29858
a9e836b0
UD
298592011-06-15 Ulrich Drepper <drepper@gmail.com>
29860
77fb9117
UD
29861 * Makeconfig: Define vardbdir and inst_vardbdir.
29862 * nss/Makefile: Add rules to install db-Makefile.
29863
40c1b22c
UD
29864 * nss/nss_db/db-XXX.c: Cleanup.
29865
9f2da732
UD
29866 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29867 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29868 GLIBC_PRIVATE.
29869 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29870 * nss/makedb.c: Implement -g option to specify that value strings
29871 are generated and should not be added to table iterated over for
29872 get*ent calls.
29873 * nss/nss_db/db-initgroups.c: New file.
29874
82e9a1f7
UD
29875 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29876 interface.
29877
c41af17e
UD
29878 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29879 (internal_getgrouplist): Adjust to name change.
29880 Update use_initgroups_entry if this is not the first call.
29881 * nss/databases.def: Add initgroups entry.
29882
a9e836b0
UD
29883 * nss/makedb.c (compute_tables): Check result of multiple hash table
29884 sizes to minimize maximum chain length.
29885
2666d441
UD
298862011-06-14 Ulrich Drepper <drepper@gmail.com>
29887
29888 * Versions.def: Add entry for libnss_db.
29889 * shlib-versions: Likewise.
29890 * nss/Makefile: Add rules to build libnss_db.
29891 * nss/Versions: Add libnss_db information. Organize libnss_files
29892 entries better.
29893 * nss/db-Makefile: Add gshadow support. Change rules for the new
29894 makedb progra. Some minor improvements to generate smaller files.
29895 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29896 here from...
29897 * nss/makedb.c: ...here.
29898 Improve database format to be smaller and require less memory at
29899 runtime.
29900 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29901 db anymore.
29902 * nss/nss_db/db-netgrp.c: Likewise.
29903 * nss/nss_db/db-open.c: Likewise.
29904 * nss/nss_files/flies-XXX.x: Adjust comments.
29905 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29906 * nss/nss_files/files-grp.c: Likewise.
29907 * nss/nss_files/files-hosts.c: Likewise.
29908 * nss/nss_files/files-network.c: Likewise.
29909 * nss/nss_files/files-proto.c: Likewise.
29910 * nss/nss_files/files-pwd.c: Likewise.
29911 * nss/nss_files/files-rpc.c: Likewise.
29912 * nss/nss_files/files-service.c: Likewise.
29913 * nss/nss_files/files-sgrp.c: Likewise.
29914 * nss/nss_files/files-spwd.c: Likewise.
29915 * nss/nss_db/db-alias.c: Removed.
29916 * nss/nss_db/dummy-db.h: Removed.
29917
9ee76b5a
UD
299182011-06-02 Ulrich Drepper <drepper@gmail.com>
29919
29920 * nss/makedb.c: Rewritten to not use database library.
29921 * nss/Makefile: Update to build new makedb program.
29922
c71ca1f8
AJ
299232011-06-14 Andreas Jaeger <aj@suse.de>
29924
29925 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29926 memset declaration.
29927
3154bfb8
UD
299282011-06-10 Andreas Schwab <schwab@redhat.com>
29929
29930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29931 tmpbuf.
29932
b350afab
RM
299332011-06-10 Roland McGrath <roland@hack.frob.com>
29934
decd4e50
RM
29935 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29936 * elf/Makefile ($(objpfx)ld.so): Likewise.
29937
5615eaf2
RM
29938 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29939 Don't list ld.so twice in dependencies.
29940
29941 * posix/bug-regex31.c: Include <stdlib.h>.
29942
29943 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29944
29945 * nis/nss_compat/compat-spwd.c
29946 (getspent_next_nss_netgr): Remove unused variable.
29947 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29948
29949 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29950 nonmembers" output to use the right array.
29951
29952 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29953
29954 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29955
29956 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29957 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29958 * catgets/gencat.c (read_input_file): Likewise.
29959 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29960
29961 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29962 variable definition inside #if's controlling its use.
29963
29964 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29965
29966 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29967
29968 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29969
29970 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29971 unreachable code.
29972
29973 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29974
b68e08db
RM
29975 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29976 * configure: Regenerated.
29977
b350afab
RM
29978 * Makerules: Revert last change.
29979 * elf/Makefile: Likewise.
29980
28368601
RM
299812011-06-09 Roland McGrath <roland@hack.frob.com>
29982
29983 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29984 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29985 (reloc-link): Likewise.
29986
11988f8f
UD
299872011-06-09 Ulrich Drepper <drepper@gmail.com>
29988
29989 * elf/Makefile: Add rules to build pldd.
29990 * elf/pldd.c: New file.
29991 * elf/pldd-xx.c: New file.
29992
e80fab37
UD
299932011-06-07 Ulrich Drepper <drepper@gmail.com>
29994
29995 * version.h: Update for 2.15 development version.
29996
9b849836
DM
299972011-06-07 David S. Miller <davem@davemloft.net>
29998
29999 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30000 ifuncs.
30001 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30002 elf_machine_lazy_rel): Likewise.
30003 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30005 elf_machine_lazy_rel): Likewise.
30006 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30007 dl_hwcap via passed in argument.
30008 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30009 Likewise.
30010
5a31b283
AK
300112011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30012
30013 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30014
069e52f8
RM
300152011-06-06 Roland McGrath <roland@hack.frob.com>
30016
30017 [BZ #12849]
30018 * manual/fdl-1.1.texi: New file, verbatim from:
30019 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30020 * manual/lgpl-2.1.texi: New file, verbatim from:
30021 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30022 * manual/Makefile (licenses): New variable, list those new file names.
30023 (texis): Use it.
30024 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30025
30026 * manual/fdl.texi: File removed.
30027 * manual/lesser.texi: File removed.
30028 * manual/libc.texinfo (Copying, Documentation License):
30029 Use new @include file names, put @appendix directive before @include.
30030
f16846a5
JJ
300312011-06-04 Jakub Jelinek <jakub@redhat.com>
30032
30033 [BZ #12841]
30034 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30035 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30036 (mq_open): Add __NTH.
30037
3d29045b
L
300382011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30039
30040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30041 Assume Intel Core i3/i5/i7 processor if AVX is available.
30042
8c297311
UD
300432011-05-31 Ulrich Drepper <drepper@gmail.com>
30044
30045 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30046 typo.
30047
c8fc0c91
UD
300482011-05-31 Andreas Schwab <schwab@redhat.com>
30049
30050 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30051 memory. Use alloca_account. Fix memory leak when retrying.
30052
5b27a807
UD
300532011-05-31 Ulrich Drepper <drepper@gmail.com>
30054
356f8bc6
UD
30055 * version.h (RELEASE): Bump for 2.14 release.
30056 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30057
5b27a807
UD
30058 * config.make.in (RANLIB): Remove entry.
30059
01f16ab0
UD
300602011-05-30 Ulrich Drepper <drepper@gmail.com>
30061
41fce8bd
UD
30062 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30063 (libc.pot): Work around missing support for .ksh extension in xgettext.
30064
4769ae77
UD
30065 [BZ #12684]
30066 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30067 if both request failed.
30068 (send_dg): In case of server errors clear resplen or *resplen2.
30069
6b1e7d19
UD
30070 [BZ #12454]
30071 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30072 when there are multiple maps.
30073 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30074 (_dl_fini): Remove test here.
30075
01f16ab0
UD
30076 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30077
b1ebd700
UD
300782011-05-29 Ulrich Drepper <drepper@gmail.com>
30079
7ae22829
UD
30080 [BZ #12350]
30081 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30082 bit from old_res_options.
30083 (gaih_inet): Likewise.
30084
553149f6 30085 [BZ #11099]
18a84741 30086 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30087 as signed.
30088
652ffab1
UD
30089 * resolv/res_init.c (res_setoptions): Make the code more compact.
30090
16985fd0
UD
30091 [BZ #11558]
30092 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30093 set RES_USEVC.
30094
0464f746
UD
30095 [BZ #11634]
30096 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30097
7d17596c
UD
30098 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30099
cf6bbbd7
UD
30100 [BZ #11781]
30101 * malloc/malloc.h: Declare malloc hook variables as volatile.
30102
13f1ab36
UD
30103 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30104 in last patch.
30105
b1ebd700
UD
30106 [BZ #11799]
30107 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30108 raise in the comment.
80e2212d
UD
30109 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30110 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30111 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30112
ce67228d
UD
301132011-05-28 Ulrich Drepper <drepper@gmail.com>
30114
8887a920
UD
30115 [BZ #12811]
30116 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30117 grow the buffers more if it already has to be sufficient.
30118 (build_wcs_upper_buffer): Likewise.
30119 * posix/regexec.c (check_matching): Likewise.
30120 (clean_state_log_if_needed): Likewise.
30121 (extend_buffers): Don't enlarge buffers beyond size of the input
30122 buffer.
30123 Patches mostly by Emil Wojak <emil@wojak.eu>.
30124 * posix/bug-regex32.c: New file.
30125 * posix/Makefile (tests): Add bug-regex32.
30126
4f031072
UD
30127 * locale/findlocale.c (_nl_find_locale): Return right away if
30128 _nl_explode_name failed.
30129 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30130
d0478f0c
UD
30131 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30132
de81b246
UD
30133 * debug/xtrace.sh: Unify messages.
30134 * malloc/memusage.sh: Likewise.
30135
c738465a
UD
30136 [BZ #12813]
30137 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30138 time symbol from vDSO. Substitute with vsyscall if not available.
30139 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30140 __vdso_time.
30141
f1f929d7
UD
30142 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30143 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30144 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30145 Add sendmmsg and internal_sendmmsg.
30146 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30147 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30148 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30149
ce67228d
UD
30150 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30151 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30152 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30153
e57420c6
UD
301542011-05-27 Ulrich Drepper <drepper@gmail.com>
30155
a8509ca5
UD
30156 [BZ #12813]
30157 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30158 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30159 available.
30160 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30161 __vdso_getcpu.
30162
e57420c6
UD
30163 [BZ #12814]
30164 * iconvdata/Makefile (tests): Add bug-iconv9.
30165 * iconvdata/bug-iconv9.c: New file.
30166
4d07db15
AS
301672011-05-27 Andreas Schwab <schwab@redhat.com>
30168
30169 [BZ #12814]
30170 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30171
ea486f69
JJ
301722011-05-25 Jakub Jelinek <jakub@redhat.com>
30173
30174 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30175 (struct user_regs_struct): Change intcs field back to cs.
30176
6f038433
UD
301772011-05-25 Ulrich Drepper <drepper@gmail.com>
30178
30179 * po/ja.po: Update from translation team.
30180
67f86a25
UD
301812011-05-23 Ulrich Drepper <drepper@gmail.com>
30182
30183 [BZ #12795]
30184 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30185 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30186
def7fbd6
AS
301872011-05-20 Andreas Schwab <schwab@redhat.com>
30188
30189 * stdlib/longlong.h: Update from GCC.
30190
f50ef8f1
AS
301912011-05-23 Andreas Schwab <schwab@redhat.com>
30192
30193 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30194 parameter name.
30195 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30196 Add parameter name.
30197 (__sysconf): Pass it down.
30198
de7ce8f1
UD
301992011-05-22 Ulrich Drepper <drepper@gmail.com>
30200
f2962a71
UD
30201 [BZ #12671]
30202 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30203 some situations.
30204 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30205 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30206 add in in __libc_use_alloca calls. Adjust callers.
30207 (glob): Use malloc in some situations.
30208
de7ce8f1
UD
30209 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30210 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30211 pltexit.
30212
aec84f53
UD
302132011-05-21 Ulrich Drepper <drepper@gmail.com>
30214
05bb4a68
UD
30215 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30216 and CLOCK_BOOTTIME_ALARM.
30217
7ea72f99
UD
30218 [BZ #12782]
30219 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30220 is returned.
30221
7e4afad5
UD
30222 * string/_strerror.c (__strerror_r): Print negative errors as signed
30223 numbers.
30224
8e211fec
UD
30225 [BZ #12777]
30226 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30227 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30228 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30229
f7d82dc9
UD
30230 * configure.in: Fix typo in redirection and correct removal of test
30231 files in two cases.
30232
cc9e536d
UD
30233 [BZ #12788]
30234 * locale/setlocale.c (new_composite_name): Fix test to check for
30235 identical name of all categories.
30236
aec84f53
UD
30237 [BZ #12792]
30238 * libio/filedoalloc.c (local_isatty): New function.
30239 (_IO_file_doallocate): Use local_isatty.
30240 * stdio-common/perror.c (perror): In case a new stream is used
30241 forward the stream error.
30242 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30243 error flag.
30244
78e64fdc
RT
302452011-05-20 Ulrich Drepper <drepper@gmail.com>
30246
34a9094f
UD
30247 [BZ #11869]
30248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30249 alloca.
30250 * include/alloca.h (extend_alloca_account): Define.
30251
78e64fdc
RT
30252 [BZ #11857]
30253 * posix/regex.h: Fix comments with documentation of user-accessible
30254 fields after compilation and describe correct free'ing of pattern
30255 after re_compile_pattern.
30256 Patch by Reuben Thomas <rrt@sc3d.org>.
30257
457bddfc
RA
302582011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30259
30260 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30261 and -mno-altivec to prevent the compiler from using Altivec and/or
30262 VSX instructions when the corresponding registers are not available.
30263
a4527b51
AS
302642011-05-19 Andreas Schwab <schwab@redhat.com>
30265
30266 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30267
ed690b2f
UD
302682011-05-19 Ulrich Drepper <drepper@gmail.com>
30269
30270 * libio/freopen.c (freopen): Use __dup2, not dup2.
30271 * libio/freopen64.c (freopen64): Likewise.
30272
8db73634
L
302732011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30274
30275 [BZ #12775]
30276 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30277 * math/Makefile (tests): Add test-powl.
30278 (CFLAGS-test-powl.c): Define.
30279 * math/test-powl.c: New file.
30280
0a197a9d
L
302812011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30282
30283 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30284
ee30c380
UD
302852011-05-17 Ulrich Drepper <drepper@gmail.com>
30286
30287 [BZ #11837]
30288 * iconvdata/gb18030.c: Update to GB18020-2005.
30289
6ce75379
UD
302902011-05-16 Ulrich Drepper <drepper@gmail.com>
30291
a4b89fd8
AR
30292 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30293 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30294 Patch by Aharon Robbins <arnold@skeeve.com>.
30295
ea389b12
UD
30296 [BZ #11892]
30297 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30298 on the stack.
30299
68a3f91f
UD
30300 [BZ #11895]
30301 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30302 through underflows.
30303
15cc7dd1
UD
30304 [BZ #12766]
30305 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30306 point to strings before performing equality test for error_one_per_line
30307 mode.
30308
f3799213
UD
30309 [BZ #11697]
30310 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30311
d79a9c94
UD
30312 [BZ #11820]
30313 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30314 (struct user_fpregs_struct): Avoid __uint*_t types.
30315
56e5eb46
UD
30316 [BZ #6420]
30317 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30318 symbol info. Use it instead of calling _dl_addr locally.
30319 (lock_and_info): New function.
30320 (tr_freehook): Call lock_and_info and pass symbol info as additional
30321 parameter to tr_where.
30322 (tr_mallochook): Likewise.
30323 (tr_reallochook): Likewise.
30324 (tr_memalignhook): Likewise.
30325
6ce75379
UD
30326 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30327 used and couldn't be at all thread-safe.
30328
f8a3b5bf
UD
303292011-05-15 Ulrich Drepper <drepper@gmail.com>
30330
94b7cc37
UD
30331 * libio/freopen.c (freopen): Don't close old file descriptor
30332 before the new one is opened. Instead dup the new file descriptor
30333 to the old one after the new stream is created.
30334 * libio/freopen64.c (freopen64): Likewise.
30335 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30336 * libio/fileops.c (_IO_new_file_close_it): Handle new
30337 _IO_FLAGS2_NOCLOSE flag.
30338 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30339 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30340 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30341 _IO_FLAGS2_NOCLOSE flag.
30342 * include/unistd.h: Add hidden_proto for dup3.
30343 Define __have_dup3.
30344 * io/dup3.c: Define hidden symbol.
30345 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30346
bd25564e
UD
30347 [BZ #7101]
30348 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30349 when an incomplete long option is used.
30350 * posix/tst-getopt_long1.c: New file.
30351 * posix/Makefile (tests): Add tst-getopt_long1.
30352
c84cfef4
UD
30353 [BZ #10138]
30354 * scripts/config.guess: Update from autoconf-2.68.
30355 * scripts/config.sub: Likewise.
30356
3b85df27
UD
30357 [BZ #10157]
30358 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30359 tests into ...
30360 (has_cpuclock): ...this. New function.
30361 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30362 macro here based on has_cpuclock code.
30363
15a856b1
UD
30364 [BZ #10149]
30365 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30366 First byte (not low byte) is now always NUL.
30367 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30368
05f399e6
UD
30369 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30370 Use non-cancelable interfaces.
30371
10a52685 30372 [BZ #9809]
94ecc67d
UD
30373 * locale/iso-639.def: Add entry for Sorani.
30374
f8a3b5bf
UD
30375 [BZ #11901]
30376 * include/stdlib.h: Move include protection to the right place.
30377 Define abort_msg_s. Declare __abort_msg with it.
30378 * stdlib/abort.c (__abort_msg): Adjust type.
30379 * assert/assert.c (__assert_fail_base): New function. Majority
30380 of code from __assert_fail. Allocate memory for __abort_msg with
30381 mmap.
30382 (__assert_fail): Now call __assert_fail_base.
30383 * assert/assert-perr.c: Remove bulk of implementation. Use
30384 __assert_fail_base.
30385 * include/assert.hL Declare __assert_fail_base.
30386 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30387 mmap.
30388 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30389
1af4e298
UD
303902011-05-14 Ulrich Drepper <drepper@gmail.com>
30391
f8a3b5bf 30392 [BZ #11952]
d26dfc60
MG
30393 [BZ #12453]
30394 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30395 until all modules are registered in the DTV.
30396 * elf/Makefile: Add rules to build and run tst-tls19.
30397 * elf/tst-tls19.c: New file.
30398 * elf/tst-tls19mod1.c: New file.
30399 * elf/tst-tls19mod2.c: New file.
30400 * elf/tst-tls19mod3.c: New file.
30401 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30402
2fc54d6f
UD
30403 [BZ #12083]
30404 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30405 correctly.
30406
98d76b46
UD
30407 [BZ #12601]
30408 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30409 two-byte sequence errors.
30410 * iconvdata/Makefile (tests): Add bug-iconv8.
30411 * iconvdata/bug-iconv8.c: New file.
30412
da3c19ef
UD
30413 [BZ #12626]
30414 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30415 buf2 definition.
30416
ca408c15
UD
30417 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30418
d6f67f7d
UD
30419 [BZ #12432]
30420 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30421 (dummy_getcfa): New function.
30422 (init): Get _Unwind_GetCFA address, use dummy if not found.
30423 (backtrace_helper): In recursion check, also check whether CFA changes.
30424 (__backtrace): Completely initialize arg.
30425
1af4e298 30426 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30427 storing incomplete byte sequence in state object. Avoid testing for
30428 guaranteed too small input if we know there is enough data available.
1af4e298 30429
da62f81b
AS
304302011-05-11 Andreas Schwab <schwab@redhat.com>
30431
30432 * Makeconfig (+link-pie): Indent.
30433 * Rules (binaries-pie): Define if $(have-fpie) and
30434 $(build-shared).
30435 (binaries-shared): Also filter out $(binaries-pie).
30436 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30437 * nscd/Makefile (others-pie): Add nscd.
30438 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30439 ($(objpfx)nscd): Remove command override.
30440 * login/Makefile (others-pie): Add pt_chown.
30441 ($(objpfx)pt_chown): Remove command override.
30442 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30443 remove command overrides.
30444
fcabc0f8
UD
304452011-05-13 Ulrich Drepper <drepper@gmail.com>
30446
20030ae6
UD
30447 * libio/tst_putwc.c: Fix error messages.
30448
fcabc0f8
UD
30449 [BZ #12724]
30450 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30451 currently writing and seek to current position when not.
30452 * libio/Makefile (tests): Add bug-fclose1.
30453 * libio/bug-fclose1.c: New file.
30454
320a5dc0
PB
304552011-05-12 Ulrich Drepper <drepper@gmail.com>
30456
30457 [BZ #12511]
30458 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30459 don't set DF_1_NODELETE here.
30460 (do_lookup_x): When entering new entry test for copy relocation
30461 and if necessary set DF_1_NODELETE flag.
30462 * elf/tst-unique4.cc: New file.
30463 * elf/tst-unique4.h: New file.
30464 * elf/tst-unique4lib.cc: New file.
30465 * elf/Makefile: Add rules to build and run tst-unique4.
30466 Patch by Piotr Bury <pbury@goahead.com>.
30467
22836f52
UD
304682011-05-11 Ulrich Drepper <drepper@gmail.com>
30469
f574184a
UD
30470 [BZ #12052]
30471 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30472
e1fb097f
UD
30473 [BZ #12625]
30474 * misc/mntent_r.c (addmntent): Flush the stream after the output
30475
22836f52
UD
30476 [BZ #12393]
30477 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30478 (is_trusted_path_normalize): Skip initial colon. Append slash
30479 to empty buffer. Duplicate is_trusted_path code but allow
30480 constructed patch to be prefix.
30481 (is_dst): Allow $ORIGIN followed by /.
30482 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30483 Correct testing of result of is_trusted_path_normalize
30484 (decompose_rpath): Fix warning.
30485
7b3b0b2a
UD
304862011-05-10 Ulrich Drepper <drepper@gmail.com>
30487
30488 [BZ #11257]
30489 * grp/initgroups.c (internal_getgrouplist): When we found the service
30490 list through the initgroups entry in nsswitch.conf do not always
30491 continue on a successful lookup. Don't always use the
eac80ce2 30492 __nss_group_database value if it is set.
7b3b0b2a
UD
30493 * nss/nsswitch.conf (initgroups): Change action for successful db
30494 lookup to continue for compatibility.
30495
2a81eaa5
UD
304962011-05-09 Ulrich Drepper <drepper@gmail.com>
30497
be97a69e
UD
30498 [BZ #11532]
30499 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30500 and CP774 modules.
30501 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30502 and CP774 modules.
30503 * iconvdata/tst-tables.sh: Likewise.
30504 * iconvdata/cp770.c: New file.
30505 * iconvdata/cp771.c: New file.
30506 * iconvdata/cp772.c: New file.
30507 * iconvdata/cp773.c: New file.
30508 * iconvdata/cp774.c: New file.
30509 * iconvdata/testdata/CP770: New file.
30510 * iconvdata/testdata/CP770..UTF8: New file.
30511 * iconvdata/testdata/CP771: New file.
30512 * iconvdata/testdata/CP771..UTF8: New file.
30513 * iconvdata/testdata/CP772: New file.
30514 * iconvdata/testdata/CP772..UTF8: New file.
30515 * iconvdata/testdata/CP773: New file.
30516 * iconvdata/testdata/CP773..UTF8: New file.
30517 * iconvdata/testdata/CP774: New file.
30518 * iconvdata/testdata/CP774..UTF8: New file.
30519
30520 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30521 END CHARMAP line.
30522 * iconvdata/gen-8bit-gap.sh: Likewise.
30523 * iconvdata/gen-8bit.sh: Likewise.
30524
c1e9e399
UD
30525 * locale/iso-639.def: Add ary entry.
30526
24c55fb3 30527 [BZ #11258]
96b4b1b0
UD
30528 * locale/C-translit.h.in: Add U20A1 transliteration.
30529
bdc2f971
KB
30530 [BZ #12178]
30531 * locale/iso-639.def: Add wae entry.
30532 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30533
2952b117
UD
30534 [BZ #12545]
30535 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30536 for n.
30537
2a81eaa5
UD
30538 [BZ #12711]
30539 * locale/C-translit.h.in: Add entry for U20B9.
30540 Patch by pravin.d.s@gmail.com.
30541
28377d1b
UD
305422011-05-08 Ulrich Drepper <drepper@gmail.com>
30543
7fb90fb8
UD
30544 [BZ #12713]
30545 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30546 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30547 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30548 in rtld. Use *stat64.
7fb90fb8 30549 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30550 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30551 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30552 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30553 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30554 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30555 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30556 __fstatat64 macros.
7fb90fb8
UD
30557 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30558 * dirent/rewinddir.c: Add libc_hidden_def.
30559 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30560 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30561
28377d1b
UD
30562 * include/dirent.h (__alloc_dir): Add flags parameter.
30563 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30564 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30565 __alloc_dir.
30566 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30567 from fdopendir if O_CLOEXEC is already set.
30568
66bdbaa4
AM
305692011-03-15 Alan Modra <amodra@gmail.com>
30570
30571 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30572 l_tls_firstbyte_offset non-zero. Save padding offset in
30573 l_tls_firstbyte_offset for later use.
30574 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30575 freeing static tls block.
30576
95721191
JN
305772011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30578
30579 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30580 where #ifdef was intended. The intent is to prevent ARG_MAX from
30581 being defined by the kernel headers.
30582
f87dfb1f
UD
305832011-05-07 Ulrich Drepper <drepper@gmail.com>
30584
30585 [BZ #12734]
30586 * resolv/resolv.h: Define RES_NOTLDQUERY.
30587 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30588 no-tld-query and set RES_NOTLDQUERY.
30589 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30590 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30591 modern BIND to search name as TLD unless forbidden.
30592
47c3cd7a
UD
305932011-05-07 Petr Baudis <pasky@suse.cz>
30594 Ulrich Drepper <drepper@gmail.com>
30595
30596 [BZ #12393]
30597 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30598 (is_trusted_path): ...to here.
c1e9ea35 30599 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30600 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30601 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30602
8a35c912
PP
306032011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30604
30605 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30606 __BEGIN/__END_DECLS.
30607
acd41f47
UD
306082011-05-06 Ulrich Drepper <drepper@gmail.com>
30609
30610 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30611 NSS_STATUS_NOTFOUND if no record was found.
30612
597df647
AS
306132011-05-05 Andreas Schwab <schwab@redhat.com>
30614
30615 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30616 (headers-not-in-tirpc): Remove rpc/netdb.h
30617 * resolv/netdb.h: Revert last change.
30618
b9af1301
PP
306192011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30620
30621 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30622 circular dependency between libgcc.a and libc.a.
30623
4e34d5f5
AS
306242011-05-05 Andreas Schwab <schwab@redhat.com>
30625
30626 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30627 * nis/Makefile: Don't install rpcsvc/*.
30628 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30629 instead of <rpc/types.h>.
30630 (MAXHOSTNAMELEN): Define.
30631
00ee369c
AS
306322011-05-03 Andreas Schwab <schwab@redhat.com>
30633
30634 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30635
0b592a30
MB
306362011-04-28 Maciej Babinski <mbabinski@google.com>
30637
30638 [BZ #12714]
30639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30640 gethostbyname4_r when IPv6 results are possible.
30641
6e04cbbe
UD
306422011-05-02 Ulrich Drepper <drepper@gmail.com>
30643
30644 [BZ #12723]
30645 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30646 _PC_PIPE_BUF handling.
30647
e4ecafe0
BH
306482011-04-30 Bruno Haible <bruno@clisp.org>
30649
30650 [BZ #12717]
30651 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30652 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30653 to 'int'.
30654 * inet/getnameinfo.c (getnameinfo): Likewise.
30655
125ee683
UD
306562011-04-29 Ulrich Drepper <drepper@gmail.com>
30657
30658 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30659 to groups setting in database lookup.
30660 * nss/nsswitch.conf: Add initgroups entry.
30661
b722481a
EB
306622011-04-22 Ulrich Drepper <drepper@gmail.com>
30663
30664 [BZ #12685]
30665 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30666 mode string.
30667 Patch by Eric Blake <eblake@redhat.com>.
30668
4df46dbd
L
306692011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30670
30671 * sunrpc/Makefile (need-export-routines): Add svc_run.
30672 (routines): Remove svc_run.
30673 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30674 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30675 * sunrpc/svc_run.c (svc_run): Likewise.
30676 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30677
e84142d2
UD
306782011-04-21 Ulrich Drepper <drepper@gmail.com>
30679
30680 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30681 problem in reallocation in last patch.
30682
877175d8
UD
306832011-04-20 Ulrich Drepper <drepper@gmail.com>
30684
30685 * sunrpc/Makefile: Move inclusion of Rules.
30686
ab8eed78
UD
306872011-04-19 Ulrich Drepper <drepper@gmail.com>
30688
30689 * nss/nss_files/files-initgroups.c: New file.
30690 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30691 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30692 _nss_files_initgroups_dyn.
30693
e3d8f584
RS
306942011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30695
30696 * elf/elf.h (R_ARM_IRELATIVE): Define.
30697
af190f45
UD
306982011-04-19 Ulrich Drepper <drepper@gmail.com>
30699
30700 * po/ru.po: Update from translation team.
30701
53cf59ef
UD
307022011-04-17 Ulrich Drepper <drepper@gmail.com>
30703
30704 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30705 dependencies.
30706
4c559bcd
MF
307072011-02-06 Mike Frysinger <vapier@gentoo.org>
30708
30709 [BZ #12653]
30710 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30711 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30712 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30713 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30714 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30715
4420675c
AS
307162011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30717
30718 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30719 differing bytes.
30720 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30721 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30722 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30723
75ea32ab
UD
307242011-04-17 Ulrich Drepper <drepper@gmail.com>
30725
30726 [BZ #12420]
30727 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30728 storing it.
30729 * stdlib/bug-getcontext.c: New file.
30730 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30731
27390476
AK
307322011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30733
30734 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30735 instructions into .machine "z9-109".
30736 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30737 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30738
10442705
AK
307392011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30740
30741 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30742 between environment variables and auxiliary vector.
30743
7b57bfe5
UD
307442011-04-16 Ulrich Drepper <drepper@gmail.com>
30745
30746 * Makefile: Add rules to build linkobj/libc.so.
30747 * include/libc-symbols.h: Define libc_hidden_nolink.
30748 * include/rpc/auth.h: Mark functions which are to be hidden.
30749 * include/rpc/auth_des.h: Likewise.
30750 * include/rpc/auth_unix.h: Likewise.
30751 * include/rpc/clnt.h: Likewise.
30752 * include/rpc/des_crypt.h: Likewise.
30753 * include/rpc/key_prot.h: Likewise.
30754 * include/rpc/pmap_clnt.h: Likewise.
30755 * include/rpc/pmap_prot.h: Likewise.
30756 * include/rpc/pmap_rmt.h: Likewise.
30757 * include/rpc/rpc_msg.h: Likewise.
30758 * include/rpc/svc.h: Likewise.
30759 * include/rpc/svc_auth.h: Likewise.
30760 * include/rpc/xdr.h: Likewise.
30761 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30762 * nss/Makefile: Likewise.
30763 * sunrpc/Makefile: Don't install headers. Build library with normal
30764 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30765 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30766 for the compat linking library. Remove use of INTDEF/INTUSE.
30767 * sunrpc/auth_none.c: Likewise.
30768 * sunrpc/auth_unix.c: Likewise.
30769 * sunrpc/authdes_prot.c: Likewise.
30770 * sunrpc/authuxprot.c: Likewise.
30771 * sunrpc/clnt_gen.c: Likewise.
30772 * sunrpc/clnt_perr.c: Likewise.
30773 * sunrpc/clnt_raw.c: Likewise.
30774 * sunrpc/clnt_simp.c: Likewise.
30775 * sunrpc/clnt_tcp.c: Likewise.
30776 * sunrpc/clnt_udp.c: Likewise.
30777 * sunrpc/clnt_unix.c: Likewise.
30778 * sunrpc/des_crypt.c: Likewise.
30779 * sunrpc/des_soft.c: Likewise.
30780 * sunrpc/get_myaddr.c: Likewise.
30781 * sunrpc/key_call.c: Likewise.
30782 * sunrpc/key_prot.c: Likewise.
30783 * sunrpc/netname.c: Likewise.
30784 * sunrpc/pm_getmaps.c: Likewise.
30785 * sunrpc/pm_getport.c: Likewise.
30786 * sunrpc/pmap_clnt.c: Likewise.
30787 * sunrpc/pmap_prot.c: Likewise.
30788 * sunrpc/pmap_prot2.c: Likewise.
30789 * sunrpc/pmap_rmt.c: Likewise.
30790 * sunrpc/publickey.c: Likewise.
30791 * sunrpc/rpc_cmsg.c: Likewise.
30792 * sunrpc/rpc_common.c: Likewise.
30793 * sunrpc/rpc_dtable.c: Likewise.
30794 * sunrpc/rpc_prot.c: Likewise.
30795 * sunrpc/rpc_thread.c: Likewise.
30796 * sunrpc/rtime.c: Likewise.
30797 * sunrpc/svc.c: Likewise.
30798 * sunrpc/svc_auth.c: Likewise.
30799 * sunrpc/svc_authux.c: Likewise.
30800 * sunrpc/svc_raw.c: Likewise.
30801 * sunrpc/svc_run.c: Likewise.
30802 * sunrpc/svc_simple.c: Likewise.
30803 * sunrpc/svc_tcp.c: Likewise.
30804 * sunrpc/svc_udp.c: Likewise.
30805 * sunrpc/svc_unix.c: Likewise.
30806 * sunrpc/svcauth_des.c: Likewise.
30807 * sunrpc/xcrypt.c: Likewise.
30808 * sunrpc/xdr.c: Likewise.
30809 * sunrpc/xdr_array.c: Likewise.
30810 * sunrpc/xdr_float.c: Likewise.
30811 * sunrpc/xdr_intXX_t.c: Likewise.
30812 * sunrpc/xdr_mem.c: Likewise.
30813 * sunrpc/xdr_rec.c: Likewise.
30814 * sunrpc/xdr_ref.c: Likewise.
30815 * sunrpc/xdr_sizeof.c: Likewise.
30816 * sunrpc/xdr_stdio.c: Likewise.
30817
e6c61494
UD
308182011-04-10 Ulrich Drepper <drepper@gmail.com>
30819
30820 [BZ #12650]
30821 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30822 * sysdeps/ia64/dl-tls.h: Likewise.
30823 * sysdeps/powerpc/dl-tls.h: Likewise.
30824 * sysdeps/s390/dl-tls.h: Likewise.
30825 * sysdeps/sh/dl-tls.h: Likewise.
30826 * sysdeps/sparc/dl-tls.h: Likewise.
30827 * sysdeps/x86_64/dl-tls.h: Likewise.
30828 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30829
34fe483e
AS
308302011-03-14 Andreas Schwab <schwab@redhat.com>
30831
30832 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30833 rpath element also skip the following colon.
30834 (expand_dynamic_string_token): Add is_path parameter and pass
30835 down to DL_DST_REQUIRED and _dl_dst_substitute.
30836 (decompose_rpath): Call expand_dynamic_string_token with
30837 non-zero is_path. Ignore empty rpaths.
30838 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30839 with zero is_path.
30840
f12a32e6
AS
308412011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30842
30843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30844 Make cancelable.
30845
38a7d692
UD
308462011-04-09 Ulrich Drepper <drepper@gmail.com>
30847
30848 [BZ #12655]
30849 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30850 Patch by Filipe David Manana <fdmanana@apache.org>.
30851
e451d22b
AS
308522011-04-07 Andreas Schwab <schwab@redhat.com>
30853
30854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30855 Maintain aligned stack.
30856 (CHECK_RSP): Remove unused macro.
30857
dedc7c7b
UD
308582011-04-03 Ulrich Drepper <drepper@gmail.com>
30859
30860 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30861 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30862
94521213
UD
308632011-04-02 Ulrich Drepper <drepper@gmail.com>
30864
30865 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30866
8cb700c0 30867 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30868
0354e355
L
308692011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30870
30871 [BZ #12518]
30872 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30873 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30874 * sysdeps/x86_64/memmove.c: New file.
30875 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30876 (memcpy): Renamed to ...
30877 (__new_memcpy): This.
30878 (memcpy): Provide GLIBC_2_14 memcpy.
30879 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30880 (memcpy): Provide GLIBC_2_2_5 memcpy.
30881
8593482f
UD
308822011-04-01 Ulrich Drepper <drepper@gmail.com>
30883
30884 [BZ #12631]
30885 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30886
81a5726b
AS
308872011-03-30 Andreas Schwab <schwab@redhat.com>
30888
30889 * misc/syncfs.c: New file.
30890 * misc/Makefile (routines): Add syncfs.
30891 * posix/unistd.h: Declare syncfs.
30892 * sysdeps/unix/syscalls.list: Add syncfs.
30893
00e5419f
AS
308942011-04-01 Andreas Schwab <schwab@redhat.com>
30895
30896 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30897 open_by_handle_at.
30898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30899 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30903 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30904 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30905
748876bf
UD
309062011-04-01 Ulrich Drepper <drepper@gmail.com>
30907
658e451d
UD
30908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30909 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30910 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30911 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30912 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30914 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30915
748876bf
UD
30916 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30917 sync_file_range.c with -fexceptions.
30918 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30919 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30920 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30921 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30922 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30923 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30924 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30925 sync_file_range as cancellation point
30926 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30927 now a wrapper around __call_sync_file_range with cancellation handling.
30928 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30929 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30930 function name to __call_sync_file_range.
30931 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30932 Add call_sync_file_range.
748876bf 30933
6e63d5e1
AS
309342011-04-01 Andreas Schwab <schwab@redhat.com>
30935
30936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30937 bits/timex.h.
6e63d5e1 30938
46998f74
UD
309392011-04-01 Ulrich Drepper <drepper@gmail.com>
30940
4c1423ed
UD
30941 * iconv/iconv.h: Fix typo in comment.
30942 * io/fcntl.h: Likewise.
30943 * libio/stdio.h: Likewise.
30944 * posix/spawn.h: Likewise.
30945 * posix/unistd.h: Likewise.
30946 * stdlib/stdlib.h: Likewise.
30947 * time/time.h: Likewise.
30948 * wcsmbs/wchar.h: Likewise.
30949
158648c0
UD
30950 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30951 open_by_handle): Add.
30952 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30953 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30954 Augment a few comments.
30955 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30957 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30959 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30960 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30961 open_by_handle.
30962
46998f74
UD
30963 * io/fcntl.h (AT_EMPTY_PATH): Define.
30964
83fe108b
UD
309652011-03-30 Ulrich Drepper <drepper@gmail.com>
30966
30967 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30968 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30969 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30970 to...
30971 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30972 * Versions.def: Add GLIBC_2.14.
30973 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30974 Export.
83fe108b 30975
bb242059
UD
309762011-03-22 Ulrich Drepper <drepper@gmail.com>
30977
30978 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30979 round counter.
30980 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30981
c97a1282
L
309822011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30983
30984 [BZ #12597]
30985 * string/test-strncmp.c (do_page_test): New function.
30986 (check2): Likewise.
30987 (test_main): Call check2.
30988 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30989
2a115601
UD
309902011-03-20 Ulrich Drepper <drepper@gmail.com>
30991
30992 [BZ #12587]
30993 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30994 Handle cache information in CPU leaf 4.
30995 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30996
8126d904
UD
309972011-03-18 Ulrich Drepper <drepper@gmail.com>
30998
042c49c6 30999 [BZ #12583]
8126d904
UD
31000 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31001 character representation.
31002 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31003
ccfe366e
RA
310042011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31005
31006 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31007 END(__isnan) to END(__isnanf) to match function entry point/label
31008 EALIGN(__isnanf,...).
31009
c6e13027
JJ
310102011-03-10 Jakub Jelinek <jakub@redhat.com>
31011
31012 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31013
33f85a3f
UD
310142011-03-10 Ulrich Drepper <drepper@gmail.com>
31015
028478fa
UD
31016 [BZ #12510]
31017 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31018 copy from the symbol referenced in the relocation to initialize the
31019 used variable.
31020 Patch by Piotr Bury <pbury@goahead.com>.
31021 * elf/Makefile: Add rules to build and tst-unique3.
31022 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31023 * elf/tst-unique3.cc: New file.
31024 * elf/tst-unique3.h: New file.
31025 * elf/tst-unique3lib.cc: New file.
31026 * elf/tst-unique3lib2.cc: New file.
31027
33f85a3f
UD
31028 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31029
03592fc7
MF
310302011-03-10 Mike Frysinger <vapier@gentoo.org>
31031
31032 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31033 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31034 to _start.
03592fc7 31035
6a5ee102
UD
310362011-03-06 Ulrich Drepper <drepper@gmail.com>
31037
31038 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31039 to-be-loaded object along a path to loader is ld.so.
31040
7e4ba49c
HJ
310412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31042 Ulrich Drepper <drepper@gmail.com>
31043
31044 * sysdeps/x86_64/memset.S: After aligning destination, code
31045 branches to different locations depending on the value of
31046 misalignment, when multiarch is enabled. Fix this.
31047
310482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31049
31050 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31051 Set _x86_64_preferred_memory_instruction for AMD processsors.
31052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31053 Set bit_Prefer_SSE_for_memop for AMD processors.
31054
13a804de
UD
310552011-03-04 Ulrich Drepper <drepper@gmail.com>
31056
31057 * libio/fmemopen.c (fmemopen): Optimize a bit.
31058
9d25c392
AS
310592011-03-03 Andreas Schwab <schwab@redhat.com>
31060
31061 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31062
a5543c6a
RM
310632011-03-03 Roland McGrath <roland@redhat.com>
31064
31065 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31066
012d35f7
DM
310672011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31068
7e4ba49c 31069 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31070 __bzero_ultra1 instead of __memset_ultra1.
31071
4bff6e01
AS
310722011-02-23 Andreas Schwab <schwab@redhat.com>
31073 Ulrich Drepper <drepper@gmail.com>
31074
31075 [BZ #12509]
31076 * include/link.h (struct link_map): Add l_orig_initfini.
31077 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31078 returning unsuccessfully.
31079 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31080 close of a file loaded at startup, restore the original l_initfini
31081 list.
31082 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31083 list, store the pointer.
31084 * elf/Makefile ($(objpfx)noload-mem): New rule.
31085 (noload-ENV): Define.
31086 (tests): Add $(objpfx)noload-mem.
31087 * elf/noload.c: Include <memcheck.h>.
31088 (main): Call mtrace. Close all opened handles.
31089
f2092faf
AS
310902011-02-17 Andreas Schwab <schwab@redhat.com>
31091
31092 [BZ #12454]
31093 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31094 dependencies are missing.
31095
6c8a2e88
ST
310962011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31097
f2092faf 31098 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31099 Hurd needs munmap.
31100 * sysdeps/mach/hurd/ifreq.h: New file.
31101
84a42118
PB
311022011-01-27 Petr Baudis <pasky@suse.cz>
31103 Ulrich Drepper <drepper@gmail.com>
31104
071f805e 31105 [BZ 12445]#
84a42118
PB
31106 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31107 to extend_alloca().
31108 * stdio-common/bug23.c: New file.
31109 * stdio-common/Makefile (tests): Add bug23.
31110
e23fe25b
AS
311112010-09-28 Andreas Schwab <schwab@redhat.com>
31112 Ulrich Drepper <drepper@gmail.com>
31113
31114 [BZ #12489]
31115 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31116 before performing relro protection. At old place add assertion
31117 to make sure nothing changed.
31118
d3f02e10
NS
311192011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31120 Glauber de Oliveira Costa <glommer@gmail.com>
31121
31122 * elf/elf.h: Add new ARM TLS relocs.
31123
d55fd7a5
RA
311242011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31125
31126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31127 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31128 cast from r3.
31129 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31130 'tests' variable.
31131 * sysdeps/wordsize-64/tst-writev.c: New file.
31132
2206397e
RA
311332011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31134
31135 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31136 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31137 insns in _dl_start to prevent a TOC reference before relocs are
31138 resolved.
31139
e9433893
UD
311402011-02-15 Ulrich Drepper <drepper@gmail.com>
31141
31142 [BZ #12469]
31143 * Makeconfig: Remove RANLIB definition.
31144 * Makerules: Don't use RANLIB.
31145 * aclocal.m4: Remove ranlib test.
31146 * configure.in: No need to check for ranlib.
31147 * elf/rtld-Rules: Don't use RANLIB.
31148
f75286c6
ST
311492011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31150
8e31c82d
ST
31151 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31152 protection macro.
31153 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31154 inclusion protection macro.
31155
f75286c6
ST
31156 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31157 SIGRTMIN and SIGRTMAX and print information in that case only when
31158 SIGRTMIN is defined.
31159
c1d0e639
JJ
311602011-02-11 Jakub Jelinek <jakub@redhat.com>
31161
31162 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31163 arginfo fn returning -1.
31164
31165 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31166 and thousands string is zero terminated.
31167
edf9294e
AS
311682011-02-03 Andreas Schwab <schwab@redhat.com>
31169
31170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31171 sysdeps/unix/sysv/linux/bits/socket.h.
31172
2b7e92df
ST
311732011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31174
edf9294e
AS
31175 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31176 (__CPU_COUNT): Remove old macros.
31177 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31178 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31179 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31180 (__sched_cpualloc, __sched_cpufree): Add declarations.
31181
a4c7ea7b
UD
311822011-02-05 Ulrich Drepper <drepper@gmail.com>
31183
31184 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31185 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31186 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31187 (readdhstai): Return value of addhstaiX call.
31188 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31189 (addgrbyX): Return value returned by cache_addgr.
31190 (readdgrbyname): Return value returned by addgrbyX.
31191 (readdgrbygid): Likewise.
31192 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31193 (addpwbyX): Return value returned by cache_addpw.
31194 (readdpwbyname): Return value returned by addhstbyX.
31195 (readdpwbyuid): Likewise.
31196 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31197 (addservbyX): Return value returned by cache_addserv.
31198 (readdservbyname): Return value returned by addservbyX:
31199 (readdservbyport): Likewise.
31200 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31201 (addhstbyX): Return value returned by cache_addhst.
31202 (readdhstbyname): Return value returned by addhstbyX.
31203 (readdhstbyaddr): Likewise.
31204 (readdhstbynamev6): Likewise.
31205 (readdhstbyaddrv6): Likewise.
31206 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31207 (readdinitgroups): Return value returned by addinitgroupsX.
31208 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31209 (prune_cache): Keep track of timeout value of re-added entries.
31210 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31211 * nscd/nscd.h: Adjust prototypes of readd* functions.
31212
a0bf67cc
RM
312132011-02-04 Roland McGrath <roland@redhat.com>
31214
31215 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31216 (nis_stats): Likewise.
31217 * nis/nis_modify.c (nis_modify): Likewise.
31218 * nis/nis_remove.c (nis_remove): Likewise.
31219 * nis/nis_add.c (nis_add): Likewise.
31220
31221 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31222
31223 * posix/fnmatch_loop.c: Add some consts.
31224
31225 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31226
435b95eb
L
312272011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31228
31229 [BZ #12460]
31230 * config.make.in (config-cflags-novzeroupper): Define.
31231 * configure.in: Substitute libc_cv_cc_novzeroupper.
31232 * elf/Makefile (AVX-CFLAGS): Define.
31233 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31234 (CFLAGS-tst-auditmod4a.c): Likewise.
31235 (CFLAGS-tst-auditmod4b.c): Likewise.
31236 (CFLAGS-tst-auditmod6b.c): Likewise.
31237 (CFLAGS-tst-auditmod6c.c): Likewise.
31238 (CFLAGS-tst-auditmod7b.c): Likewise.
31239 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31240
8517b15e
UD
312412011-02-02 Ulrich Drepper <drepper@gmail.com>
31242
31243 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31244 function to the callback.
31245 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31246
10a656fe
AS
312472011-02-02 Andreas Schwab <schwab@redhat.com>
31248
31249 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31250 of errno.
31251
968dad0a
UD
312522011-01-19 Ulrich Drepper <drepper@gmail.com>
31253
9f94d2ea 31254 [BZ #11724]
968dad0a
UD
31255 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31256 of constructors.
31257 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31258 of destructors.
31259 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31260
31261 [BZ #11724]
31262 * elf/Makefile: Add rules to build and run new test.
31263 * elf/tst-initorder.c: New file.
31264 * elf/tst-initorder.exp: New file.
31265 * elf/tst-initordera1.c: New file.
31266 * elf/tst-initordera2.c: New file.
31267 * elf/tst-initordera3.c: New file.
31268 * elf/tst-initordera4.c: New file.
31269 * elf/tst-initorderb1.c: New file.
31270 * elf/tst-initorderb2.c: New file.
31271 * elf/tst-order-a1.c: New file.
31272 * elf/tst-order-a2.c: New file.
31273 * elf/tst-order-a3.c: New file.
31274 * elf/tst-order-a4.c: New file.
31275 * elf/tst-order-b1.c: New file.
31276 * elf/tst-order-b2.c: New file.
31277 * elf/tst-order-main.c: New file.
31278 New test case by George Gensure <werkt0@gmail.com>.
31279
86e92359
UD
312802010-10-01 Andreas Schwab <schwab@redhat.com>
31281
31282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31283 decoding ACE if AI_CANONIDN.
31284
5d5732b0
UD
312852011-01-18 Ulrich Drepper <drepper@gmail.com>
31286
31287 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31288
a77e8cbc
UD
312892011-01-17 Ulrich Drepper <drepper@gmail.com>
31290
6392473f
UD
31291 * version.h (RELEASE): Bump for 2.13 release.
31292 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31293
620a0529
UD
31294 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31295
18ba70a5
UD
31296 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31297 MADV_NOHUGEPAGE.
32465c3e
UD
31298 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31299 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31300 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31301 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31302 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31303 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31304
c0dafcf1
UD
31305 * posix/getconf.c: Update copyright year.
31306 * catgets/gencat.c: Likewise.
31307 * csu/version.c: Likewise.
31308 * debug/catchsegv.sh: Likewise.
31309 * debug/xtrace.sh: Likewise.
31310 * elf/ldconfig.c: Likewise.
31311 * elf/ldd.bash.in: Likewise.
31312 * elf/sprof.c (print_version): Likewise.
31313 * iconv/iconv_prog.c: Likewise.
31314 * iconv/iconvconfig.c: Likewise.
31315 * locale/programs/locale.c: Likewise.
31316 * locale/programs/localedef.c: Likewise.
31317 * malloc/memusage.sh: Likewise.
31318 * malloc/mtrace.pl: Likewise.
31319 * nscd/nscd.c (print_version): Likewise.
31320 * nss/getent.c: Likewise.
31321
a77e8cbc
UD
31322 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31323 PF_CAIF, and PF_ALG.
31324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31325
77e8bddf
AS
313262011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31327
1f20b93a
AS
31328 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31329 (modules-names): Use them.
31330 (ifunc-test-modules, ifunc-pie-tests): Define.
31331 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31332 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31333 (test-extras): Likewise.
31334 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31335 $(compile-command.c).
31336 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31337 (all-built-dso): Define.
31338 (check-textrel.out, check-execstack.out): Depend on it.
31339
77e8bddf
AS
31340 * configure.in: Don't override --enable-multi-arch.
31341
bc425b33
UD
313422011-01-15 Ulrich Drepper <drepper@gmail.com>
31343
31344 [BZ #6812]
31345 * nscd/hstcache.c (tryagain): Define.
31346 (cache_addhst): Return tryagain not notfound for temporary errors.
31347 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31348 failed.
31349
794c3ad3
UD
313502011-01-14 Ulrich Drepper <drepper@gmail.com>
31351
70181fdd
UD
31352 [BZ #10563]
31353 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31354 to make the syscall.
31355 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31356
794c3ad3
UD
31357 [BZ #12378]
31358 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31359 and fall back to matching as normal character if the string ends before
31360 the matching ']' is found. This is what POSIX requires.
31361 * posix/testfnm.c: Adjust test result.
31362 * posix/globtest.sh: Adjust test result. Add new test.
31363 * posix/tst-fnmatch.input: Likewise.
31364 * posix/tst-fnmatch2.c: Add new test.
31365
68dc9497
AS
313662010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31367
31368 * elf/Makefile (check-execstack): Revert last change. Depend on
31369 check-execstack.h.
31370 (check-execstack.h): New target.
31371 (generated): Add check-execstack.h.
31372 * elf/check-execstack.c: Include "check-execstack.h".
31373 (main): Revert last change.
31374 (handle_file): Return zero if GNU_STACK is absent and
31375 DEFAULT_STACK_PERMS doesn't include PF_X.
31376
451f001b
UD
313772011-01-13 Ulrich Drepper <drepper@gmail.com>
31378
cfa28e56
UD
31379 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31380 in child fails because the descriptor is already closed.
8cf8ce17
UD
31381 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31382 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31383 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31384
1086d70d
UD
31385 [BZ #12397]
31386 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31387 syscall.
31388
451f001b
UD
31389 [BZ #10484]
31390 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31391 temporary buffer used to handle multi lookups locally.
a85b5cb4 31392 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31393
08769175
UD
313942011-01-12 Ulrich Drepper <drepper@gmail.com>
31395
31396 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31397 loader is ld.so.
31398
5e49c52e
UD
313992011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31400
31401 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31402 alignment for SSE2.
31403
60522a5f
UD
314042011-01-12 Ulrich Drepper <drepper@gmail.com>
31405
31406 [BZ #12394]
31407 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31408 characters. When rounding increased number of integer digits recompute
31409 number of groups.
31410 * stdio-common/tst-grouping.c: New file.
31411 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31412
f257bbd7
UD
314132011-01-09 Ulrich Drepper <drepper@gmail.com>
31414
31415 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31416 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31417
31418 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31419 void.
31420 * bits/select.h: Likewise.
31421
fa9c15cb
UD
314222011-01-08 Ulrich Drepper <drepper@gmail.com>
31423
31424 * po/ja.po: Update from translation team.
31425
16c2895f
DM
314262011-01-04 David S. Miller <davem@sunset.davemloft.net>
31427
31428 [BZ #11155]
31429 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31430 implementation just like for lxstat, fxstatat, et al.
31431
2543fef2
JM
314322010-12-27 Jim Meyering <meyering@redhat.com>
31433
31434 [BZ #12348]
31435 * posix/regexec.c (build_trtable): Return failure indication upon
31436 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31437
98727dbe
UD
314382010-12-25 Ulrich Drepper <drepper@gmail.com>
31439
5bd6dc5c
UD
31440 [BZ #12201]
31441 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31442 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31443 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31444 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31445
97983464
UD
31446 [BZ #12207]
31447 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31448
98727dbe
UD
31449 [BZ #12204]
31450 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31451 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31452
4a531bb0
L
314532010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31454
31455 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31456 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31457 script has SORT_BY_INIT_PRIORITY.
31458 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31459 NO_CTORS_DTORS_SECTIONS is defined.
31460 * elf/soinit.c: Likewise.
31461 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31462 NO_CTORS_DTORS_SECTIONS is defined.
31463 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31464 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31465 * sysdeps/sh/init-first.c: Likewise.
31466 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31467
07eb4b71
UD
314682010-12-24 Ulrich Drepper <drepper@gmail.com>
31469
31470 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31471 always use the slow path.
31472
30950a5f
RA
314732010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31474
31475 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31476 similar rule which adds the sysdep directories to the header search in
31477 order to pick up the correct platform stackinfo.h.
31478 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31479 perform test if it is, otherwise return successfully without testing.
31480 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31481 DEFAULT_STACK_PERMS define in stackinfo.h.
31482 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31483 defined in stackinfo.h.
31484 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31485 DEFAULT_STACK_PERMS defined in stackinfo.h.
31486 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31487 * sysdeps/ia64/stackinfo.h: Likewise.
31488 * sysdeps/s390/stackinfo.h: Likewise.
31489 * sysdeps/sh/stackinfo.h: Likewise.
31490 * sysdeps/sparc/stackinfo.h: Likewise.
31491 * sysdeps/x86_64/stackinfo.h: Likewise.
31492 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31493 PF_X for powerpc64. Retain PF_X for powerpc32.
31494
db753e2c
UD
314952010-12-19 Ulrich Drepper <drepper@gmail.com>
31496
14b697f7
UD
31497 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31498 accurately.
db753e2c
UD
31499 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31500 GETDENTS_64BIT_ALIGNED.
31501
28300719
UD
315022010-12-14 Ulrich Drepper <dreper@gmail.com>
31503
14b697f7 31504 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31505
4f197237
AS
315062010-12-10 Andreas Schwab <schwab@redhat.com>
31507
dbb0472f
AS
31508 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31509 _GNU_SOURCE.
31510
4f197237
AS
31511 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31512 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31513 Remove __restrict.
31514 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31515 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31516
fb88ac72
UD
315172010-12-09 Ulrich Drepper <drepper@gmail.com>
31518
31519 [BZ #11655]
31520 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31521 are initialized.
31522
42acbb92
JJ
315232010-12-09 Jakub Jelinek <jakub@redhat.com>
31524
31525 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31526
c038d98d
UD
315272010-12-03 Ulrich Drepper <drepper@gmail.com>
31528
31529 * po/it.po: Update from translation team.
31530
3a4a2499
L
315312010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31532
31533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31534 unused codes.
31535
1e24cf6e
UD
315362010-11-30 Ulrich Drepper <drepper@gmail.com>
31537
31538 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31539
a7690819
AS
315402010-11-24 Andreas Schwab <schwab@redhat.com>
31541
31542 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31543 specially.
31544 (gaih_getanswer_slice): Likewise.
31545
3bf8d1b1
JJ
315462010-10-20 Jakub Jelinek <jakub@redhat.com>
31547
31548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31549
6db52fbb
PB
315502010-05-31 Petr Baudis <pasky@suse.cz>
31551
31552 [BZ #11149]
31553 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31554 silently even in the chroot mode.
31555
eaca7569
UD
315562010-11-22 Ulrich Drepper <drepper@gmail.com>
31557
31558 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31559 last patch a bit. Pretty printing
31560
3056dcdb
UD
315612010-05-31 Petr Baudis <pasky@suse.cz>
31562
31563 [BZ #10085]
31564 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31565 initialization of skip_initgroups_dyn.
31566
cf7c9078
UD
315672010-11-19 Ulrich Drepper <drepper@gmail.com>
31568
31569 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31570 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31571
a1fb5e3e
UD
315722010-11-16 Ulrich Drepper <drepper@gmail.com>
31573
31574 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31575
3540d66b
AS
315762010-11-11 Andreas Schwab <schwab@redhat.com>
31577
31578 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31579 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31580 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31581 ($(objpfx)tst-fnmatch-mem): New rule.
31582 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31583 * posix/tst-fnmatch.c (main): Call mtrace.
31584
13b69574
L
315852010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31586
31587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31588 Support Intel processor model 6 and model 0x2c.
31589
da93d214
LM
315902010-11-10 Luis Machado <luisgpm@br.ibm.com>
31591
31592 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31593 signed comparison.
31594
8ca52c6e
L
315952010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31596
31597 [BZ #12205]
31598 * string/test-strncasecmp.c (check_result): New function.
31599 (do_one_test): Use it.
31600 (check1): New function.
31601 (test_main): Use it.
31602 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31603 Support strcasecmp and strncasecmp.
31604
69da074d
UD
316052010-11-08 Ulrich Drepper <drepper@gmail.com>
31606
31607 [BZ #12194]
31608 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31609 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31610
ff02d528
L
316112010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31612
31613 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31614 IFUNC support.
31615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31616 memset-x86-64.
31617 * sysdeps/x86_64/multiarch/bzero.S: New file.
31618 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31619 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31620 * sysdeps/x86_64/multiarch/memset.S: New file.
31621 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31623 Set bit_Prefer_SSE_for_memop for Intel processors.
31624 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31625 Define.
31626 (index_Prefer_SSE_for_memop): Define.
31627 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31628
344d0b54
LM
316292010-11-04 Luis Machado <luisgpm@br.ibm.com>
31630
31631 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31632 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31633
c0dde15b
UD
316342010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31635
31636 [BZ #12191]
31637 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31638 (__x86_64_raw_data_cache_size_half): Likewise.
31639 (__x86_64_raw_shared_cache_size): Likewise.
31640 (__x86_64_raw_shared_cache_size_half): Likewise.
31641
31642 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31643 (__x86_64_raw_data_cache_size_half): Likewise.
31644 (__x86_64_raw_shared_cache_size): Likewise.
31645 (__x86_64_raw_shared_cache_size_half): Likewise.
31646 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31647 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31648 and __x86_64_raw_shared_cache_size_half. Round
31649 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31650 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31651 to multiple of 256 bytes.
31652
0e516e0e
MS
316532010-11-03 Ulrich Drepper <drepper@gmail.com>
31654
31655 [BZ #12167]
31656 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31657 of inacessible symlinks. Verify result of symlink before returning it.
31658 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31659 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31660
0e012e87
ER
316612010-10-28 Erich Ritz <erichritz@gmail.com>
31662
31663 * math/math.h (isinf): Fix typo in comment.
31664
de0ff7bc
UD
316652010-11-01 Ulrich Drepper <drepper@gmail.com>
31666
31667 * po/da.po: Update from translation team.
31668
fa41c84d
UD
316692010-10-26 Ulrich Drepper <drepper@gmail.com>
31670
31671 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31672 is added to the list.
31673
f0967738
AK
316742010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31675 Ulrich Drepper <drepper@gmail.com>
31676
31677 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31678 the global list here. Move code to...
31679 (_dl_add_to_namespace_list): ...here. New function.
31680 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31681 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31682 * elf/dl-load.c (lose): Don't remove the element from the list.
31683 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31684 (_dl_map_object): Likewise.
31685
316862010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31687
31688 [BZ #12159]
31689 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31690 into all bytes of SSE register.
31691 Patch by Richard Li <richardpku@gmail.com>.
31692
f0967738 316932010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31694
31695 [BZ #12140]
31696 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31697 perturbing.
31698
d0b9e94f
MB
316992010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31700
31701 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31702 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31703 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31704 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31706 submachine.
31707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31708
8e9f92e9
AS
317092010-10-22 Andreas Schwab <schwab@redhat.com>
31710
31711 * include/dlfcn.h (__RTLD_SECURE): Define.
31712 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31713 mode & __RTLD_SECURE instead.
31714 (open_path): Rename preloaded parameter to secure.
31715 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31716 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31717 * elf/dl-deps.c (openaux): Likewise.
31718 * elf/rtld.c (struct map_args): Remove is_preloaded.
31719 (map_doit): Don't use it.
31720 (dl_main): Likewise.
31721 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31722 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31723
bc96fbda
AS
317242010-09-09 Andreas Schwab <schwab@redhat.com>
31725
31726 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31727 (sysd-rules-targets): Remove duplicates.
31728 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31729 rtld-%.$o dependency.
31730
22cd1c9b
AS
317312010-10-18 Andreas Schwab <schwab@redhat.com>
31732
31733 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31734 _dl_map_object do it.
31735
18edac48
UD
317362010-10-19 Ulrich Drepper <drepper@gmail.com>
31737
31738 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31739 fast fma builtins, define the macros in the C99 standard.
31740 (FP_FAST_FMAF): Likewise.
31741 (FP_FAST_FMAL): Likewise.
31742 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31743
31744 * bits/mathdef.h: Update copyright year.
31745 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31746
d2050124
MM
317472010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31748
31749 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31750 builtins, define the macros in the C99 standard.
31751 (FP_FAST_FMAF): Likewise.
31752 (FP_FAST_FMAL): Likewise.
31753 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31754 multiply/add.
31755 (FP_FAST_FMAF): Likewise.
31756
475facd1
JJ
317572010-10-15 Jakub Jelinek <jakub@redhat.com>
31758
31759 [BZ #3268]
31760 * math/libm-test.inc (fma_test): Some new testcases.
31761 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31762 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31763 y and infinite z. Do multiplication by C already in long double.
31764 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31766 y and infinite z. Do bitwise or of inexact bit into u.d.
31767 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31768 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31769 * sysdeps/i386/fpu/s_fma.S: Removed.
31770 * sysdeps/i386/fpu/s_fmal.S: Removed.
31771
7c08a05c
JJ
317722010-10-16 Jakub Jelinek <jakub@redhat.com>
31773
31774 [BZ #3268]
31775 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31777 computation is not scheduled after fetestexcept. Fix value
31778 of minimum denormal long double.
31779
f3f7372d
JJ
317802010-10-14 Jakub Jelinek <jakub@redhat.com>
31781
31782 [BZ #3268]
31783 * math/libm-test.inc (fma_test): Add some more tests.
31784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31785 correctly.
31786
14d43591
AS
317872010-10-15 Andreas Schwab <schwab@redhat.com>
31788
31789 * scripts/data/localplt-s390-linux-gnu.data: New file.
31790 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31791
5e908464
JJ
317922010-10-13 Jakub Jelinek <jakub@redhat.com>
31793
31794 [BZ #3268]
31795 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31796 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31797 instead of dbl-64.
31798 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31799 inlines.
31800 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31802 if one of x and y is very large and the other is subnormal.
31803 * sysdeps/s390/fpu/s_fmaf.c: New file.
31804 * sysdeps/s390/fpu/s_fma.c: New file.
31805 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31806 * sysdeps/powerpc/fpu/s_fma.S: New file.
31807 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31808 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31809 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31810
318112010-10-12 Jakub Jelinek <jakub@redhat.com>
31812
31813 [BZ #3268]
31814 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31815 fma tests.
31816 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31817 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31818 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31819 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31820 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31821 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31822 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31823
b833d51f
UD
318242010-10-12 Ulrich Drepper <drepper@redhat.com>
31825
31826 [BZ #12078]
31827 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31828 * posix/bug-regex31.input: Add test case.
31829
1751705d
UD
318302010-10-11 Ulrich Drepper <drepper@gmail.com>
31831
e9b9cbf5
UD
31832 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31833 * posix/bug-regex31.input: New file.
31834
31835 [BZ #12078]
31836 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31837 (parse_sub_exp): Fix last change, use postorder.
31838
ef06edbe
UD
31839 * posix/bug-regex31.c: New file.
31840 * posix/Makefile: Add rules to build and run bug-regex31.
31841
a129c80d
UD
31842 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31843
31844 [BZ #12078]
31845 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31846
b76b818e
UD
31847 [BZ #12108]
31848 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31849 to have entries in sys_siglist.
31850
1751705d
UD
31851 [BZ #12093]
31852 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31853 be NULL.
31854
9ff8d36f
JJ
318552010-10-07 Jakub Jelinek <jakub@redhat.com>
31856
31857 [BZ #3268]
31858 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31859 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31860 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31861 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31862 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31863 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31864 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31865 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31866 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31867 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31868 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31869 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31870 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31871 * math/ftestexcept.c (fetestexcept): Likewise.
31872 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31873 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31874 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31875 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31876 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31877 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31878 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31879
af325969
UD
318802010-10-11 Ulrich Drepper <drepper@gmail.com>
31881
c579b202 31882 [BZ #12107]
af325969
UD
31883 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31884 newline.
31885
67a67b95
UD
318862010-10-06 Ulrich Drepper <drepper@gmail.com>
31887
31888 * string/bug-strstr1.c: New file.
31889 * string/Makefile: Add rules to build and run bug-strstr1.
31890
5fb308bc
EB
318912010-10-05 Eric Blake <eblake@redhat.com>
31892
31893 [BZ #12092]
31894 * string/str-two-way.h (two_way_long_needle): Always clear memory
31895 when skipping input due to the shift table.
31896
45db99c7
UD
318972010-10-03 Ulrich Drepper <drepper@gmail.com>
31898
3b111893
UD
31899 [BZ #12005]
31900 * malloc/mcheck.c: Handle large requests.
31901
45db99c7
UD
31902 [BZ #12077]
31903 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31904 for strncmp and strncasecmp.
31905 * string/stratcliff.c: Add tests for strcmp and strncmp.
31906 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31907
cf7a1eb8
NI
319082010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31909
31910 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31911 __set_fpscr.
31912
6484ba5e
AJ
319132010-09-30 Andreas Jaeger <aj@suse.de>
31914
31915 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31916 (CGROUP_SUPER_MAGIC): Define.
31917 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31918 Handle btrfs and cgroup file systems.
31919 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31920 Likewise.
31921
91c42559
LM
319222010-09-27 Luis Machado <luisgpm@br.ibm.com>
31923
31924 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31925 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31926
87a97932
AK
319272010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31928
31929 [BZ #12067]
31930 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31931 trying to locate the ELF header.
31932
c21cc9bc
AS
319332010-09-27 Andreas Schwab <schwab@redhat.com>
31934
31935 [BZ #11611]
31936 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31937 Mask out sign-bit copies when constructing f_fsid.
31938
315970f6
PB
319392010-09-24 Petr Baudis <pasky@suse.cz>
31940
31941 * debug/stack_chk_fail_local.c: Add missing licence exception.
31942 * debug/warning-nop.c: Likewise.
31943
1ac7a2c7
JM
319442010-09-15 Joseph Myers <joseph@codesourcery.com>
31945
31946 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31947 implementing getdents64 using getdents syscall, set d_type if
31948 __ASSUME_GETDENTS32_D_TYPE.
31949
56801c50
AS
319502010-09-16 Andreas Schwab <schwab@redhat.com>
31951
31952 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31953 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31954
dda51327
UD
319552010-09-21 Ulrich Drepper <drepper@redhat.com>
31956
31957 [BZ #12037]
31958 * posix/unistd.h: Undo change of feature selection for ftruncate from
31959 2010-01-11.
31960
8ffcee4a
UD
319612010-09-20 Ulrich Drepper <drepper@redhat.com>
31962
a545ecd9 31963 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31964 detection.
31965
e24f0a8b
AS
319662010-09-20 Andreas Schwab <schwab@redhat.com>
31967
31968 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31969 fanotify_mark.
31970 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31971
7291c56f
AS
319722010-09-14 Andreas Schwab <schwab@redhat.com>
31973
31974 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31975 variables after CHECK_SP call.
31976 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31977
bc5fb037
AS
319782010-09-13 Andreas Schwab <schwab@redhat.com>
31979 Ulrich Drepper <drepper@redhat.com>
31980
31981 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31982 re-relocationg ld.so.
31983 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31984 _dl_init_paths call.
31985 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31986 here anymore.
31987
e66e7419
UD
319882010-09-14 Ulrich Drepper <drepper@redhat.com>
31989
31990 * resolv/res_init.c (__res_vinit): Count the default server we added.
31991
c044aa75
CLT
319922010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31993 Ulrich Drepper <drepper@redhat.com>
31994
31995 [BZ #11968]
31996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31997 (____longjmp_chk): Use %ebx for saving value across system call.
31998 Add unwind info.
31999
32cf4069
AS
320002010-09-06 Andreas Schwab <schwab@redhat.com>
32001
32002 * manual/Makefile: Don't mix pattern rules with normal rules.
32003
817328ee
AS
320042010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32005
32006 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32007 operation.
32008 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32009 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32010 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32011 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32013 Likewise.
32014
29fddf61
UD
320152010-09-04 Ulrich Drepper <drepper@redhat.com>
32016
32017 [BZ #11979]
32018 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32019 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32020
0959ffc9
UD
320212010-09-02 Ulrich Drepper <drepper@redhat.com>
32022
32023 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32024 * sysdeps/x86_64/addmul_1.S: Likewise.
32025 * sysdeps/x86_64/lshift.S: Likewise.
32026 * sysdeps/x86_64/mul_1.S: Likewise.
32027 * sysdeps/x86_64/rshift.S: Likewise.
32028 * sysdeps/x86_64/sub_n.S: Likewise.
32029 * sysdeps/x86_64/submul_1.S: Likewise.
32030
ece29840
ST
320312010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32032
0959ffc9
UD
32033 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32034 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32035 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32036 * bits/sched.h [__need_schedparam]
ece29840 32037 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32038 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32039 (__defined_schedparam): Define to 1.
ece29840
ST
32040 (__sched_param): New structure, identical to sched_param.
32041 (__need_schedparam): Undefine.
32042
e53a31fe
MF
320432010-08-31 Mike Frysinger <vapier@gentoo.org>
32044
fdc0c10d
MF
32045 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32046 (epoll_create1): Declare.
32047
e53a31fe
MF
32048 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32049
a726d796
AS
320502010-08-31 Andreas Schwab <schwab@redhat.com>
32051
32052 [BZ #7066]
32053 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32054 shifting retval into place.
32055
2f3e3dc7
UD
320562010-09-01 Ulrich Drepper <drepper@redhat.com>
32057
f2933da9
UD
32058 * nis/rpcsvc/nis.h: Update copyright notice.
32059 * nis/rpcsvc/nis.x: Likewise.
32060 * nis/rpcsvc/nis_callback.h: Likewise.
32061 * nis/rpcsvc/nis_callback.x: Likewise.
32062 * nis/rpcsvc/nis_object.x: Likewise.
32063 * nis/rpcsvc/nis_tags.h: Likewise.
32064 * nis/rpcsvc/yp.h: Likewise.
32065 * nis/rpcsvc/yp.x: Likewise.
32066 * nis/rpcsvc/ypupd.h: Likewise.
32067 * nis/yp_xdr.c: Likewise.
32068 * nis/ypupdate_xdr.c: Likewise.
32069
2f3e3dc7
UD
32070 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32071 mainly the body of pmap_getport. Add parameters to specify timeouts.
32072 (pmap_getport): Use __libc_rpc_getport.
32073 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32074 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32075 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32076
f3dcc2f9
AS
320772010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32078
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32080 fanotify_mark.
32081
6d34eb5b
RM
320822010-08-27 Roland McGrath <roland@redhat.com>
32083
32084 * sysdeps/i386/i686/multiarch/Makefile
32085 (CFLAGS-varshift.c): New variable.
32086
9ea3de11
UD
320872010-08-27 Ulrich Drepper <drepper@redhat.com>
32088
c96d23fc
UD
32089 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32090 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32091
9ea3de11
UD
32092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32093
32094 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32095
623aac7f
L
320962010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32097
32098 * sysdeps/x86_64/strlen.S: Unroll the loop.
32099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32100 strlen-sse2 strlen-sse2-bsf.
32101 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32102 __strlen_no_bsf if bit_Slow_BSF is set.
32103 (__strlen_sse42): Removed.
32104 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32105 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32106
8b2b7715
RM
321072010-08-25 Roland McGrath <roland@redhat.com>
32108
32109 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32110 * sysdeps/x86_64/multiarch/varshift.c: New file.
32111 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32112 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32113 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32114 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32115
e73015f2
L
321162010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32117
32118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32119 strlen-sse2 strlen-sse2-bsf.
32120 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32121 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32122 (__strlen_sse2): Removed.
32123 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32124 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32126 bit_Slow_BSF for Atom.
32127 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32128 (index_Slow_BSF): Define.
32129 (HAS_SLOW_BSF): Define.
32130
df24a73e
UD
321312010-08-25 Ulrich Drepper <drepper@redhat.com>
32132
32133 [BZ #10851]
32134 * resolv/res_init.c (__res_vinit): When no server address at all
32135 is given default to loopback.
32136
f2ac4868
RM
321372010-08-24 Roland McGrath <roland@redhat.com>
32138
09055553
RM
32139 * configure.in: Remove config-name.h generation.
32140 * configure: Regenerated.
32141 * config-name.in: File removed.
32142 * scripts/config-uname.sh: New file.
32143 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32144 ($(objdir)config-name.h): New target.
32145
f2ac4868
RM
32146 * sunrpc/rpc_parse.h: Avoid nested comment.
32147
73f27d5e
RH
321482010-08-24 Richard Henderson <rth@redhat.com>
32149 Ulrich Drepper <drepper@redhat.com>
32150 H.J. Lu <hongjiu.lu@intel.com>
32151
32152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32154 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32155 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32156 _mm_alignr_epi8 with _mm_loadu_si128.
32157 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32158 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32159 (__m128i_shift_right): Removed.
32160 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32161 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32162 * sysdeps/x86_64/multiarch/varshift.h: New file.
32163 * sysdeps/x86_64/multiarch/varshift.S: New file.
32164
84b9230c
MF
321652010-08-21 Mike Frysinger <vapier@gentoo.org>
32166
32167 * configure.in: Move assembler checks to before sysdep dir checking.
32168
9bbd0ddc
PB
321692010-08-20 Petr Baudis <pasky@suse.cz>
32170
32171 * LICENSES: Sync the sunrpc license.
32172
9da4bb31
UD
321732010-08-19 Ulrich Drepper <drepper@redhat.com>
32174
a7ab6ec8
UD
32175 * sunrpc/auth_des.c: Update copyright notice once again.
32176 * sunrpc/auth_none.c: Likewise.
32177 * sunrpc/auth_unix.c: Likewise.
32178 * sunrpc/authdes_prot.c: Likewise.
32179 * sunrpc/authuxprot.c: Likewise.
32180 * sunrpc/bindrsvprt.c: Likewise.
32181 * sunrpc/clnt_gen.c: Likewise.
32182 * sunrpc/clnt_perr.c: Likewise.
32183 * sunrpc/clnt_raw.c: Likewise.
32184 * sunrpc/clnt_simp.c: Likewise.
32185 * sunrpc/clnt_tcp.c: Likewise.
32186 * sunrpc/clnt_udp.c: Likewise.
32187 * sunrpc/clnt_unix.c: Likewise.
32188 * sunrpc/des_crypt.c: Likewise.
32189 * sunrpc/des_soft.c: Likewise.
32190 * sunrpc/get_myaddr.c: Likewise.
32191 * sunrpc/getrpcport.c: Likewise.
32192 * sunrpc/key_call.c: Likewise.
32193 * sunrpc/key_prot.c: Likewise.
32194 * sunrpc/openchild.c: Likewise.
32195 * sunrpc/pm_getmaps.c: Likewise.
32196 * sunrpc/pm_getport.c: Likewise.
32197 * sunrpc/pmap_clnt.c: Likewise.
32198 * sunrpc/pmap_prot.c: Likewise.
32199 * sunrpc/pmap_prot2.c: Likewise.
32200 * sunrpc/pmap_rmt.c: Likewise.
32201 * sunrpc/rpc/auth.h: Likewise.
32202 * sunrpc/rpc/auth_unix.h: Likewise.
32203 * sunrpc/rpc/clnt.h: Likewise.
32204 * sunrpc/rpc/des_crypt.h: Likewise.
32205 * sunrpc/rpc/key_prot.h: Likewise.
32206 * sunrpc/rpc/netdb.h: Likewise.
32207 * sunrpc/rpc/pmap_clnt.h: Likewise.
32208 * sunrpc/rpc/pmap_prot.h: Likewise.
32209 * sunrpc/rpc/pmap_rmt.h: Likewise.
32210 * sunrpc/rpc/rpc.h: Likewise.
32211 * sunrpc/rpc/rpc_des.h: Likewise.
32212 * sunrpc/rpc/rpc_msg.h: Likewise.
32213 * sunrpc/rpc/svc.h: Likewise.
32214 * sunrpc/rpc/svc_auth.h: Likewise.
32215 * sunrpc/rpc/types.h: Likewise.
32216 * sunrpc/rpc/xdr.h: Likewise.
32217 * sunrpc/rpc_clntout.c: Likewise.
32218 * sunrpc/rpc_cmsg.c: Likewise.
32219 * sunrpc/rpc_common.c: Likewise.
32220 * sunrpc/rpc_cout.c: Likewise.
32221 * sunrpc/rpc_dtable.c: Likewise.
32222 * sunrpc/rpc_hout.c: Likewise.
32223 * sunrpc/rpc_main.c: Likewise.
32224 * sunrpc/rpc_parse.c: Likewise.
32225 * sunrpc/rpc_parse.h: Likewise.
32226 * sunrpc/rpc_prot.c: Likewise.
32227 * sunrpc/rpc_sample.c: Likewise.
32228 * sunrpc/rpc_scan.c: Likewise.
32229 * sunrpc/rpc_scan.h: Likewise.
32230 * sunrpc/rpc_svcout.c: Likewise.
32231 * sunrpc/rpc_tblout.c: Likewise.
32232 * sunrpc/rpc_util.c: Likewise.
32233 * sunrpc/rpc_util.h: Likewise.
32234 * sunrpc/rpcinfo.c: Likewise.
32235 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32236 * sunrpc/rpcsvc/key_prot.x: Likewise.
32237 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32238 * sunrpc/rpcsvc/mount.x: Likewise.
32239 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32240 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32241 * sunrpc/rpcsvc/rex.x: Likewise.
32242 * sunrpc/rpcsvc/rstat.x: Likewise.
32243 * sunrpc/rpcsvc/rusers.x: Likewise.
32244 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32245 * sunrpc/rpcsvc/spray.x: Likewise.
32246 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32247 * sunrpc/rtime.c: Likewise.
32248 * sunrpc/svc.c: Likewise.
32249 * sunrpc/svc_auth.c: Likewise.
32250 * sunrpc/svc_authux.c: Likewise.
32251 * sunrpc/svc_raw.c: Likewise.
32252 * sunrpc/svc_run.c: Likewise.
32253 * sunrpc/svc_simple.c: Likewise.
32254 * sunrpc/svc_tcp.c: Likewise.
32255 * sunrpc/svc_udp.c: Likewise.
32256 * sunrpc/svc_unix.c: Likewise.
32257 * sunrpc/svcauth_des.c: Likewise.
32258 * sunrpc/xcrypt.c: Likewise.
32259 * sunrpc/xdr.c: Likewise.
32260 * sunrpc/xdr_array.c: Likewise.
32261 * sunrpc/xdr_float.c: Likewise.
32262 * sunrpc/xdr_mem.c: Likewise.
32263 * sunrpc/xdr_rec.c: Likewise.
32264 * sunrpc/xdr_ref.c: Likewise.
32265 * sunrpc/xdr_sizeof.c: Likewise.
32266 * sunrpc/xdr_stdio.c: Likewise.
32267
9da4bb31
UD
32268 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32269 handling.
32270
bdaa77bc
AS
322712010-08-19 Andreas Schwab <schwab@redhat.com>
32272
32273 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32274
fe2f79db
LM
322752010-08-19 Luis Machado <luisgpm@br.ibm.com>
32276
32277 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32278 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32279 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32280 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32281 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32282 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32283 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32284 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32285 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32286 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32287 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32288 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32289 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32290 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32291
b9b42ee0
AB
322922010-07-26 Anton Blanchard <anton@samba.org>
32293
32294 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32295 * malloc/arena.c (heap_trim): Likewise.
32296
1c06ba31
UD
322972010-08-16 Ulrich Drepper <drepper@redhat.com>
32298
32299 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32300 here. Not...
32301 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32302 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32303
f8392f40
L
323042010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32305
32306 * sysdeps/i386/elf/Makefile: New file.
32307
3162f12e
AS
323082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32309
32310 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32311 from fanotify_init.
32312 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32313 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32314
28c90b2c
UD
323152010-08-15 Ulrich Drepper <drepper@redhat.com>
32316
32317 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32318 of strncasecmp_l.
1feccb6c 32319 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32320
ca6bb004
UD
323212010-08-14 Ulrich Drepper <drepper@redhat.com>
32322
e9f82e0d
UD
32323 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32324 strncase_l-nonascii.
32325 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32326 Add strncase_l-ssse3.
32327 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32328 * sysdeps/x86_64/strcmp.S: Likewise.
32329 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32330 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32331 * sysdeps/x86_64/strncase.S: New file.
32332 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32333 * sysdeps/x86_64/strncase_l.S: New file.
32334 * string/Makefile (strop-tests): Add strncasecmp.
32335 * string/test-strncasecmp.c: New file.
32336
32337 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32338 warning.
32339
ca6bb004
UD
32340 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32341 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32342
052fa7b3
AS
323432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32344
32345 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32346
962dba78
UD
323472010-08-12 Ulrich Drepper <drepper@redhat.com>
32348
32349 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32350 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32351 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32352
bebff237
AM
323532010-05-01 Alan Modra <amodra@gmail.com>
32354
32355 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32356 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32357 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32358 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32359 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32360 tidying. Don't tail-call __sigjmp_save for static lib.
32361 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32362 save location.
32363 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32364 (CALL_MCOUNT): Add eh info, and nop after bl.
32365 (TAIL_CALL_SYSCALL_ERROR): New macro.
32366 (PSEUDO_RET): Use it.
32367 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32368 Correct save location of integer regs and cr.
32369 (_dl_profile_resolve): Correct cr save location. Delete nops
32370 after bl when SHARED. Reduce cfi size a little by better
32371 placement of cfi directives.
32372 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32373 make a stack frame. Instead use parm save area as a temp.
32374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32375 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32377 Don't make a stack frame for parent, use parm save area.
32378 Increase child stack frame to 112 bytes. Don't save unused reg,
32379 and adjust reg usage. Set up cfi on error recovery and
32380 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32382 (__makecontext): Add dummy nop after jump to exit.
32383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32384 Use correct parm save area and cr save, reduce stack frame.
32385 Correct cfi for possible PSEUDO_RET frame setup.
32386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32387 Branch to local label emitted by PSEUDO_RET rather than
32388 __syscall_error.
32389
02637374
AS
323902010-08-12 Andreas Schwab <schwab@redhat.com>
32391
32392 [BZ #11904]
32393 * locale/programs/locale.c (print_assignment): New function.
32394 (show_locale_vars): Use it.
32395
c3e2f19b
UD
323962010-08-11 Ulrich Drepper <drepper@redhat.com>
32397
3cdaa6ad
UD
32398 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32399 field.
32400 (struct statfs64): Likewise.
32401 (_STATFS_F_FLAGS): Define.
32402 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32403 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32404 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32405 (ST_VALID): Define locally.
32406 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32407 __statvfs_getflags, use the provided value.
32408 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32409 __ASSUME_STATFS_F_FLAGS.
32410
754f7da3
UD
32411 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32412
10b3bedc
UD
32413 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32414 Add sys/fanotify.h.
32415 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32416 fanotify_mask for GLIBC_2.13.
32417 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32418 fanotify_init and fanotify_mark.
32419 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32420 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32421
c08fb0d7
UD
32422 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32423 Add prlimit.
32424 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32425 prlimit64 for GLIBC_2.13.
32426 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32427 prlimit64.
32428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32429 syscall.
32430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32431 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32432 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32433 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32434 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32435 add prlimit alias.
32436 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32437
15bac72b
UD
32438 [BZ #11903]
32439 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32440 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32441
c3e2f19b
UD
32442 * nss/Makefile: Add rules to build and run tst-nss-test1.
32443 * shlib-versions: Add entry for libnss_test1.
32444 * nss/nss_test1.c: New file.
32445 * nss/tst-nss-test1.c: New file.
32446
32447 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32448 (__nss_configure_lookup): Set appropriate entry in
32449 __nss_configure_lookup to true.
32450 * nss/nsswitch.h: Define enum with indeces of databases in
32451 databases and __nss_database_custom arrays. Declare
32452 __nss_database_custom.
32453 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32454 to avoid using nscd when custom rules are installed.
32455 * nss/getXXbyYY_r.c: Likewise.
32456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32457
32458 * nss/nss_files/files-parse.c: Whitespace fixes.
32459
f15ce4d8
UD
324602010-08-09 Ulrich Drepper <drepper@redhat.com>
32461
32462 [BZ #11883]
32463 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32464 * posix/fnmatch_loop.c: Likewise.
32465
d22e4cc9
AK
324662010-07-17 Andi Kleen <ak@linux.intel.com>
32467
32468 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32469 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32470 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32471 * Versions.def [GLIBC_2.13]: Add.
32472
805bc17d
UD
324732010-08-06 Ulrich Drepper <drepper@redhat.com>
32474
32475 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32476 Also fail if tpwd after pwuid call is NULL.
32477
5a42321d
ST
324782010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32479
32480 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32481 when converting to ms.
32482
fd3ebeda
ST
324832010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32484
32485 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32486 EOPNOTSUPP errors with ENOTTY.
32487 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32488 EOPNOTSUPP errors with ENOTTY.
32489
73507d3a
UD
324902010-07-31 Ulrich Drepper <drepper@redhat.com>
32491
32492 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32493 Add strcasecmp_l-ssse3.
32494 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32495 strcasecmp.
32496 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32497 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32498 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32499
fe36dd02
UD
325002010-07-30 Ulrich Drepper <drepper@redhat.com>
32501
66f6765a
UD
32502 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32503
42e08a54
UD
32504 * string/Makefile (strop-tests): Add strcasecmp.
32505 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32506 strcasecmp_l-nonascii.
32507 (gen-as-const-headers): Add locale-defines.sym.
32508 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32509 * sysdeps/x86_64/strcasecmp.S: New file.
32510 * sysdeps/x86_64/strcasecmp_l.S: New file.
32511 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32512 * sysdeps/x86_64/locale-defines.sym: New file.
32513 * string/test-strcasecmp.c: New file.
32514
fe36dd02
UD
32515 * string/test-strcasestr.c: Test both ends of the range of characters.
32516 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32517
48cbc0d6
RM
325182010-07-29 Roland McGrath <roland@redhat.com>
32519
76e6d6bc 32520 [BZ #11856]
48cbc0d6
RM
32521 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32522
880113d9
UD
325232010-07-27 Ulrich Drepper <drepper@redhat.com>
32524
32525 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32526 for ld.so.
32527
deb9cabb
AS
325282010-07-27 Andreas Schwab <schwab@redhat.com>
32529
32530 * manual/memory.texi (Malloc Tunable Parameters): Document
32531 M_PERTURB.
32532
1c7570ff
RM
325332010-07-26 Roland McGrath <roland@redhat.com>
32534
32535 [BZ #11840]
32536 * configure.in (-fgnu89-inline check): Set and substitute
32537 gnu89_inline, not libc_cv_gnu89_inline.
32538 * configure: Regenerated.
32539 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32540
24fb0f88
UD
325412010-07-26 Ulrich Drepper <drepper@redhat.com>
32542
32543 * string/test-strnlen.c: New file.
32544 * string/Makefile (strop-tests): Add strnlen.
32545 * string/tester.c (test_strnlen): Add a few more test cases.
32546 * string/tst-strlen.c: Better error reporting.
32547
32548 * sysdeps/x86_64/strnlen.S: New file.
32549
8e96b93a
UD
325502010-07-24 Ulrich Drepper <drepper@redhat.com>
32551
32552 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32553 lower-latency instructions.
32554
dbc676d4
UD
325552010-07-23 Ulrich Drepper <drepper@redhat.com>
32556
32557 * string/test-strcasestr.c: New file.
32558 * string/test-strstr.c: New file.
32559 * string/Makefile (strop-tests): Add strstr and strcasestr.
32560 * string/str-two-way.h: Don't undefine MAX.
32561 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32562
f6a31e0e
AS
325632010-07-21 Andreas Schwab <schwab@redhat.com>
32564
32565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32566 strcasestr-nonascii.
32567 (CFLAGS-strcasestr-nonascii.c): Define.
32568 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32569 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32570 Remove unused attribute.
32571
5dbc3b6c
RM
325722010-07-20 Roland McGrath <roland@redhat.com>
32573
32574 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32575 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32576 ld.so.cache was broken. With it, there is no way to disable dsocaps
32577 like LD_HWCAP_MASK can disable hwcaps.
32578
23d101d8
EPM
325792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32580
32581 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32582
cc9f2e47
UD
325832010-07-16 Ulrich Drepper <drepper@redhat.com>
32584
32585 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32586 call in strcasestr.
32587 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32588 __strcasestr_sse42_nonascii.
32589 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32590 strcasestr-nonascii.c.
32591 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32592
77c1b069
LM
325932010-06-15 Luis Machado <luisgpm@br.ibm.com>
32594
32595 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32596 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32597 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32598 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32599
440566c3
UD
326002010-07-09 Ulrich Drepper <drepper@redhat.com>
32601
32602 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32603 fcntl.
32604
5be9d05d
AS
326052010-07-06 Andreas Schwab <schwab@redhat.com>
32606
c30b7ee2 32607 [BZ #11577]
5be9d05d
AS
32608 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32609 dl_signal_cerror.
32610
8a492a67
UD
326112010-07-06 Ulrich Drepper <drepper@redhat.com>
32612
32613 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32614 _PC_PIPE_BUF using F_GETPIPE_SZ.
32615
713df3d5
RM
326162010-07-05 Roland McGrath <roland@redhat.com>
32617
32618 * manual/arith.texi (Rounding Functions): Fix rint description
32619 implicit in round description.
32620
702e8f14
UD
326212010-07-02 Ulrich Drepper <drepper@redhat.com>
32622
32623 * elf/Makefile: Fix linking for a few tests to make recent linker
32624 happy.
32625
52ed8be9
AS
326262010-06-30 Andreas Schwab <schwab@redhat.com>
32627
32628 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32629 $(common-objpfx)libc_nonshared.a.
32630
f47c9a11
LM
326312010-06-21 Luis Machado <luisgpm@br.ibm.com>
32632
32633 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32634 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32635 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32636 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32637 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32638 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32639 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32640 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32655 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32656 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32657 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32658 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32659 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32660 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32661 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32662 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32663 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32664 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32665 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32666 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32681
6fb8cbcb
L
326822010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32683
32684 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32685 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32686 * string/memmove.c (memmove): Renamed to ...
32687 (MEMMOVE): ...this. Default to memmove.
32688 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32689 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32690 (END_CHK): Define.
32691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32692 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32693 mempcpy-ssse3-back memmove-ssse3-back.
32694 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32695 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32696 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32697 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32698 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32699 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32700 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32701 * sysdeps/x86_64/multiarch/memmove.c: New file.
32702 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32703 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32704 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32705 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32706 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32707 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32708 Define.
32709 (index_Fast_Copy_Backward): Define.
32710 (HAS_ARCH_FEATURE): Define.
32711 (HAS_FAST_REP_STRING): Define.
32712 (HAS_FAST_COPY_BACKWARD): Define.
32713
4e733bac 327142010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32715
32716 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32717 Restore proper fallback handling.
32718
63c4ed22
UD
327192010-06-19 Ulrich Drepper <drepper@redhat.com>
32720
ac2b484c
UD
32721 [BZ #11701]
32722 * posix/group_member.c (__group_member): Correct checking loop.
32723
63c4ed22
UD
32724 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32725 OOM in getpwuid_r correctly. Return error number when the caller
32726 should return, otherwise -1.
32727 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32728 call returning > 0 value.
32729 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32730
765ade4b
AS
327312010-06-07 Andreas Schwab <schwab@redhat.com>
32732
32733 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32734 libc_nonshared.a from targets in modules-names.
32735
80da2e09
KS
327362010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32737
32738 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32739 requires it.
32740
158db122
LM
327412010-06-10 Luis Machado <luisgpm@br.ibm.com>
32742
32743 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32744 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32745 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32747
caa78cf8
AS
327482010-06-02 Andreas Schwab <schwab@redhat.com>
32749
32750 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32751
b2ef2c01
UD
327522010-06-14 Ulrich Drepper <drepper@redhat.com>
32753
32754 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32755 and F_GETPIPE_SZ.
32756 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32757 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32761 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32762
fbd643b6
RM
327632010-06-14 Roland McGrath <roland@redhat.com>
32764
32765 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32766
f32f2869
JJ
327672010-06-07 Jakub Jelinek <jakub@redhat.com>
32768
32769 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32770 __REDIRECT followed by __THROW.
32771 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32772 * posix/getopt.h (getopt): Likewise.
32773
2a50c078
EPM
327742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32775
32776 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32777 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32778 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32779 in AT_FLAGS.
32780 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32781 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32782
eb5ad2eb
LM
327832010-05-28 Luis Machado <luisgpm@br.ibm.com>
32784
32785 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32786
3c88fe1e
L
327872010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32788
32789 [BZ #11640]
32790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32791 Properly check family and model.
32792
d2f73151
TY
327932010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32794
32795 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32796
ebd2e13d
LM
327972010-05-24 Luis Machado <luisgpm@br.ibm.com>
32798
32799 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32800
b32b8b45
UD
328012010-05-21 Ulrich Drepper <drepper@redhat.com>
32802
32803 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32804 symbol reference.
32805
9acbe24d
AS
328062010-05-19 Andreas Schwab <schwab@redhat.com>
32807
32808 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32809 symbol reference.
32810
f0ccf6ea
AS
328112010-05-21 Andreas Schwab <schwab@redhat.com>
32812
3d04ff3a
AS
32813 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32814 and internal_recvmmsg.
32815 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32816 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32817 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32818 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32819
f0ccf6ea
AS
32820 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32821 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32822 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32823
5b08ac57
AS
328242010-05-20 Andreas Schwab <schwab@redhat.com>
32825
32826 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32827
4828935d
LM
328282010-05-17 Luis Machado <luisgpm@br.ibm.com>
32829
32830 POWER7 optimizations.
32831 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32832 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32833
373d545e
UD
328342010-05-19 Ulrich Drepper <drepper@redhat.com>
32835
32836 * version.h: Update for 2.13 development version.
32837
21a2b1ae
AS
328382010-05-12 Andrew Stubbs <ams@codesourcery.com>
32839
32840 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32841 exceptions. Return 0.
32842
3f7dcb2b
RM
328432010-05-07 Roland McGrath <roland@redhat.com>
32844
32845 * elf/ldconfig.c (main): Add a const.
32846
5f24d53a 328472010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32848
a160f8d8
UD
32849 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32850 (args_options): Add no-idn option.
32851 (ahosts_keys_int): Add idn_flags to ai_flags.
32852 (parse_option): Handle 'i' option to clear idn_flags.
32853
5f24d53a
UD
32854 * malloc/malloc.c (_int_free): Possible race in the most recently
32855 added check. Only act on the data if no current modification
32856 happened.
265bb1ce
UD
32857
32858See ChangeLog.17 for earlier changes.
This page took 4.184353 seconds and 5 git commands to generate.