]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
update NEWS
[thirdparty/glibc.git] / ChangeLog
1 2012-08-27 Mike Frysinger <vapier@gentoo.org>
2
3 [BZ #5400]
4 * NEWS: Add fixed bug number.
5
6 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #14519]
9 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10 underflowing exponent in case of negative sign.
11 * stdlib/tst-strtod-round-data: Add more tests.
12 * stdlib/tst-strtod-round.c (tests): Regenerated.
13
14 [BZ #3479]
15 * stdlib/strtod_l.c (NDIG): Remove.
16 (HEXNDIG): Likewise.
17 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18 smallest representable value.
19 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20 lie within an exact representation of 1/2 ulp of the result.
21 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
22 unconditionally.
23 (TENS_P9_IDX): Define unconditionally.
24 (TENS_P9_SIZE): Likewise.
25 (TENS_P10_IDX): Likewise.
26 (TENS_P10_SIZE): Likewise.
27 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30 entries for 10^2^13 and 10^2^14.
31 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32 (TENS_P13_IDX): Define.
33 (TENS_P13_SIZE): Likewise.
34 (TENS_P14_IDX): Likewise.
35 (TENS_P14_SIZE): Likewise.
36 (_fpioconst_pow10): Change array size to
37 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38 unconditional.
39 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40 1024]: Add entries for 10^2^13 and 10^2^14.
41 [LAST_POW10 > _LAST_POW10]: Remove #error.
42 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43 (_fpioconst_pow10): Change array size to
44 FPIOCONST_POW10_ARRAY_SIZE.
45 * stdlib/gen-fpioconst.c: New file.
46 * stdlib/gen-tst-strtod-round.c: Likewise.
47 * stdlib/tst-strtod-round-data: Likewise.
48 * stdlib/tst-strtod-round.c: Likewise.
49 * stdlib/Makefile (tests): Add tst-strtod-round.
50
51 [BZ #14459]
52 * stdlib/strtod_l.c: Include <stdint.h>.
53 (NDEBUG): Do not define.
54 (round_and_return): Change EXPONENT parameter to type intmax_t.
55 Rearrange calculations to avoid internal overflow possibilities.
56 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57 Rearrange calculations to avoid internal overflow possibilities.
58 Assert that number fits inside MPNSIZE limbs.
59 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
61 calculations and add assertions to avoid internal overflow
62 possibilities. Add casts to avoid signed/unsigned operations.
63 * stdlib/tst-strtod-overflow.c: New file.
64 * stdlib/Makefile (tests): Add tst-strtod-overflow.
65
66 2012-08-25 Marek Polacek <polacek@redhat.com>
67
68 * time/time.h: Fix some typos in comments.
69
70 2012-08-23 Roland McGrath <roland@hack.frob.com>
71
72 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
73 * posix/tst-rfc3484-2.c: Likewise.
74 * posix/tst-rfc3484-3.c: Likewise.
75
76 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77
78 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
79 (EF_ARM_ABI_FLOAT_HARD): Likewise.
80
81 2012-08-23 Joseph Myers <joseph@codesourcery.com>
82
83 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
84 #include of fxstatat64.c.
85
86 2012-08-22 Roland McGrath <roland@hack.frob.com>
87
88 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
89 * shadow/getspent_r.c: Likewise.
90 * shadow/getspnam.c: Likewise.
91 * shadow/getspnam_r.c: Likewise.
92 * gshadow/getsgent.c: Likewise.
93 * gshadow/getsgent_r.c: Likewise.
94 * gshadow/getsgnam.c: Likewise.
95 * gshadow/getsgnam_r.c: Likewise.
96 * inet/getnetbyad.c: Likewise.
97 * inet/getnetbyad_r.c: Likewise.
98 * inet/getnetbynm.c: Likewise.
99 * inet/getnetbynm_r.c: Likewise.
100 * inet/getnetent.c: Likewise.
101 * inet/getnetent_r.c: Likewise.
102 * inet/getproto.c: Likewise.
103 * inet/getproto_r.c: Likewise.
104 * inet/getprtent.c: Likewise.
105 * inet/getprtent_r.c: Likewise.
106 * inet/getprtname.c: Likewise.
107 * inet/getprtname_r.c: Likewise.
108 * inet/getrpcbyname.c: Likewise.
109 * inet/getrpcbyname_r.c: Likewise.
110 * inet/getrpcbynumber.c: Likewise.
111 * inet/getrpcbynumber_r.c: Likewise.
112 * inet/getrpcent.c: Likewise.
113 * inet/getrpcent_r.c: Likewise.
114 * inet/getaliasent.c: Likewise.
115 * inet/getaliasent_r.c: Likewise.
116 * inet/getaliasname.c: Likewise.
117 * inet/getaliasname_r.c: Likewise.
118 * nscd/getgrgid_r.c: Likewise.
119 * nscd/getgrnam_r.c: Likewise.
120 * nscd/gethstbyad_r.c: Likewise.
121 * nscd/gethstbynm3_r.c: Likewise.
122 * nscd/getpwnam_r.c: Likewise.
123 * nscd/getpwuid_r.c: Likewise.
124 * nscd/getsrvbynm_r.c: Likewise.
125 * nscd/getsrvbypt_r.c: Likewise.
126 * nscd/gai.c: Likewise.
127
128 * configure.in (build_nscd): New substituted variable, set
129 by --disable-build-nscd and defaults to $use_nscd.
130 * configure: Regenerated.
131 * config.make.in (build-nscd): New substituted variable.
132 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
133 Change conditional to require [$(build-nscd) = yes] as well.
134 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
135
136 [BZ# 13696]
137 * configure.in (use_nscd): New substituted variable, set by
138 --disable-nscd. If enabled, define USE_NSCD.
139 * configure: Regenerated.
140 * config.h.in: Add USE_NSCD.
141 * config.make.in (use-nscd): New substituted variable.
142 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
143 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
144 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
145 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
146 (CFLAGS-getgrnam_r.c): Likewise.
147 (CFLAGS-initgroups.c): Likewise.
148 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
149 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
150 Variables removed.
151 * inet/getnetgrent_r.c
152 (nscd_setnetgrent): New function, broken out of ...
153 (setnetgrent): ... here. Call it.
154 (innetgr): Conditionalize nscd bits on [USE_NSCD].
155 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
156 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
157 * nscd/Makefile (routines, aux): Move definitions after include of
158 Makeconfig. Conditionalize on [$(use-nscd) != no].
159 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
160 Conditionalize on [USE_NSCD].
161 (is_nscd, nscd_init_cb): Likewise.
162 (nss_load_library): Conditionalize init callback on [USE_NSCD].
163 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
164 * nss/nss_db/db-init.c: Likewise.
165 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
166 [USE_NSCD].
167 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
168 (make_request): Use it.
169 (cache_valid_p): New function.
170 (__check_pf): Use it.
171 * NEWS: Add item for --disable-nscd.
172
173 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
174
175 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
176 to support sed >= 4.2.1-20-ga9bf076.
177 * configure: Regenerated.
178
179 2012-08-22 Roland McGrath <roland@hack.frob.com>
180
181 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
182 Conditionalize whole body on [IREL].
183
184 2012-08-22 Jeff Law <law@redhat.com>
185
186 [BZ #14505]
187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
188 if the family is PF_UNSPEC.
189
190 2012-08-22 Mike Frysinger <vapier@gentoo.org>
191
192 * Makerules (lib-version): Rename from V.
193 (install-lib-nosubdir): Change V to lib-version.
194
195 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
196
197 [BZ #14252]
198 * powerpc32/power6/wcschr.c: New file.
199 * powerpc32/power6/wcscpy.c: New file.
200 * powerpc32/power6/wcsrchr.c: New file.
201 * powerpc64/power6/wcschr.c: New file.
202 * powerpc64/power6/wcscpy.c: New file.
203 * powerpc64/power6/wcsrchr.c: New file.
204
205 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
206
207 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
208 (two_way_short_needle): Use it.
209 * string/strstr.c (AVAILABLE1_USES_J): Define.
210 * string/strcasestr.c: Likewise.
211
212 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
213 array references.
214 * string/strcasestr.c (TOLOWER): Make side-effect safe.
215
216 [BZ #11607]
217 * NEWS: Add an entry.
218 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
219 define their defaults.
220 (two_way_short_needle): Detect end-of-string on-the-fly.
221 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
222 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
223 * string/bug-strcasestr1.c: New test.
224 * string/Makefile: Run it.
225
226 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
227
228 [BZ #11607]
229 * string/str-two-way.h (two_way_short_needle): Optimize matching of
230 the first character.
231
232 2012-08-21 Roland McGrath <roland@hack.frob.com>
233
234 * csu/elf-init.c (__libc_csu_irel): Function removed.
235 * csu/libc-start.c (apply_irel): New function.
236 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
237
238 2012-08-21 Joseph Myers <joseph@codesourcery.com>
239
240 * sysdeps/unix/sysv/linux/kernel-features.h
241 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
242 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
243 <kernel-features.h>.
244 [__NR_fadvise64_64]: Make code unconditional.
245 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
246 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
247 !__NR_fadvise64_64)]: Likewise.
248 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
249 !__NR_fadvise64_64))]: Likewise.
250 [__NR_fadvise64]: Make code unconditional.
251 [!__NR_fadvise64]: Remove conditional code.
252 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
253 <kernel-features.h>.
254 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
255 unconditional.
256 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
257 conditional code.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
259 not include <kernel-features.h>.
260 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
261 unconditional.
262 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
263 conditional code.
264 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
265 include <kernel-features.h>.
266 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
267 unconditional.
268 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
269 conditional code.
270
271 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
272
273 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
274 slight instruction rearrangements per scrollpipe analysis.
275 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
276
277 2012-08-20 Roland McGrath <roland@hack.frob.com>
278
279 * manual/syslog.texi (syslog; vsyslog, closelog):
280 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
281 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
282
283 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
284 DSOCAPS to match condition on defining it.
285
286 2012-08-20 Joseph Myers <joseph@codesourcery.com>
287
288 * sysdeps/unix/sysv/linux/kernel-features.h
289 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
291 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
292 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
294 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
295 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
297 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
298 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
299
300 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
301 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
302
303 * sysdeps/unix/sysv/linux/kernel-features.h
304 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
305 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
306 unconditional.
307 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
308 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
309 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
310 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
311 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
312 Make code unconditional.
313 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
314 (__mmap64) [!__NR_mmap2]: Likewise.
315 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
316 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
317 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
318 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
319 [__NR_mmap2]: Make code unconditional.
320 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
321 (__mmap64) [!__NR_mmap2]: Likewise.
322
323 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
324
325 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
326
327 2012-08-18 Andreas Jaeger <aj@suse.de>
328
329 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
330
331 2012-08-18 Mike Frysinger <vapier@gentoo.org>
332
333 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
334 * include/unistd.h (__have_sock_cloexec): Likewise.
335 (__have_pipe2): Likewise.
336 (__have_dup3): Likewise.
337
338 2012-08-18 Mike Frysinger <vapier@gentoo.org>
339
340 [BZ #9685]
341 * include/unistd.h (__have_pipe2): Change define into an extern int.
342 (__have_dup3): Likewise.
343 * socket/have_sock_cloexec.c: Include fcntl.h.
344 (__have_pipe2): New variable.
345 (__have_dup3): Likewise.
346
347 2012-08-17 Mike Frysinger <vapier@gentoo.org>
348
349 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
350
351 2012-08-17 Marek Polacek <polacek@redhat.com>
352
353 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
354 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
355
356 2012-08-17 Roland McGrath <roland@hack.frob.com>
357
358 * configure.in: Add AC_SUBST for sysheaders.
359 * configure: Regenerated.
360 * config.make.in (sysheaders): New substituted variable.
361
362 * sysdeps/unix/mkfifo.c: Moved ...
363 * sysdeps/posix/mkfifo.c: ... here.
364 * sysdeps/unix/mkfifoat.c: Moved ...
365 * sysdeps/posix/mkfifoat.c: ... here.
366
367 * sysdeps/unix/utime.c: Moved ...
368 * sysdeps/posix/utime.c: ... here.
369
370 * sysdeps/unix/time.c: Moved ...
371 * sysdeps/posix/time.c: ... here.
372 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
373 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
374
375 * sysdeps/unix/nice.c: Moved ...
376 * sysdeps/posix/nice.c: ... here.
377
378 * sysdeps/unix/alarm.c: Moved ...
379 * sysdeps/posix/alarm.c: ... here.
380
381 * intl/Makefile ($(codeset_mo)): Depend on the input file.
382
383 2012-08-17 Jeff Law <law@redhat.com>
384
385 * intl/Makefile (codeset_mo): New variable.
386 ($(codeset_mo)): New target.
387 (tst-codeset.out): Depend on that. Remove explicit rule.
388 (tst-gettext3.out, tst-gettext5.out): Likewise.
389 (LOCPATH-ENV, tst-codeset-ENV): New variables.
390 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
391 * intl/tst-codeset.sh: Remove.
392 * intl/tst-gettext3.sh: Likewise.
393 * intl/tst-gettext5.sh: Likewise.
394
395 2012-08-17 Roland McGrath <roland@hack.frob.com>
396
397 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
398 * sysdeps/unix/syscalls.list: ... here.
399
400 * sysdeps/posix/getaddrinfo.c
401 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
402 (gaiconf_init, gaiconf_reload): Use them.
403 [!_STATBUF_ST_NSEC]
404 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
405 Define using time_t rather than struct timespec.
406
407 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
408 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
409 Macros removed.
410 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
411 [!NO_THREADS].
412 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
413 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
414 Likewise.
415
416 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
417 __libc_cleanup_push argument.
418
419 * bits/param.h: New file.
420 * misc/sys/param.h: New file.
421 * include/sys/param.h: New file.
422 * misc/Makefile (headers): Add bits/param.h.
423 * sysdeps/generic/sys/param.h: File removed.
424 * sysdeps/unix/sysv/linux/bits/param.h: New file.
425 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
426 * sysdeps/mach/hurd/bits/param.h: New file.
427 * sysdeps/mach/hurd/sys/param.h: New file.
428
429 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
430 last change.
431
432 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
433 [_IO_MTSAFE_IO].
434 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
435 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
436 New macros.
437
438 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
439 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
440 rather than -D_IO_MTSAFE_IO conditionally.
441 * stdio-common/Makefile (CPPFLAGS): Likewise.
442 * wcsmbs/Makefile (CPPFLAGS): Likewise.
443 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
444 Use $(libio-mtsafe).
445 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
446 of -D_IO_MTSAFE_IO.
447 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
448 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
449 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
450 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
451 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
452 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
453 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
454 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
455 (CFLAGS-fread_u_chk.c): Likewise.
456 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
457 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
458 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
459 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
460 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
461 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
462 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
463 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
464 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
465
466 * libio/Makefile: Test [$(libc-reentrant) = yes]
467 instead of [$(filter %REENTRANT, $(defines)) nonempty].
468
469 * Makeconfig
470 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
471 * sysdeps/pthread/configure: File removed.
472 * sysdeps/pthread/Makeconfig: New file.
473 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
474 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
475
476 2012-08-16 Gary Benson <gbenson@redhat.com>
477
478 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
479 unmapping the first object in a namespace.
480
481 2012-08-16 Roland McGrath <roland@hack.frob.com>
482
483 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
484 (__internal_setnetgrent): ... this. Add internal_function to
485 definition. Add libc_hidden_def.
486 (setnetgrent): Update caller.
487 (internal_endnetgrent): Renamed to ...
488 (__internal_endnetgrent): ... this. Add internal_function to
489 definition. Add libc_hidden_def.
490 (endnetgrent): Update caller.
491 (internal_getnetgrent_r): Renamed to ...
492 (__internal_getnetgrent_r): ... this. Add internal_function to
493 definition. Add libc_hidden_def.
494 (__getnetgrent_r): Update caller.
495 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
496
497 2012-08-16 Joseph Myers <joseph@codesourcery.com>
498
499 * stdlib/longlong.h: Update from GCC.
500
501 2012-08-16 Roland McGrath <roland@hack.frob.com>
502
503 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
504 on _QL, which is set by umul_ppmm but never used.
505 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
506 variables, which are set by GMP macros but never used.
507 * stdio-common/_itowa.c (_itowa): Likewise.
508 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
509 * stdlib/mod_1.c (mpn_mod_1): Likewise.
510
511 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
512
513 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
514 struct La_sh_regs is not constant.
515 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
516 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
517 and struct La_sparc64_regs are not constant.
518
519 2012-08-16 Joseph Myers <joseph@codesourcery.com>
520
521 * sysdeps/unix/sysv/linux/kernel-features.h
522 (__ASSUME_POSIX_TIMERS): Remove.
523 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
524 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
525 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
526 Make code unconditional.
527 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
528 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
529 Make code unconditional.
530 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
531 * sysdeps/unix/sysv/linux/clock_nanosleep.c
532 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
533 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
534 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
535 Make code unconditional.
536 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
537 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
538 (__libc_missing_posix_timers): Remove.
539
540 2012-08-15 Roland McGrath <roland@hack.frob.com>
541
542 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
543 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
544
545 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
546
547 * elf/dl-sym.c: Include <stdlib.h>.
548
549 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
550 constants, which avoids warnings in 32-bit builds.
551
552 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
553 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
554
555 * misc/lseek.c: File moved to ...
556 * io/lseek.c: ... here.
557
558 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
559
560 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
561 shifting LEN more than 31 bits at once.
562
563 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
564
565 [BZ #14195]
566 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
567 segmentation fault for a case of two empty input strings.
568 * string/test-strncasecmp.c (check1): Renamed to...
569 (bz12205): ...this.
570 (bz14195): Add new testcase for two empty input strings and N > 0.
571 (test_main): Call new testcase, adapt for renamed function.
572
573 2012-08-15 Andreas Jaeger <aj@suse.de>
574
575 [BZ #14090]
576 * crypt/md5test2.c: New test, based on test supplied by Serge
577 Belyshev <belyshev@depni.sinp.msu.ru>.
578 * crypt/Makefile (xtests): Add md5test-giant..
579 * crypt/Makefile ($(objpfx)md5test-giant): Add.
580
581 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
582
583 [BZ #14090]
584 * crypt/md5.c (md5_process_block): Don't assume the buffer
585 length is less than 2**32.
586 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
587 length is less than 2**64.
588
589 2012-08-15 Roland McGrath <roland@hack.frob.com>
590
591 * string/str-two-way.h: Include <sys/param.h>.
592 (MAX): Macro removed.
593
594 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
595 Move #define and #undef of memmove to just before and after
596 including <string.h>.
597
598 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
599 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
600 and after including <string.h>. Move declarations of
601 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
602 to before #include "string/memmove.c".
603
604 * include/dirent.h: Declare __getdirentries.
605
606 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
607 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
608
609 2012-08-14 Mike Frysinger <vapier@gentoo.org>
610
611 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
612 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
613 * sysdeps/i386/configure: Regenerated.
614 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
615 STABS_CURRENT_FILE, and STABS_FUN.
616 (END): Remove call to STABS_FUN_END.
617 (STABS_CURRENT_FILE1): Delete.
618 (STABS_CURRENT_FILE): Likewise.
619 (STABS_FUN): Likewise.
620 (STABS_FUN_END): Likewise.
621 (STABS_FUN2): Likewise.
622 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
623 * sysdeps/x86_64/configure: Regenerated.
624
625 2012-08-14 Roland McGrath <roland@hack.frob.com>
626
627 * elf/dl-open.c: Include <atomic.h>.
628 * elf/dl-lookup.c: Likewise.
629
630 2012-08-14 Joseph Myers <joseph@codesourcery.com>
631
632 * sysdeps/unix/sysv/linux/kernel-features.h
633 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
634 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
635 unconditionally.
636 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
637 unconditionally.
638 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
639 condition on __ASSUME_CLONE_THREAD_FLAGS.
640
641 2012-08-14 Andreas Jaeger <aj@suse.de>
642
643 * sysdeps/i386/fpu/libm-test-ulps: Update.
644
645 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
646
647 * include/atomic.h (atomic_exchange_and_add): Split into ...
648 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
649 New atomic macros.
650
651 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
652
653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
654
655 2012-08-13 Jeff Law <law@redhat.com>
656
657 * manual/stdio.texi (snprintf): Clarify handling of the trailing
658 null byte in the output string.
659
660 2012-08-10 Joseph Myers <joseph@codesourcery.com>
661
662 * sysdeps/unix/sysv/linux/kernel-features.h
663 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
664 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
665 (__ASSUME_ARG_MAX_STACK_BASED): Define.
666 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
667 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
668 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
669 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
670
671 2012-08-09 Jeff Law <law@redhat.com>
672
673 [BZ #13939]
674 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
675 When avoid_arena is set, don't retry in the that arena. Pick the
676 next one, whatever it might be.
677 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
678 (arena_lock): Pass in new parameter to arena_get2.
679 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
680 arena_get2.
681 (__libc_malloc): Unify retrying after main arena failure with
682 __libc_memalign version.
683 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
684
685 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
686
687 [BZ #14166]
688 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
689 to __redirect_strstr.
690 (__strstr_sse42): Use typeof __redirect_strstr.
691 (__strstr_ia32): Likewise.
692 (__libc_strstr): New prototype.
693 (strstr): Renamed to ...
694 (__libc_strstr): This.
695 (strstr): New strong alias of __libc_strstr.
696 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
697 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
698 __redirect_time.
699 Include <time.h>.
700 (__libc_time): New prototype.
701 (time_ifunc): Replace time with __libc_time.
702 (time): New strong alias and hidden definition of __libc_time.
703 (__GI_time): Remove strong alias.
704 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
705 Include <stddef.h>.
706 (memmove): Redefined to __redirect_memmove.
707 (__memmove_sse2): Use typeof __redirect_memmove.
708 (__memmove_ssse3): Likewise.
709 (__memmove_ssse3_back): Likewise.
710 (__libc_memmove): New prototype.
711 (memmove): Renamed to ...
712 (__libc_memmove): This.
713 (memmove): New strong alias of __libc_memmove.
714
715 2012-08-08 Mark Salter <msalter@redhat.com>
716
717 * elf/elf.h
718 (R_MN10300_TLS_GD): Define.
719 (R_MN10300_TLS_LD): Likewise.
720 (R_MN10300_TLS_LDO): Likewise.
721 (R_MN10300_TLS_GOTIE): Likewise.
722 (R_MN10300_TLS_IE): Likewise.
723 (R_MN10300_TLS_LE): Likewise.
724 (R_MN10300_TLS_DTPMOD): Likewise.
725 (R_MN10300_TLS_DTPOFF): Likewise.
726 (R_MN10300_TLS_TPOFF): Likewise.
727 (R_MN10300_SYM_DIFF): Likewise.
728 (R_MN10300_ALIGN): Likewise.
729 (R_MN10300_NUM): Update.
730
731 2012-08-08 Joseph Myers <joseph@codesourcery.com>
732
733 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
734 Remove.
735
736 2012-08-08 Roland McGrath <roland@hack.frob.com>
737
738 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
739
740 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
741 sysdeps/unix -> sysdeps/posix move.
742 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
743
744 2012-08-07 Allan McRae <allan@archlinux.org>
745
746 [BZ #14303]
747 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
748 (SUNOS_CPP): Likewise.
749 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
750 not found.
751 (open_input): Call CPP using execvp.
752
753 2012-08-07 Joseph Myers <joseph@codesourcery.com>
754
755 * sysdeps/unix/sysv/linux/kernel-features.h
756 (__ASSUME_PROT_GROWSUPDOWN): Remove.
757 (__ASSUME_NO_CLONE_DETACHED): Likewise.
758 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
759 (__ASSUME_WAITID_SYSCALL): Likewise.
760 * sysdeps/unix/sysv/linux/dl-execstack.c
761 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
762 code unconditional.
763 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
764 conditional code.
765 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
766 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
767 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
768 code.
769 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
770 unconditional.
771 [__ASSUME_WAITID_SYSCALL]: Likewise.
772 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
773
774 2012-08-07 Roland McGrath <roland@hack.frob.com>
775
776 * sysdeps/unix/closedir.c: Renamed to ...
777 * sysdeps/posix/closedir.c: ... here.
778 * sysdeps/unix/dirfd.c: Renamed to ...
779 * sysdeps/posix/dirfd.c: ... here.
780 * sysdeps/unix/dirstream.h: Renamed to ...
781 * sysdeps/posix/dirstream.h: ... here.
782 * sysdeps/unix/fdopendir.c: Renamed to ...
783 * sysdeps/posix/fdopendir.c: ... here.
784 * sysdeps/unix/opendir.c: Renamed to ...
785 * sysdeps/posix/opendir.c: ... here.
786 * sysdeps/unix/readdir.c: Renamed to ...
787 * sysdeps/posix/readdir.c: ... here.
788 * sysdeps/unix/readdir_r.c: Renamed to ...
789 * sysdeps/posix/readdir_r.c: ... here.
790 * sysdeps/unix/rewinddir.c: Renamed to ...
791 * sysdeps/posix/rewinddir.c: ... here.
792 * sysdeps/unix/seekdir.c: Renamed to ...
793 * sysdeps/posix/seekdir.c: ... here.
794 * sysdeps/unix/telldir.c: Renamed to ...
795 * sysdeps/posix/telldir.c: ... here.
796 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
797 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
798 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
799 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
800
801 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
802 * bits/fcntl.h: ... here.
803
804 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
805 not 0.
806 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
807 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
808 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
809 (struct flock): Move l_start, l_len to the beginning.
810 Use __pid_t for l_pid.
811 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
812 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
813 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
814 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
815 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
816 [__USE_LARGEFILE64] (struct flock64): New type.
817 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
818
819 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
820 * bits/dirent.h: ... here.
821
822 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
823 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
824
825 2012-08-07 Joseph Myers <joseph@codesourcery.com>
826
827 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
828 Change from 2.6.0 to 2.6.16.
829 * sysdeps/unix/sysv/linux/configure: Regenerated.
830 * sysdeps/unix/sysv/linux/kernel-features.h
831 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
832 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
833 version.
834 (__ASSUME_UTIMES): Likewise.
835 (__ASSUME_CLONE_STOPPED): Remove.
836 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
837 architectures, not kernel version.
838 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
839 (__ASSUME_NO_CLONE_DETACHED): Likewise.
840 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
841 (__ASSUME_WAITID_SYSCALL): Likewise.
842 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
843 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
844 * README: State 2.6.16 as minimum Linux kernel version. Do not
845 refer to older versions.
846
847 2012-08-06 Roland McGrath <roland@hack.frob.com>
848
849 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
850 Define alphasort64 as an alias.
851 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
852 Define versionsort64 as an alias.
853 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
854 Define scandir64 as an alias.
855 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
856 Define scandirat64 as an alias.
857 * dirent/alphasort64.c (alphasort64):
858 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
859 * dirent/versionsort64.c: Likewise.
860 * dirent/scandir64.c: Likewise.
861 * dirent/scandirat64.c: Likewise.
862 * sysdeps/wordsize-64/alphasort.c: File removed.
863 * sysdeps/wordsize-64/alphasort64.c: File removed.
864 * sysdeps/wordsize-64/scandir.c: File removed.
865 * sysdeps/wordsize-64/scandir64.c: File removed.
866 * sysdeps/wordsize-64/scandirat.c: File removed.
867 * sysdeps/wordsize-64/scandirat64.c: File removed.
868 * sysdeps/wordsize-64/versionsort.c: File removed.
869 * sysdeps/wordsize-64/versionsort64.c: File removed.
870 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
871 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
872 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
873 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
874 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
875 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
876 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
877 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
878
879 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
880 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
881 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
883 [defined __arch64__ || defined __sparcv9]
884 (__INO_T_MATCHES_INO64_T): New macro.
885 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
886 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
887 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
888 * sysdeps/unix/sysv/linux/bits/dirent.h
889 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
890 (_DIRENT_MATCHES_DIRENT64): New macro.
891
892 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
893 Define lockf64 as an alias.
894 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
895 Define fseeko64 as an alias.
896 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
897 Define ftello64 as an alias.
898 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
899 Define _IO_fgetpos64 and fgetpos64 as aliases.
900 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
901 Define _IO_fsetpos64 and fsetpos64 as aliases.
902 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
903 Conditionalize body on this.
904 * libio/fseeko64.c: Likewise.
905 * libio/ftello64.c: Likewise.
906 * libio/iofgetpos64.c: Likewise.
907 * libio/iofsetpos64.c: Likewise.
908 * sysdeps/wordsize-64/lockf.c: File removed.
909 * sysdeps/wordsize-64/lockf64.c: File removed.
910 * sysdeps/wordsize-64/fseeko.c: File removed.
911 * sysdeps/wordsize-64/fseeko64.c: File removed.
912 * sysdeps/wordsize-64/ftello.c: File removed.
913 * sysdeps/wordsize-64/ftello64.c: File removed.
914 * sysdeps/wordsize-64/iofgetpos.c: File removed.
915 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
916 * sysdeps/wordsize-64/iofsetpos.c: File removed.
917 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
918 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
919 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
920 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
921 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
922 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
923 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
924 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
925 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
926 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
927 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
928
929 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
931 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
932 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
933 [defined __arch64__ || defined __sparcv9]
934 (__OFF_T_MATCHES_OFF64_T): New macro.
935 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
936 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
937 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
938 (__OFF_T_MATCHES_OFF64_T): New macro.
939
940 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
941
942 * stdlib/secure-getenv.c (__secure_getenv): Replace
943 GLIBC_2_16 with GLIBC_2_17.
944
945 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
946
947 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
948 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
949
950 2012-08-03 David S. Miller <davem@davemloft.net>
951
952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
953
954 2012-08-03 Joseph Myers <joseph@codesourcery.com>
955
956 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
957 Remove.
958 (__ASSUME_CORRECT_SI_PID): Likewise.
959 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
960 (__ASSUME_TMPFS_NAME): Likewise.
961 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
962 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
963 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
964 (HAVE_AUX_SECURE): Make definition unconditional.
965 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
966 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
967
968 2012-08-03 Roland McGrath <roland@hack.frob.com>
969
970 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
971 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
972 * sysdeps/mach/hurd/eloop-threshold.h: New file.
973 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
974 __eloop_threshold instead of SYMLOOP_MAX.
975
976 * sysdeps/generic/eloop-threshold.h: New file.
977 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
978 of MAXSYMLINKS.
979 * elf/chroot_canon.c (chroot_canon): Likewise.
980
981 2012-08-03 Joseph Myers <joseph@codesourcery.com>
982
983 [BZ #13717]
984 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
985 Change to 2.6.0 everywhere.
986 * sysdeps/unix/sysv/linux/configure: Regenerated.
987 * sysdeps/unix/sysv/linux/kernel-features.h
988 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
989 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
990 kernel versions.
991 (__ASSUME_POSIX_TIMERS): Define unconditionally.
992 (__ASSUME_FUTEX_REQUEUE): Remove.
993 (__ASSUME_STATFS64): Define unconditionally.
994 (__ASSUME_AT_SECURE): Likewise.
995 (__ASSUME_CORRECT_SI_PID): Likewise.
996 (__ASSUME_TGKILL): Define without depending on kernel version for
997 i386.
998 (__ASSUME_UTIMES): Likewise.
999 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1000 kernel version.
1001 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1002 (__ASSUME_TMPFS_NAME): Likewise.
1003 * README: Update reference to Linux kernel versions.
1004
1005 2012-08-02 Marek Polacek <polacek@redhat.com>
1006
1007 [BZ# 14150]
1008 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1009 libc_cv_asm_type_prefix with %.
1010 * configure: Regenerated.
1011 * include/libc-symbols.h: Remove comment about
1012 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1013 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1014 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1015 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1016 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1017 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1018 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1019 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1020 * elf/tst-unique2mod1.c: Likewise.
1021 * elf/tst-unique1mod2.c: Likewise.
1022 * elf/tst-unique1mod1.c: Likewise.
1023 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1024 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1025 Replace ASM_TYPE_DIRECTIVE with .type.
1026 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1027 * sysdeps/i386/sysdep.h: Likewise.
1028 * sysdeps/x86_64/sysdep.h: Likewise.
1029 * sysdeps/sh/sysdep.h: Likewise.
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1031 Do not define ASM_TYPE_DIRECTIVE.
1032 * sysdeps/powerpc/sysdep.h: Likewise.
1033 * sysdeps/powerpc/powerpc32/sysdep.h:
1034 Replace ASM_TYPE_DIRECTIVE with .type.
1035 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1036 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1037 * sysdeps/i386/fpu/e_powf.S: Likewise.
1038 * sysdeps/i386/fpu/e_expl.S: Likewise.
1039 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1040 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1041 * sysdeps/i386/fpu/e_pow.S: Likewise.
1042 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1043 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1044 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1045 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1046 * sysdeps/i386/fpu/e_log2.S: Likewise.
1047 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1048 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1049 * sysdeps/i386/fpu/e_powl.S: Likewise.
1050 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1051 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1052 * sysdeps/i386/fpu/e_logl.S: Likewise.
1053 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1054 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1055 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1056 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1057 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1058 * sysdeps/i386/fpu/e_log.S: Likewise.
1059 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1060 * sysdeps/i386/fpu/e_logf.S: Likewise.
1061 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1062 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1063 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1064 * sysdeps/i386/fpu/e_log10.S: Likewise.
1065 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1066 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1067 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1068 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1069 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1070 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1071 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1072 * sysdeps/i386/i686/strtok.S: Likewise.
1073 * sysdeps/i386/i386-mcount.S: Likewise.
1074 * sysdeps/i386/strtok.S: Likewise.
1075 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1076 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1077 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1078 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1079 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1080 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1081 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1082 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1083 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1084 * sysdeps/x86_64/_mcount.S: Likewise.
1085 * sysdeps/x86_64/strtok.S: Likewise.
1086 * sysdeps/sh/_mcount.S: Likewise.
1087
1088 2012-08-01 Roland McGrath <roland@hack.frob.com>
1089
1090 * libio/iofopen.c: Include <fcntl.h>.
1091 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1092 (_IO_fopen64, fopen64): Define as aliases.
1093 * libio/iofopen64.c: Include <fcntl.h>.
1094 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1095 Conditionalize body on this.
1096 * sysdeps/wordsize-64/iofopen.c: File removed.
1097 * sysdeps/wordsize-64/iofopen64.c: File removed.
1098
1099 2012-08-01 Marek Polacek <polacek@redhat.com>
1100
1101 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1102 Use dlfcn directly instead of a variable.
1103 (binfmt-subdir): Do not define.
1104 (dlfcn): Likewise.
1105
1106 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1107
1108 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1109 Remove all definitions.
1110 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1111 <kernel-features.h>.
1112 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1113 (miss_F_GETOWN_EX): Remove all definitions.
1114 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1115 macro definition.
1116 [!__ASSUME_FCNTL64]: Remove conditional code.
1117 [__ASSUME_FCNTL64]: Make code unconditional.
1118 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1119 <kernel-features.h>.
1120 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1121 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1122 (lockf64) [__NR_fcntl64]: Make code unconditional.
1123 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1124
1125 * sysdeps/unix/sysv/linux/kernel-features.h
1126 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1127 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1128 Make code unconditional.
1129 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1130 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1132 [__NR_vfork]: Make code unconditional.
1133 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1134 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1136 [__NR_vfork]: Make code unconditional.
1137 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1138 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1139
1140 2012-08-01 Roland McGrath <roland@hack.frob.com>
1141
1142 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1143 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1144
1145 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1146 Define mkstemp64 as an alias.
1147 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1148 Define mkstemps64 as an alias.
1149 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1150 Define mkostemp64 as an alias.
1151 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1152 Define mkostemps64 as an alias.
1153 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1154 Conditionalize body on this.
1155 * misc/mkostemp64.c: Likewise.
1156 * misc/mkostemps64.c: Likewise.
1157 * misc/mkstemps64.c: Likewise.
1158 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1159 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1160 * sysdeps/wordsize-64/mkostemp.c: File removed.
1161 * sysdeps/wordsize-64/mkstemp.c: File removed.
1162 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1163 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1164 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1165 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1166
1167 [BZ #14138]
1168 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1169 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1170 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1171 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1172
1173 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1174 compat_symbol macros from <shlib-compat.h> rather than the underlying
1175 default_symbol_version and symbol_version macros, so that DEFAULT
1176 lines in shlib-versions are respected.
1177 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1178
1179 2012-08-01 Florian Weimer <fweimer@redhat.com>
1180
1181 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1182 Declare with warn_unused_result.
1183 (setgid, setregid, setegid, setresgid): Likewise.
1184 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1185 Likewise.
1186 * WUR-REPORT: Remove set*id functions.
1187
1188 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1189
1190 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1191
1192 2012-07-31 Roland McGrath <roland@hack.frob.com>
1193
1194 * include/sys/socket.h (__libc_accept, __libc_accept4):
1195 Add attribute_hidden.
1196 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1197
1198 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1199 use of PTR_MANGLE.
1200 * inet/getnetgrent_r.c (setup): Likewise.
1201
1202 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1203
1204 2012-07-31 David S. Miller <davem@davemloft.net>
1205
1206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1207
1208 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1209
1210 [BZ #13629]
1211 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1212 value between 1.0 and 2.0 and smaller part has absolute value less
1213 than 1.0.
1214 * math/s_clog10.c (__clog10): Likewise.
1215 * math/s_clog10f.c (__clog10f): Likewise.
1216 * math/s_clog10l.c (__clog10l): Likewise.
1217 * math/s_clogf.c (__clogf): Likewise.
1218 * math/s_clogl.c (__clogl): Likewise.
1219 * math/libm-test.inc (clog_test): Add more tests.
1220 (clog10_test): Likewise.
1221 * sysdeps/i386/fpu/libm-test-ulps: Update.
1222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1223
1224 2012-07-31 Florian Weimer <fweimer@redhat.com>
1225
1226 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1227 Exit with zero in case no suitable GID is found, and write a
1228 message to standard error.
1229
1230 2012-07-30 Roland McGrath <roland@hack.frob.com>
1231
1232 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1233 rather than to 1.
1234 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1235 (MAXPATHLEN): Removed.
1236 (NOGROUP, NODEV): New macros.
1237 (setbit, clrbit, isset, isclr): New macros.
1238 (howmany, roundup, powerof2): New macros.
1239 (DEV_BSIZE): New macro.
1240
1241 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1242 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1243
1244 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1245 definition on [!__NO_LONG_DOUBLE_MATH].
1246
1247 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1248 PTR_MANGLE and PTR_DEMANGLE.
1249
1250 * socket/accept4.c (accept4): Rename to __libc_accept4.
1251 Define accept4 as a weak alias.
1252
1253 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1254 on [_DIRENT_HAVE_D_TYPE].
1255 * io/ftw.c (ftw_dir): Likewise.
1256
1257 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1258
1259 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1260
1261 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1262 Use the BSD numbers rather than the arbitrary ones we had.
1263 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1264 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1265 (SIGXCPU, SIGXFSZ): New macros.
1266 (_NSIG): Now 32.
1267
1268 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1269 initializer on [_LIBC_REENTRANT].
1270
1271 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1272 definitions inside [_POSIX_MAPPED_FILES].
1273
1274 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1275
1276 * dirent/opendir.c: Include <fcntl.h>.
1277
1278 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1279 (__libc_getspecific): Likewise.
1280 (__libc_key_create): Likewise.
1281
1282 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1283 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1284 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1285 (tmpfile64): Define as alias.
1286 * sysdeps/wordsize-64/tmpfile.c: File removed.
1287 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1288 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1289 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1290
1291 * stdio-common/vfscanf.c: Include <stdbool.h>.
1292 * nss/makedb.c: Likewise.
1293 * stdio-common/_i18n_number.h: Likewise.
1294 * argp/argp-help.c: Likewise.
1295 * posix/wordexp.c: Likewise.
1296 * sysdeps/posix/spawni.c: Likewise.
1297 * nss/nss_files/files-initgroups.c: Likewise.
1298 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1299 * nss/nss_files/files-initgroups.c: Likewise.
1300 * nss/nss_db/db-netgrp.c: Likewise.
1301 * nss/nss_db/db-initgroups.c: Likewise.
1302 * io/fchmodat.c: Include <sys/stat.h>.
1303
1304 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1305 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1306
1307 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1308 [HAVE_MMAP].
1309
1310 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1311 Add multiple inclusion protection.
1312
1313 2012-07-27 David S. Miller <davem@davemloft.net>
1314
1315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1316
1317 2012-07-27 Gary Benson <gbenson@redhat.com>
1318
1319 [BZ #14298]
1320 * elf/rtld.c: Include <stap-probe.h>.
1321 (dl_main): Added static probes "init_start" and "init_complete".
1322 * elf/dl-load.c: Include <stap-probe.h>.
1323 (lose): Take new parameter "nsid".
1324 Added static probe "map_failed".
1325 (_dl_map_object_from_fd): Pass namespace id to lose.
1326 Added static probe "map_start".
1327 (open_verify): Pass namespace id to lose.
1328 * elf/dl-open.c: Include <stap-probe.h>.
1329 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1330 and "reloc_complete".
1331 * elf/dl-close.c: Include <stap-probe.h>.
1332 (_dl_close_worker): Added static probes "unmap_start" and
1333 "unmap_complete".
1334 * elf/rtld-debugger-interface.txt: New file documenting the above.
1335
1336 2012-07-26 Roland McGrath <roland@hack.frob.com>
1337
1338 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1339 rather than a string variable.
1340 * sunrpc/rpc_main.c (h_output): Likewise.
1341 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1342
1343 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1344
1345 * inet/check_native.c: New file.
1346
1347 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1348
1349 [BZ #13629]
1350 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1351 if larger part has absolute value 1.0.
1352 * math/s_clog10.c (__clog10): Likewise.
1353 * math/s_clog10f.c (__clog10f): Likewise.
1354 * math/s_clog10l.c (__clog10l): Likewise.
1355 * math/s_clogf.c (__clogf): Likewise.
1356 * math/s_clogl.c (__clogl): Likewise.
1357 * math/libm-test.inc (clog_test): Add more tests.
1358 (clog10_test): Likewise.
1359 * sysdeps/i386/fpu/libm-test-ulps: Update.
1360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1361
1362 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1363 (pltexit): Likewise.
1364 (La_regs): Likewise.
1365 (La_retval): Likewise.
1366 (int_retval): Likewise.
1367 Update #error for removed macros to refer only to definitions in
1368 tst-audit.h.
1369 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1370 macro.
1371 (pltexit): Likewise.
1372 (La_regs): Likewise.
1373 (La_retval): Likewise.
1374 (int_retval): Likewise.
1375 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1376 macro.
1377 (pltexit): Likewise.
1378 (La_regs): Likewise.
1379 (La_retval): Likewise.
1380 (int_retval): Likewise.
1381 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1382 macro.
1383 (pltexit): Likewise.
1384 (La_regs): Likewise.
1385 (La_retval): Likewise.
1386 (int_retval): Likewise.
1387 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1388 macro.
1389 (pltexit): Likewise.
1390 (La_regs): Likewise.
1391 (La_retval): Likewise.
1392 (int_retval): Likewise.
1393 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1394 macro.
1395 (pltexit): Likewise.
1396 (La_regs): Likewise.
1397 (La_retval): Likewise.
1398 (int_retval): Likewise.
1399 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1400 macro.
1401 (pltexit): Likewise.
1402 (La_regs): Likewise.
1403 (La_retval): Likewise.
1404 (int_retval): Likewise.
1405 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1406 macro definitions in tst-audit.h.
1407 * sysdeps/i386/tst-audit.h: New file.
1408 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1409 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1410 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1411 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1412 * sysdeps/sh/tst-audit.h: Likewise.
1413 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1414 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1415 * sysdeps/x86_64/tst-audit.h: Likewise.
1416
1417 2012-07-26 Andreas Jaeger <aj@suse.de>
1418
1419 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1420 ptrace.
1421
1422 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1423 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1424 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1425 PTRACE_O_MASK.
1426 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1427 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1428 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1429
1430 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1431 value.
1432
1433 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1434 _sigsys.
1435 (si_call_addr, si_syscall, si_arch): Define new macro.
1436 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1437 _sigsys.
1438 (si_call_addr, si_syscall, si_arch): Define new marcro.
1439 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1440 _sigsys.
1441 (si_call_addr, si_syscall, si_arch): Define new macro.
1442 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1443 _sigsys.
1444 (si_call_addr, si_syscall, si_arch): Define new macro.
1445
1446 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1447
1448 [BZ #13717]
1449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1450 Change to 2.4.21 where previously 2.4.1.
1451 * sysdeps/unix/sysv/linux/configure: Regenerated.
1452 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1453 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1454 Linux kernel version.
1455 (__ASSUME_STD_AUXV): Remove.
1456 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1457 kernel version.
1458 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1459 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1460 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1461 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1462 (__ASSUME_NETLINK_SUPPORT): Likewise.
1463 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1464 (__no_netlink_support): Remove conditional definition.
1465 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1466 Remove.
1467 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1468 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1469 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1470 (if_nameindex_ioctl): Remove.
1471 (if_nameindex_netlink): Do not handle __no_netlink_support.
1472 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1473 code.
1474 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1475 Remove conditional code.
1476 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1477 code.
1478 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1479 unconditional.
1480 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1481 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1482 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1483 Remove.
1484 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1485 [!__ASSUME_STD_AUXV]: Remove conditional code.
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1487 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1488 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1490 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1491 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1492 code.
1493 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1495 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1496 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1497 conditional code.
1498 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1500 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1501 code.
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1503 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1504 conditional code.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1506 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1507 code unconditional.
1508 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1509 conditional code.
1510 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1511 unconditional.
1512 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1513 conditional code.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1515 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1516 unconditional.
1517 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1518 conditional code.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1520 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1521 code unconditional.
1522 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1523 conditional code.
1524 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1525 unconditional.
1526 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1527 conditional code.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1529 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1530 code unconditional.
1531 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1532 conditional code.
1533 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1534 unconditional.
1535 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1536 conditional code.
1537
1538 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1539
1540 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1541 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1542 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1543 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1544 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1545 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1546 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1547 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1548 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1549 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1550 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1551 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1552 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1553 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1554 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1555 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1556 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1557 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1558 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1560 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1561 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1562 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1563
1564 2012-07-25 Florian Weimer <fweimer@redhat.com>
1565
1566 * Versions.def: Add GLIBC_2.17.
1567 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1568 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1569 Introduce __libc_secure_getenv.
1570 * stdlib/Versions (2.17): Add secure_getenv
1571 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1572 * stdlib/secure-getenv.c: Rename __secure_getenv to
1573 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1574 symbol __secure_getenv for GLIBC_2.0.
1575 * stdlib/tst-secure-getenv.c: New.
1576 * stdlib/Makefile (tests): Add testcase.
1577 * manual/startup.texi (Environment Access): Document
1578 secure_getenv.
1579 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1580 __libc_secure_getenv.
1581 * inet/ruserpass.c (ruserpass): Likewise.
1582 * malloc/mtrace.c (mtrace): Likewise.
1583 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1584 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1585 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1586 * sysdeps/posix/tempname.c: Likewise. Evaluate
1587 HAVE_SECURE_GETENV.
1588 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1589 __secure_getenv to __libc_secure_getenv.
1590 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1592 Likewise.
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1594 Likewise.
1595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1597 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1602
1603 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1604
1605 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1606 (struct La_i86_retval): Likewise.
1607 (struct La_x86_64_regs): Likewise.
1608 (struct La_x86_64_retval): Likewise.
1609 (struct La_x32_regs): Likewise.
1610 (struct La_x32_retval): Likewise.
1611 (struct La_ppc32_regs): Likewise.
1612 (struct La_ppc32_retval): Likewise.
1613 (struct La_ppc64_regs): Likewise.
1614 (struct La_ppc64_retval): Likewise.
1615 (struct La_sh_regs): Likewise.
1616 (struct La_sh_retval): Likewise.
1617 (struct La_s390_32_regs): Likewise.
1618 (struct La_s390_32_retval): Likewise.
1619 (struct La_s390_64_regs): Likewise.
1620 (struct La_s390_64_retval): Likewise.
1621 (struct La_sparc32_regs): Likewise.
1622 (struct La_sparc32_retval): Likewise.
1623 (struct La_sparc64_regs): Likewise.
1624 (struct La_sparc64_retval): Likewise.
1625 (struct audit_ifaces): Remove architecture-specific pltenter and
1626 pltexit members.
1627 * sysdeps/i386/ldsodefs.h: New file.
1628 * sysdeps/powerpc/ldsodefs.h: Likewise.
1629 * sysdeps/s390/ldsodefs.h: Likewise.
1630 * sysdeps/sh/ldsodefs.h: Likewise.
1631 * sysdeps/sparc/ldsodefs.h: Likewise.
1632 * sysdeps/x86_64/ldsodefs.h: Likewise.
1633
1634 2012-07-25 Marek Polacek <polacek@redhat.com>
1635
1636 [BZ #6808]
1637 * math/libm-test.inc (yn_test): Add another test.
1638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1639 to ERANGE when the result is +-Inf.
1640 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1641 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1642 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1643 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1644
1645 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1646
1647 * conform/data/time.h-data (NULL): Use macro-constant. Require
1648 equal to 0.
1649 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1650 clock_t.
1651 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1652
1653 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1654
1655 * configure.in <sysdeps resolving>: Correct printing
1656 Implies_before.
1657 * configure: Regenerate.
1658
1659 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1660
1661 * math/w_ilogb.c: Include <limits.h>.
1662 * math/w_ilogbl.c: Likewise.
1663
1664 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1665
1666 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1667 va_copy. Document allowing for unavailable va_copy only as
1668 pre-C99 compatibility.
1669 * manual/string.texi (Copying and Concatenation): Use va_copy
1670 instead of __va_copy in concat example.
1671
1672 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1673
1674 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1675 (__sendto): Use create_address_port. Initialize APORT and deallocate
1676 it if not null.
1677
1678 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1679 with O_NOLINK passed to __file_name_lookup.
1680
1681 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1682 with O_NOLINK passed to __file_name_lookup.
1683
1684 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1685 negative N or less than NGIDS.
1686
1687 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1688 type to string_t. Set ERANGE as errno and return it if NAME is not big
1689 enough. Use memcpy instead of strncpy.
1690
1691 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1692
1693 * elf/Makefile (check-data): Remove.
1694 (localplt.data): New vpath directive.
1695 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1696 instead of $(check-data).
1697 * scripts/data/localplt-generic.data: Move to ...
1698 * sysdeps/generic/localplt.data: ... here.
1699 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1700 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1701 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1703 ... here.
1704 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1706 ... here.
1707 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1709 ... here.
1710 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1712 ... here.
1713 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1715 ... here.
1716 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1718 ... here.
1719
1720 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1721
1722 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1723 PPC32 and PPC64 files.
1724 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1725 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1726
1727 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1728
1729 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1730 __makecontext_ret to ...
1731 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1732 ... here and call exit if uc_link is NULL. New file.
1733 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1734 __makecontext_ret.S.
1735 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1736 __makecontext_ret to ...
1737 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1738 ... here and call exit if uc_link is NULL. New file.
1739 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1740 __makecontext_ret.S.
1741
1742 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1743
1744 * elf/elf.h (R_390_IRELATIVE): New definition.
1745 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1746 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1747 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1748 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1749 (elf_machine_lazy_rel): Likewise.
1750 * sysdeps/s390/dl-irel.h: New file.
1751 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1752 * sysdeps/s390/s390-64/memset.S: New asm code.
1753 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1754 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1755 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1756 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1757 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1758 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1759 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1760 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1761 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1762 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1763 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1764 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1765 * sysdeps/s390/s390-32/memset.S: New asm code.
1766 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1767
1768 2012-07-17 Marek Polacek <polacek@redhat.com>
1769
1770 [BZ #14349]
1771 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1772 * sysdeps/s390/s390-64/configure.in: Likewise.
1773 * sysdeps/sparc/configure.in: Likewise.
1774 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1775 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1776 * sysdeps/i386/configure.in: Likewise.
1777 * sysdeps/x86_64/configure.in: Likewise.
1778 * sysdeps/sh/configure.in: Likewise.
1779 * sysdeps/s390/s390-32/configure: Regenerated.
1780 * sysdeps/s390/s390-64/configure: Likewise.
1781 * sysdeps/x86_64/configure: Likewise.
1782 * sysdeps/sh/configure: Likewise.
1783 * sysdeps/powerpc/powerpc64/configure: Likewise.
1784 * sysdeps/powerpc/powerpc32/configure: Likewise.
1785 * sysdeps/sparc/configure: Likwise.
1786 * sysdeps/i386/configure: Likewise.
1787
1788 * elf/dl-open.c: Comment fixes.
1789
1790 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1791
1792 * Makefile [CXX] (check-data): Remove.
1793 [CXX] (c++-types.data): New vpath directive.
1794 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1795 vpath. Do not allow for C++ type data being missing.
1796 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1797 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1798 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1799 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1800 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1801 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1802 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1804 ... here.
1805 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1807 ... here.
1808 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1810 ... here.
1811 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1813 ... here.
1814 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1816 ... here.
1817 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1819 ... here.
1820 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1822 ... here.
1823 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1825
1826 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1827 definitions to architecture-specific files.
1828 (TLS_IE): Likewise.
1829 (TLS_LD): Likewise.
1830 (TLS_GD): Likewise.
1831 * sysdeps/i386/tls-macros.h: New file.
1832 * sysdeps/powerpc/tls-macros.h: Likewise.
1833 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1834 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1835 * sysdeps/sh/tls-macros.h: Likewise.
1836 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1837 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1838 * sysdeps/x86_64/tls-macros.h: Likewise.
1839
1840 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1841
1842 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1843 zero value for regular exit case.
1844
1845 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1846 (__start_context): Preserve zero value for regular exit case.
1847
1848 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1849 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1850
1851 * manual/setjmp.texi (setcontext): Clarify normal process
1852 termination when uc_link is the null pointer.
1853 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1854 exit call.
1855
1856 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1857
1858 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1859 preprocessor. Test for each exception mask separately.
1860
1861 2012-07-16 Andreas Jaeger <aj@suse.de>
1862
1863 * po/ru.po: Update from translation team.
1864
1865 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1866
1867 * conform/data/string.h-data (NULL): Use macro-constant. Require
1868 equal to 0.
1869 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1870 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1871 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1872 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1873 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1874
1875 2012-07-13 Andreas Jaeger <aj@suse.de>
1876
1877 * po/fr.po: Update from translation team.
1878
1879 2012-07-12 Marek Polacek <polacek@redhat.com>
1880
1881 [BZ #14173]
1882 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1883 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1884 loop condition.
1885
1886 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1887
1888 [BZ #13717]
1889 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1890 Change to 2.4.1 where previously 2.4.0.
1891 * sysdeps/unix/sysv/linux/configure: Regenerated.
1892 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1893 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1894 version.
1895 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1896 (__ASSUME_AT_CLKTCK): Remove.
1897 (__ASSUME_AT_PAGESIZE): Likewise.
1898 (__ASSUME_AT_XID): Likewise.
1899 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1900 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1901 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1902 unconditionally.
1903 (HAVE_AUX_PAGESIZE): Likewise.
1904 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1905 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1906 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1907
1908 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1909
1910 [BZ #14307]
1911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1912 the temporary buffer used to invoke __gethostbyname2_r,
1913 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1914 host_data / struct gaih_addrtuple.
1915 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1916 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1917 header file nss/nsswitch.h.
1918 * nss/nsswitch.h (global scope): Add definition of implementation
1919 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1920 resolv/nss_dns/dns-host.c).
1921
1922 2012-07-11 Andreas Jaeger <aj@suse.de>
1923
1924 * po/fr.po: Update from translation team.
1925
1926 * po/sv.po: Update from translation team
1927 * po/fr.po: Another update from translation team.
1928
1929 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1930
1931 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1932 for subnormals or multiply small sinh result by itself.
1933 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1935
1936 2012-07-11 David S. Miller <davem@davemloft.net>
1937
1938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1939
1940 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1941
1942 [BZ #14347]
1943 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1944 (INTERNAL_MARK): Shift it here.
1945
1946 2012-07-10 Marek Polacek <polacek@redhat.com>
1947
1948 [BZ #14151]
1949 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1950 libc_cv_asm_global_directive with .globl.
1951 * configure: Regenerated.
1952 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1953 with .globl.
1954 * sysdeps/i386/configure: Regenerated.
1955 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1956 with .globl.
1957 * sysdeps/x86_64/configure: Regenerated.
1958 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1959 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1960 * elf/tst-unique2mod2.c: Likewise.
1961 * elf/tst-unique2mod1.c: Likewise.
1962 * elf/tst-unique1mod2.c: Likewise.
1963 * elf/tst-unique1mod1.c: Likewise.
1964 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1965 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1966 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1967 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1968 * sysdeps/mach/sysdep.h: Likewise.
1969 * sysdeps/i386/sysdep.h: Likewise.
1970 * sysdeps/i386/i386-mcount.S: Likewise.
1971 * sysdeps/x86_64/_mcount.S: Likewise.
1972 * sysdeps/x86_64/sysdep.h: Likewise.
1973 * sysdeps/sh/_mcount.S: Likewise.
1974 * sysdeps/sh/sysdep.h: Likewise.
1975 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1976 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1977 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1978 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1979 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1980 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1981 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1982 * locale/localeinfo.h: Likewise.
1983 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1984 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1985
1986 2012-07-09 Roland McGrath <roland@hack.frob.com>
1987
1988 [BZ #14336]
1989 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1990 system".
1991 * manual/message.texi (The Uniforum approach): Likewise.
1992 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1993 (glibc iconv Implementation): Likewise.
1994
1995 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1996
1997 [BZ #14337]
1998 * math/s_clog.c (__clog): Avoid scaling a value down where that
1999 could result in underflow.
2000 * math/s_clog10.c (__clog10): Likewise.
2001 * math/s_clog10f.c (__clog10f): Likewise.
2002 * math/s_clog10l.c (__clog10l): Likewise.
2003 * math/s_clogf.c (__clogf): Likewise.
2004 * math/s_clogl.c (__clogl): Likewise.
2005 * math/libm-test.inc (clog_test): Add more tests.
2006 (clog10_test): Likewise.
2007 * sysdeps/i386/fpu/libm-test-ulps: Update.
2008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2009
2010 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2011
2012 [BZ #14283]
2013 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2014 by 7 not 8 to examine high bit of fractional part.
2015
2016 [BZ #14042]
2017 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2018 for call to __mcount_internal.
2019 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2020 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2021 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2022
2023 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2024
2025 [BZ #14154]
2026 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2027 approximation for values within 0x1p-13f of an odd multiple of
2028 pi/4.
2029 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2030 exception. Add more tests.
2031 * sysdeps/i386/fpu/libm-test-ulps: Update.
2032
2033 [BZ #6778]
2034 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2035 inputs and return -1 for them. Do not check for +Inf in case not
2036 reachable for +Inf.
2037 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2038 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2039 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2040 and return -1 for them. Do not check for +Inf in case not
2041 reachable for +Inf.
2042 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2043 define.
2044 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2045 and return -1 for them. Do not check for +Inf in case not
2046 reachable for +Inf.
2047 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2048 spurious underflow.
2049 * sysdeps/i386/fpu/libm-test-ulps: Update.
2050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2051
2052 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2053
2054 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2055
2056 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2057
2058 [BZ #14157]
2059 [BZ #14331]
2060 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2061 could result in spurious underflow. Scale down values above
2062 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2063 * math/s_csqrtf.c (__csqrtf): Likewise.
2064 * math/s_csqrtl.c (__csqrtl): Likewise.
2065 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2066 spurious underflow.
2067 * sysdeps/i386/fpu/libm-test-ulps: Update.
2068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2069
2070 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2071
2072 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2073 xopen-msg.sed.
2074 * catgets/xopen-msg.awk: New file.
2075 * catgets/xopen-msg.sed: Removed.
2076
2077 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2078 po2text.sed.
2079 * intl/po2test.awk: New file.
2080 * intl/po2test.sed: Removed.
2081
2082 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2083
2084 [BZ #14328]
2085 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2086 or multiply small sinh result by itself.
2087 * math/s_ctanf.c (__ctanf): Likewise.
2088 * math/s_ctanh.c (__ctanh): Likewise.
2089 * math/s_ctanhf.c (__ctanhf): Likewise.
2090 * math/s_ctanhl.c (__ctanhl): Likewise.
2091 * math/s_ctanl.c (__ctanl): Likewise.
2092 * math/libm-test.inc (ctan_test_tonearest): New function.
2093 (ctan_test_towardzero): Likewise.
2094 (ctan_test_downward): Likewise.
2095 (ctan_test_upward): Likewise.
2096 (ctanh_test_tonearest): Likewise.
2097 (ctanh_test_towardzero): Likewise.
2098 (ctanh_test_downward): Likewise.
2099 (ctanh_test_upward): Likewise.
2100 (main): Call these new functions.
2101 * sysdeps/i386/fpu/libm-test-ulps: Update.
2102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2103
2104 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2105
2106 * .gitignore: Delete /ports entry.
2107
2108 2012-07-03 Andreas Jaeger <aj@suse.de>
2109
2110 * po/bg.po: Update from translation team.
2111 * po/cs.po: Likewise.
2112 * po/de.po: Likewise.
2113 * po/hr.po: Likewise.
2114 * po/nl.pl: Likewise.
2115 * po/pl.po: Likewise.
2116 * po/vi.po: Likewise.
2117
2118 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2119
2120 * Makeconfig [!+link] (+link-before-libc): New variable.
2121 [!+link] (+link-after-libc): Likewise.
2122 [!+link] (+link-tests): Likewise.
2123 [!+link] (+link): Define in terms of $(+link-before-libc) and
2124 $(+link-after-libc).
2125 [!+link-static] (+link-static-before-libc): New variable.
2126 [!+link-static] (+link-static-after-libc): Likewise.
2127 [!+link-static] (+link-static-tests): Likewise.
2128 [!+link-static] (+link-static): Define in terms of
2129 $(+link-static-before-libc) and $(+link-static-after-libc).
2130 [build-shared] (link-libc-before-gnulib): New variable.
2131 [build-shared] (link-libc-tests): Likewise.
2132 [build-shared] (link-libc): Define in terms of
2133 $(link-libc-before-gnulib).
2134 [!build-shared] (link-libc-tests): New variable.
2135 (link-libc-static-tests): New variable.
2136 [!gnulib] (gnulib-arch): New variable.
2137 [!gnulib] (gnulib-tests): Likewise.
2138 [!gnulib] (static-gnulib-arch): Likewise.
2139 [!gnulib] (static-gnulib-tests): Likewise.
2140 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2141 Define with "=" instead of ":=".
2142 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2143 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2144 * Rules (binaries-all-notests): New variable.
2145 (binaries-all-tests): Likewise.
2146 (binaries-static-notests): Likewise.
2147 (binaries-static-tests): Likewise.
2148 (binaries-all): Define using $(binaries-all-notests) and
2149 $(binaries-all-tests).
2150 (binaries-static): Define using $(binaries-static-notests) and
2151 $(binaries-static-tests).
2152 (binaries-shared-tests): New variable.
2153 (binaries-shared-notests): Likewise.
2154 (binaries-shared): Remove variable.
2155 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2156 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2157 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2158 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2159 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2160 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2161 * elf/Makefile (sln-modules): New variable.
2162 (extra-objs): Add $(sln-modules:=.o).
2163 (ldconfig-modules): Add static-stubs.
2164 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2165 * elf/static-stubs.c: New file.
2166
2167 [BZ #14283]
2168 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2169 by 7 not 8 to examine high bit of fractional part. Use volatile
2170 variables when splitting into final array of floats if
2171 __FLT_EVAL_METHOD__ != 0.
2172 * math/libm-test.inc (cos_test): Add another test.
2173 (sin_test): Likewise.
2174 * sysdeps/i386/fpu/libm-test-ulps: Update.
2175
2176 [BZ #14273]
2177 * math/libm-test.inc (cosh_test): Add more tests.
2178
2179 * version.h (RELEASE): Set to "development".
2180 (VERSION): Set to "2.16.90".
2181
2182 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2183
2184 * NEWS: Update copyright. Remove last-updated date.
2185 Mention math library bug fixes and timezone data changes.
2186 * README: Mention GNU/Hurd, x32, and HPPA support status.
2187
2188 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2189
2190 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2191
2192 2012-06-27 Andreas Jaeger <aj@suse.de>
2193
2194 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2195
2196 2012-06-25 Andreas Jaeger <aj@suse.de>
2197
2198 * sysdeps/s390/fpu/libm-test-ulps: Update.
2199
2200 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2201 Thomas Schwinge <thomas@codesourcery.com>
2202
2203 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2204 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2205 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2206 fanotify_mark.
2207
2208 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2209
2210 * sysdeps/mach/start.c: Remove file.
2211 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2212 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2213 * sysdeps/sh/init-first.c: Likewise.
2214
2215 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2216 registers for frame unwinding purposes, add CFI directives.
2217 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2218 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2219 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2220 Likewise.
2221
2222 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2223 __fortify_fail returning.
2224 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2225
2226 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2227 sysdeps/sh/____longjmp_chk.S.
2228 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2229 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2230 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2231 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2232
2233 * sysdeps/sh/abort-instr.h: New file.
2234 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2235 process in case exit returns.
2236
2237 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2238 initialize the GOT register before use.
2239
2240 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2241 calculation of ARGC > 4.
2242
2243 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2244 meaningful names to some local labels.
2245
2246 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2247 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2248
2249 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2250 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2251 (__arch_compare_and_exchange_val_16_acq): Likewise.
2252 (__arch_compare_and_exchange_val_32_acq): Likewise.
2253 (atomic_exchange_and_add): Fix gUSA sequence.
2254 (atomic_add): Likewise.
2255 (atomic_add_negative): Likewise.
2256 (atomic_add_zero): Likewise.
2257 (atomic_bit_test_set): Likewise.
2258
2259 2012-06-22 Andreas Schwab <schwab@redhat.com>
2260
2261 [BZ #13579]
2262 * include/link.h (struct link_map): Add l_free_initfini.
2263 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2264 l_initfini.
2265 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2266 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2267 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2268 set.
2269
2270 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2271
2272 * configure.in: Use AC_LANG_SOURCE.
2273 * configure: Regenerate.
2274
2275 2012-06-22 Roland McGrath <roland@hack.frob.com>
2276
2277 * configure.in (libc_cv_localstatedir): New substituted variable.
2278 * configure: Regenerated.
2279 * config.make.in (localstatedir): New variable, substituted from
2280 libc_cv_localstatedir.
2281 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2282 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2283 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2284 * sysdeps/gnu/configure: Regenerated.
2285
2286 2012-06-21 Jeff Law <law@redhat.com>
2287
2288 [BZ #14277]
2289 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2290 free. Simplify list management for _LIBC case.
2291
2292 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2293
2294 [BZ #14273]
2295 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2296 Clear sign bit of 64-bit integer value before comparing against
2297 overflow value.
2298
2299 * sysdeps/mach/configure: Regenerated.
2300
2301 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2302
2303 [BZ #14278]
2304 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2305
2306 2012-06-21 Jeff Law <law@redhat.com>
2307
2308 [BZ #13882]
2309 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2310 uint16_t for elements in the "seen" array to avoid char overflows.
2311 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2312 * elf/dl-open.c (dl_open_worker): Likewise.
2313
2314 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2315
2316 * scripts/list-sources.sh: Scan PORTS for translations.
2317 * po/libc.pot: Regenerated.
2318
2319 2012-06-21 Andreas Jaeger <aj@suse.de>
2320
2321 [BZ #12194]
2322 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2323 warning.
2324 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2325 * bits/byteswap-16.h (__bswap_16): Likewise.
2326 * bits/byteswap.h (__bswap_constant_16): Likewise.
2327
2328 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2329
2330 [BZ #14117]
2331 * sysdeps/i386/fpu_control.h: Removed.
2332 * sysdeps/x86_64/fpu_control.h: Moved to ...
2333 * sysdeps/x86/fpu_control.h: Here.
2334
2335 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2336 (_FPU_SETCW): Likewise.
2337
2338 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2339
2340 [BZ #14117]
2341 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2342 * sysdeps/x86/fpu/bits/mathinline.h: This.
2343 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2344
2345 [BZ #14050]
2346 [BZ #14117]
2347 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2348 functions if __x86_64__ is defined.
2349
2350 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2351
2352 * string/endian.h: Add !__ASSEMBLER__ condition for including
2353 conversion interfaces.
2354
2355 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2356
2357 [BZ #14241]
2358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2359 of ABS(x) in calculating zero to negative powers other than odd
2360 integers.
2361 * math/libm-test.inc (pow_test): Add more tests.
2362
2363 2012-06-15 Andreas Jaeger <aj@suse.de>
2364
2365 * manual/contrib.texi (Contributors): Update entry of Liubov
2366 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2367 Machado Filho.
2368
2369 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2370
2371 * string/string.h: Add __wur to GNU version of strerror_r.
2372
2373 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2374
2375 [BZ #14229]
2376 * string/Makefile (tests): Add tst-strtok_r.
2377 * string/tst-strtok_r.c: New file.
2378 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2379 RAX_LP/RDX_LP on SAVE_PTR.
2380
2381 2012-06-14 Roland McGrath <roland@hack.frob.com>
2382
2383 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2384
2385 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2386
2387 * libm_test.inc (csqrt_test): Allow more spurious underflow
2388 exceptions.
2389 (j0_test): Likewise.
2390 (j1_test): Likewise.
2391 (y0_test): Likewise.
2392 (y1_test): Likewise.
2393
2394 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2395
2396 * po/Makefile (libc.pot): Use UTF-8 charset.
2397
2398 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2399
2400 [BZ #14210]
2401 Suppress sign-conversion warning from FD_SET.
2402 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2403 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2404 not unsigned long int.
2405 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2406
2407 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2408
2409 [BZ #14050]
2410 [BZ #14117]
2411 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2412 __extern_always_inline instead of __extern_inline.
2413 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2414 (__signbit): Likewise.
2415 (__signbitl): Support C++ namespace.
2416 (lrintf): New inline function.
2417 (lrint): Likewise.
2418 (llrintf): Likewise.
2419 (llrint): Likewise.
2420 (fmaxf): Likewise.
2421 (fmax): Likewise.
2422 (fminf): Likewise.
2423 (fmin): Likewise.
2424 (rint): Likewise.
2425 (rintf): Likewise.
2426 (ceil): Likewise.
2427 (ceilf): Likewise.
2428 (floor): Likewise.
2429 (floorf): Likewise.
2430 (nearbyint): Likewise.
2431 (nearbyintf): Likewise.
2432
2433 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2434
2435 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2436 non-default versions.
2437
2438 2012-06-11 Roland McGrath <roland@hack.frob.com>
2439
2440 [BZ #14218]
2441 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2442
2443 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2444
2445 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2446 (FE_UPWARD, FE_DOWNWARD): Don't define.
2447 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2448 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2449
2450 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2451 reading it.
2452 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2453 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2454
2455 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2456
2457 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2459 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2460 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2461
2462 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2463
2464 [BZ #14117]
2465 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2466 * sysdeps/i386/fpu/Implies: New file.
2467 * sysdeps/x86_64/fpu/Implies: Likewise.
2468 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2469 * sysdeps/x86/fpu/bits/fenv.h: This.
2470
2471 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2472 __SSE_MATH__.
2473
2474 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2475
2476 [BZ #14134]
2477 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2478 character 0xffff that matches the last element of the
2479 conversion table.
2480
2481 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2482
2483 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2484 fmodl commit.
2485
2486 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2487
2488 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2489 values higher than 25.6283.
2490
2491 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2492
2493 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2494 subnormal exponent extraction and add some __builtin_expect.
2495 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2496 Fix for subnormal mantissa calculation.
2497
2498 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2499
2500 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2501 cpu2 is -1 and errno is not ENOSYS.
2502
2503 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2504
2505 [BZ #14117]
2506 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2507 * sysdeps/x86/bits/string.h: This.
2508 * sysdeps/x86_64/bits/string.h: Removed.
2509
2510 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2511 if not compiling for x86-64, but compiling for >= i486.
2512
2513 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2514 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2515
2516 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2517 New macro from Linux kernel 3.4.0.
2518 (FP_XSTATE_MAGIC2): Likewise.
2519 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2520 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2521 (struct _fpx_sw_bytes): New struct.
2522 (struct _xsave_hdr): Likewise.
2523 (struct _ymmh_state): Likewise.
2524 (struct _xstate): Likewise.
2525
2526 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2527 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2528 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2529 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2530 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2531 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2532
2533 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2534 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2535 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2536 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2537 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2538 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2539
2540 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2541
2542 [BZ #13743]
2543 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2544 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2545 (sysdep_headers): Include sys/platform/ppc.h.
2546 * sysdeps/powerpc/test-gettimebase.c: Test for
2547 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2548 * manual/Makefile (appendices): Include platform.texi.
2549 * manual/contrib.texi (Contributors): Update @node pointers.
2550 * manual/maint.texi (Maintenance): Likewise.
2551 (Platform): New node.
2552 * manual/platform.texi: New file. Document the new features.
2553
2554 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2555 Jakub Jelinek <jakub@redhat.com>
2556
2557 [BZ #14188]
2558 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2559 where __builtin_expect is unavailable.
2560
2561 2012-06-03 David S. Miller <davem@davemloft.net>
2562
2563 * stdlib/longlong.h: Updated from GCC.
2564
2565 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2566
2567 [BZ #14042]
2568 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2569 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2570 __mcount_internal.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2572 (GLIBC_2.16): Likewise.
2573
2574 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2575
2576 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2577
2578 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2579
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2581 (default-abi): New variable.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2583 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2584 variable.
2585 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2586 Likewise.
2587 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2588 Likewise.
2589 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2590 Likewise.
2591
2592 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2593 definition. Document in comment.
2594
2595 2012-06-01 David S. Miller <davem@davemloft.net>
2596
2597 * stdlib/longlong.h: Updated from GCC.
2598
2599 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2600
2601 [BZ #14117]
2602 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2603 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2604 sys/debugreg.h sys/io.h here.
2605 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2606 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2607 sys/io.h.
2608 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2609 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2610 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2611 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2612 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2613 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2614
2615 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2616 Define only if __x86_64__ is defined.
2617
2618 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2619
2620 [BZ #14048]
2621 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2622 Use int64_t for variable i.
2623 * math/libm-test.inc (fmod_test): Add more tests.
2624
2625 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2626 z computation is not scheduled after fetestexcept.
2627 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2628 Use math_force_eval instead of asm to ensure calculation scheduled
2629 before exception test.
2630 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2631 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2632
2633 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2634
2635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2636 computation is not scheduled after fetestexcept.
2637
2638 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2639
2640 [BZ #14117]
2641 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2642 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2643
2644 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2645
2646 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2647 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2648
2649 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2650
2651 [BZ #14117]
2652 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2653 <bits/wordsize.h>.
2654 (__WCHAR_MIN): Support __WORDSIZE == 64.
2655 (__WCHAR_MAX): Likewise.
2656
2657 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2658 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2659
2660 [BZ #14183]
2661 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2662 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2663
2664 [BZ #14117]
2665 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2666 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2667
2668 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2669 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2670
2671 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2672 Defined to 1 if __x86_64__ isn't defined.
2673 (_STAT_VER_LINUX_OLD): New.
2674 (st_atime): Remove duplicate.
2675 (st_mtime): Likewise.
2676 (st_ctime): Likewise.
2677
2678 2012-05-31 David S. Miller <davem@davemloft.net>
2679
2680 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2681 entries.
2682
2683 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2684
2685 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2686 gen-libm-test.pl.
2687
2688 [BZ #14132]
2689 * elf/dl-reloc.c: Include <_itoa.h>.
2690 (_dl_reloc_bad_type): Remove use of INTUSE.
2691 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2692 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2693 * stdio-common/psiginfo.c (psiginfo): Likewise.
2694 * stdio-common/psignal.c (psignal): Likewise.
2695 * string/strsignal.c (strsignal): Likewise.
2696 * include/signal.h (_sys_siglist): Declare hidden proto.
2697 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2698 INTVARDEF with libc_hidden_data_def.
2699 * stdio-common/itoa-udigits.c: Likewise.
2700 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2701 (_itoa_lower_digits_internal): Remove declaration.
2702 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2703 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2704 (_sys_sigabbrev_internal): Remove aliases.
2705 (_sys_siglist): Define hidden alias.
2706
2707 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2708
2709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2710 bits/sysctl.h.
2711
2712 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2713
2714 [BZ #14117]
2715 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2716 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2717
2718 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2719 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2720 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2721 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2722 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2723 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2724
2725 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2726 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2727 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2728
2729 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2730 with __addr.
2731 (insw): Likewise.
2732 (insl): Likewise.
2733 (outsb): Likewise.
2734 (outsw): Likewise.
2735 (outsl): Likewise.
2736
2737 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2738 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2739 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2740
2741 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2742 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2743 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2744 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2745 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2746 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2747
2748 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2749 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2750
2751 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2752 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2753
2754 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2755 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2756 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2757
2758 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2759 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2760 to ...
2761 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2762
2763 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2764 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2765 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2766
2767 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2768 for x86-64.
2769 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2770
2771 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2772
2773 * math/math.h (M_El): Use two more decimal places.
2774 (M_LOG2El): Likewise.
2775 (M_LOG10El): Likewise.
2776 (M_LN2l): Likewise.
2777 (M_LN10l): Likewise.
2778 (M_PIl): Likewise.
2779 (M_PI_2l): Likewise.
2780 (M_PI_4l): Likewise.
2781 (M_1_PIl): Likewise.
2782 (M_2_PIl): Likewise.
2783 (M_2_SQRTPIl): Likewise.
2784 (M_SQRT2l): Likewise.
2785 (M_SQRT1_2l): Likewise.
2786
2787 2012-05-31 David S. Miller <davem@davemloft.net>
2788
2789 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2790 values between float registers.
2791 * sysdeps/sparc/sparc64/memset.S: Likewise.
2792 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2793
2794 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2795
2796 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2797 -D_FORTIFY_SOURCE=1.
2798 (CPPFLAGS-tst-longjmp_chk.c): Define.
2799 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2800 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2801 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2802 CFLAGS-tst-wchar-h.c.
2803
2804 2012-05-31 Marek Polacek <polacek@redhat.com>
2805
2806 [BZ #14132]
2807 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2808 __endmntent_internal): Remove declaration.
2809 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2810 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2811 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2812
2813 2012-05-30 David S. Miller <davem@davemloft.net>
2814
2815 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2816 (___Q_simulate_exceptions): Use real FP ops rather than writing
2817 into the %fsr.
2818 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2819 Likewise.
2820
2821 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2822
2823 [BZ #14117]
2824 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2825 * sysdeps/x86/bits/xtitypes.h: This.
2826
2827 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2828 * sysdeps/x86/bits/wordsize.h: This.
2829
2830 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2831 * sysdeps/x86/bits/huge_vall.h: This.
2832
2833 * sysdeps/i386/bits/select.h: Removed.
2834 * sysdeps/x86_64/bits/select.h: Renamed to ...
2835 * sysdeps/x86/bits/select.h: This.
2836
2837 * sysdeps/i386/bits/setjmp.h: Removed.
2838 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2839 * sysdeps/x86/bits/setjmp.h: This.
2840
2841 * sysdeps/i386/bits/mathdef.h: Removed.
2842 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2843 * sysdeps/x86/bits/mathdef.h: This.
2844
2845 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2846
2847 [BZ #14132]
2848 * include/sys/socket.h (__connect_internal)
2849 (__libc_sa_len_internal): Remove declaration.
2850 (__connect, __libc_sa_len): Declare hidden_proto.
2851 (SA_LEN): Remove use of INTUSE.
2852 * socket/connect.c: Add libc_hidden_def.
2853 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2854 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2855 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2856 alias.
2857 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2858 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2859 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2860 of adding _internal alias.
2861
2862 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2863
2864 [BZ #14117]
2865 * sysdeps/i386/bits/link.h: Removed.
2866 * sysdeps/i386/bits/linkmap.h: Likewise.
2867 * sysdeps/x86_64/bits/link.h: Renamed to ...
2868 * sysdeps/x86/bits/link.h: This.
2869 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2870 * sysdeps/x86/bits/linkmap.h: This.
2871
2872 * sysdeps/i386/bits/endian.h: Removed.
2873 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2874 * sysdeps/x86/bits/endian.h: This.
2875
2876 * sysdeps/i386/bits/byteswap.h: Removed.
2877 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2878 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2879 * sysdeps/x86/bits/byteswap.h: This.
2880 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2881 * sysdeps/x86/bits/byteswap-16.h: This.
2882 * sysdeps/i386/Implies: Add x86.
2883 * sysdeps/x86_64/Implies: Likewise.
2884
2885 2012-05-30 David S. Miller <davem@davemloft.net>
2886
2887 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2888 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2889 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2890 (FP_TRAPPING_EXCEPTIONS): Define.
2891 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2892 (FP_TRAPPING_EXCEPTIONS): Define.
2893 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2894 subnormals only when inexact has been signalled or underflow
2895 exceptions are enabled.
2896 (_FP_PACK_CANONICAL): Likewise.
2897
2898 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2899
2900 [BZ #14183]
2901 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2902 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2903
2904 2012-05-30 Richard Henderson <rth@twiddle.net>
2905
2906 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2907 with #ifndef NOT_IN_libc.
2908
2909 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2910 marked to avoid plt entry.
2911
2912 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2913
2914 [BZ #14112]
2915 * Makeconfig (default-abi): New macro.
2916 (abi-includes): Likewise.
2917 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2918 $(abi-$(default-abi)-lib-soname) for soname if defined.
2919 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2920 abi-variants.
2921 * Makefile (installed-stubs): Likewise.
2922 * include/stubs-biarch.h: Removed.
2923 * scripts/lib-names.awk: Only handle one library at a time.
2924 * scripts/soversions.awk: Remove WORDSIZE support.
2925 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2926 entries.
2927 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2928 Removed.
2929 (syscall-list-default-condition): Likewise.
2930 (syscall-list-default-condition): Likewise.
2931 (syscall-list-includes): Likewise.
2932 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2933 syscall-list-* with abi-*. Handle undefined abi-variants.
2934 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2935 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2936 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2937 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2938 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2939 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2940 Removed.
2941 (syscall-list-32-options): Likewise.
2942 (syscall-list-32-condition): Likewise.
2943 (syscall-list-64-options): Likewise.
2944 (syscall-list-64-condition): Likewise.
2945 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2946 macro.
2947 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2948 Renamed to ...
2949 (abi-*): This.
2950 (abi-64-ld-soname): New macro.
2951 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2952 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2953 Renamed to ...
2954 (abi-*): This.
2955 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2956 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2957
2958 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2959
2960 * sysdeps/unix/sysv/linux/kernel-features.h
2961 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2962 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2963 include <kernel-features.h>.
2964 [!__NR_ftruncate64]: Remove conditional code.
2965 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2966 [__NR_ftruncate64]: Make code unconditional.
2967 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2968 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2969 include <kernel-features.h>.
2970 [!__NR_ftruncate64]: Remove conditional code.
2971 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2972 [__NR_ftruncate64]: Make code unconditional.
2973 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2975 include <kernel-features.h>.
2976 [!__NR_ftruncate64]: Remove conditional code.
2977 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2978 [__NR_ftruncate64]: Make code unconditional.
2979 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2981 include <kernel-features.h>.
2982 [!__NR_ftruncate64]: Remove conditional code.
2983 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2984 [__NR_ftruncate64]: Make code unconditional.
2985 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2986
2987 * configure.in (libc_cv_fpie): Weaken to a compile test using
2988 LIBC_TRY_CC_OPTION.
2989 * configure: Regenerated.
2990
2991 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2992
2993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2997 Refreshed.
2998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3004 Refreshed.
3005
3006 2012-05-27 David S. Miller <davem@davemloft.net>
3007
3008 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3009 (___Q_zero): New.
3010 (__Q_simulate_exceptions): Return void. Change to simulate
3011 exceptions by writing into the %fsr.
3012 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3013 (__Qp_handle_exceptions): Likewise.
3014 (numbers): Delete.
3015 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3016 __Qp_handle_exceptions.
3017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3018 __Qp_handle_exceptions.
3019 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3020 as unused and give dummy FP_RND_NEAREST initializer.
3021 (FP_INHIBIT_RESULTS): Define.
3022 (___Q_simulate_exceptions): Update declaration.
3023 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3024 formatting.
3025 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3026 as unused and give dummy FP_RND_NEAREST initializer.
3027 (__Qp_handle_exceptions): Update declaration.
3028 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3029 formatting.
3030
3031 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3032
3033 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3034 the temporary FPU control word.
3035 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3036 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3037 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3038 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3039 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3040 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3041 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3042 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3043 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3044 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3045 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3046
3047 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3048
3049 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3050 fields.
3051
3052 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3053
3054 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3055 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3056 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3057 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3058 Likewise.
3059 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3060 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3061 Likewise.
3062
3063 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3064
3065 * po/h.po: Update from translation team.
3066
3067 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3068
3069 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3070
3071 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3072 handling of denormals.
3073 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3074 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3075 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3076 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3078 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3079 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3080 Likewise.
3081
3082 2012-05-26 Marek Polacek <polacek@redhat.com>
3083
3084 [BZ #14152]
3085 * math/libm-test.inc (fma_test): Don't always expect underflow
3086 exception.
3087
3088 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3089
3090 [BZ #12416]
3091 * elf/tst-execstack.c: Include stackinfo.h.
3092 (do_test): Adjust test case to ensure that pthread_getattr_np
3093 behaviour remains the same after marking stack executable.
3094
3095 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3096
3097 * sysdeps/unix/sysv/linux/kernel-features.h
3098 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3099 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3100 kernel-features.h.
3101 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3102 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3103 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3104 kernel-features.h.
3105 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3106 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3107
3108 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3109
3110 * configure.in: Define the default includes to being none.
3111 * configure: Regenerated.
3112
3113 2012-05-25 Roland McGrath <roland@hack.frob.com>
3114
3115 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3116 * sysdeps/x86_64/setjmp.S: Likewise.
3117 * sysdeps/i386/bsd-setjmp.S: Likewise.
3118 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3119 * sysdeps/i386/setjmp.S: Likewise.
3120 * sysdeps/i386/__longjmp.S: Likewise.
3121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3122 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3123
3124 * include/stap-probe.h: New file.
3125 * configure.in: Handle --enable-systemtap.
3126 * configure: Regenerated.
3127 * config.h.in (USE_STAP_PROBE): New #undef.
3128 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3129 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3130 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3131
3132 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3133
3134 [BZ #13717]
3135 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3136 to 2.4.0 where earlier.
3137 * sysdeps/unix/sysv/linux/configure: Regenerated.
3138 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3139 <kernel-features.h>.
3140 [__ASSUME_32BITUIDS]: Make code unconditional.
3141 [!__ASSUME_32BITUIDS]: Remove conditional code.
3142 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3143 <kernel-features.h>.
3144 [__ASSUME_32BITUIDS]: Make code unconditional.
3145 [!__ASSUME_32BITUIDS]: Remove conditional code.
3146 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3147 [__ASSUME_32BITUIDS]: Make code unconditional.
3148 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3149 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3150 <kernel-features.h>.
3151 [__ASSUME_32BITUIDS]: Make code unconditional.
3152 [!__ASSUME_32BITUIDS]: Remove conditional code.
3153 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3154 <kernel-features.h>.
3155 [__ASSUME_32BITUIDS]: Make code unconditional.
3156 [!__ASSUME_32BITUIDS]: Remove conditional code.
3157 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3158 <kernel-features.h>.
3159 [__ASSUME_32BITUIDS]: Make code unconditional.
3160 [!__ASSUME_32BITUIDS]: Remove conditional code.
3161 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3162 <kernel-features.h>.
3163 [__ASSUME_32BITUIDS]: Make code unconditional.
3164 [!__ASSUME_32BITUIDS]: Remove conditional code.
3165 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3166 <kernel-features.h>.
3167 [__ASSUME_32BITUIDS]: Make code unconditional.
3168 [!__ASSUME_32BITUIDS]: Remove conditional code.
3169 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3170 <kernel-features.h>.
3171 [__ASSUME_32BITUIDS]: Make code unconditional.
3172 [!__ASSUME_32BITUIDS]: Remove conditional code.
3173 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3174 <kernel-features.h>.
3175 [__ASSUME_32BITUIDS]: Make code unconditional.
3176 [!__ASSUME_32BITUIDS]: Remove conditional code.
3177 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3178 <kernel-features.h>.
3179 [__ASSUME_32BITUIDS]: Make code unconditional.
3180 [!__ASSUME_32BITUIDS]: Remove conditional code.
3181 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3182 <kernel-features.h>.
3183 [__ASSUME_32BITUIDS]: Make code unconditional.
3184 [!__ASSUME_32BITUIDS]: Remove conditional code.
3185 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3186 <kernel-features.h>.
3187 [__ASSUME_32BITUIDS]: Make code unconditional.
3188 [!__ASSUME_32BITUIDS]: Remove conditional code.
3189 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3190 <kernel-features.h>.
3191 [__NR_setresgid] (__setresgid): Do not declare.
3192 [__ASSUME_32BITUIDS]: Make code unconditional.
3193 [!__ASSUME_32BITUIDS]: Remove conditional code.
3194 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3195 <kernel-features.h>.
3196 [__NR_setresuid] (__setresuid): Do not declare.
3197 [__ASSUME_32BITUIDS]: Make code unconditional.
3198 [!__ASSUME_32BITUIDS]: Remove conditional code.
3199 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3200 <kernel-features.h>.
3201 [__ASSUME_32BITUIDS]: Make code unconditional.
3202 [!__ASSUME_32BITUIDS]: Remove conditional code.
3203 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3204 <kernel-features.h>.
3205 [__ASSUME_32BITUIDS]: Make code unconditional.
3206 [!__ASSUME_32BITUIDS]: Remove conditional code.
3207 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3208 <kernel-features.h>.
3209 [__ASSUME_32BITUIDS]: Make code unconditional.
3210 [!__ASSUME_32BITUIDS]: Remove conditional code.
3211 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3212 <kernel-features.h>.
3213 [__ASSUME_32BITUIDS]: Make code unconditional.
3214 [!__ASSUME_32BITUIDS]: Remove conditional code.
3215 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3216 <kernel-features.h>.
3217 [__ASSUME_32BITUIDS]: Make code unconditional.
3218 [!__ASSUME_32BITUIDS]: Remove conditional code.
3219 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3220 <kernel-features.h>.
3221 [__ASSUME_32BITUIDS]: Make code unconditional.
3222 [!__ASSUME_32BITUIDS]: Remove conditional code.
3223 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3224 <kernel-features.h>.
3225 [__ASSUME_32BITUIDS]: Make code unconditional.
3226 [!__ASSUME_32BITUIDS]: Remove conditional code.
3227 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3228 <kernel-features.h>.
3229 [__ASSUME_32BITUIDS]: Make code unconditional.
3230 [!__ASSUME_32BITUIDS]: Remove conditional code.
3231 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3232 <kernel-features.h>.
3233 [__ASSUME_32BITUIDS]: Make code unconditional.
3234 [!__ASSUME_32BITUIDS]: Remove conditional code.
3235 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3236 <kernel-features.h>.
3237 [__ASSUME_32BITUIDS]: Make code unconditional.
3238 [!__ASSUME_32BITUIDS]: Remove conditional code.
3239 * sysdeps/unix/sysv/linux/kernel-features.h
3240 (__ASSUME_SETRESUID_SYSCALL): Remove.
3241 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3242 (__ASSUME_32BITUIDS): Likewise.
3243 (__ASSUME_LDT_WORKS): Likewise.
3244 (__ASSUME_O_DIRECTORY): Likewise.
3245 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3246 architecture but not kernel version.
3247 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3248 (__ASSUME_MMAP2_SYSCALL): Likewise.
3249 (__ASSUME_STAT64_SYSCALL): Likewise.
3250 (__ASSUME_IPC64): Likewise.
3251 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3252 <kernel-features.h>.
3253 [__ASSUME_32BITUIDS]: Make code unconditional.
3254 [!__ASSUME_32BITUIDS]: Remove conditional code.
3255 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3256 <kernel-features.h>.
3257 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3258 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3259 132096]: Remove conditional code.
3260 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3261 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3262 <kernel-features.h>.
3263 [__ASSUME_32BITUIDS]: Make code unconditional.
3264 [!__ASSUME_32BITUIDS]: Remove conditional code.
3265 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3266 <kernel-features.h>.
3267 [__ASSUME_32BITUIDS]: Make code unconditional.
3268 [!__ASSUME_32BITUIDS]: Remove conditional code.
3269 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3270 <kernel-features.h>.
3271 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3272 unconditional.
3273 (__setresgid): Do not declare.
3274 [__ASSUME_32BITUIDS]: Make code unconditional.
3275 [!__ASSUME_32BITUIDS]: Remove conditional code.
3276 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3277 <kernel-features.h>.
3278 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3279 unconditional.
3280 (__setresuid): Do not declare.
3281 [__ASSUME_32BITUIDS]: Make code unconditional.
3282 [!__ASSUME_32BITUIDS]: Remove conditional code.
3283 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3284 <kernel-features.h>.
3285 [__ASSUME_32BITUIDS]: Make code unconditional.
3286 [!__ASSUME_32BITUIDS]: Remove conditional code.
3287 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3288 <kernel-features.h>.
3289 [__ASSUME_32BITUIDS]: Make code unconditional.
3290 [!__ASSUME_32BITUIDS]: Remove conditional code.
3291
3292 2012-05-25 Richard Henderson <rth@twiddle.net>
3293
3294 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3295 dl_hwcap to ifunc resolver.
3296 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3297 elf_ifunc_invoke.
3298 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3299 dl_hwcap to ifunc resolver.
3300 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3301
3302 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3303
3304 [BZ #14153]
3305 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3306 for |x| <= 2**-26, not 2**-57.
3307 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3308 exception.
3309
3310 2012-05-24 Jeff Law <law@redhat.com>
3311
3312 * stdio-common/Makefile (tests): Add bug25.
3313 * stdio-common/bug25.c: New test.
3314
3315 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3316
3317 [BZ #13576]
3318 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3319 multiple of MALLOC_ALIGNMENT in size.
3320 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3321
3322 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3323
3324 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3325 Require >= 256.
3326 (FILENAME_MAX): Use macro-int-constant.
3327 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3328 (_IOFBF): Use macro-int-constant.
3329 (_IOLBF): Likewise.
3330 (_IONBF): Likewise.
3331 (SEEK_CUR): Likewise.
3332 (SEEK_END): Likewise.
3333 (SEEK_SET): Likewise.
3334 (TMP_MAX): Likewise.
3335 (EOF): Use macro-int-constant. Require < 0.
3336 (NULL): Use macro-constant. Require == 0.
3337 (stdin): Require type to be FILE *.
3338 (stdout): Likewise.
3339 (stderr): Likewise.
3340 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3341 macro-int-constant.
3342 (EXIT_SUCCESS): Likewise.
3343 (NULL): Use macro-constant. Require == 0.
3344 (RAND_MAX): Use macro-int-constant.
3345 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3346 [C99-based standards] (strtof): Require function.
3347 [C99-based standards] (strtold): Likewise.
3348 [C99-based standards] (strtoll): Likewise.
3349 [C99-based standards] (strtoull): Likewise.
3350 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3351 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3352 [ISO || ISO99 || ISO11] (math.h): Likewise.
3353 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3354 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3356
3357 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3358
3359 [BZ #14132]
3360 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3361 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3362 * intl/dgettext.c (DCGETTEXT): Likewise.
3363 * intl/gettext.c (DCGETTEXT): Likewise.
3364 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3365 * posix/regex_internal.h (gettext): Likewise.
3366 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3367 Remove declaration.
3368 * include/argz.h (__argz_count_internal)
3369 (__argz_stringify_internal): Remove declaration.
3370 (__argz_count, __argz_stringify): Declare hidden proto.
3371 * intl/dcgettext.c: Remove use of INTDEF.
3372 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3373 * string/argz-stringify.c: Likewise.
3374 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3375 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3376 Declare hidden proto.
3377 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3378 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3379 Declare hidden proto.
3380 * include/stdio.h (__asprintf_internal): Don't declare.
3381 (__asprintf): Don't define as macro. Declare hidden proto.
3382 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3383 (__fsetlocking): Declare hidden proto.
3384 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3385 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3386 hidden proto.
3387 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3388 (_IO_setlinebuf): Remove use of INTUSE.
3389 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3390 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3391 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3392 Remove declaration.
3393 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3394 (_IO_do_flush): Remove use of INTUSE.
3395 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3396 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3397 (_IO_adjust_column, _IO_least_wmarker)
3398 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3399 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3400 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3401 (_IO_default_doallocate, _IO_wdefault_doallocate)
3402 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3403 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3404 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3405 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3406 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3407 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3408 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3409 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3410 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3411 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3412 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3413 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3414 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3415 proto.
3416 (_IO_flush_all_internal, _IO_adjust_column_internal)
3417 (_IO_default_uflow_internal, _IO_default_finish_internal)
3418 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3419 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3420 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3421 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3422 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3423 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3424 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3425 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3426 (_IO_file_close_internal, _IO_file_close_it_internal)
3427 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3428 (_IO_file_init_internal, _IO_file_attach_internal)
3429 (_IO_file_fopen_internal, _IO_file_read_internal)
3430 (_IO_file_sync_internal, _IO_file_seek_internal)
3431 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3432 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3433 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3434 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3435 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3436 (_IO_list_all_internal, _IO_link_in_internal)
3437 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3438 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3439 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3440 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3441 (_IO_do_write_internal, _IO_padn_internal)
3442 (_IO_getline_info_internal, _IO_getline_internal)
3443 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3444 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3445 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3446 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3447 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3448 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3449 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3450 with libc_hidden_ver, remove use of INTUSE.
3451 * libio/genops.c: Likewise.
3452 * libio/freopen.c: Likewise.
3453 * libio/freopen64.c: Likewise.
3454 * libio/iofclose.c: Likewise.
3455 * libio/iofdopen.c: Likewise.
3456 * libio/iofflush.c: Likewise.
3457 * libio/iofflush_u.c: Likewise.
3458 * libio/iofgets.c: Likewise.
3459 * libio/iofgets_u.c: Likewise.
3460 * libio/iofopen.c: Likewise.
3461 * libio/iofopncook.c: Likewise.
3462 * libio/iofread.c: Likewise.
3463 * libio/iofread_u.c: Likewise.
3464 * libio/ioftell.c: Likewise.
3465 * libio/iofwrite.c: Likewise.
3466 * libio/iogetline.c: Likewise.
3467 * libio/iogets.c: Likewise.
3468 * libio/iogetwline.c: Likewise.
3469 * libio/iopadn.c: Likewise.
3470 * libio/iopopen.c: Likewise.
3471 * libio/ioseekoff.c: Likewise.
3472 * libio/ioseekpos.c: Likewise.
3473 * libio/iosetbuffer.c: Likewise.
3474 * libio/iosetvbuf.c: Likewise.
3475 * libio/ioungetc.c: Likewise.
3476 * libio/ioungetwc.c: Likewise.
3477 * libio/iovdprintf.c: Likewise.
3478 * libio/iovsprintf.c: Likewise.
3479 * libio/iovsscanf.c: Likewise.
3480 * libio/memstream.c: Likewise.
3481 * libio/obprintf.c: Likewise.
3482 * libio/oldfileops.c: Likewise.
3483 * libio/oldiofclose.c: Likewise.
3484 * libio/oldiofdopen.c: Likewise.
3485 * libio/oldiofopen.c: Likewise.
3486 * libio/oldiopopen.c: Likewise.
3487 * libio/oldstdfiles.c: Likewise.
3488 * libio/putc.c: Likewise.
3489 * libio/setbuf.c: Likewise.
3490 * libio/setlinebuf.c: Likewise.
3491 * libio/stdfiles.c: Likewise.
3492 * libio/strops.c: Likewise.
3493 * libio/vasprintf.c: Likewise.
3494 * libio/vscanf.c: Likewise.
3495 * libio/vsnprintf.c: Likewise.
3496 * libio/vswprintf.c: Likewise.
3497 * libio/wfiledoalloc.c: Likewise.
3498 * libio/wfileops.c: Likewise.
3499 * libio/wgenops.c: Likewise.
3500 * libio/wmemstream.c: Likewise.
3501 * libio/wstrops.c: Likewise.
3502 * libio/__fpurge.c: Likewise.
3503 * libio/__fsetlocking.c: Likewise.
3504 * assert/assert.c: Likewise.
3505 * debug/fgets_chk.c: Likewise.
3506 * debug/fgets_u_chk.c: Likewise.
3507 * debug/fread_chk.c: Likewise.
3508 * debug/fread_u_chk.c: Likewise.
3509 * debug/gets_chk.c: Likewise.
3510 * debug/obprintf_chk.c: Likewise.
3511 * debug/vasprintf_chk.c: Likewise.
3512 * debug/vdprintf_chk.c: Likewise.
3513 * debug/vsnprintf_chk.c: Likewise.
3514 * debug/vsprintf_chk.c: Likewise.
3515 * malloc/mtrace.c: Likewise.
3516 * misc/error.c: Likewise.
3517 * misc/syslog.c: Likewise.
3518 * stdio-common/asprintf.c: Likewise.
3519 * stdio-common/fxprintf.c: Likewise.
3520 * stdio-common/getw.c: Likewise.
3521 * stdio-common/isoc99_fscanf.c: Likewise.
3522 * stdio-common/isoc99_scanf.c: Likewise.
3523 * stdio-common/isoc99_vfscanf.c: Likewise.
3524 * stdio-common/isoc99_vscanf.c: Likewise.
3525 * stdio-common/isoc99_vsscanf.c: Likewise.
3526 * stdio-common/printf-prs.c: Likewise.
3527 * stdio-common/printf_fp.c: Likewise.
3528 * stdio-common/printf_fphex.c: Likewise.
3529 * stdio-common/printf_size.c: Likewise.
3530 * stdio-common/putw.c: Likewise.
3531 * stdio-common/scanf.c: Likewise.
3532 * stdio-common/sprintf.c: Likewise.
3533 * stdio-common/tmpfile.c: Likewise.
3534 * stdio-common/vfprintf.c: Likewise.
3535 * stdio-common/vfscanf.c: Likewise.
3536 * stdlib/strfmon_l.c: Likewise.
3537 * sunrpc/openchild.c: Likewise.
3538 * sunrpc/xdr_stdio.c: Likewise.
3539 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3540 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3541
3542 2012-05-24 Roland McGrath <roland@hack.frob.com>
3543
3544 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3545
3546 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3547 in the third column, to generate for the shared library an IFUNC
3548 that uses _dl_vdso_vsym.
3549 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3550 * Makeconfig (object-suffixes-noshared): New variable.
3551
3552 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3553 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3554 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3555 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3556
3557 [BZ #14132]
3558 * include/sys/time.h (__gettimeofday): Remove macro.
3559 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3560 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3561 Remove INTDEF.
3562 (__gettimeofday): Add libc_hidden_def.
3563 (gettimeofday): Add libc_hidden_weak.
3564 * sysdeps/mach/gettimeofday.c: Likewise.
3565 * sysdeps/posix/gettimeofday.c: Likewise.
3566 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3567 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3568 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3569 (__gettimeofday_internal): Remove strong_alias.
3570 (__gettimeofday): Add libc_hidden_def.
3571 (gettimeofday): Add libc_hidden_weak.
3572 * sysdeps/unix/syscalls.list (gettimeofday):
3573 Remove __gettimeofday_internal alias.
3574
3575 2012-05-24 Daniel Jacobowitz <drow@false.org>
3576 H.J. Lu <hongjiu.lu@intel.com>
3577
3578 [BZ #12495]
3579 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3580 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3581 (largebin_index_32_big): New.
3582 (largebin_index): Use it for 16-byte alignment.
3583 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3584 correction with front_misalign.
3585
3586 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3587
3588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3590 Likewise.
3591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3592 Likewise.
3593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3594 Likewise.
3595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3596 Likewise.
3597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3598 Likewise.
3599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3600 Likewise.
3601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3602 Likewise.
3603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3604 Likewise.
3605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3606 Likewise.
3607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3608 Likewise.
3609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3610 Likewise.
3611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3612 Likewise.
3613
3614 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3615 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3616
3617 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3618
3619 [BZ #10846]
3620 [BZ #14036]
3621 * math/libm-test.inc (exp_test): Add test from bug 14036.
3622 (pow_test): Add test from bug 10846.
3623
3624 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3625 and other flags.
3626 (special_function): Do not include flags in test name.
3627 (parse_args): Likewise.
3628 * sysdeps/i386/fpu/libm-test-ulps: Update.
3629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3630 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3631 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3633
3634 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3635 exceptions.
3636 * math/libm-test.inc ("Philosophy"): Update comment about
3637 exception testing.
3638 (UNDERFLOW_EXCEPTION): New macro.
3639 (UNDERFLOW_EXCEPTION_OK): Likewise.
3640 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3641 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3642 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3643 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3644 (INVALID_EXCEPTION_OK): Update value.
3645 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3646 (OVERFLOW_EXCEPTION_OK): Likewise.
3647 (IGNORE_ZERO_INF_SIGN): Likewise.
3648 (test_exceptions): Handle underflow exceptions.
3649 (acos_test): Update for underflow exception expectations.
3650 (cexp_test): Likewise.
3651 (clog_test): Likewise.
3652 (clog10_test): Likewise.
3653 (csqrt_test): Likewise.
3654 (ctan_test): Likewise.
3655 (ctanh_test): Likewise.
3656 (exp_test): Likewise.
3657 (exp10_test): Likewise.
3658 (exp2_test): Likewise.
3659 (expm1_test): Likewise.
3660 (fma_test): Likewise.
3661 (j0_test): Likewise.
3662 (jn_test): Likewise.
3663 (nexttoward_test): Likewise.
3664 (pow_test): Likewise.
3665 (scalbn_test): Likewise.
3666 (scalbln_test): Likewise.
3667 (tan_test): Likewise.
3668 (y1_test): Likewise.
3669 * sysdeps/i386/fpu/libm-test-ulps: Update.
3670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3671
3672 2012-05-23 David S. Miller <davem@davemloft.net>
3673
3674 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3675 (__libc_sigaction): Remove unused local variables.
3676
3677 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3678
3679 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3680
3681 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3682
3683 mktime: avoid signed integer overflow
3684 * time/mktime.c (__mktime_internal): Do not mishandle the case
3685 where diff == INT_MIN.
3686
3687 mktime: simplify computation of average
3688 * time/mktime.c (ranged_convert): Use new time_t_avg function
3689 instead of rolling our own (probably-slower) code.
3690
3691 mktime: do not assume signed right shift propagates sign bit
3692 * time/mktime.c (isdst_differ): New static function.
3693 (__mktime_internal): No need to normalize tm_isdst now.
3694 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3695 tm_isdst values.
3696
3697 mktime: merge another wrapv change from gnulib
3698 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3699 from some compilers.
3700
3701 mktime: remove incorrect attempt at unusual arithmetics
3702 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3703 The code didn't really work on such machines anyway.
3704 (TYPE_MINIMUM): Assume two's complement.
3705 (twos_complement_arithmetic): Verify that long_int and time_t
3706 are two's complement (or unsigned, in the latter case).
3707
3708 mktime: check signed shifts on long_int and time_t, too
3709 * time/mktime.c (SHR): Check that shifts work as desired
3710 on the types long_int and time_t too, as SHR is used on
3711 such types.
3712
3713 mktime: do not assume 'long' is wide enough
3714 * time/mktime.c (verify): Move decl up.
3715 (long_int): New type.
3716 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3717 to remove assumption in the code that 'long' is wide enough to
3718 store year values. This assumption is not true on x32 and on
3719 some non-glibc platforms.
3720
3721 mktime: merge wrapv change from gnulib
3722 * time/mktime.c (WRAPV): New macro.
3723 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3724 (guess_time_tm, __mktime_internal): Do not assume that signed
3725 integer overflow wraps around; modern compilers generate code
3726 where this assumption is no longer valid.
3727
3728 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3729
3730 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3731 Replace "jmp L(pseudo_end)" with "ret".
3732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3733 Likewise.
3734
3735 2012-05-23 Andreas Jaeger <aj@suse.de>
3736
3737 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3738 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3739
3740 2012-05-23 Andreas Jaeger <aj@suse.de>
3741 Maximilian Attems <max@stro.at>
3742
3743 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3744 New macros.
3745
3746 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3747
3748 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3749 code so that pseudo_end is just ret and the stack pointer is
3750 correct also for static library in error case.
3751
3752 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3753
3754 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3755 move to syscalls.list.
3756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3760
3761 * manual/install.texi (Running make install): Do not mention Linux
3762 kernel version for which pt_chown is not needed.
3763 (Linux): Do not mention problems with nscd with 2.0 kernels.
3764 * INSTALL: Regenerated.
3765
3766 2012-05-23 Andreas Jaeger <aj@suse.de>
3767
3768 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3769 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3770 macro.
3771 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3772 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3773 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3774 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3775 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3776 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3777 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3778 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3779 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3780 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3781 * sysdeps/unix/sysv/linux/bits/in.h
3782 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3783
3784 2012-05-22 Roland McGrath <roland@hack.frob.com>
3785
3786 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3787 (PREPARE_VERSION): Just use assert instead, it will be elided
3788 under [NDEBUG] anyway.
3789
3790 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3791
3792 * sysdeps/unix/sysv/linux/Makefile: Include
3793 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3794 (sysdep_routines): Remove sysctl.
3795 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3796 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3797 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3798 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3799 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3800
3801 2012-05-22 Andreas Jaeger <aj@suse.de>
3802
3803 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3804 that pseudo_end is just ret and the stack pointer is correct also
3805 for static library in error case.
3806
3807 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3808
3809 [BZ #14122]
3810 * nss/nsswitch.c (defconfig_entries): New variable.
3811 (__nss_database_lookup): Don't leak defconfig entries.
3812 (nss_parse_service_list): Don't leak on error paths.
3813 (free_database_entries): New function.
3814 (free_defconfig): New function.
3815 (free_mem): Move common code to free_database_entries.
3816
3817 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3818
3819 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3820 Add arch_prctl.
3821 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3822
3823 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3824 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3825 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3826 New macro.
3827 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3828 (INTERNAL_SYSCALL_TYPES): Likewise.
3829 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3830 (LOAD_REGS_TYPES_[1-6]): Likewise.
3831 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3832 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3833
3834 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3835
3836 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3837 copysignl for GLIBC_2_0.
3838 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3839 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3841 logbl for GLIBC_2_0.
3842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3843 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3844
3845 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3846
3847 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3848 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3849
3850 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3851 Use "neg %eax".
3852
3853 * time/mktime.c: Update copyright years.
3854
3855 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3856
3857 mktime: merge comment-quoting-style change from gnulib
3858 * time/mktime.c: Quote 'like this' in comments.
3859 The GNU coding standards suggest that we no longer quote `like this',
3860 as "`" and "'" are typically rendered asymmetrically nowadays.
3861 The typical gnulib style is to quote 'like this' when quoting
3862 code, and "like this" when quoting English.
3863
3864 * time/mktime.c (compile-command): Add "-I.".
3865
3866 mktime: merge mktime-internal.h change from gnulib
3867 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3868
3869 mktime: merge time_r change from gnulib
3870 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3871
3872 mktime: merge DEBUG change from gnulib
3873 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3874 case system <time.h> has a #define.
3875
3876 mktime: merge <sys/types.h> change from gnulib
3877 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3878 since <time.t> is now guaranteed to define time_t.
3879
3880 mktime: merge HAVE_CONFIG_H change from gnulib
3881 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3882
3883 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3884
3885 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3886 Use "neg %eax".
3887
3888 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3889 __rlim_t cast.
3890 (struct rusage): Use anonymous union to pad each field to
3891 __syscall_slong_t.
3892
3893 2012-05-21 David S. Miller <davem@davemloft.net>
3894
3895 * Makefules (o-iterator): Remove .s cases.
3896 (compile-command.s): Delete.
3897 (COMPILE.s): Delete.
3898 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3899
3900 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3901
3902 * configure.in (libc_cv_predef_stack_protector): Only consider
3903 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3904 * configure: Regenerated.
3905
3906 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3907
3908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3909 New macro. Use R*LP on int and pointer.
3910 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3911 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3912 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3913 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3914
3915 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3916 [__WORDSIZE_TIME64_COMPAT32] instead of
3917 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3918 (struct utmp): Likewise.
3919 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3920 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3921 Renamed to ...
3922 (__WORDSIZE_TIME64_COMPAT32): This.
3923 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3924 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3925 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3926 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3927 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3928 (__WORDSIZE_TIME64_COMPAT32): New macro.
3929
3930 2012-05-21 Andreas Jaeger <aj@suse.de>
3931
3932 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3933 only if [SHARED]. Add prototype for __wcschr_ia32.
3934
3935 2012-05-21 Roland McGrath <roland@hack.frob.com>
3936
3937 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3938 of %rbp unmolested in the jmp_buf while mangling the low bits.
3939 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3940 unmolested high bits of %rbp while demangling the low bits.
3941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3942
3943 2012-05-21 Andreas Jaeger <aj@suse.de>
3944
3945 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3946 * sunrpc/svc_simple.c: Use it for registerrpc.
3947 * sunrpc/xcrypt.c: Use it for passwd2des.
3948
3949 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3950
3951 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3952
3953 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3954 Don't define if [__SYSCALL_WORDSIZE != 32].
3955 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3956 New macro.
3957
3958 2012-05-21 Bruno Haible <bruno@clisp.org>
3959 Andreas Jaeger <aj@suse.de>
3960
3961 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3962 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3963 inptr and inend for must_buffer_ch.
3964 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3965 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3966 * stdio-common/Makefile (tests): Remove bug15.
3967 (bug15-ENV): Remove macro.
3968 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3969 anymore.
3970
3971 2012-05-19 Andreas Jaeger <aj@suse.de>
3972 Roland McGrath <roland@hack.frob.com>
3973
3974 * manual/contrib.texi: Completely rewritten. It contains now an
3975 alphabetical list of contributors and their contributions.
3976
3977 2012-05-21 Richard Henderson <rth@twiddle.net>
3978
3979 * misc/getauxval.c (__getauxval): Use unsigned long int.
3980 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3981 (getauxval): Use unsigned long int.
3982
3983 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3984
3985 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3986
3987 2012-05-21 Roland McGrath <roland@hack.frob.com>
3988
3989 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3990 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3991 __alignof__ (long double).
3992
3993 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3994
3995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3996
3997 2012-05-20 Richard Henderson <rth@twiddle.net>
3998
3999 * misc/getauxval.c: New file.
4000 * misc/sys/auxv.h: New file.
4001 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4002 (routines): Add getauxval.
4003 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4004 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4005 * elf/dl-sysdep.c (_dl_auxv): Remove.
4006 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4007 * elf/dl-support.c (_dl_auxv): New variable.
4008 (_dl_aux_init): Initialize it.
4009 * manual/startup.texi (Auxiliary Vector): New node.
4010 * sysdeps/generic/bits/hwcap.h: New file.
4011 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4012 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4013 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4014 * sysdeps/sparc/sysdep.h: ... here. Include it.
4015 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4016 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4018 Update.
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4027
4028 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4029
4030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4031
4032 2012-05-19 David S. Miller <davem@davemloft.net>
4033
4034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4035
4036 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4037
4038 [BZ #14123]
4039 * math/s_ccosh.c: Include <float.h>
4040 (__ccosh): Avoid internal overflow calculating sinh and cosh
4041 values before multiplying by sin and cos values.
4042 * math/s_ccoshf.c: Likewise.
4043 * math/s_ccoshl.c: Likewise.
4044 * math/s_csin.c: Likewise.
4045 * math/s_csinf.c: Likewise.
4046 * math/s_csinl.c: Likewise.
4047 * math/s_csinh.c: Likewise.
4048 * math/s_csinhf.c: Likewise.
4049 * math/s_csinhl.c: Likewise.
4050 * math/libm-test.inc (ccos_test): Add more tests.
4051 (ccosh_test): Likewise.
4052 (csin_test): Likewise.
4053 (csinh_test): Likewise.
4054 * sysdeps/i386/fpu/libm-test-ulps: Update.
4055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4056
4057 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4058
4059 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4060 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4061
4062 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4063
4064 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4065
4066 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4067 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4068 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4069 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4070 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4071 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4072 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4073 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4074 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4075 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4076 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4077 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4078 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4079 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4080 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4081 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4082 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4083 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4084 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4085 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4086 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4087 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4088 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4089 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4090 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4091 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4092 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4093 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4094 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4095 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4096 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4097
4098 2012-05-18 Andreas Jaeger <aj@suse.de>
4099
4100 * csu/.gitignore: Delete.
4101
4102 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4103
4104 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4105 (timex): Use __syscall_slong_t.
4106
4107 2012-05-18 Andreas Jaeger <aj@suse.de>
4108 Carlos O'Donell <carlos_odonell@mentor.com>
4109
4110 * manual/install.texi (Configuring and compiling): Update
4111 description about files modified in the source directory.
4112 * INSTALL: Regenerated.
4113
4114 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4115
4116 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4117 value. Use "or" to set return value to -1.
4118 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4119 negate return value.
4120
4121 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4122
4123 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4124 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4125 failure if the compiler has Graphite support disabled.
4126 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4127 Likewise.
4128 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4129 CFLAGS-memmove.c): Likewise.
4130 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4131 Likewise.
4132
4133 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4134
4135 * sysdeps/x86_64/x32/_itoa.h: New file.
4136
4137 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4138 getdents system call only if kernel and user dirents have the
4139 same d_ino and d_off.
4140
4141 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4142 LLONG_MAX != LONG_MAX.
4143 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4144 (_fitoa_word): Likewise.
4145
4146 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4147 years.
4148 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4149 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4150 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4151
4152 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4153 include <bits/wordsize.h>. Check __x86_64__ instead of
4154 __WORDSIZE.
4155 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4156 if __x86_64__ is defined. Use anonymous union on fpstate.
4157
4158 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4159 anonymous union.
4160
4161 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4162
4163 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4164 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4165 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4166 Refer to _rtld_local_ro instead of _rtld_global_ro.
4167 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4168 Likewise.
4169 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4170 Likewise.
4171 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4172 Likewise.
4173 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4174 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4175 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4176
4177 * sysdeps/powerpc/powerpc32/dl-machine.c
4178 (__elf_machine_runtime_setup) [PROF]: Don't reference
4179 _dl_prof_resolve.
4180
4181 2012-05-18 Andreas Jaeger <aj@suse.de>
4182
4183 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4184 function only available for GCCs before 3.4 since GCC 3.4
4185 introduced a builtin.
4186 (lrint): Likewise.
4187 (llrintf): Likewise.
4188 (llrint): Likewise.
4189 (fmaxf): Likewise.
4190 (fmax): Likewise.
4191 (fminf): Likewise.
4192 (fmin): Likewise.
4193 (rint): Likewise.
4194 (rintf): Likewise.
4195 (nearbyint): Likewise.
4196 (nearbyintf): Likewise.
4197 (ceil): Likewise.
4198 (ceilf): Likewise.
4199 (floor): Likewise.
4200 (floorf): Likewise.
4201
4202 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4203
4204 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4205 on both fields and cast pointer to __syscall_ulong_t.
4206
4207 * bits/types.h (__fsword_t): New type.
4208 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4209 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4210 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4211 (__FSWORD_T_TYPE): Likewise.
4212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4213 (__FSWORD_T_TYPE): Likewise.
4214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4215 (__FSWORD_T_TYPE): Likewise.
4216 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4217 (__FSWORD_T_TYPE): Likewise.
4218 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4219 __SWORD_TYPE with __fsword_t.
4220 (statfs64): Likewise.
4221
4222 2012-05-17 David S. Miller <davem@davemloft.net>
4223
4224 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4225
4226 2012-05-17 Andreas Jaeger <aj@suse.de>
4227
4228 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4229 warning.
4230
4231 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4232
4233 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4234
4235 2012-05-17 Andreas Jaeger <aj@suse.de>
4236
4237 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4238 when it is used.
4239
4240 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4241
4242 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4243
4244 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4245
4246 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4247 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4248
4249 2012-05-17 Andreas Jaeger <aj@suse.de>
4250 Carlos O'Donell <carlos_odonell@mentor.com>
4251
4252 [BZ #14059]
4253 * sysdeps/x86_64/multiarch/init-arch.h
4254 (bit_YMM_Usable): Rename to...
4255 (bit_AVX_Usable): ... this.
4256 (bit_FMA4_Usable): New macro.
4257 (bit_XMM_state): New macro.
4258 (bit_YMM_state): New macro.
4259 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4260 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4261 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4262 (CPUID_OSXSAVE): New macro.
4263 (CPUID_AVX): New macro.
4264 (CPUID_FMA4): New macro.
4265 (index_YMM_Usable): Rename to...
4266 (index_AVX_Usable): ... this.
4267 (HAS_AVX): Use HAS_ARCH_FEATURE.
4268 (HAS_FMA4): Likewise.
4269 (HAS_YMM_USABLE): Remove.
4270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4271 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4272 are present.
4273 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4274 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4275 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4276 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4277 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4278
4279 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4280
4281 * math/libm-test.c: Support platforms without multiple rounding modes.
4282 * math/bug-nextafter.c: Support platforms without FP exceptions.
4283 * math/bug-nexttoward.c: Likewise.
4284 * math/test-fenv.c: Likewise.
4285 * math/test-misc.c: Likewise.
4286 * stdlib/bug-getcontext.c: Likewise.
4287
4288 2012-05-17 Andreas Jaeger <aj@suse.de>
4289
4290 * manual/examples/search.c (critter_cmp): Change signature to
4291 avoid warnings.
4292 * manual/string.texi (Collation Functions): Likewise.
4293
4294 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4295
4296 * bits/types.h: Fold copyright years.
4297 * bits/typesizes.h: Likewise.
4298 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4300 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4302 * time/time.h: Likewise.
4303
4304 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4305
4306 [BZ #208]
4307 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4308 in instead of returning them. Return void.
4309 (__libc_mallinfo): Accumulate over all arenas.
4310 (__malloc_stats): Adjust for change in int_mallinfo interface.
4311
4312 2012-05-16 Roland McGrath <roland@hack.frob.com>
4313
4314 [BZ #10375]
4315 * configure.in (NM): Add AC_CHECK_TOOL for it.
4316 (libc_extra_cflags): New substituted variable.
4317 Check for -fstack-protector being used implicitly.
4318 * configure: Regenerated.
4319 * config.make.in (config-extra-cflags): New variable,
4320 gets @libc_extra_cflags@.
4321 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4322
4323 [BZ #10375]
4324 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4325 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4326 * configure: Regenerated.
4327 * config.make.in (CPPUNDEFS): New substituted variable.
4328 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4329 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4330 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4331
4332 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4333
4334 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4335 (mq_attr): Use __syscall_slong_t.
4336
4337 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4338
4339 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4340 Check __x86_64__ instead of __WORDSIZE.
4341 (_STAT_VER_LINUX): Likewise.
4342 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4343 __syscall_ulong_t and __syscall_slong_t.
4344 (stat64): Likewise.
4345
4346 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4347
4348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4349
4350 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4351
4352 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4353
4354 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4355
4356 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4357 __syscall_ulong_t.
4358
4359 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4360 include <bits/wordsize.h>. Check __x86_64__ instead of
4361 __WORDSIZE.
4362 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4363 defined.
4364 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4365
4366 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4367 include <bits/wordsize.h>. Check __x86_64__ instead of
4368 __WORDSIZE.
4369 (user_regs_struct): Use "__extension__ unsigned long long"
4370 instead of "unsigned long" if __x86_64__ is defined.
4371 (user): Likewise. Pad after pointer field if __ILP32__ is
4372 defined.
4373
4374 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4375
4376 * configure.in (makeinfo): Require version 4.5 or later. Allow
4377 versions 5 to 9.
4378 * configure: Regenerated.
4379 * manual/install.texi (texinfo): Increase version requirement to
4380 4.5 or later.
4381 * INSTALL: Regenerated.
4382
4383 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4384
4385 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4386
4387 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4388
4389 * sysdeps/x86_64/x32/ffs.c: New file.
4390
4391 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4392 __syscall_ulong_t.
4393 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4394 defined. Use __syscall_ulong_t.
4395 (shminfo): Use __syscall_ulong_t.
4396 (shm_info): Likewise.
4397
4398 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4399 __syscall_ulong_t.
4400
4401 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4402 <bits/wordsize.h>.
4403 (msgqnum_t): Use __syscall_ulong_t.
4404 (msglen_t): Likewise.
4405 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4406 __syscall_ulong_t.
4407
4408 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4409 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4410
4411 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4412
4413 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4414 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4415
4416 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4417 __syscall_slong_t.
4418
4419 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4420 include <bits/wordsize.h>. Check __x86_64__ instead of
4421 __WORDSIZE.
4422
4423 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4424 "unsigned long long int" if __x86_64__ is defined.
4425 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4426
4427 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4428 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4429 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4430
4431 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4432 <stdint.h>.
4433 (GET_PC): Cast to uintptr_t first.
4434 (GET_FRAME): Likewise.
4435 (GET_STACK): Likewise.
4436
4437 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4438 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4439 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4440 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4441 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4442 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4443 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4444 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4445 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4446 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4447 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4448 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4449 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4450 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4451 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4452 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4453 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4454 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4455 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4456 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4457 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4458 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4459 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4460 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4461 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4462 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4463 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4464 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4465 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4466
4467 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4468
4469 * Makerules (+depfiles): Also collect depfiles from .oS in
4470 $(extra-objs).
4471 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4472 .oS, $(libnldbl-routines)).
4473
4474 * Makerules (native-compile-mkdep-flags): Define.
4475 * sunrpc/Makefile (extra-objs): Add $(addprefix
4476 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4477 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4478 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4479 calling $(make-target-directory).
4480
4481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4482
4483 * bits/types.h (__snseconds_t): Removed.
4484 * time/time.h (struct timespec): Replace __snseconds_t with
4485 __syscall_slong_t.
4486 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4487 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4488 Likewise.
4489 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4490 (__SNSECONDS_T_TYPE): Likewise.
4491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4492 (__SNSECONDS_T_TYPE): Likewise.
4493 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4494 (__SNSECONDS_T_TYPE): Likewise.
4495
4496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4497
4498 * sysdeps/mach/hurd/bits/typesizes.h
4499 (__SYSCALL_SLONG_TYPE): New macro.
4500 (__SYSCALL_ULONG_TYPE): Likewise.
4501
4502 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4503
4504 * bits/types.h (__syscall_slong_t): New type.
4505 (__syscall_ulong_t): Likewise.
4506
4507 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4508 (__SYSCALL_ULONG_TYPE): Likewise.
4509 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4510 (__SYSCALL_SLONG_TYPE): Likewise.
4511 (__SYSCALL_ULONG_TYPE): Likewise.
4512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4513 (__SYSCALL_SLONG_TYPE): Likewise.
4514 (__SYSCALL_ULONG_TYPE): Likewise.
4515 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4516 (__SYSCALL_SLONG_TYPE): Likewise.
4517 (__SYSCALL_ULONG_TYPE): Likewise.
4518
4519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4520
4521 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4522 Add sigaltstack-offsets.sym.
4523 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4524 <sigaltstack-offsets.h>.
4525 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4526 longjmp_msg pointer.
4527 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4528 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4529 signal stack.
4530 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4531
4532 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4533
4534 * elf/stackguard-macros.h: Remove file.
4535 * sysdeps/generic/stackguard-macros.h: New file.
4536 * sysdeps/i386/stackguard-macros.h: Likewise.
4537 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4538 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4539 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4540 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4541 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4542 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4543 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4544 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4545 <elf/stackguard-macros.h>.
4546
4547 [BZ #14109]
4548 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4549 __aligned__ in attribute.
4550 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4551 (gregset_t): Likewise.
4552
4553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4554
4555 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4556 * sysdeps/x86_64/64/Implies-after: Here. New file.
4557 * sysdeps/x86_64/x32/Implies-after: New file.
4558
4559 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4560
4561 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4562 and access return value for _dl_profile_fixup. Use R10_LP to
4563 load frame size.
4564
4565 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4566
4567 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4568
4569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4570
4571 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4572 * sysdeps/x86_64/x32/sysdep.h: New file.
4573
4574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4575
4576 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4577 * sysdeps/x86_64/setjmp.S: Likewise.
4578
4579 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4580
4581 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4582 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4583 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4584 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4585 remove unused global constant.
4586
4587 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4588
4589 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4590 include of <not-cancel.h>.
4591
4592 2012-05-15 Roland McGrath <roland@hack.frob.com>
4593
4594 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4595
4596 2012-05-15 Jeff Law <law@redhat.com>
4597 Andreas Jaeger <aj@suse.de>
4598
4599 [BZ #13594]
4600 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4601 out from...
4602 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4603 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4604 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4605 code changing __hst_map_handle.map.
4606
4607 2012-05-15 Roland McGrath <roland@hack.frob.com>
4608
4609 * configure.in (sysnames): Look for Implies-before and Implies-after
4610 files.
4611 * configure: Regenerated.
4612
4613 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4614
4615 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4616 8-byte data alignment with LP_SIZE alignment.
4617
4618 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4619
4620 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4621 into R10_LP.
4622
4623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4624
4625 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4626
4627 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4628
4629 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4630 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4631 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4632 Likewise.
4633 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4634
4635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4636
4637 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4638 (stackinfo_sub_sp): Likewise.
4639
4640 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4641
4642 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4643 RAX_LP.
4644
4645 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4646
4647 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4648 into R*_LP.
4649
4650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4651
4652 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4653 sizes into R*_LP.
4654
4655 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4656
4657 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4658
4659 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4660
4661 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4662 into R11_LP and load __x86_64_shared_cache_size_half into
4663 R8_LP.
4664
4665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4666
4667 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4668 R8_LP.
4669
4670 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4671
4672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4673 logb for POWER7.
4674 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4675 logbf for POWER7.
4676 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4677 logbl for POWER7.
4678 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4679 powerpc32/power7/fpu/s_logb.c via #include.
4680 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4681 powerpc32/power7/fpu/s_logbf.c via #include.
4682 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4683 powerpc32/power7/fpu/s_logbl.c via #include.
4684
4685 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4686
4687 * README.libm: Remove file.
4688
4689 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4690
4691 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4692 count for x32. Use R*_LP and omit operand-size suffix.
4693
4694 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4695
4696 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4697 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4698 * sysdeps/x86_64/x32/shlib-versions: New file.
4699
4700 2012-05-14 Roland McGrath <roland@hack.frob.com>
4701
4702 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4703 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4704 Use _dl_fatal_printf instead.
4705
4706 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4707
4708 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4709 set if not set by the user. Do not allow for being unset.
4710 * sysdeps/unix/sysv/linux/configure: Regenerated.
4711
4712 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4713
4714 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4715 the `q' suffix from lea and replace .quad with ASM_ADDR.
4716
4717 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4718
4719 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4720 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4721 instead of $17.
4722 (PTR_DEMANGLE): Likewise.
4723
4724 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4725
4726 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4727 (LP_OP): Likewise.
4728 (ASM_ADDR): Likewise.
4729 (RAX_LP): Likewise.
4730 (RBP_LP): Likewise.
4731 (RBX_LP): Likewise.
4732 (RCX_LP): Likewise.
4733 (RDI_LP): Likewise.
4734 (RSI_LP): Likewise.
4735 (RSP_LP): Likewise.
4736 (R8_LP): Likewise.
4737 (R9_LP): Likewise.
4738 (R10_LP): Likewise.
4739 (R10_LP): Likewise.
4740 (R11_LP): Likewise.
4741 (R12_LP): Likewise.
4742 (R13_LP): Likewise.
4743 (R14_LP): Likewise.
4744 (R15_LP): Likewise.
4745
4746 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 * sysdeps/x86_64/x32/dl-machine.h: New file.
4749
4750 2012-05-14 Andreas Jaeger <aj@suse.de>
4751
4752 * manual/Makefile (subdir): Remove export of subdir.
4753 (all): Remove target.
4754 (.PHONY): Remove all from list.
4755 (mkinstalldirs): Remove.
4756 (.PHONY): Remove installdirs from list.
4757 ($(inst_infodir)/libc.info): Use make-target-directory.
4758 (installdirs): Remove.
4759 (subdir_%): Remove.
4760 (glibc-targets): Remove.
4761 (lib): Remove.
4762 (stubs): Remove.
4763 ($(objpfx)stubs ../po/manual.pot): Remove.
4764 ($(objpfx)stamp%): Remove.
4765 (make-target-directory): Remove.
4766 (subdir_install): Remove.
4767 (routines): Remove.
4768 (aux): Remove.
4769 (sources): Remove.
4770 (objects): Remove.
4771 (headers): Remove.
4772
4773 [BZ #13750]
4774 * manual/.gitignore: Remove, it's not needed anymore.
4775 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4776 all files in it.
4777 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4778 directory.
4779 (texis): Renamed to $(objpfx)texis.
4780 (texis-path): New, contains path to generated files.
4781 (chapters.%): Use texis-path for complete path, add extra argument
4782 libc-texinfo.sh.
4783 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4784 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4785 (summary,texi, stamp-summary): Use complete path of
4786 files. Generate files in build dir.
4787 (dir-add.texi): Build in build dir.
4788 (libm-err.texi,stamp-libm-err): Likewise.
4789 (version.texi, stamp-version): Likewise.
4790 (.%c.texi): Likewise.
4791 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4792 (mostlyclean): Remove target.
4793 (realclean): Remove target.
4794 (generated): Add new variable with contents from mostlyclean and
4795 realclean, remove entries duplicated in common-mostlyclean, add
4796 stamp-libm-err and stamp-version.
4797 (generated-dirs): Add libc directory.
4798 ($(inst_infodir)/libc.info): Install files from build dir.
4799
4800 * manual/install.texi (Configuring and compiling): Adjust since
4801 the info files are not part of the tar ball anymore.
4802
4803 2012-05-14 Andreas Jaeger <aj@suse.de>
4804
4805 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4806 variable.
4807
4808 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4809
4810 [BZ #13717]
4811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4812 to 2.2.0 where earlier.
4813 * sysdeps/unix/sysv/linux/configure: Regenerated.
4814 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4815 Remove conditional code.
4816 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4817 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4818 Remove conditional code.
4819 [!__NR_lchown]: Likewise.
4820 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4821 [__NR_lchown]: Likewise.
4822 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4823 comment referencing __ASSUME_LCHOWN_SYSCALL.
4824 * sysdeps/unix/sysv/linux/i386/sigaction.c
4825 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4826 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4827 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4828 Remove conditional code.
4829 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4830 (__protocol_available): Remove #if 0 code.
4831 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4832 conditional code.
4833 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4834 * sysdeps/unix/sysv/linux/kernel-features.h
4835 (__ASSUME_GETCWD_SYSCALL): Don't define.
4836 (__ASSUME_REALTIME_SIGNALS): Likewise.
4837 (__ASSUME_PREAD_SYSCALL): Likewise.
4838 (__ASSUME_PWRITE_SYSCALL): Likewise.
4839 (__ASSUME_POLL_SYSCALL): Likewise.
4840 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4841 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4842 non-SPARC.
4843 (__ASSUME_SIOCGIFNAME): Don't define.
4844 (__ASSUME_MSG_NOSIGNAL): Likewise.
4845 (__ASSUME_SENDFILE): Define unconditionally.
4846 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4847 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4848 conditional code.
4849 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4850 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4851 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4852 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4853 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4854 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4855 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4857 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4860 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4861 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4863 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4864 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4866 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4867 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4869 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4870 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4872 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4873 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4875 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4876 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4878 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4879 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4880 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4881 Remove conditional code.
4882 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4883 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4884 Remove conditional code.
4885 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4886 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4887 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4888 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4889 Remove conditional code.
4890 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4891 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4892 Remove conditional code.
4893 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4894 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4895 Remove conditional code.
4896 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4897 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4898 Remove conditional code.
4899 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4900 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4901 Remove conditional code.
4902 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4903 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4904 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4905 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4906 * sysdeps/unix/sysv/linux/sigaction.c
4907 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4908 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4909 * sysdeps/unix/sysv/linux/sigpending.c
4910 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4911 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4912 * sysdeps/unix/sysv/linux/sigprocmask.c
4913 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4914 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4915 * sysdeps/unix/sysv/linux/sigsuspend.c
4916 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4917 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4918 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4919 (__libc_missing_rt_sigs): Remove.
4920 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4921 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4922 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4923 Remove conditional code.
4924 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4925 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4926 return 1.
4927 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4928 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4929 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4930 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4931
4932 2012-05-14 Andreas Jaeger <aj@suse.de>
4933
4934 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4935 it's not used in glibc.
4936 (__coshm1): Likewise.
4937 (__acosh1p): Likewise.
4938 (__sgn): Likewise.
4939
4940 * manual/string.texi (Copying and Concatenation): Add missing
4941 variable in concat example.
4942 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4943
4944 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4945
4946 [BZ #14103]
4947 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4948 __builtin_clzl with __builtin_clzll.
4949
4950 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4951
4952 [BZ #14104]
4953 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4954 libc_freeres_ptr.
4955
4956 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4957
4958 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4959 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4960 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4961 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4962
4963 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4964
4965 * NEWS: Update ia64 info.
4966
4967 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4968
4969 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4970 used as bcopy.
4971
4972 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4973
4974 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4975 * sysdeps/unix/syscalls.list (dup3): Likewise.
4976 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4977 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4978
4979 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4980
4981 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4982 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4983
4984 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4985
4986 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4987 thread pointer.
4988 (TLS_IE): Use mov/add instead of movq/addq to load thread
4989 pointer.
4990 (TLS_GD_PREFIX): New.
4991 (TLS_GD): Use it.
4992
4993 2012-05-11 David S. Miller <davem@davemloft.net>
4994
4995 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4996 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4997 (_FPU_SETCW): Likewise.
4998
4999 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5000
5001 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5002 is 32-byte aligned.
5003
5004 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5005
5006 [BZ #11837]
5007 * iconvdata/gb18030.c: Update tables.
5008 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5009 characters specially.
5010 (BODY for TO_LOOP): Add encoding of missing ranges.
5011
5012 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5013
5014 [BZ #13673]
5015 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5016 * sysdeps/mach/hurd/dup3.c: Likewise.
5017 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5018 * sysdeps/powerpc/memmove.c:: Likewise.
5019
5020 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5021
5022 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5023 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5024
5025 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5026
5027 * elf/elf.h (R_X86_64_RELATIVE64): New.
5028 (R_X86_64_NUM): Updated.
5029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5030 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5031 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5032 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5033 tst-quad1pie tst-quad2pie
5034 (modules-names): Add tst-quadmod1 tst-quadmod2.
5035 ($(objpfx)tst-quad1): New dependency.
5036 ($(objpfx)tst-quad2): Likewise.
5037 ($(objpfx)tst-quad1pie): Likewise.
5038 ($(objpfx)tst-quad2pie): Likewise.
5039 * sysdeps/x86_64/tst-quad1.c: New file.
5040 * sysdeps/x86_64/tst-quad1pie.c: New file.
5041 * sysdeps/x86_64/tst-quad2.c: Likewise.
5042 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5043 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5044 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5045 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5046 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5047
5048 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5049
5050 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5051 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5052 * streams/stropts.h (t_scalar_t): Define type.
5053
5054 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5055 (_PATH_PRESERVE): Set to "/var/lib".
5056 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5057
5058 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5059 instead of int.
5060
5061 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5062 if __dir_mkfile succeeded.
5063
5064 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5065 checking for _hurd_dtablesize. Unlock it right after having
5066 finished _hurd_dtable allocation.
5067
5068 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5069
5070 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5071 * sysdeps/mach/hurd/configure: Regenerated.
5072 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5073 special-casing to...
5074 * sysdeps/gnu/configure.in: ... this new file.
5075 * sysdeps/unix/sysv/linux/configure: Regenerated.
5076 * sysdeps/gnu/configure: New generated file.
5077
5078 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5079 for Linux: use nsec instead of usec, as well as:
5080 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5081 members of type struct timespec.
5082 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5083 New macros.
5084 (struct stat64): Likewise.
5085 (_STATBUF_ST_NSEC): New macro.
5086 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5087
5088 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5089 __strtoul_internal rather than strtoul.
5090
5091 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5092
5093 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5094 and reject them.
5095
5096 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5097
5098 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5099 which preserves existing values.
5100 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5101
5102 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5103
5104 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5105 TIMEOUT values. Return EINVAL for NFDS values either negative or
5106 greater than FD_SETSIZE.
5107
5108 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5109
5110 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5111 allocated, call __vm_protect to finish enabling the existing space, and
5112 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5113 allocate the remainder.
5114
5115 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5116
5117 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5118 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5119
5120 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5121
5122 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5123 sysdeps/mach/hurd/readlink.c.
5124
5125 * posix/tst-sysconf.c (posix_options): Only use
5126 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5127 _POSIX_SYNCHRONIZED_IO when they are defined
5128 * sysdeps/mach/hurd/bits/posix_opt.h:
5129 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5130 (_XOPEN_REALTIME): Undefine macro.
5131 (_XOPEN_REALTIME_THREADS): Undefine macro.
5132 (_XOPEN_SHM): Undefine macro.
5133 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5134 macro to -1.
5135 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5136 macro to -1.
5137 (_POSIX_ASYNC_IO): Undefine macro.
5138 (_POSIX_PRIORITIZED_IO): Undefine macro.
5139 (_POSIX_SPIN_LOCKS): Define macro to -1.
5140
5141 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5142 SA_NODEFER, SA_RESETHAND.
5143 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5144 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5145 F_DUPFD_CLOEXEC.
5146
5147 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5148
5149 * elf/Makefile (pldd-modules): Define unconditionally.
5150
5151 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5152
5153 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5154
5155 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5156
5157 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5158 Return ENOENT when name is empty.
5159 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5160
5161 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5162
5163 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5164
5165 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5166
5167 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5168
5169 Fix mlock in all cases except non-readable pages.
5170 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5171 instead of VM_PROT_ALL as parameter to __vm_wire function.
5172
5173 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5174 (__mkdir): When path is `/', just fail with EEXIST.
5175 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5176
5177 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5178
5179 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5180 <sys/uio.h> (for writev).
5181 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5182 and <sys/param.h> (for MIN).
5183
5184 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5185
5186 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5187 REQUESTED_TIME. Properly set the remaining time and return EINTR
5188 if interrupted.
5189
5190 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5191
5192 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5193 Depend on against $(link-rpcuserlibs).
5194
5195 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5196
5197 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5198 (__libc_stack_end): Do not use attribute_relro.
5199 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5200 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5201 to libthread-provided value.
5202 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5203 attribute_relro.
5204
5205 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5206
5207 [BZ #3748]
5208 * bits/libc-lock.h (__libc_once_get): New macro.
5209 * sysdeps/mach/bits/libc-lock.h: Likewise.
5210 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5211 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5212 instead of using implementation details.
5213
5214 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5215 * libio/freopen.c: Likewise.
5216 * libio/freopen64.c: Likewise.
5217 * misc/syslog.c: Likewise.
5218 * nscd/connections.c: Likewise.
5219 * nscd/netgroupcache.c: Likewise.
5220 * sysdeps/posix/getcwd.c: Likewise.
5221
5222 2012-05-10 Roland McGrath <roland@hack.frob.com>
5223
5224 * math/w_ilogbf.c: Add #include <limits.h>.
5225
5226 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5227
5228 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5229 path instead of returning without unlocking.
5230
5231 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5232 immediate-write ioctls.
5233 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5234
5235 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5236
5237 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5238 __builtin_frame_address instead of making assumptions about the
5239 location of the return address relative to DATA. Force early load of
5240 the return address.
5241 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5242 __builtin_frame_address.
5243
5244 dup3 for GNU Hurd.
5245 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5246 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5247 implement dup3 and do some further code clean-ups.
5248 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5249 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5250
5251 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5252
5253 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5254
5255 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5256 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5257 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5258 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5259 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5260 d->port.lock.
5261
5262 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5263 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5264 when handler == SIG_ERR, not when handler != SIG_ERR.
5265
5266 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5267
5268 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5269 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5270 definitions.
5271
5272 accept4 for GNU Hurd.
5273 * include/sys/socket.h (__libc_accept4): New prototype.
5274 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5275 to implement __libc_accept4.
5276 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5277 __libc_accept4.
5278 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5279
5280 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5281 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5282 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5283 signal-defines.sym.
5284
5285 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5286
5287 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5288
5289 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5290
5291 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5292 assertion on O_CLOEXEC flag.
5293 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5294 * hurd/intern-fd.c: Likewise.
5295 * hurd/port2fd.c: Likewise.
5296
5297 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5298
5299 [BZ #3906]
5300 * bits/in.h (IPV6_PKTINFO): Define new macro.
5301 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5302
5303 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5304
5305 [BZ #13954]
5306 [BZ #13955]
5307 [BZ #13956]
5308 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5309 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5310 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5311 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5312 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5313 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5314 * math/libm-test.inc (logb_test) : Additional logb tests.
5315
5316 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5317 Andreas Jaeger <aj@suse.de>
5318
5319 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5320 * configure: Regenerated.
5321 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5322 * config.make.in (link-obsolete-rpc): New substituted variable.
5323 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5324 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5325 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5326 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5327 so that libc.a contains the symbols.
5328 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5329 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5330 * sunrpc/auth_none.c: Likewise.
5331 * sunrpc/auth_unix.c: Likewise.
5332 * sunrpc/authdes_prot.c: Likewise.
5333 * sunrpc/authuxprot.c: Likewise.
5334 * sunrpc/clnt_gen.c: Likewise.
5335 * sunrpc/clnt_perr.c: Likewise.
5336 * sunrpc/clnt_raw.c: Likewise.
5337 * sunrpc/clnt_simp.c: Likewise.
5338 * sunrpc/clnt_tcp.c: Likewise.
5339 * sunrpc/clnt_udp.c: Likewise.
5340 * sunrpc/clnt_unix.c: Likewise.
5341 * sunrpc/des_crypt.c: Likewise.
5342 * sunrpc/des_soft.c: Likewise.
5343 * sunrpc/get_myaddr.c: Likewise.
5344 * sunrpc/key_call.c: Likewise.
5345 * sunrpc/key_prot.c: Likewise.
5346 * sunrpc/netname.c: Likewise.
5347 * sunrpc/pm_getmaps.c: Likewise.
5348 * sunrpc/pm_getport.c: Likewise.
5349 * sunrpc/pmap_clnt.c: Likewise.
5350 * sunrpc/pmap_prot.c: Likewise.
5351 * sunrpc/pmap_prot2.c: Likewise.
5352 * sunrpc/pmap_rmt.c: Likewise.
5353 * sunrpc/publickey.c: Likewise.
5354 * sunrpc/rpc_cmsg.c: Likewise.
5355 * sunrpc/rpc_common.c: Likewise.
5356 * sunrpc/rpc_dtable.c: Likewise.
5357 * sunrpc/rpc_prot.c: Likewise.
5358 * sunrpc/rpc_thread.c: Likewise.
5359 * sunrpc/rtime.c: Likewise.
5360 * sunrpc/svc.c: Likewise.
5361 * sunrpc/svc_auth.c: Likewise.
5362 * sunrpc/svc_raw.c: Likewise.
5363 * sunrpc/svc_run.c: Likewise.
5364 * sunrpc/svc_tcp.c: Likewise.
5365 * sunrpc/svc_udp.c: Likewise.
5366 * sunrpc/svc_unix.c: Likewise.
5367 * sunrpc/svcauth_des.c: Likewise.
5368 * sunrpc/xcrypt.c: Likewise.
5369 * sunrpc/xdr.c: Likewise.
5370 * sunrpc/xdr_array.c: Likewise.
5371 * sunrpc/xdr_float.c: Likewise.
5372 * sunrpc/xdr_intXX_t.c: Likewise.
5373 * sunrpc/xdr_mem.c: Likewise.
5374 * sunrpc/xdr_rec.c: Likewise.
5375 * sunrpc/xdr_ref.c: Likewise.
5376 * sunrpc/xdr_sizeof.c: Likewise.
5377 * sunrpc/xdr_stdio.c: Likewise.
5378
5379 2012-05-10 Roland McGrath <roland@hack.frob.com>
5380
5381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5382 change. Update copyright years.
5383
5384 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5385
5386 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5387
5388 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5389 Joseph Myers <joseph@codesourcery.com>
5390 Paul Pluzhnikov <ppluzhnikov@google.com>
5391
5392 [BZ #14012]
5393 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5394 requiring rpcgen.
5395 [cross-compiling] (extra-libs): Likewise.
5396 [cross-compiling] (extra-libs-others): Likewise.
5397 [cross-compiling] (librpcsvc-routines): Likewise.
5398 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5399 [cross-compiling] (omit-deps): Likewise.
5400 (sunrpc-CPPFLAGS): New variable.
5401 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5402 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5403 (cross-rpcgen-objs): New variable.
5404 (extra-objs): Append $(cross-rpcgen-objs).
5405 ($(cross-rpcgen-objs)): New rule.
5406 ($(objpfx)cross-rpcgen): Likewise.
5407 (rpcgen-cmd): Define to use $(built-program-file). Expand
5408 comment.
5409 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5410 ($(objpfx)x%.stmp): Likewise.
5411 * sunrpc/proto.h [IS_IN_build] (_): Define.
5412 [IS_IN_build] (_libc_intl_domainname): Likewise.
5413
5414 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5415
5416 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5417 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5418 and R_X86_64_TPOFF64.
5419
5420 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5421
5422 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5423 sysdeps/unix/sysv/syscalls.list.
5424 (stime): Likewise.
5425 (utime): Likewise.
5426 * sysdeps/unix/sysv/syscalls.list: Remove file.
5427
5428 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5429
5430 [BZ #3440]
5431 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5432 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5433 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5434 (__LC_IDENTIFICATION): Make these macros useful in #if
5435 expressions, as required by C99.
5436
5437 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5438
5439 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5440 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5441 after this.
5442
5443 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5444
5445 * stdlib/longlong.h: Updated from GCC.
5446
5447 2012-05-09 Andreas Jaeger <aj@suse.de>
5448
5449 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5450 default is first entry.
5451 (run_mode): Set type.
5452 (main): Remove informal message about syslog.
5453 (options): Fix typo.
5454
5455 [BZ #14053]
5456 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5457 to asm.
5458 (lrint): Likewise.
5459 (llrintf): Likewise.
5460 (llrint): Likewise.
5461 (rint): Likewise.
5462 (rintf): Likewise.
5463 (nearbyint): Likewise.
5464 (nearbyintf): Likewise.
5465
5466 2012-05-09 Andreas Jaeger <aj@suse.de>
5467 Pedro Alves <palves@redhat.com>
5468
5469 * nscd/nscd.c (run_mode): Use enum.
5470 (main): Cleanup coding style issue.
5471
5472 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5473 Andreas Jaeger <aj@suse.de>
5474
5475 * nscd/nscd.c (go_background): Replaced with...
5476 (run_mode): ... this.
5477 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5478 (options): Add -F --foreground.
5479 (main): Implement it.
5480 (parse_opt): Parse it.
5481
5482 2012-05-09 Andreas Jaeger <aj@suse.de>
5483
5484 [BZ #14083]
5485 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5486 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5487 -Wconversion warning.
5488 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5489 Likewise.
5490
5491 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5492
5493 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5494 == 0.
5495 (LC_ALL): Use macro-int-constant.
5496 (LC_COLLATE): Likewise.
5497 (LC_CTYPE): Likewise.
5498 (LC_MESSAGES): Likewise.
5499 (LC_MONETARY): Likewise.
5500 (LC_NUMERIC): Likewise.
5501 (LC_TIME): Likewise.
5502 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5503 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5504 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5505 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5506 Specify type.
5507 [C99-based standards] (float_t): Expect type.
5508 [C99-based standards] (double_t): Expect type.
5509 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5510 type.
5511 [C99-based standards] (HUGE_VALL): Likewise.
5512 [C99-based standards] (INFINITY): Likewise.
5513 [C99-based standards] (NAN): Likewise.
5514 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5515 [C99-based standards] (FP_NAN): Likewise.
5516 [C99-based standards] (FP_NORMAL): Likewise.
5517 [C99-based standards] (FP_SUBNORMAL): Likewise.
5518 [C99-based standards] (FP_ZERO): Likewise.
5519 [C99-based standards] (FP_FAST_FMA): Use
5520 optional-macro-int-constant. Specify type. Require == 1.
5521 [C99-based standards] (FP_FAST_FMAF): Likewise.
5522 [C99-based standards] (FP_FAST_FMAL): Likewise.
5523 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5524 [C99-based standards] (FP_ILOGBNAN): Likewise.
5525 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5526 Specify type.
5527 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5528 [C99-based standards] (math_errhandling): Specify type.
5529 [ISO99 || ISO11] (signgam): Do not allow.
5530 [non-C99-based standards] (copysignf): Do not allow.
5531 [non-C99-based standards] (exp2f): Likewise.
5532 [non-C99-based standards] (log2f): Likewise.
5533 [non-C99-based standards] (modff): Allow.
5534 [non-C99-based standards] (erff): Do not allow.
5535 [non-C99-based standards] (erfcf): Likewise.
5536 [non-C99-based standards] (gammaf): Likewise.
5537 [non-C99-based standards] (hypotf): Likewise.
5538 [non-C99-based standards] (j0f): Likewise.
5539 [non-C99-based standards] (j1f): Likewise.
5540 [non-C99-based standards] (jnf): Likewise.
5541 [non-C99-based standards] (lgammaf): Likewise.
5542 [non-C99-based standards] (tgammaf): Likewise.
5543 [non-C99-based standards] (y0f): Likewise.
5544 [non-C99-based standards] (y1f): Likewise.
5545 [non-C99-based standards] (ynf): Likewise.
5546 [non-C99-based standards] (isnanf): Likewise.
5547 [non-C99-based standards] (acoshf): Likewise.
5548 [non-C99-based standards] (asinhf): Likewise.
5549 [non-C99-based standards] (atanhf): Likewise.
5550 [non-C99-based standards] (cbrtf): Likewise.
5551 [non-C99-based standards] (expm1f): Likewise.
5552 [non-C99-based standards] (ilogbf): Likewise.
5553 [non-C99-based standards] (log1pf): Likewise.
5554 [non-C99-based standards] (logbf): Likewise.
5555 [non-C99-based standards] (nextafterf): Likewise.
5556 [non-C99-based standards] (remainderf): Likewise.
5557 [non-C99-based standards] (rintf): Likewise.
5558 [non-C99-based standards] (scalbf): Likewise.
5559 [non-C99-based standards] (copysignl): Likewise.
5560 [non-C99-based standards] (exp2l): Likewise.
5561 [non-C99-based standards] (log2l): Likewise.
5562 [non-C99-based standards] (modfl): Allow.
5563 [non-C99-based standards] (erfl): Do not allow.
5564 [non-C99-based standards] (erfcl): Likewise.
5565 [non-C99-based standards] (gammal): Likewise.
5566 [non-C99-based standards] (hypotl): Likewise.
5567 [non-C99-based standards] (j0l): Likewise.
5568 [non-C99-based standards] (j1l): Likewise.
5569 [non-C99-based standards] (jnl): Likewise.
5570 [non-C99-based standards] (lgammal): Likewise.
5571 [non-C99-based standards] (tgammal): Likewise.
5572 [non-C99-based standards] (y0l): Likewise.
5573 [non-C99-based standards] (y1l): Likewise.
5574 [non-C99-based standards] (ynl): Likewise.
5575 [non-C99-based standards] (isnanl): Likewise.
5576 [non-C99-based standards] (acoshl): Likewise.
5577 [non-C99-based standards] (asinhl): Likewise.
5578 [non-C99-based standards] (atanhl): Likewise.
5579 [non-C99-based standards] (cbrtl): Likewise.
5580 [non-C99-based standards] (expm1l): Likewise.
5581 [non-C99-based standards] (ilogbl): Likewise.
5582 [non-C99-based standards] (log1pl): Likewise.
5583 [non-C99-based standards] (logbl): Likewise.
5584 [non-C99-based standards] (nextafterl): Likewise.
5585 [non-C99-based standards] (remainderl): Likewise.
5586 [non-C99-based standards] (rintl): Likewise.
5587 [non-C99-based standards] (scalbl): Likewise.
5588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5589 [non-C99-based standards] (FP_*): Do not allow.
5590 [C99-based standards] (FP_*): Change to
5591 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5592 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5593 allow.
5594 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5595 (SIG_ERR): Likewise.
5596 [X/Open-based standards] (SIG_HOLD): Likewise.
5597 (SIG_IGN): Likewise.
5598 (SIGABRT): Use macro-int-constant. Specify type. Require
5599 positive value.
5600 (SIGFPE): Likewise.
5601 (SIGILL): Likewise.
5602 (SIGINT): Likewise.
5603 (SIGSEGV): Likewise.
5604 (SIGTER): Likewise.
5605 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5606 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5607 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5608 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5609 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5610 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5611 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5612 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5613 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5614 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5615 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5616 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5617 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5618 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5619 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5620 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5621 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5622 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5623 [X/Open-based standards] (SIGTRAP): Likewise.
5624 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5625 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5626 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5627 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5628 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5629 allow.
5630
5631 2012-05-08 Ian Wienand <ianw@vmware.com>
5632
5633 [BZ #14080]
5634 * time/tzset.c (__tzset_parse_tz): Update default rules for
5635 daylight time changes in the Energy Policy Act of 2005.
5636
5637 2012-05-09 Andreas Jaeger <aj@suse.de>
5638
5639 [BZ #13983]
5640 * elf/ldconfig.c (parse_conf): Change string to make clear that
5641 ldconfig only issued a warning if ld.so.conf does not exist.
5642
5643 2012-05-08 David S. Miller <davem@davemloft.net>
5644
5645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5646 movxtod instead of popping the value on the stack.
5647
5648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5649
5650 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5651
5652 * config.h.in: Add HAVE_ARM_PCS_VFP.
5653
5654 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5655
5656 [BZ #13979]
5657 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5658 checking but the checks are disabled for any reason.
5659
5660 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5661
5662 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5663 and ELF64_R_TYPE with ELFW(R_TYPE).
5664
5665 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5666
5667 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5668 (ulimit): Likewise.
5669
5670 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5671 (settimeofday): Likewise.
5672
5673 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5674
5675 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5676 a struct th_u2 inside the union, and move tu_block/tu_code into
5677 a new th_u3 union of tu_block/tu_code inside of that. Move
5678 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5679 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5680 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5681 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5682 (th_stuff): Change to th_u1.tu_stuff.
5683 (th_data): Define.
5684 (th_msg): Change to th_u1.th_u2.tu_data.
5685
5686 2012-05-07 David S. Miller <davem@davemloft.net>
5687
5688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5689
5690 [BZ #14074]
5691 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5692 (SETUP_PIC_REG): Use it.
5693 (SETUP_PIC_REG_LEAF): Use it.
5694
5695 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5696
5697 [BZ #13885]
5698 [BZ #13923]
5699 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5700 USE_AS_EXPM1L.
5701 (EXPL_FINITE): Likewise.
5702 (FLDLOG): Likewise.
5703 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5704 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5705 e_expl.S.
5706 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5707 USE_AS_EXPM1L.
5708 (EXPL_FINITE): Likewise.
5709 (FLDLOG): Likewise.
5710 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5711 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5712 e_expl.S.
5713 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5714 test of -max_value argument for long double.
5715 * sysdeps/i386/fpu/libm-test-ulps: Update.
5716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5717
5718 2012-05-06 David S. Miller <davem@davemloft.net>
5719
5720 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5721 quad soft-float symbols whose references which are compiler
5722 generated.
5723 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5724
5725 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5726
5727 [BZ #13884]
5728 [BZ #13914]
5729 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5730 USE_AS_EXP10L.
5731 (EXPL_FINITE): Likewise.
5732 (FLDLOG): Likewise.
5733 (c0): Likewise.
5734 (c1): Likewise.
5735 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5736 Adjust comments for base varying.
5737 (__expl_finite): Change alias to EXPL_FINITE.
5738 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5739 e_expl.S.
5740 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5741 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5743 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5744 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5745 USE_AS_EXP10L.
5746 (EXPL_FINITE): Likewise.
5747 (FLDLOG): Likewise.
5748 (c0): Likewise.
5749 (c1): Likewise.
5750 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5751 Adjust comments for base varying.
5752 (__expl_finite): Change alias to EXPL_FINITE.
5753 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5754 tests for bugs.
5755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5756
5757 [BZ #14064]
5758 * math/libm-test.inc (check_float_internal): Correct ulp
5759 calculation for subnormal expected results.
5760
5761 2012-05-06 Andreas Jaeger <aj@suse.de>
5762
5763 * Makeconfig (+math-flags): New, set to -frounding-math.
5764 (+cflags): Add +math-flags so that all of glibc gets compiled with
5765 it.
5766
5767 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5768
5769 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5770
5771 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5772 Disable one test.
5773
5774 [BZ #13787]
5775 [BZ #13922]
5776 [BZ #14036]
5777 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5778 (__ieee754_expl): Allow for and saturate large arguments.
5779 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5780 (u_threshold): Likewise.
5781 (__exp): Call __ieee754_exp before checking for overflow and
5782 underflow.
5783 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5784 (u_threshold): Likewise.
5785 (__expf): Call __ieee754_expf before checking for overflow and
5786 underflow.
5787 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5788 (u_threshold): Likewise.
5789 (__expl): Call __ieee754_expl before checking for overflow and
5790 underflow.
5791 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5792 (__ieee754_expl): Allow for and saturate large arguments.
5793 * math/libm-test.inc (exp_test): Add another test. Do not allow
5794 missing overflow exception on overflow.
5795 (expm1_test): Do not allow missing overflow exception on overflow.
5796
5797 * sysdeps/i386/fpu/e_expl.c: Move to ...
5798 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5799 rather than using inline asm.
5800 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5801 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5802 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5803
5804 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5805 (nice): Likewise.
5806 (poll): Likewise.
5807 (signal): Likewise.
5808 (time): Likewise.
5809 (times): Likewise.
5810
5811 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5812
5813 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5814 sysdeps/unix/common/syscalls.list.
5815 (fchmod): Likewise.
5816 (fchown): Likewise.
5817 (ftruncate): Likewise.
5818 (getrusage): Likewise.
5819 (gettimeofday): Likewise.
5820 (setpgid): Likewise.
5821 (setregid): Likewise.
5822 (setreuid): Likewise.
5823 (sigaction): Likewise.
5824 (truncate): Likewise.
5825 (vhangup): Likewise.
5826 * sysdeps/unix/common/syscalls.list: Remove file.
5827 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5828 * sysdeps/unix/sysv/linux/Implies: Likewise.
5829
5830 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5831
5832 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5834 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5835 Moved to ...
5836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5837 Here.
5838 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5839 to ...
5840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5841 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5842 to ...
5843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5844 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5845 to ...
5846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5847 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5848 to ...
5849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5850 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5851 to ...
5852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5853 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5854 to ...
5855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5856 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5857 to ...
5858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5859 Here.
5860 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5861 to ...
5862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5863 Here.
5864 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5865 to ...
5866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5867 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5868 Moved to ...
5869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5870 Here.
5871 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5872 to ...
5873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5874
5875 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5876
5877 * sysdeps/unix/common/bits/dirent.h: Remove file.
5878 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5879
5880 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5881 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5882 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5883 * sysdeps/unix/bsd/isatty.c: Likewise.
5884 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5885 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5886 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5887
5888 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5889
5890 [BZ #13563]
5891 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5892 long double comparison inaccuracies.
5893 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5895
5896 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5897
5898 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5899 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5900
5901 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5902
5903 [BZ #14049]
5904 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5905 nonzero digits before rounding a hex value.
5906 * stdlib/tst-strtod.c (tests): Add another test.
5907
5908 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5909
5910 * sysdeps/s390/fpu/libm-test-ulps: Update.
5911
5912 2012-05-03 Andreas Jaeger <aj@suse.de>
5913
5914 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5915 does not get optimized out.
5916 (malloc_opt_barrier): New.
5917
5918 2012-05-03 Andreas Jaeger <aj@suse.de>
5919 Roland McGrath <roland@hack.frob.com>
5920
5921 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5922 intermediate file deletion.
5923 (generated): Add .symlist files.
5924
5925 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5926
5927 [BZ #13775]
5928 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5929 Redirect under this condition.
5930 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5931 [__USE_GNU] (__dprintf_chk): Not under this condition.
5932 [__USE_GNU] (__vdprintf_chk): Likewise.
5933 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5934 under this condition.
5935 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5936 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5937 [__USE_XOPEN2K8] (vdprintf): Likewise.
5938 [__USE_GNU] (__dprintf_chk): Not under this condition.
5939 [__USE_GNU] (__vdprintf_chk): Likewise.
5940 [__USE_GNU] (dprintf): Likewise.
5941 [__USE_GNU] (vdprintf): Likewise.
5942
5943 2012-05-03 Roland McGrath <roland@hack.frob.com>
5944
5945 * elf/Makefile (common-generated): Set this instead of generated for
5946 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5947 $(all-built-dso)-derived lists.
5948
5949 2012-05-03 Andreas Jaeger <aj@suse.de>
5950
5951 * sysdeps/i386/fpu/libm-test-ulps: Update.
5952
5953 * FAQ: Removed.
5954 * FAQ.in: Likewise.
5955 * scripts/gen-FAQ.pl: Likewise.
5956 * manual/install.texi (Installation): Point to online location of
5957 FAQ.
5958 * Makefile (files-for-dist): Remove FAQ.
5959 (FAQ): Remove.
5960
5961 2012-05-02 Allan McRae <allan@archlinux.org>
5962
5963 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5964 (LDFLAGS-reldepmod5.so): Likewise.
5965 (LDFLAGS-reldep6mod1.so): Likewise.
5966 (LDFLAGS-reldep6mod4.so): Likewise.
5967 (LDFLAGS-reldep8mod3.so): Likewise.
5968 (LDFLAGS-unload4mod1.so): Likewise.
5969 (LDFLAGS-unload4mod2.so): Likewise.
5970 (LDFLAGS-tst-initorder): Likewise.
5971 (LDFLAGS-tst-initordera2.so): Likewise.
5972 (LDFLAGS-tst-initordera3.so): Likewise.
5973 (LDFLAGS-tst-initordera4.so): Likewise.
5974 (LDFLAGS-tst-initorderb2.so): Likewise.
5975 (LDFLAGS-noload): Likewise.
5976 (LDFLAGS-next): Likewise.
5977 (LDFLAGS-order2mod1.so): Likewise.
5978 (LDFLAGS-order2mod2.so): Likewise.
5979 (LDFLAGS-tst-initorder2): Likewise.
5980 (LDFLAGS-tst-initorder2a.so): Likewise.
5981 (LDFLAGS-tst-initorder2b.so): Likewise.
5982 (LDFLAGS-tst-initorder2c.so): Likewise.
5983 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5984
5985 2012-05-02 David S. Miller <davem@davemloft.net>
5986
5987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5988
5989 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5990
5991 [BZ #14055]
5992 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5993
5994 2012-05-02 Andreas Jaeger <aj@suse.de>
5995
5996 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5997 since we manipulate rounding mode.
5998 (CPPFLAGS-test-idouble.c): Likewise.
5999 (CPPFLAGS-test-ifloat.c): Likewise.
6000 (CFLAGS-test-ldouble.c): Likewise.
6001 (CFLAGS-test-double.c): Likewise.
6002 (CFLAGS-test-float.c): Likewise.
6003 (CFLAGS-test-misc.c): Likewise.
6004 (CFLAGS-test-test-fenv.c): Likewise.
6005
6006 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6007
6008 [BZ #2550]
6009 [BZ #2570]
6010 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6011 comparisons to determine direction to adjust input.
6012
6013 2012-05-01 Roland McGrath <roland@hack.frob.com>
6014
6015 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6016 output to the target.
6017
6018 * scripts/localplt.awk: New file.
6019 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6020 (check-localplt-CFLAGS): Variable removed.
6021 ($(all-built-dso:=.jmprel)): New static pattern rule.
6022 (generated): Add those targets.
6023 (localplt-built-dso): New variable.
6024 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6025
6026 * elf/check-localplt.c: File removed.
6027
6028 * scripts/check-execstack.awk: New file.
6029 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6030 (check-execstack-CFLAGS): Variable removed.
6031 ($(objpfx)check-execstack.h): Target removed.
6032 ($(objpfx)execstack-default): New target.
6033 (generated): Add that instead of check-execstack.h.
6034 ($(all-built-dso:=.phdr)): New static pattern rule.
6035 (generated): Add those targets.
6036 * elf/check-execstack.c: File removed.
6037
6038 * scripts/check-textrel.awk: New file.
6039 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6040 (check-textrel-CFLAGS): Variable removed.
6041 (all-built-dso): Use := to define.o
6042 ($(all-built-dso:=.dyn)): New static pattern rule.
6043 (generated): Add those targets.
6044 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6045 * config.make.in (READELF): New substituted variable.
6046 * elf/check-textrel.c: File removed.
6047
6048 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6049
6050 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6051 allow.
6052 * conform/data/ctype.h-data [C99-based standards] (isblank):
6053 Expect function.
6054 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6055 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6056 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6057 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6058 Specify type. Require positive value.
6059 (EILSEQ): Likewise.
6060 (ERANGE): Likewise.
6061 [ISO || POSIX] (EILSEQ): Do not expect.
6062 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6063 Specify type. Require positive value.
6064 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6065 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6066 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6067 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6068 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6069 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6070 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6071 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6072 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6073 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6074 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6075 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6076 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6077 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6078 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6079 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6080 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6081 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6082 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6083 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6084 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6085 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6086 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6087 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6088 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6089 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6090 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6091 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6092 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6093 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6094 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6095 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6096 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6097 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6098 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6099 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6100 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6101 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6102 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6103 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6104 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6105 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6106 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6107 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6108 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6109 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6110 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6111 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6112 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6113 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6114 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6115 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6116 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6117 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6118 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6119 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6120 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6121 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6122 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6123 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6124 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6125 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6126 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6127 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6128 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6129 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6130 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6131 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6132 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6133 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6134 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6135 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6136 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6137 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6138 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6139 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6140 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6141 Require >= 2.
6142 (FLT_ROUNDS): Expect as macro, not constant.
6143 (FLT_MANT_DIG): Use macro-int-constant.
6144 (DBL_MANT_DIG): Likewise.
6145 (LDBL_MANT_DIG): Likewise.
6146 (FLT_DIG): Likewise.
6147 (DBL_DIG): Likewise.
6148 (LDBL_DIG): Likewise.
6149 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6150 (DBL_MIN_EXP): Likewise.
6151 (LDBL_MIN_EXP): Likewise.
6152 (FLT_MAX_EXP): Use macro-int-constant.
6153 (DBL_MAX_EXP): Likewise.
6154 (LDBL_MAX_EXP): Likewise.
6155 (FLT_MAX_10_EXP): Likewise.
6156 (DBL_MAX_10_EXP): Likewise.
6157 (LDBL_MAX_10_EXP): Likewise.
6158 (FLT_MAX): Use macro-constant.
6159 (DBL_MAX): Likewise.
6160 (LDBL_MAX): Likewise.
6161 (FLT_EPSILON): Use macro-constant. Give upper bound.
6162 (DBL_EPSILON): Likewise.
6163 (LDBL_EPSILON): Likewise.
6164 (FLT_MIN): Likewise.
6165 (DBL_MIN): Likewise.
6166 (LDBL_MIN): Likewise.
6167 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6168 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6169 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6170 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6171 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6172 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6173 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6174 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6175 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6176 [ISO11] (FLT_TRUE_MIN): Likewise.
6177 [ISO11] (LDBL_TRUE_MIN): Likewise.
6178 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6179 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6180 (SCHAR_MIN): Use macro-int-constant. Specify type.
6181 (SCHAR_MAX): Likewise.
6182 (UCHAR_MAX): Likewise.
6183 (CHAR_MIN): Likewise.
6184 (CHAR_MAX): Likewise.
6185 (MB_LEN_MAX): Use macro-int-constant.
6186 (SHRT_MIN): Use macro-int-constant. Specify type.
6187 (SHRT_MAX): Likewise.
6188 (USHRT_MAX): Likewise.
6189 (INT_MAX): Likewise.
6190 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6191 bound negative.
6192 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6193 bound with "U".
6194 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6195 bound with "L".
6196 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6197 bound negative. Suffix upper bound with "L".
6198 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6199 bound with "UL".
6200 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6201 Specify type.
6202 [C99-based standards] (LLONG_MAX): Likewise.
6203 [C99-based standards] (ULLONG_MAX): Likewise.
6204 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6205 == 0.
6206 [ISO11] (max_align_t): Require type.
6207 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6208
6209 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6210 from $CFLAGS, without defining away __attribute__ calls.
6211 (checknamespace): Use $CFLAGS_namespace.
6212
6213 * conform/conformtest.pl (@keywords): Only include C99 keywords
6214 for standards based on C99 or C11.
6215
6216 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6217 Disable tests.
6218 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6219 UNIX98]: Likewise.
6220
6221 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6222 usability of symbols in #if.
6223
6224 * conform/conformtest.pl: If macro or constant types start
6225 "promoted:", expect the symbol to be of the following type
6226 promoted by the integer promotions.
6227
6228 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6229 in one place. Also handle "macro-constant".
6230
6231 * conform/conformtest.pl: Only accept expected macro values with
6232 "==". Parse all "macro" lines in one place.
6233 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6234
6235 * conform/conformtest.pl: Handle braced types on "constant" lines
6236 instead of handling "typed-constant".
6237 * conform/data/signal.h-data: Use "constant" instead of
6238 "typed-constant".
6239
6240 * conform/conformtest.pl: Handle "optional-" at start of lines in
6241 one place rather than duplicating several cases. Handle each
6242 format of "macro" line with initial "optional-".
6243
6244 * conform/conformtest.pl: Only accept expected constant or
6245 optional-constant values with "==". Parse all "constant" lines in
6246 one place. Parse all "optional-constant" lines in one place.
6247 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6248 * conform/data/fmtmsg.h-data: Likewise.
6249 * conform/data/netinet/in.h-data: Likewise.
6250 * conform/data/tar.h-data: Likewise.
6251 * conform/data/limits.h-data: Use "==" form on "constant" and
6252 "optional-constant" lines.
6253
6254 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6255 Use -std=c99 for XOPEN2K.
6256 (@knownproblems): Remove.
6257 (newtoken): Don't check %isknown.
6258
6259 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6260 Do not expect macro.
6261 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6262 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6263 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6264 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6265 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6266 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6267 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6268 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6269 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6270 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6271 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6272 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6273 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6274 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6275 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6276 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6277 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6278 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6279 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6280 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6281 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6282 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6283 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6284 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6285 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6286 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6287 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6288 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6289 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6290 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6291 [XPG3] (acosh): Likewise.
6292 [XPG3] (asinh): Likewise.
6293 [XPG3] (atanh): Likewise.
6294 [XPG3] (cbrt): Likewise.
6295 [XPG3] (expm1): Likewise.
6296 [XPG3] (ilogb): Likewise.
6297 [XPG3] (log1p): Likewise.
6298 [XPG3] (logb): Likewise.
6299 [XPG3] (nextafter): Likewise.
6300 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6301 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6302 [XPG3] (remainder): Likewise.
6303 [XPG3] (rint): Likewise.
6304 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6305 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6306 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6307 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6308 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6309 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6310 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6311 [UNIX98 || XOPEN2K] (scalb): Expect.
6312 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6313 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6314 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6315 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6316 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6317 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6318 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6319 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6320 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6321 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6322 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6323 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6324 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6325 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6326 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6327 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6328 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6329 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6330 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6331 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6332 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6333 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6334 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6335 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6336 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6337 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6338 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6339 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6340 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6341 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6342 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6343 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6344 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6345 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6346 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6347 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6348 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6349 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6350 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6351 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6352 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6353 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6354 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6355 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6356 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6357 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6358 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6359 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6360 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6361 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6362 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6363 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6364 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6365 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6366 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6367 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6368 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6369 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6370 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6371 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6372 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6373 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6374 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6375 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6376 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6377 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6378 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6379 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6380 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6381 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6382 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6383 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6384 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6385 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6386 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6387 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6388 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6389 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6390 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6391 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6392 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6393 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6394 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6395 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6396 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6397 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6398 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6399 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6400 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6401 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6402 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6403 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6404 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6405 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6406 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6407 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6408 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6409 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6410 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6411 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6412 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6413 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6414 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6415 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6416 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6417 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6418 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6419 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6420 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6421 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6422 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6423 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6424 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6425 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6426 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6427 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6428 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6429 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6430 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6431 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6432 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6433 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6434 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6435 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6436 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6437 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6438 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6439 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6440 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6441 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6442 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6443 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6444 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6445 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6446 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6447 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6448 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6449
6450 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6451 _XOPEN_SOURCE_EXTENDED for XPG4.
6452
6453 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6454
6455 * Makeconfig (localtime): Remove variable.
6456 (inst_localtime-file): Likewise.
6457
6458 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6459
6460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6461 Update.
6462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6463 Update.
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6465 Update.
6466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6467 Update.
6468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6469 Update.
6470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6471 Update.
6472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6473 Update.
6474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6475 Update.
6476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6477 Update.
6478
6479 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6480
6481 [BZ #2550]
6482 [BZ #2570]
6483 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6484 comparisons to determine direction to adjust input.
6485 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6486 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6487 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6488 Likewise.
6489 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6490 Likewise.
6491 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6492 Likewise.
6493 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6494 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6495 Likewise.
6496 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6497 Likewise.
6498 * math/libm-test.inc (nexttoward_test): Add more tests.
6499
6500 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6501
6502 [BZ #14040]
6503 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6504 in version GLIBC_2.1, not GLIBC_2.0.
6505 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6506 Likewise.
6507
6508 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6509
6510 [BZ #13942]
6511 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6512 (1 - x) * (1 + x).
6513 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6514 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6515 * math/libm-test.inc (acos_test): Add more tests.
6516 (asin_test): Likewise.
6517 * sysdeps/i386/fpu/libm-test-ulps: Update.
6518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6519
6520 [BZ #14034]
6521 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6522 of square root.
6523 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6524 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6525 * math/libm-test.inc (acos_test_tonearest): New function.
6526 (acos_test_towardzero): Likewise.
6527 (acos_test_downward): Likewise.
6528 (acos_test_upward): Likewise.
6529 (asin_test_tonearest): Likewise.
6530 (asin_test_towardzero): Likewise.
6531 (asin_test_downward): Likewise.
6532 (asin_test_upward): Likewise.
6533 (main): Call the new functions.
6534 * sysdeps/i386/fpu/libm-test-ulps: Update.
6535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6536
6537 [BZ #13884]
6538 [BZ #13924]
6539 * math/e_exp10.c: Include <float.h>.
6540 (__ieee754_exp10): Handle underflow here rather than multiplying
6541 large negative argument by M_LN10.
6542 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6543 of __ieee754_expf.
6544 * math/e_exp10l.c: Include <float.h>.
6545 (__ieee754_exp10l): Handle underflow here rather than multiplying
6546 large negative argument by M_LN10l.
6547 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6548 spurious overflow exception on underflow.
6549
6550 2012-04-29 Marek Polacek <polacek@redhat.com>
6551
6552 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6553 (__fortify_function): New macro.
6554 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6555 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6556 __extern_always_inline.
6557 * libio/bits/stdio2.h: Likewise.
6558 * libio/bits/stdio.h: Likewise.
6559 * string/string.h: Likewise.
6560 * string/bits/string3.h: Likewise.
6561 * include/stdio.h: Likewise.
6562 * stdlib/bits/stdlib.h: Likewise.
6563 * stdlib/stdlib.h: Likewise.
6564 * rt/bits/mqueue2.h: Likewise.
6565 * rt/mqueue.h: Likewise.
6566 * posix/bits/unistd.h: Likewise.
6567 * posix/unistd.h: Likewise.
6568 * io/bits/poll2.h: Likewise.
6569 * io/bits/fcntl2.h: Likewise.
6570 * io/fcntl.h: Likewise.
6571 * io/sys/poll.h: Likewise.
6572 * misc/bits/syslog.h: Likewise.
6573 * misc/bits/syslog-ldbl.h: Likewise.
6574 * misc/sys/syslog.h: Likewise.
6575 * socket/bits/socket2.h: Likewise.
6576 * socket/sys/socket.h: Likewise.
6577 * debug/tst-chk1.c: Likewise.
6578 * wcsmbs/bits/wchar2.h: Likewise.
6579 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6580 * wcsmbs/wchar.h: Likewise.
6581
6582 2012-04-29 Andreas Jaeger <aj@suse.de>
6583
6584 * Makerules (tests): Remove enable-check-abi protection.
6585 (check-abi-warn): Remove.
6586 (check-abi-%): Remove check-abi-warn usage.
6587
6588 * configure.in: Remove check-abi configure option.
6589 * configure: Regenerated.
6590 * config.make.in (enable-check-abi): Remove.
6591
6592 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6593
6594 [BZ #14033]
6595 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6596 double functions to double *_finite functions.
6597
6598 [BZ #13941]
6599 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6600 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6601 LDBL_MIN_EXP.
6602 * stdio-common/Makefile (tests): Add tst-sprintf3.
6603 * stdio-common/tst-sprintf3.c: New file.
6604
6605 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6606 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6607
6608 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6609
6610 * conform/conformtest.pl: Remove duplicate typed-constant
6611 handling.
6612
6613 2012-04-28 David S. Miller <davem@davemloft.net>
6614
6615 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6616 (check-abi-%): Remove AWK script prerequisite and explicit
6617 abilist directory.
6618 (check-abi): Rewrite to just diff the symlist with the abilist.
6619 (config-tls, config-abi-config): Delete, no longer used.
6620 (update-abi-%): Remove AWK script and explicit abilist directory.
6621 (update-abi): Rewrite to simply compare and conditionally copy the
6622 symlist and the sysdep abilist file. Remove update-abi-config
6623 checks.
6624 * abilist/ld.abilist: Remove.
6625 * abilist/libBrokenLocale.abilist: Remove.
6626 * abilist/libanl.abilist: Remove.
6627 * abilist/libcrypt.abilist: Remove.
6628 * abilist/libdl.abilist: Remove.
6629 * abilist/librt.abilist: Remove.
6630 * abilist/libthread_db.abilist: Remove.
6631 * abilist/libutil.abilist: Remove.
6632 * scripts/extract-abilist.awk: Remove.
6633 * scripts/merge-abilist.awk: Remove.
6634 * sysdeps/generic/libcidn.abilist: New file.
6635 * sysdeps/generic/libnss_compat.abilist: New file.
6636 * sysdeps/generic/libnss_db.abilist: New file.
6637 * sysdeps/generic/libnss_dns.abilist: New file.
6638 * sysdeps/generic/libnss_files.abilist: New file.
6639 * sysdeps/generic/libnss_hesiod.abilist: New file.
6640 * sysdeps/generic/libnss_nis.abilist: New file.
6641 * sysdeps/generic/libnss_nisplus.abilist: New file.
6642 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6643 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6644 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6645 file.
6646 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6647 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6648 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6649 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6650 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6651 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6652 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6653 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6654 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6655 file.
6656 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6657 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6658 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6659 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6660 file.
6661 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6662 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6663 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6664 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6665 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6666 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6667 file.
6668 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6669 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6670 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6671 file.
6672 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6674 New file.
6675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6676 New file.
6677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6678 New file.
6679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6680 New file.
6681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6682 New file.
6683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6684 New file.
6685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6686 New file.
6687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6688 New file.
6689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6690 New file.
6691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6692 New file.
6693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6694 New file.
6695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6696 New file.
6697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6698 New file.
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6700 file.
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6702 New file.
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6704 New file.
6705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6706 file.
6707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6708 New file.
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6710 New file.
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6712 file.
6713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6714 New file.
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6716 New file.
6717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6718 New file.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6720 New file.
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6722 New file.
6723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6724 New file.
6725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6727 file.
6728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6729 New file.
6730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6731 file.
6732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6733 file.
6734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6735 file.
6736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6737 file.
6738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6739 file.
6740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6741 New file.
6742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6743 file.
6744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6745 file.
6746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6747 New file.
6748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6749 file.
6750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6752 file.
6753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6754 New file.
6755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6756 file.
6757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6758 file.
6759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6760 file.
6761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6762 file.
6763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6764 file.
6765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6766 New file.
6767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6768 file.
6769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6770 file.
6771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6772 New file.
6773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6774 file.
6775 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6776 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6777 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6778 file.
6779 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6780 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6781 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6782 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6783 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6784 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6785 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6786 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6787 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6788 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6791 file.
6792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6793 New file.
6794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6795 file.
6796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6797 file.
6798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6799 file.
6800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6801 file.
6802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6803 file.
6804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6805 New file.
6806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6807 New file.
6808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6809 file.
6810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6811 New file.
6812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6813 file.
6814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6816 file.
6817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6818 New file.
6819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6820 file.
6821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6822 file.
6823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6824 file.
6825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6826 file.
6827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6828 file.
6829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6830 New file.
6831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6832 New file.
6833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6834 file.
6835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6836 New file.
6837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6838 file.
6839
6840 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6841
6842 * conform/conformtest.pl: Fix typo in handling typed-constant from
6843 allow-header.
6844
6845 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6846
6847 * README: Cut down references to pre-2.6 Linux kernels and
6848 Linuxthreads. Update lists of configurations in libc and ports
6849 and sort alphabetically. Say "or newer" with Linux kernel version
6850 requirements.
6851
6852 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6853
6854 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6855
6856 [BZ #887]
6857 * math/libm-test.inc (logb_test_downward): New test to expose
6858 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6859 rounding mode.
6860
6861 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6862
6863 [BZ #14027]
6864 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6865 to be done.
6866 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6867 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6868
6869 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6870
6871 * sysdeps/unix/i386/brk.S: Remove file.
6872 * sysdeps/unix/i386/dl-brk.S: Likewise.
6873 * sysdeps/unix/i386/pipe.S: Likewise.
6874 * sysdeps/unix/i386/sigreturn.S: Likewise.
6875 * sysdeps/unix/i386/syscall.S: Likewise.
6876 * sysdeps/unix/i386/vfork.S: Likewise.
6877 * sysdeps/unix/i386/wait.S: Likewise.
6878
6879 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6880 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6881
6882 * configure.in (arm*-none*): Do not allow without
6883 --enable-hacker-mode.
6884 (netbsd*): Remove case setting base_os.
6885 (386bsd*): Likewise.
6886 (freebsd*): Likewise.
6887 (bsdi*): Likewise.
6888 (osf*): Likewise.
6889 (sunos*): Likewise.
6890 (ultrix*): Likewise.
6891 (newsos*): Likewise.
6892 (dynix*): Likewise.
6893 (*bsd*): Likewise.
6894 (sysv*): Likewise.
6895 (isc*): Likewise.
6896 (esix*): Likewise.
6897 (sco*): Likewise.
6898 (minix*): Likewise.
6899 (irix4*): Likewise.
6900 (irix6*): Likewise.
6901 (solaris[2-9]*): Likewise.
6902 (none): Likewise.
6903 * configure: Regenerated.
6904
6905 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906
6907 [BZ #11521]
6908 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6909 overflow or cancellation in calculating denominator.
6910 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6911 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6912 down expression to avoid unexpected rounding in newer GCCs.
6913 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6914
6915 2012-04-26 David S. Miller <davem@davemloft.net>
6916
6917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6918 long-double compat symbols.
6919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6932
6933 2012-04-25 David S. Miller <davem@davemloft.net>
6934
6935 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6936 HWCAP_* values only after the memory barriers have been defined.
6937 (atomic_full_barrier): Define.
6938 (atomic_read_barrier): Define.
6939 (atomic_write_barrier): Define.
6940
6941 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6942
6943 * shlib-versions: Add libgcc_s version information.
6944 * sysdeps/generic/libgcc_s.h: Remove.
6945 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6946 libgcc_s.h.
6947 * sysdeps/gnu/unwind-resume.c: Likewise.
6948 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6949
6950 2012-04-25 David S. Miller <davem@davemloft.net>
6951
6952 * sysdeps/unix/sparc/brk.S: Delete.
6953 * sysdeps/unix/sparc/dl-brk.S: Delete.
6954 * sysdeps/unix/sparc/pipe.S: Delete.
6955 * sysdeps/unix/sparc/sysdep.S: Delete.
6956 * sysdeps/unix/sparc/sysdep.h: Delete.
6957 * sysdeps/unix/sparc/vfork.S: Delete.
6958 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6959 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6960 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6961 ret_ERRVAL, r0, r1, MOVE): Define.
6962 (JUMPTARGET): Remove.
6963 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6964 sysdeps/unix/sparc/sysdep.h
6965 (ENTRY, END): Remove.
6966 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6967
6968 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6969
6970 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6971 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6972 -DIS_IN_build.
6973
6974 * timezone/README: Update upstream location and email address for
6975 tzcode and tzdata.
6976 * timezone/zdump.c: Update from tzcode 2012b.
6977 * timezone/zic.c: Likewise.
6978
6979 * configure.in (libc_cv_as_needed): Remove test.
6980 * configure: Regenerated.
6981 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6982 conditional definition.
6983 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6984 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6985 * config.make.in (have-as-needed): Remove variable.
6986
6987 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6988 Paul Pluzhnikov <ppluzhnikov@google.com>
6989
6990 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6991 strings correctly.
6992
6993 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6994
6995 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6996 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6997 * sysdeps/sh/strlen.S: Likewise.
6998
6999 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7000
7001 * sysdeps/unix/fork.S: Remove file.
7002 * sysdeps/unix/i386/fork.S: Likewise.
7003 * sysdeps/unix/sparc/fork.S: Likewise.
7004
7005 * sysdeps/unix/system.c: Remove file.
7006 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7007
7008 * sysdeps/unix/getegid.S: Remove file.
7009 * sysdeps/unix/geteuid.S: Likewise.
7010
7011 2012-04-24 Roland McGrath <roland@hack.frob.com>
7012
7013 * scripts/check-localplt.awk: New file.
7014 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7015 of diff.
7016 * scripts/data/localplt-generic.data: Add a comment.
7017
7018 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7019 NODE when __dir_mkfile failed.
7020 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7021 Reported by Ludovic Courtès <ludo@gnu.org>.
7022
7023 2012-04-24 Andreas Jaeger <aj@suse.de>
7024
7025 * Makerules (common-clean): Also remove gen-as-const-headers
7026 files.
7027
7028 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7029
7030 * Makerules (native-compile): Do not change working directory for
7031 build. Use $(OUTPUT_OPTION) in command.
7032 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7033
7034 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7035
7036 [BZ #13886]
7037 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7038 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7039 * math/libm-test.inc (floor_test): Add more tests.
7040 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7041
7042 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7043
7044 * sysdeps/unix/getdents.c: Remove file.
7045 * sysdeps/unix/sysv/getdents.c: Likewise.
7046 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7047
7048 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7049 sysdeps/unix/mman/syscalls.list.
7050 (mmap): Likewise.
7051 (mprotect): Likewise.
7052 (msync): Likewise.
7053 (munmap): Likewise.
7054 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7055 * sysdeps/unix/mman/syscalls.list: Remove.
7056 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7057
7058 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7059 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7060 * configure: Regenerated.
7061 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7062 $(libgcc_s_suffix).
7063 * config.make.in (libgcc_s_suffix): Remove variable.
7064
7065 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7066
7067 * sysdeps/unix/sysv/gethostname.c: Move to ...
7068 * sysdeps/posix/gethostname.c: ... here.
7069
7070 * sysdeps/unix/execve.S: Remove file.
7071
7072 * sysdeps/unix/_exit.S: Remove file.
7073
7074 2012-04-23 Andreas Jaeger <aj@suse.de>
7075
7076 [BZ #13739]
7077 * manual/Makefile: Remove make dist support, there's no
7078 need for a stand-alone documentation tar ball.
7079 (TEXI2DVI): Define always, it's not in Makeconfig.
7080 (dist): Removed.
7081 (tar-it): Removed.
7082 (edition): Removed.
7083 (glibc-doc-$(edition).tar): Removed
7084 (%.Z): Removed.
7085 (%.gz): Removed.
7086 (%.uu): Removed.
7087 (ETAGS): Remove, it's in Makeconfig.
7088 (move-if-change): Remove, it's in Makeconfig.
7089
7090 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7091
7092 [BZ #13970]
7093 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7094 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7095 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7096 (strtod_l, strtof_l, strtold_l): Remove __wur.
7097 It is not necessarily an error to ignore strtol's return value.
7098 One can reliably look at the stored endptr to decide whether
7099 the number had valid syntax.
7100
7101 2012-04-21 Andreas Jaeger <aj@suse.de>
7102
7103 [BZ #13739]
7104 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7105
7106 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7107
7108 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7109 * sysdeps/unix/sysv/Versions: Remove file.
7110
7111 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7112
7113 [BZ #13927]
7114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7115
7116 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7117
7118 [BZ #7064]
7119 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7120 version from __vm86.
7121
7122 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7123
7124 * sysdeps/unix/common/lxstat.c: Remove file.
7125 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7126
7127 * sysdeps/unix/sysv/Makefile: Remove file.
7128
7129 * sysdeps/unix/sysv/direct.h: Remove file.
7130
7131 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7132 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7133 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7134 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7135 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7136 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7137 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7138
7139 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7140
7141 * sysdeps/unix/xmknod.c: Remove file.
7142 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7143
7144 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7145
7146 * sysdeps/unix/sysv/i386/time.S: Remove file.
7147
7148 * sysdeps/unix/fxstat.c: Remove file.
7149 * sysdeps/unix/xstat.c: Likewise.
7150 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7151
7152 * sysdeps/unix/sysv/sigaction.c: Remove file.
7153
7154 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7155 (sysdep_headers): Remove variable.
7156 [termio.h not in sysdep_headers] (generated): Likewise.
7157 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7158 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7159 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7160 * sysdeps/unix/sysv/tcflow.c: Likewise.
7161 * sysdeps/unix/sysv/tcflush.c: Likewise.
7162 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7163 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7164 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7165 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7166 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7167
7168 * sysdeps/unix/siglist.c: Remove file.
7169
7170 * sysdeps/unix/getppid.S: Remove file.
7171
7172 * sysdeps/unix/mkdir.c: Remove file.
7173 * sysdeps/unix/rmdir.c: Likewise.
7174
7175 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7176
7177 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7178 ERR_MAX value.
7179 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7180 errlist-compat value.
7181
7182 2012-04-18 David S. Miller <davem@davemloft.net>
7183
7184 * sysdeps/generic/memcopy.h (reg_char): Delete.
7185 * debug/strcat_chk.c: Use char, not reg_char.
7186 * debug/strcpy_chk.c: Likewise.
7187 * debug/strncat_chk.c: Likewise.
7188 * debug/strncpy_chk.c: Likewise.
7189 * string/memchr.c: Likewise.
7190 * string/memrchr.c: Likewise.
7191 * string/rawmemchr.c: Likewise.
7192 * string/strcat.c: Likewise.
7193 * string/strchr.c: Likewise.
7194 * string/strchrnul.c: Likewise.
7195 * string/strcmp.c: Likewise.
7196 * string/strcpy.c: Likewise.
7197 * string/strncat.c: Likewise.
7198 * string/strncmp.c: Likewise.
7199 * string/strncpy.c: Likewise.
7200
7201 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7202
7203 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7204 __builtin_memcopy is called when src and dest ranges are known to not
7205 overlap.
7206
7207 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7208
7209 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7210 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7211 fwd_align_merge macro call.
7212 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7213 bwd_align_merge macro call.
7214 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7215
7216 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7217
7218 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7219 bwd_align_merge macros.
7220 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7221 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7222 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7223
7224 2012-04-18 David S. Miller <davem@davemloft.net>
7225
7226 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7227
7228 2012-04-18 Andreas Jaeger <aj@suse.de>
7229
7230 [BZ# 6794]
7231 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7232 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7233 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7234
7235 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7236 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7237 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7238
7239 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7240 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7241 Adjust for changed ldbl-128 files.
7242
7243 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7244 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7245 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7246
7247 2012-04-17 David S. Miller <davem@davemloft.net>
7248
7249 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7250
7251 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7252
7253 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7254 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7255 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7256 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7257 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7258 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7259
7260 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7261
7262 [BZ #6794]
7263 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7264 * math/libm-test.inc: Add ilogb errno and exception tests.
7265 * math/w_ilogb.c: New file: ilogb wrapper.
7266 * math/w_ilogbf.c: New file: ilogbf wrapper.
7267 * math/w_ilogbl.c: New file: ilogbl wrapper.
7268 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7269 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7270 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7271 exception being thrown with 0.0 as argument.
7272 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7273 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7274 exception being thrown with 0.0 as argument.
7275 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7276 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7277 exception being thrown with 0.0 as argument.
7278 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7279 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7280 exception being thrown with 0.0 as argument.
7281 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7282 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7283 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7284 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7285 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7286 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7287 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7288 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7289 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7290
7291 2012-04-17 Petr Baudis <pasky@ucw.cz>
7292
7293 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7294 with altivec.
7295
7296 2012-04-16 Marek Polacek <polacek@redhat.com>
7297
7298 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7299
7300 2012-04-16 Marek Polacek <polacek@redhat.com>
7301
7302 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7303 operands of fdivp instruction.
7304
7305 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7306
7307 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7308 * elf/tst-auditmod3b.c: Likewise.
7309 * elf/tst-auditmod4b.c: Likewise.
7310 * elf/tst-auditmod5b.c: Likewise.
7311 * elf/tst-auditmod6b.c: Likewise.
7312 * elf/tst-auditmod6c.c: Likewise.
7313 * elf/tst-auditmod7b.c: Likewise.
7314 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7315 * sysdeps/x86_64/preconfigure.in: Likewise.
7316 * sysdeps/x86_64/preconfigure: Regenerated.
7317
7318 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7319
7320 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7321 __ILP32__.
7322
7323 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7324
7325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7326 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7327
7328 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7329
7330 [BZ #13973]
7331 * locale/iso-639.def: Fix gl language name. Spotted by
7332 Yaron Shahrabani.
7333
7334 2012-04-12 Roland McGrath <roland@hack.frob.com>
7335
7336 [BZ #2074]
7337 * libio/libio.h (__io_write_fn): Update comment.
7338
7339 2012-04-12 Petr Baudis <pasky@ucw.cz>
7340
7341 [BZ #2074]
7342 * stdio.texi (Hook Functions): The user provided writer function
7343 is not allowed to return -1.
7344
7345 2012-04-11 David S. Miller <davem@davemloft.net>
7346
7347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7348
7349 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7350
7351 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7352 Add a leading slash to rtkaio.
7353
7354 2012-04-11 Jim Meyering <meyering@redhat.com>
7355
7356 [BZ #11959]
7357 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7358 It is not necessarily an error to ignore fwrite's return
7359 value. One can reliably use ferror to test for errors after
7360 the fact.
7361
7362 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7363
7364 * bits/types.h (__snseconds_t): New type.
7365 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7366
7367 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7368 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7369 (__SNSECONDS_T_TYPE): Likewise.
7370 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7371 (__SNSECONDS_T_TYPE): Likewise.
7372 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7373 (__SNSECONDS_T_TYPE): Likewise.
7374
7375 2012-04-10 Andreas Jaeger <aj@suse.de>
7376
7377 [BZ #2636]
7378 * manual/time.texi (Processor Time): Return type of times is
7379 elapsed real time since an arbitrary point in the past.
7380 (CPU Time): Move CLK_TCK from here...
7381 (Processor Time): ...to here. Correct description.
7382 * manual/conf.texi (Constants for Sysconf): Correct description of
7383 _SC_CLK_TCK.
7384
7385 2012-04-10 David S. Miller <davem@davemloft.net>
7386
7387 [BZ #13967]
7388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7389 where the is a gap between DT_REL(A) and DT_JMPREL.
7390
7391 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7392
7393 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7394 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7395 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7396
7397 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7398
7399 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7400 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7401 (dl_main): Handle --inhibit-cache.
7402 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7403 _dl_inhibit_cache.
7404 * elf/dl-load.c (_dl_map_object): Use it.
7405 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7406
7407 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7408
7409 [BZ #13872]
7410 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7411 (__ieee754_powl): Saturate large exponents rather than testing for
7412 overflow of y*log2(x).
7413 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7414 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7415 exceptions.
7416
7417 [BZ #11521]
7418 * math/s_ctan.c: Include <float.h>.
7419 (__ctan): Avoid internal overflow or cancellation in calculating
7420 denominator.
7421 * math/s_ctanf.c: Likewise.
7422 * math/s_ctanl.c: Likewise.
7423 * math/s_ctanh.c: Likewise.
7424 * math/s_ctanhf.c: Likewise.
7425 * math/s_ctanhl.c: Likewise.
7426 * math/libm-test.inc (ctan_test): Add more tests.
7427 (ctanh_test): Likewise.
7428 * sysdeps/i386/fpu/libm-test-ulps: Update.
7429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7430
7431 2012-04-09 Andreas Jaeger <aj@suse.de>
7432
7433 [BZ #6894]
7434 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7435 is an optional BSD extension.
7436
7437 [BZ #10254]
7438 * manual/stdio.texi (Opening Streams): Document additional fopen
7439 parameters.
7440
7441 2012-04-09 Roland McGrath <roland@hack.frob.com>
7442
7443 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7444 %eax without telling the compiler.
7445
7446 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7447
7448 [BZ # 13963]
7449 * manual/install.texi: Use sourceware.org.
7450
7451 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7452
7453 [BZ #13873]
7454 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7455 (__ieee754_pow): Generate overflow and underflow using huge*huge
7456 and tiny*tiny rather than just returning constant infinity or zero
7457 for large exponents.
7458 * math/libm-test.inc (pow_test): Require overflow exceptions for
7459 applicable cases of large exponents.
7460
7461 [BZ #706]
7462 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7463 (__ieee754_pow): Use iterative multiplication algorithm only for
7464 integer exponents with absolute value below 1024. Check for odd
7465 integer exponents when using algorithm for real exponents.
7466 * math/libm-test.inc (pow_test): Add more tests.
7467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7468
7469 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7470
7471 [BZ #13705]
7472 * math/libm-test.inc (exp_test): Do not allow overflow exception
7473 on underflow test.
7474
7475 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7476
7477 [BZ #13705]
7478 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7479 instead of __kernel_standard_f.
7480
7481 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7482
7483 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7484 * sysdeps/x86_64/memset_chk.S: Likewise.
7485
7486 2012-04-08 Andreas Jaeger <aj@suse.de>
7487
7488 [BZ #10153]
7489 * manual/startup.texi (Environment Access): Describe return value
7490 for putenv and setenv.
7491
7492 [BZ #6895]
7493 * manual/filesys.texi (Directory Entries): Add description for
7494 DT_LNK.
7495
7496 [BZ #6890]
7497 * manual/filesys.texi (Directory Entries): Clarify that it's file
7498 system not operating system in the description of DT_UNKNOWN.
7499
7500 [BZ #6578]
7501 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7502
7503 2012-04-08 Stephen Compall <s11@member.fsf.org>
7504
7505 [BZ #6649]
7506 * manual/llio.texi (Opening and Closing Files): Add cross
7507 reference to explain mode argument.
7508
7509 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7510
7511 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7512 * sysdeps/x86_64/memset_chk.S: Likewise.
7513
7514 2012-04-07 David S. Miller <davem@davemloft.net>
7515
7516 * elf/elf.h (R_SPARC_WDISP10): Define.
7517 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7518 R_SPARC_SIZE32.
7519 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7520 R_SPARC_SIZE64 and R_SPARC_H34.
7521
7522 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7523
7524 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7525 conditions and remove no longer applicable assertion.
7526
7527 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7528
7529 * bits/byteswap.h: Include <features.h>.
7530 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7531 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7532
7533 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7534
7535 * bits/byteswap.h (__bswap_16): Removed.
7536 Include <bits/byteswap-16.h> to get __bswap_16.
7537 * sysdeps/i386/bits/byteswap.h: Likewise.
7538 * sysdeps/s390/bits/byteswap.h: Likewise.
7539 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7540 * bits/byteswap-16.h: New file.
7541 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7542 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7543 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7544 * string/Makefile (headers): Add bits/byteswap-16.h.
7545
7546 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7547
7548 [BZ #13895]
7549 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7550 extra indirection.
7551 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7552 * nss/tst-nss-static.c: New.
7553
7554 2012-04-06 Robert Millan <rmh@gnu.org>
7555
7556 [BZ #6486]
7557 * manual/llio.texi (File Position Primitive): lseek
7558 refers to WHENCE when it really means OFFSET.
7559
7560 2012-04-06 Andreas Jaeger <aj@suse.de>
7561
7562 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7563 strncmp declarations.
7564
7565 * abilist/libc.abilist: Add __poll and __ppoll.
7566
7567 2012-04-05 David S. Miller <davem@davemloft.net>
7568
7569 * scripts/check-local-headers.sh: Accept a host triplet in the
7570 path matched by the exclude regexp.
7571
7572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7573 definition.
7574 * sysdeps/powerpc/powerpc32/dl-machine.h
7575 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7576 * sysdeps/s390/s390-32/dl-machine.h
7577 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7578 * sysdeps/sparc/sparc32/dl-machine.h
7579 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7580 * sysdeps/sparc/sparc64/dl-machine.h
7581 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7582
7583 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7584 lazy binding.
7585 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7586 undefined symbol errors.
7587
7588 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7589 DT_NEEDED entries.
7590
7591 2012-04-05 Michael Matz <matz@suse.de>
7592
7593 [BZ #13592]
7594 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7595
7596 2012-04-05 Andreas Jaeger <aj@suse.de>
7597
7598 [BZ #13908]
7599 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7600 comment.
7601
7602 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7603
7604 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7605 which ROUND is no valid rounding mode.
7606
7607 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7608
7609 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7610 read again.
7611 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7612
7613 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7614
7615 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7616 an exception using FPU order intentionally.
7617
7618 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7619
7620 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7621 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7622 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7623 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7624
7625 2012-04-05 Simon Josefsson <simon@josefsson.org>
7626
7627 [BZ #12340]
7628 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7629 EINVAL when BUFLEN is too smal.
7630
7631 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7632
7633 [BZ #13553]
7634 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7635 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7636
7637 2012-04-03 Andreas Jaeger <aj@suse.de>
7638
7639 [BZ #13938]
7640 * manual/setjmp.texi (System V contexts): Fix sentence.
7641
7642 [BZ #13926]
7643 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7644 New macro for this case.
7645 [!__GNUC__] (__bswap_64): New inline function for this case.
7646 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7647 * bits/byteswap.h: Likewise.
7648 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7649 ull, guard with __GLIBC_HAVE_LONG_LONG.
7650
7651 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7652 __GLIBC_HAVE_LONG_LONG.
7653
7654 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7655 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7656
7657 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7658
7659 [BZ #13691]
7660 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7661 inptr and inend, rather than using last_ch.
7662
7663 2012-04-02 David S. Miller <davem@davemloft.net>
7664
7665 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7666 * stdio-common/printf-parse.h (read_int): Change return type to
7667 'int', return -1 on INT_MAX overflow.
7668 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7669 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7670 overflows INT_MAX. Check for overflow of in-format-string precision
7671 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7672 SIZE_MAX not INT_MAX for integer overflow test.
7673 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7674 skip the construct in the format string but do not record anything.
7675 * stdio-common/bug22.c: Adjust to test both width/prevision
7676 INT_MAX overflow as well as total length INT_MAX overflow. Check
7677 explicitly for proper errno values.
7678
7679 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7680
7681 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7682 CHAR_MAX.
7683 * string/test-strcmp.c [! WIDE]: Likewise.
7684 * time/tst-mktime2.c: Likewise for INT_MAX.
7685 * string/test-string.h: #include <sys/param.h> for MIN.
7686
7687 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7688 * sysdeps/i386/init-first.c (init): Likewise.
7689 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7690 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7691 * sysdeps/sh/init-first.c (init): Likewise.
7692
7693 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7694
7695 * po/ru.po: Update from translation team.
7696 * po/vi.po: Likewise.
7697
7698 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7699
7700 * resolv/nss_dns/dns-host.c: Merge copyright years.
7701
7702 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7703
7704 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7705 Optimize memcpy with prefetch if
7706 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7707 src, dst pointers have unequal 16 byte alignments.
7708
7709 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7710
7711 [BZ #13928]
7712 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7713 from a CNAME entry and return the minimum ttl for the query.
7714 (gaih_getanswer_slice): Likewise.
7715
7716 2012-03-30 Jeff Law <law@redhat.com>
7717
7718 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7719 due to long keys.
7720 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7721 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7722
7723 * resolv/nss_dns/dns-host.c: Update copyright year.
7724
7725 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7726
7727 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7728 requests to save a system call. Fix check that all bytes are sent.
7729
7730 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7731 comments for sendmmsg.
7732
7733 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7734
7735 [BZ #13691]
7736 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7737 with only 1 character between 0x0041 and 0x01b0.
7738 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7739 * wcsmbs/tst-mbsnrtowcs.c: New file.
7740
7741 2012-03-29 David S. Miller <davem@davemloft.net>
7742
7743 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7744 small copies by hand.
7745
7746 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7747
7748 [BZ #13761]
7749 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7750 _nss_compat_initgroups_dyn): Fall back to malloc/free
7751 for large group memberships.
7752
7753 2012-03-28 David S. Miller <davem@davemloft.net>
7754
7755 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7756 that branches into memcpy.
7757 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7758 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7759 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7760 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7762 bits.
7763 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7764 implementation too.
7765 * sysdeps/sparc/mempcpy.S: New file.
7766
7767 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7768 the IFUNC routine in the libc case.
7769 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7770
7771 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7772 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7773 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7774 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7775 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7776 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7777 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7778 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7779
7780 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7781 loop to 256 bytes instead of 64 bytes and fix test signedness.
7782
7783 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7784 * sysdeps/sparc/sparc32/Makefile: rather than here...
7785 * sysdeps/sparc/sparc64/Makefile: and here.
7786
7787 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7788
7789 * malloc/mallocbug.c: Avoid warnings about unused variables.
7790
7791 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7792
7793 [BZ #13760]
7794 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7795 in the right place. Discard and retry query if response is
7796 larger than input buffer size.
7797
7798 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7799
7800 [BZ #369]
7801 [BZ #2678]
7802 [BZ #3866]
7803 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7804 x for large integer exponent.
7805 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7806 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7807 sign of result as needed afterwards.
7808 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7809 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7810 result for underflowing pow the same as for overflow.
7811 (__kernel_standard_l): Handle powl overflow and underflow here
7812 rather than calling __kernel_standard.
7813 * math/libm-test.inc (pow_test): Add more tests.
7814
7815 [BZ #3868]
7816 [BZ #13879]
7817 [BZ #13910]
7818 [BZ #13911]
7819 [BZ #13912]
7820 [BZ #13913]
7821 [BZ #13915]
7822 [BZ #13916]
7823 [BZ #13917]
7824 [BZ #13918]
7825 [BZ #13919]
7826 [BZ #13920]
7827 [BZ #13921]
7828 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7829 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7830 (__kernel_standard_l): New function.
7831 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7832 __kernel_standard.
7833 * math/w_acosl.c (__acosl): Likewise.
7834 * math/w_asinl.c (__asinl): Likewise.
7835 * math/w_atan2l.c (__atan2l): Likewise.
7836 * math/w_atanhl.c (__atanhl): Likewise.
7837 * math/w_coshl.c (__coshl): Likewise.
7838 * math/w_exp10l.c (__exp10l): Likewise.
7839 * math/w_exp2l.c (__exp2l): Likewise.
7840 * math/w_fmodl.c (__fmodl): Likewise.
7841 * math/w_hypotl.c (__hypotl): Likewise.
7842 * math/w_j0l.c (__j0l, __y0l): Likewise.
7843 * math/w_j1l.c (__j1l, __y1l): Likewise.
7844 * math/w_jnl.c (__jnl, __ynl): Likewise.
7845 * math/w_lgammal.c (__lgammal): Likewise.
7846 * math/w_log10l.c (__log10l): Likewise.
7847 * math/w_log2l.c (__log2l): Likewise.
7848 * math/w_logl.c (__logl): Likewise.
7849 * math/w_powl.c (__powl): Likewise.
7850 * math/w_remainderl.c (__remainderl): Likewise.
7851 * math/w_scalbl.c (sysv_scalbl): Likewise.
7852 * math/w_sinhl.c (__sinhl): Likewise.
7853 * math/w_sqrtl.c (__sqrtl): Likewise.
7854 * math/w_tgammal.c (__tgammal): Likewise.
7855 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7856 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7857 * math/libm-test.inc (acos_test): Add more tests.
7858 (acosh_test): Likewise.
7859 (asin_test): Likewise.
7860 (atanh_test): Likewise.
7861 (exp_test): Likewise.
7862 (exp10_test): Likewise.
7863 (exp2_test): Likewise.
7864 (expm1_test): Likewise.
7865 (lgamma_test): Likewise.
7866 (log_test): Likewise.
7867 (log10_test): Likewise.
7868 (log1p_test): Likewise.
7869 (log2_test): Likewise.
7870 (pow_test): Do not allow some spurious overflow exceptions.
7871 (sqrt_test): Add more tests.
7872 (tgamma_test): Likewise.
7873 (y0_test): Likewise.
7874 (y1_test): Likewise.
7875 (yn_test): Likewise.
7876
7877 2012-03-27 Anton Blanchard <anton@samba.org>
7878
7879 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7880 MAP_HUGETLB.
7881 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7882 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7883 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7884
7885 2012-03-27 David S. Miller <davem@davemloft.net>
7886
7887 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7888
7889 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7890 have-as-vis3 check.
7891
7892 2012-03-27 Andreas Jaeger <aj@suse.de>
7893
7894 * sysdeps/x86_64/elf/configure.in: Moved to ...
7895 * sysdeps/x86_64/configure.in: ... here.
7896 * sysdeps/x86_64/elf/start.S: Moved to ...
7897 * sysdeps/x86_64/start.S: ... here.
7898 * sysdeps/x86_64/elf/configure: Delete.
7899
7900 * sysdeps/x86_64/configure.in: Merge contents from
7901 sysdeps/i386/configure.in (without i686 check).
7902
7903 * sysdeps/i386/elf/Versions: Merge into ...
7904 * sysdeps/i386/Versions: ... this.
7905 * sysdeps/i386/elf/Versions: Delete file.
7906 * sysdeps/i386/elf/start.S: Moved to ...
7907 * sysdeps/i386/start.S: ...here.
7908 * sysdeps/i386/elf/configure.in: Merge into...
7909 * sysdeps/i386/configure.in: ...here.
7910 * sysdeps/i386/elf/configure.in: Delete file.
7911 * sysdeps/i386/elf/configure: Delete file.
7912
7913 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7914 * debug/backtracesyms.c: ... here.
7915 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7916 * debug/backtracesymsfd.c: ... here.
7917 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7918 * sysdeps/generic/ifunc-sel.h: ... here.
7919
7920 * sysdeps/unix/i386/start.c: Delete file.
7921 * sysdeps/unix/sparc/start.c: Delete file.
7922 * sysdeps/unix/start.c: Delete file.
7923
7924 * sysdeps/sh/elf/configure.in: Moved to ...
7925 * sysdeps/sh/configure.in: ... here.
7926 * sysdeps/sh/elf/start.S: Moved to ...
7927 * sysdeps/sh/start.S: ... here.
7928 * sysdeps/sh/elf/configure: Delete file.
7929
7930 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7931 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7932 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7933 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7934 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7935 * sysdeps/powerpc/powerpc64/start.S: here.
7936 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7937 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7938 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7939 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7940 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7941
7942 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7943 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7944 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7945 * sysdeps/powerpc/powerpc32/start.S: ... here.
7946 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7947 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7948 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7949
7950 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7951 * sysdeps/powerpc/ifunc-sel.h: ... here.
7952 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7953 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7954
7955 * sysdeps/sparc/elf/configure.in: Moved to ...
7956 * sysdeps/sparc/configure.in: ... here.
7957 * sysdeps/sparc/elf/configure: Delete file.
7958 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7959 * sysdeps/sparc/sparc32/start.S: ... here.
7960 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7961 * sysdeps/sparc/sparc64/start.S: ... here.
7962 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7963 * sysdeps/sparc/sparc32/Makefile: ... this.
7964 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7965 * sysdeps/sparc/sparc64/Makefile: ... this.
7966
7967 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7968 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7969 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7970 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7971 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7972 * sysdeps/s390/s390-32/setjmp.S: ... here.
7973 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7974 * sysdeps/s390/s390-32/configure.in: ... here.
7975 * sysdeps/s390/s390-32/elf/configure: Delete file.
7976 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7977 * sysdeps/s390/s390-32/start.S: ... here.
7978
7979 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7980 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7981 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7982 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7983 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7984 * sysdeps/s390/s390-64/setjmp.S: ... here.
7985 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7986 * sysdeps/s390/s390-64/configure.in: ... here
7987 * sysdeps/s390/s390-64/elf/configure: Delete file.
7988 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7989 * sysdeps/s390/s390-64/start.S: ... here.
7990 * sysdeps/s390/s390-64/elf/configure: Delete.
7991
7992 * configure.in: Remove support for elf directories in sysdeps.
7993
7994 * configure: Regenerated.
7995 * sysdeps/i386/configure: Regenerated.
7996 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7997 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7998 * sysdeps/s390/s390-32/configure: Regenerated.
7999 * sysdeps/s390/s390-64/configure: Regenerated.
8000 * sysdeps/sh/configure: Regenerated.
8001 * sysdeps/sparc/configure: Regenerated.
8002 * sysdeps/x86_64/configure: Regenerated.
8003
8004 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8005
8006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8007
8008 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8009 denormal result into account.
8010
8011 2012-03-25 Roland McGrath <roland@hack.frob.com>
8012
8013 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8014 Reported by Allan McRae <allan@archlinux.org>.
8015
8016 2012-03-23 Jeff Law <law@redhat.com>
8017
8018 * nss/getnssent.c (__nss_getent): Fix typo.
8019
8020 2012-03-23 David S. Miller <davem@davemloft.net>
8021
8022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8023
8024 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8025
8026 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8027 to pad to uint64_t for each field.
8028 (dl_tls_index): Replace unsigned long with uint64_t.
8029
8030 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8031 Paul Pluzhnikov <ppluzhnikov@google.com>
8032
8033 [BZ #6528]
8034 * grp/Makefile (otherlibs): Don't set it.
8035 * inet/Makefile (otherlibs): Likewise.
8036 * login/Makefile (otherlibs): Likewise.
8037 * nscd/Makefile (otherlibs): Likewise.
8038 * posix/Makefile (otherlibs): Likewise.
8039 * pwd/Makefile (otherlibs): Likewise.
8040 * rt/Makefile (otherlibs): Likewise.
8041 * sunrpc/Makefile (otherlibs): Likewise.
8042 * nss/Makefile (otherlibs): Likewise.
8043 Add libnss_files to routines and static-only-routines.
8044 ($(objpfx)getent): Remove rule.
8045 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8046 static-only-routines.
8047
8048 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8049
8050 [BZ #13892]
8051 * math/s_cexp.c: Include <float.h>.
8052 (__cexp): Handle exp result overflowing not necessarily
8053 overflowing both real and imaginary parts of result.
8054 * math/s_cexpf.c: Likewise.
8055 * math/s_cexpl.c: Likewise.
8056 * math/libm-test.inc (cexp_test): Add more tests.
8057 * sysdeps/i386/fpu/libm-test-ulps: Update.
8058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8059
8060 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8061
8062 * include/link.h (ELFW): New macro.
8063 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8064 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8065
8066 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8067
8068 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8069 with uint64_t.
8070
8071 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8072
8073 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8074 declaration.
8075 (struct La_x32_retval): Likewise.
8076
8077 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8078
8079 * sysdeps/x86_64/preconfigure.in: New file.
8080 * sysdeps/x86_64/preconfigure: New generated file.
8081
8082 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8083
8084 [BZ #13824]
8085 * math/e_exp2l.c: Include <float.h>.
8086 (__ieee754_exp2l): Handle overflow and underflow cases
8087 separately. Only pass fractional part of argument to
8088 __ieee754_expl.
8089 * math/libm-test.inc (exp2_test): Add more tests.
8090
8091 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8092 negating x to take absolute value.
8093 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8094 Likewise.
8095 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8096 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8097 Likewise.
8098 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8099 computing low part if x was negated.
8100 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8101
8102 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8103
8104 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8105 la_x32_gnu_pltexit.
8106 (pltexit): Cast int_retval to ptrdiff_t.
8107 * elf/tst-auditmod3b.c: Likewise.
8108 * elf/tst-auditmod4b.c: Likewise.
8109 * elf/tst-auditmod5b.c: Likewise.
8110 * elf/tst-auditmod6b.c: Likewise.
8111 * elf/tst-auditmod6c.c: Likewise.
8112 * elf/tst-auditmod7b.c: Likewise.
8113
8114 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8115 and x32_gnu_pltexit.
8116
8117 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8118 __ELF_NATIVE_CLASS.
8119 (La_x32_regs): New macro.
8120 (La_x32_retval): Likewise.
8121 (la_x32_gnu_pltenter): New function prototype.
8122 (la_x32_gnu_pltexit): Likewise.
8123
8124 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8125
8126 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8127 exponent.
8128
8129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8130
8131 * configure.in (libc_cv_cc_nofma): Check for option to disable
8132 generation of FMA instructions.
8133 * configure: Regenerate.
8134 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8135 * sysdeps/ieee754/dbl-64/Makefile: New file.
8136 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8137 Remove brandred-fma4.
8138 (CFLAGS-brandred-fma4.c): Remove.
8139 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8140 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8141 define.
8142 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8143 define.
8144
8145 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8146
8147 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8148 LLONG_MAX != LONG_MAX.
8149 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8150 (_fitoa_word): Likewise.
8151 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8152 LLONG_MAX != LONG_MAX.
8153 * stdio-common/_itowa.h: Include <_itoa.h>.
8154 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8155 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8156 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8157 only if not defined.
8158 (_ITOA_WORD_TYPE): Likewise.
8159 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8160 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8161
8162 2012-03-21 David S. Miller <davem@davemloft.net>
8163
8164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8165
8166 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8167
8168 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8169 of x86_64 when setting libc_cv_slibdir, libdir and
8170 libc_cv_localedir.
8171 * sysdeps/unix/sysv/linux/configure: Regenerated.
8172
8173 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8174
8175 * manual/lang.texi (Old Varargs): Remove section.
8176 (How Variadic): Update menu.
8177 (va_start): Do not mention varargs.h.
8178
8179 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8180 Joseph Myers <joseph@codesourcery.com>
8181
8182 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8183 link test.
8184 * configure: Regenerated.
8185
8186 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8187
8188 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8189 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8190 conformtest.pl
8191
8192 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8193
8194 * NOTES: Remove.
8195 * Makefile (files-for-dist): Remove NOTES.
8196 (NOTES): Remove rule.
8197 * README: Don't refer to NOTES.
8198 * manual/creature.texi: Don't include macros.texi.
8199 * manual/intro.texi (creature.texi): Remove comment referring to
8200 NOTES.
8201
8202 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8203 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8204 * configure: Regenerated.
8205 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8206 LIBC_TRY_CC_OPTION.
8207 (libc_cv_as_i686): Likewise.
8208 (libc_cv_cc_avx): Likewise.
8209 (libc_cv_cc_sse2avx): Likewise.
8210 (libc_cv_cc_fma4): Likewise.
8211 (libc_cv_cc_novzeroupper): Likewise.
8212 * sysdeps/i386/configure: Regenerated.
8213
8214 [BZ #13883]
8215 * sysdeps/i386/fpu/s_cexp.S: Remove.
8216 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8217 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8218 * math/libm-test.inc (cexp_test): Add more tests.
8219 * sysdeps/i386/fpu/libm-test-ulps: Update.
8220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8221
8222 2012-03-21 Allan McRae <allan@archlinux.org>
8223
8224 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8225
8226 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8227
8228 [BZ #13871]
8229 * math/w_exp2.c: Do not include <float.h>.
8230 (o_threshold, u_threshold): Remove.
8231 (__exp2): Calculate result before checking finiteness and calling
8232 __kernel_standard.
8233 * math/w_exp2f.c: Likewise.
8234 * math/w_exp2l.c: Likewise.
8235 * math/libm-test.inc (exp2_test): Require overflow exception for
8236 1e6 input.
8237
8238 [BZ #3866]
8239 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8240 range of signed 64-bit integers before using fistpll. Remove
8241 checks for whether integers fit in mantissa bits.
8242 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8243 the range of signed 32-bit integers before using fistpl. Remove
8244 checks for whether integers fit in mantissa bits.
8245 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8246 (__ieee754_powl): Test for y outside the range of signed 64-bit
8247 integers before using fistpll. Reduce 64-bit values to 63-bit
8248 ones as needed.
8249 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8250 divide-by-zero is raised for zero to large negative powers.
8251 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8252 (__ieee754_powl): Test for y outside the range of signed 64-bit
8253 integers before using fistpll. Reduce 64-bit values to 63-bit
8254 ones as needed.
8255 * math/libm-test.inc (pow_test): Add more tests.
8256
8257 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8258
8259 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8260 <stdio-common/_itoa.h>.
8261 * debug/segfault.c: Likewise.
8262 * elf/dl-cache.c: Likewise.
8263 * elf/dl-minimal.c: Likewise.
8264 * elf/dl-misc.c: Likewise.
8265 * elf/dl-sysdep.c: Likewise.
8266 * elf/dl-version.c: Likewise.
8267 * elf/rtld.c: Likewise.
8268 * hurd/hurdsock.c: Likewise.
8269 * hurd/lookup-retry.c: Likewise.
8270 * malloc/malloc.c: Likewise.
8271 * malloc/mtrace.c: Likewise.
8272 * nscd/nscd_getgr_r.c: Likewise.
8273 * nscd/nscd_getpw_r.c: Likewise.
8274 * nscd/nscd_getserv_r.c: Likewise.
8275 * posix/getopt_init.c: Likewise.
8276 * posix/wordexp.c: Likewise.
8277 * stdio-common/_itoa.c: Likewise.
8278 * stdio-common/printf_fphex.c: Likewise.
8279 * stdio-common/vfprintf.c: Likewise.
8280 * string/_strerror.c: Likewise.
8281 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8282 * sysdeps/i386/i686/hp-timing.h: Likewise.
8283 * sysdeps/mach/_strerror.c: Likewise.
8284 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8285 * sysdeps/mach/hurd/sethostid.c: Likewise.
8286 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8287 * sysdeps/mach/xpg-strerror.c: Likewise.
8288 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8289 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8290 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8291 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8292 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8293 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8294 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8295 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8296 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8297 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8298 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8299 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8300 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8301 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8302 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8303 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8304 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8305 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8306 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8307 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8308 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8309
8310 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8311
8312 * stdio-common/_itoa.h: Moved to ...
8313 * sysdeps/generic/_itoa.h: Here.
8314
8315 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8316
8317 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8318 instead of "_itoa.h" and "_itowa.h".
8319 * stdio-common/vfprintf.: Likewise.
8320
8321 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8322
8323 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8324 <bits/wordsize.h>.
8325 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8326 (__signbit): Likwise.
8327 (llrintf): Likwise.
8328 (llrint): Likwise.
8329
8330 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8331
8332 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8333 __WORDSIZE != 64.
8334
8335 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8336
8337 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8338 OVERFLOW_EXCEPTION_OK.
8339 * math/libm-test.inc ("Philosophy"): Update comment about
8340 exception testing.
8341 (OVERFLOW_EXCEPTION): Define.
8342 (OVERFLOW_EXCEPTION_OK): Likewise.
8343 (INVALID_EXCEPTION_OK): Renumber.
8344 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8345 (IGNORE_ZERO_INF_SIGN): Likewise.
8346 (test_exceptions): Handle FE_OVERFLOW.
8347 (exp10_test): Expect overflow exceptions.
8348 (exp2_test): Likewise.
8349 (expm1_test): Likewise.
8350 (nextafter_test): Likewise.
8351 (pow_test): Likewise.
8352 (scalbn_test): Likewise.
8353 (scalbln_test): Likewise.
8354
8355 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8356
8357 * sysdeps/x86_64/bits/atomic.h
8358 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8359 64bit integer.
8360 (atomic_exchange_acq): Likewise.
8361 (__arch_exchange_and_add_body): Likewise.
8362 (__arch_add_body): Likewise.
8363 (atomic_add_negative): Likewise.
8364 (atomic_add_zero): Likewise.
8365
8366 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8367
8368 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8369 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8370
8371 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8372
8373 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8374 Check __x86_64__ instead of __WORDSIZE.
8375
8376 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8379
8380 2012-03-19 David S. Miller <davem@davemloft.net>
8381
8382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8383
8384 * sysdeps/sparc/fpu/fenv_private.h: New file.
8385 * sysdeps/sparc/fpu/math_private.h: Use it.
8386 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8387 Remove.
8388 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8389 (libc_feholdexcept_setroundl): Remove.
8390 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8391 Remove.
8392 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8393 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8394
8395 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8396
8397 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8398 int64_t instead of long int.
8399 (INSERT_WORDS64): Likwise.
8400
8401 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8402
8403 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8404 _Unwind_GetCFA return to _Unwind_Ptr first.
8405
8406 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8407
8408 [BZ #13629]
8409 * math/s_clog.c: Include <float.h>.
8410 (__clog): Scale large or subnormal inputs.
8411 * math/s_clogf.c: Likewise.
8412 * math/s_clogl.c: Likewise.
8413 * math/s_clog10.c: Include <float.h>.
8414 (M_LOG10_2): Define.
8415 (__clog10): Scale large or subnormal inputs.
8416 * math/s_clog10f.c: Likewise.
8417 * math/s_clog10l.c: Likewise.
8418 * math/libm-test.inc (clog_test): Add more tests.
8419 (clog10_test): Likewise.
8420 * sysdeps/i386/fpu/libm-test-ulps: Update.
8421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8422
8423 [BZ #11451]
8424 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8425 x and y.
8426 * math/libm-test.inc (atan2_test): Add another test.
8427
8428 * Makerules (common-objdir-compile): Remove.
8429 * sysdeps/unix/Makefile (config-generated): Do not add
8430 $(unix-generated) to variable.
8431 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8432 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8433 Remove rule.
8434 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8435 Likewise.
8436 [generic bits/local_lim.h] (before-compile): Do not append to
8437 variable.
8438 [generic bits/local_lim.h] (common-generated): Likewise.
8439 [generic sys/param.h] (before-compile): Do not append to variable.
8440 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8441 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8442 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8443 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8444 include.
8445 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8446 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8447 [generic sys/param.h] ($(addprefix
8448 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8449 [generic sys/param.h] (common-generated): Do not append to
8450 variable.
8451 [generic sys/param.h] (sysdep_headers): Likewise.
8452 [generic bits/errno.h] (before-compile): Do not append to
8453 variable.
8454 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8455 rule.
8456 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8457 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8458 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8459 [generic bits/errno.h] (common-generated): Do not append to
8460 variable.
8461 [generic bits/ioctls.h] (before-compile): Do not append to
8462 variable.
8463 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8464 rule.
8465 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8466 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8467 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8468 rule.
8469 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8470 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8471 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8472 [generic bits/ioctls.h] (common-generated): Do not append to
8473 variable.
8474 [generic sys/syscall.h] (syscall.h): Remove variable.
8475 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8476 rule.
8477 [generic sys/syscall.h] (before-compile): Do not append to
8478 variable.
8479 [generic sys/syscall.h] (common-generated): Likewise.
8480 * sysdeps/unix/errnos-tmpl.c: Remove file.
8481 * sysdeps/unix/errnos.awk: Likewise.
8482 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8483 * sysdeps/unix/ioctls.awk: Likewise.
8484 * sysdeps/unix/mk-local_lim.c: Likewise.
8485 * sysdeps/unix/snarf-ioctls: Likewise.
8486
8487 2012-03-19 Richard Henderson <rth@twiddle.net>
8488
8489 * sysdeps/i386/fpu/fenv_private.h: New file.
8490 * sysdeps/i386/fpu/math_private.h: Use it.
8491 (math_opt_barrier, math_force_eval): Remove.
8492 (libc_feholdexcept_setround_53bit): Remove.
8493 (libc_feupdateenv_53bit): Remove.
8494 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8495 (math_opt_barrier, math_force_eval): Remove.
8496 (libc_feholdexcept): Remove.
8497 (libc_feholdexcept_setround): Remove.
8498 (libc_fetestexcept, libc_fesetenv): Remove.
8499 (libc_feupdateenv_test): Remove.
8500 (libc_feupdateenv, libc_feholdsetround): Remove.
8501 (libc_feresetround): Remove.
8502
8503 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8504 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8505
8506 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8507 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8508 (libc_feupdateenv_testl): New.
8509 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8510 (libc_feupdateenv_testf): New.
8511 (libc_feupdateenv): Use libc_feupdateenv_test.
8512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8513 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8514
8515 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8516 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8517 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8518 (libc_feresetround_noex): New.
8519 (libc_feresetround_noexf): New.
8520 (libc_feresetround_noexl): New.
8521 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8522 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8523 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8524 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8525 SET_RESTORE_ROUND.
8526 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8527 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8528 (__cos): Likewise.
8529 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8530 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8531 SET_RESTORE_ROUND_NOEX.
8532 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8533 SET_RESTORE_ROUND_NOEXF.
8534 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8535 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8536 (libc_feholdsetroundf): New.
8537 (libc_feresetround, libc_feresetroundf): New.
8538
8539 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8540 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8541 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8542
8543 * sysdeps/generic/math_private.h: Include <fenv.h>.
8544 (default_libc_feholdexcept): New.
8545 (default_libc_feholdexcept_setround): New.
8546 (default_libc_fesetenv, default_libc_feupdateenv): New.
8547 (libc_feholdexcept): Only define if undefined.
8548 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8549 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8550 (libc_feholdexcept_setroundl): Likewise.
8551 (libc_feholdexcept_setround_53bit): Likewise.
8552 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8553 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8554 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8555 (libc_feupdateenv_53bit): Likewise.
8556 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8557 (libc_feholdexcept): Convert from macro to inline function.
8558 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8559 (libc_fesetenv, libc_feupdateenv): Likewise.
8560
8561 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8562 not previously defined.
8563 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8564 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8565 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8566 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8567 * sysdeps/ieee754/flt-32/math_private.h: New file.
8568 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8569 math_private.h below SET_FLOAT_WORD.
8570 (__isnan, __isinf_ns, __finite): Remove.
8571 (__isnanf, __isinf_nsf, __finitef): Remove.
8572
8573 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8574
8575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8576
8577 2012-03-17 David S. Miller <davem@davemloft.net>
8578
8579 [BZ #6471]
8580 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8581 for 2.16.
8582
8583 2012-03-16 David S. Miller <davem@davemloft.net>
8584
8585 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8586 warnings.
8587
8588 [BZ #6471]
8589 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8590 properly.
8591 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8592 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8593 sysdep_routines when subdir is sysvipc.
8594 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8595 __getshmlba helper.
8596
8597 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8598
8599 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8600
8601 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8602 [__LP64__].
8603
8604 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8605
8606 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8607 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8608 (__lround): Renamed to ...
8609 (__llround): This. Replace long int with long long int.
8610 Define lround functions as aliases of llround functions.
8611 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8612
8613 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8614
8615 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8616 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8617 adresses to uintptr_t. Replace "long int" and "unsigned long
8618 int" with "greg_t" on va_arg.
8619
8620 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8621
8622 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8623 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8624
8625 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8626 Move e_machine check before EI_CLASS check. Handle x32
8627 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8628 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8629 SKIP_EM_IA_64 and include
8630 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8631
8632 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8633 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8634 (add_system_dir): New macro.
8635
8636 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8637 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8638
8639 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8640
8641 [BZ #2551]
8642 [BZ #2552]
8643 [BZ #2553]
8644 [BZ #2554]
8645 [BZ #2562]
8646 [BZ #2563]
8647 [BZ #2565]
8648 [BZ #2566]
8649 [BZ #2576]
8650 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8651 (y0): Likewise.
8652 * math/w_j0f.c (j0f): Likewise.
8653 (y0f): Likewise.
8654 * math/w_j0l.c (__j0l): Likewise.
8655 (__y0l): Likewise.
8656 * math/w_j1.c (j1): Likewise.
8657 (y1): Likewise.
8658 * math/w_j1f.c (j1f): Likewise.
8659 (y1f): Likewise.
8660 * math/w_j1l.c (__j1l): Likewise.
8661 (__y1l): Likewise.
8662 * math/w_jn.c (jn): Likewise.
8663 (yn): Likewise.
8664 * math/w_jnf.c (jnf): Likewise.
8665 (ynf): Likewise.
8666 * math/w_jnl.c (__jnl): Likewise.
8667 (__ynl): Likewise.
8668 * math/libm-test.inc (j0_test): Add more tests.
8669 (j1_test): Likewise.
8670 (jn_test): Likewise. Add trailing semicolon to existing test.
8671 (y0_test): Likewise.
8672 (y1_test): Likewise.
8673 * sysdeps/i386/fpu/libm-test-ulps: Update.
8674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8675
8676 [BZ #13851]
8677 [BZ #13854]
8678 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8679 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8680 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8681 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8682 (__tanl): Set errno for infinite argument.
8683 * sysdeps/i386/fpu/mptan.c: Remove.
8684 * sysdeps/i386/fpu/s_tan.S: Likewise.
8685 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8686 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8687 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8688 * math/libm-test.inc (tan_test): Add more tests and enable more
8689 tests for double and long double.
8690 * sysdeps/i386/fpu/libm-test-ulps: Update.
8691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8692
8693 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8694
8695 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8696 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8697
8698 2012-03-16 Roland McGrath <roland@hack.frob.com>
8699
8700 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8701 * configure.in: Use it for both main tree and add-ons.
8702 * configure: Regenerated.
8703
8704 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8705
8706 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8707
8708 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8709
8710 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8711 in comment.
8712
8713 [BZ #13851]
8714 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8715 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8719 infinite argument.
8720 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8721 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8722 != 0 for prec == 2.
8723 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8724 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8725 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8726 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8727 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8728 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8729 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8730 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8731 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8732 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8733 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8734 * math/libm-test.inc (cos_test): Add more tests and enable more
8735 tests for long double.
8736 (sin_test): Likewise.
8737 (sincos_test): Likewise.
8738 * sysdeps/i386/fpu/libm-test-ulps: Update.
8739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8740
8741 2012-03-16 David S. Miller <davem@davemloft.net>
8742
8743 * sysdeps/sparc/fpu/math_private.h: New file.
8744
8745 2012-03-15 David S. Miller <davem@davemloft.net>
8746
8747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8748 file.
8749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8751 file.
8752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8757 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8758 sysdep routines.
8759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8760
8761 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8762 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8763
8764 * sysdeps/sparc/sparc-ifunc.h: New file.
8765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8766 sparc-ifunc.h
8767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8769 Likewise.
8770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8771 Likewise.
8772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8776 Likewise.
8777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8782 Likewise.
8783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8784 Likewise.
8785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8791 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8792 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8803 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8804 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8805 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8806 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8807 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8809
8810 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8811
8812 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8813 scaling.
8814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8815
8816 2012-03-15 Andreas Jaeger <aj@suse.de>
8817
8818 [BZ #13852]
8819 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8820 ieee754/flt-32 implementation for sin, cos and sincos.
8821 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8822 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8823 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8824 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8825 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8826 ieee754/flt-32 implementation for tan.
8827
8828 * math/libm-test.inc (cos_test): Enable some large input tests for
8829 float as well
8830 (sin_test): Likewise.
8831 (sincos_test): Likewise.
8832 (tan_test): Add tests for large input.
8833
8834 * sysdeps/i386/fpu/libm-test-ulps: Update.
8835
8836 2012-03-15 Andreas Jaeger <aj@suse.de>
8837
8838 [BZ #13658]
8839 * math/libm-test.inc (cos_test): Add more test cases.
8840 (sin_test): Likewise.
8841 (sincos_test): Likewise.
8842
8843 2012-03-15 Andreas Jaeger <aj@suse.de>
8844
8845 [BZ #13837]
8846 * math/libm-test.inc (cos_test): Add a test case for large input
8847 value.
8848 (sin_test): Likewise.
8849 (sincos_test): Likewise.
8850
8851 2012-03-15 Andreas Jaeger <aj@suse.de>,
8852 Joseph Myers <joseph@codesourcery.com>
8853
8854 [BZ #13658]
8855 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8856 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8857 * sysdeps/i386/fpu/branred.c: Likewise.
8858 * sysdeps/i386/fpu/dosincos.c: Likewise.
8859 * sysdeps/i386/fpu/mpa.c: Likewise.
8860 * sysdeps/i386/fpu/s_cos.S: Likewise.
8861 * sysdeps/i386/fpu/s_sin.S: Likewise.
8862 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8863 * sysdeps/i386/fpu/sincos32.c: Likewise.
8864
8865 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8866 Define.
8867 (libc_feupdateenv_53bit): Define.
8868 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8869 Define.
8870 (libc_feupdateenv_53bit): Define.
8871
8872 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8873 53 bit (without extend i386 double precision).
8874
8875 * math/libm-test.inc (sincos_test): Add tests for large input.
8876 (sin): Likewise.
8877 (cos): Likewise.
8878
8879 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8880
8881 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8882
8883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8884
8885 2012-03-15 David S. Miller <davem@davemloft.net>
8886
8887 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8888 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8889 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8890 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8903 file.
8904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8906 file.
8907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8909 file.
8910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8912 file.
8913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8914 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8915 fmin/fmax sysdep routines.
8916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8917
8918 2012-03-14 David S. Miller <davem@davemloft.net>
8919
8920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8925 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8926 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8927 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8940 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8941 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8942 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8943 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8944 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8945 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8946 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8947 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8949 routines.
8950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8951 file.
8952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8954 file.
8955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8957 file.
8958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8960 file.
8961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8963 file.
8964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8966 file.
8967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8968 file.
8969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8970 file.
8971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8972 file.
8973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8974 New file.
8975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8976 file.
8977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8978 file.
8979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8981 file.
8982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8984 file.
8985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8987 file.
8988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8990 VIS3 routines.
8991
8992 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8993 New file.
8994
8995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8996
8997 * sysdeps/sparc/configure.in: New file.
8998 * sysdeps/sparc/configure: Generate.
8999 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9000 * configure: Regenerate.
9001 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9002 * config.make.in (have-as-vis3): New.
9003 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9004 available use -Av9d instead of -Av9a.
9005 * sysdeps/sparc/sparc64/Makefile: Likewise.
9006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9008 New file.
9009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9010 file.
9011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9012 New file.
9013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9014 file.
9015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9016 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9017 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9018 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9020
9021 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9022 fzeros/fnegs to load 0x80000000 into a float register instead of
9023 using the stack.
9024 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9025
9026 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9027
9028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9029 bits/syscall.h.
9030 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9031 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9032 ($(inst_includedir)/bits/syscall.h): Remove rule.
9033 ($(objpfx)bits/syscall.d): Include instead of
9034 $(objpfx)syscall-list.d.
9035 (generated): Change syscall-list.h and syscall-list.d to
9036 bits/syscall.h and bits/syscall.d.
9037
9038 2012-03-14 Roland McGrath <roland@hack.frob.com>
9039
9040 [BZ #13846]
9041 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9042
9043 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9044
9045 [BZ #13841]
9046 * math/s_csqrt.c: Include <float.h>.
9047 (__csqrt): Scale large or subnormal inputs.
9048 * math/s_csqrtf.c: Likewise.
9049 * math/s_csqrtl.c: Likewise.
9050 * math/libm-test.inc (csqrt_test): Add more tests.
9051 * sysdeps/i386/fpu/libm-test-ulps: Update.
9052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9053
9054 [BZ #13840]
9055 * math/libm-test.inc (hypot_test): Add more tests.
9056
9057 2012-03-13 David S. Miller <davem@davemloft.net>
9058
9059 [BZ #13840]
9060 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9061 double-precision for the calculation instead of scaling.
9062
9063 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9064
9065 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9066 manipulate bits before adding and subtracting TWO52[sx].
9067 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9068 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9069 Likewise.
9070 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9071
9072 2012-03-13 David S. Miller <davem@davemloft.net>
9073
9074 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9075 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9077 rtld-global-offsets.h
9078 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9079
9080 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9081 large parameters.
9082
9083 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9084
9085 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9086 'err' in the ifdef scope in which it is actually used.
9087
9088 * nss/nss_db/db-init.c: Include string.h
9089
9090 2012-03-12 David S. Miller <davem@davemloft.net>
9091
9092 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9093 masking out of the most significant byte of random value used.
9094 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9095 Fix coding style in previous change.
9096
9097 * sysdeps/unix/sysv/linux/kernel-features.h
9098 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9099 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9100 expression.
9101 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9102 later.
9103
9104 2012-03-11 David S. Miller <davem@davemloft.net>
9105
9106 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9107 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9108 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9109 for 'resultvar' otherwise things get truncated on 64-bit.
9110
9111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9112 Fix masking out of the most significant byte of random value used.
9113
9114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9115
9116 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9117
9118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9119
9120 2012-03-09 David S. Miller <davem@davemloft.net>
9121
9122 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9123 variables with appropriate CPP guards.
9124 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9125 frame pointer, not the stack pointer. Correct layout comments. Fix test
9126 on resulting framesize and the management of the outregs buffer for pltexit.
9127 Preserve floating point return values across _dl_call_pltexit call.
9128 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9129 framesize and the management of the outregs buffer for pltexit.
9130 Preserve floating point return values across _dl_call_pltexit
9131 call.
9132 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9133 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9134 (print_exit): Fix format string for return register value.
9135
9136 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9137
9138 * sunrpc/Makefile (others): Add rpcgen.
9139 ($(objpfx)rpcgen): Remove special build rule and dependency on
9140 libc.
9141 * sunrpc/rpcgen.c: New file.
9142
9143 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9144
9145 [BZ #13673]
9146 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9147 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9148 * sysdeps/i386/crti.S: Likewise.
9149 * sysdeps/i386/crtn.S: Likewise.
9150 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9151 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9152 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9153 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9154 * sysdeps/sh/crti.S: Likewise.
9155 * sysdeps/sh/crtn.S: Likewise.
9156 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9157
9158 [BZ #13673]
9159 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9160 with URL.
9161 * locale/programs/locfile-kw.gperf: Likewise.
9162 * locale/programs/charmap-kw.h: Regenerated.
9163 * locale/programs/locfile-kw.h: Likewise.
9164
9165 [BZ #13673]
9166 * intl/plural.y: Replace FSF snail mail address with URL.
9167 * intl/plural.c: Regenerated.
9168
9169 2012-03-09 Richard Henderson <rth@twiddle.net>
9170
9171 * include/math_private.h: Remove file.
9172 * math/math_private.h: Move file ...
9173 * sysdeps/generic/math_private.h: ... here.
9174
9175 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9176 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9177 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9178
9179 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9180 and <math_private.h>.
9181 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9182 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9183 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9184 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9185 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9186 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9188 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9189 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9190 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9192 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9193 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9194 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9195 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9196 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9197 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9202 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9204 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9205 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9206 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9207 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9208 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9210 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9211 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9212 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9213 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9214 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9215 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9216 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9217 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9218 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9219 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9220 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9221 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9222 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9223 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9224 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9225 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9226 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9227 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9228 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9229 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9230 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9231 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9232 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9233 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9234 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9235 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9236 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9237 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9238 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9239 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9240 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9242 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9243 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9244 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9245 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9246 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9247 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9248 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9249 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9250 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9251 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9252 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9253 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9254 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9255 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9263 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9264 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9265 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9266 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9268 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9269 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9270 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9271 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9272 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9273 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9274 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9275 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9276 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9277 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9278 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9279 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9280 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9281 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9282 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9283 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9284 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9285 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9286 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9287 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9288 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9289 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9290 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9291 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9292 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9293 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9294 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9295 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9296 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9297 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9298 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9299 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9300 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9301 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9302 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9303 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9304 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9305 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9306 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9307 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9308 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9309 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9310 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9311 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9312 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9313 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9314 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9315 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9316 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9317 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9318 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9319 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9320 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9321 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9322 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9323 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9324 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9325 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9326 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9327 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9328 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9329 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9330 * sysdeps/ieee754/k_standard.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9333 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9358 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9362 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9363 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9364 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9365 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9370 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9371 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9372 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9373 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9374 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9375 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9376 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9377 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9378 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9379 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9381 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9382 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9383 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9385 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9386 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9387 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9388 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9389 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9390 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9391 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9392 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9393 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9394 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9395 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9396 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9397 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9398 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9399 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9400 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9401 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9403 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9404 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9405 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9406 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9408 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9411 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9412 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9413 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9414 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9415 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9416 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9417 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9418 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9419 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9420 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9421 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9422 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9423 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9424 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9425 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9426 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9427 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9428 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9429 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9430 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9431 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9432 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9433 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9434 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9435 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9437 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9438 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9439 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9441 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9442 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9443 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9444 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9446 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9447 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9450 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9451 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9452 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9453 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9454 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9457 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9458 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9462 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9463 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9464 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9468 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9469 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9470 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9471 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9472 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9473 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9474 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9475 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9476 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9477 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9478 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9479 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9480 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9481 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9482 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9483 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9484 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9485 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9486 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9487 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9488 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9489 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9490 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9491 * sysdeps/ieee754/s_lib_version.c: Likewise.
9492 * sysdeps/ieee754/s_matherr.c: Likewise.
9493 * sysdeps/ieee754/s_signgam.c: Likewise.
9494 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9495 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9496 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9497 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9498 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9499 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9500 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9501 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9502 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9503 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9504 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9505 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9506 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9507 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9508 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9509 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9510 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9511 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9512 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9513 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9514 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9515
9516 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9517
9518 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9519 * sunrpc/rpc_main.c: Likewise.
9520 * sunrpc/rpc_svcout.c: Likewise.
9521
9522 2012-03-09 David S. Miller <davem@davemloft.net>
9523
9524 * include/math_private.h: New file.
9525
9526 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9527
9528 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9529 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9530 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9531 from <bits/socket_type.h>.
9532 (enum __socket_type): Don't define here.
9533 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9535 bits/socket_type.h.
9536
9537 [BZ #13566]
9538 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9539 checking __USE_GNU.
9540
9541 * Makerules ($(inst_includedir)/%.h): New rule.
9542 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9543 (install-others): Remove variable setting.
9544 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9545
9546 2012-03-08 Richard Henderson <rth@twiddle.net>
9547
9548 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9549 from macro to inline function; merge with the
9550 !__LIBC_INTERNAL_MATH_INLINES version.
9551 (__ieee754_sqrtf): Likewise.
9552
9553 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9554 to inline function.
9555 (__rintf, __floor, __floorf): Likewise.
9556
9557 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9558 macro to inline function.
9559 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9560
9561 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9562 not <math/math_private.h>.
9563
9564 2012-03-08 David S. Miller <davem@davemloft.net>
9565
9566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9567 copyright year.
9568 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9569
9570 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9571
9572 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9573 normalization.
9574 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9575 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9576
9577 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9578
9579 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9580 be defined individually, they must be defined as a block. Define
9581 S for printing a string instead of hidint the different by using a
9582 macro for adding the 'l'.
9583 * stdio-common/tst-fphex-wide.c: Adjust.
9584
9585 2012-03-07 Marek Polacek <polacek@redhat.com>
9586
9587 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9588
9589 2012-03-08 Marek Polacek <polacek@redhat.com>
9590
9591 [BZ #13806]
9592 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9593 * stdio-common/tst-fphex.c: Define a few macros to make the
9594 test reusable. Use them.
9595 * stdio-common/tst-fphex-wide.c: New file.
9596
9597 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9598
9599 [BZ #6911]
9600 * manual/macros.texi (gnusystems): New macro.
9601 (nongnusystems): Likewise.
9602 (gnulinuxhurdsystems): Likewise.
9603 (gnuhurdsystems): Likewise..
9604 (gnulinuxsystems): Likewise.
9605 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9606 variants of the GNU system, not "GNU system".
9607 * manual/conf.texi: Likewise.
9608 * manual/errno.texi: Likewise. Update example of errno macro
9609 expansion.
9610 * manual/filesys.texi: Likewise.
9611 (getumask): Document as specific to GNU/Hurd.
9612 * manual/install.texi: Likewise. Reword some references to
9613 GNU/Linux.
9614 * manual/intro.texi: Likewise.
9615 * manual/io.texi: Likewise.
9616 (File Name Portability): Detail which constraints are inapplicable
9617 to all GNU systems and which are only inapplicable to GNU/Hurd.
9618 * manual/job.texi: Likewise.
9619 * manual/llio.texi: Likewise.
9620 (O_NOCTTY): Document as present on GNU/Linux.
9621 * manual/maint.texi: Likewise.
9622 * manual/memory.texi: Likewise.
9623 * manual/pattern.texi: Likewise.
9624 * manual/pipe.texi: Likewise.
9625 * manual/process.texi: Likewise.
9626 * manual/resource.texi: Likewise.
9627 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9628 child on GNU/Hurd.
9629 * manual/setjmp.texi: Likewise.
9630 * manual/signal.texi: Likewise.
9631 * manual/startup.texi: Likewise.
9632 * manual/stdio.texi: Likewise.
9633 * manual/terminal.texi: Likewise.
9634 (ONLCR): Document as POSIX.
9635 (OXTABS): Document availability on GNU/Linux as XTABS.
9636 (ONOEOT): Document availability separately from other bits.
9637 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9638 * manual/time.texi: Likewise.
9639 * manual/users.texi: Likewise.
9640 * INSTALL: Regenerated.
9641 * sysdeps/gnu/errlist.c: Regenerated.
9642
9643 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9644 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9645 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9646 puts.
9647 * configure: Regenerated.
9648
9649 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9650
9651 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9652 default includes instead of AC_HEADER_CHECK.
9653 * sysdeps/i386/configure: Regenerated.
9654
9655 [BZ #10716]
9656 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9657 * math/s_cacoshf.c (__cacoshf): Likewise.
9658 * math/s_cacoshl.c (__cacoshl): Likewise.
9659 * math/s_casinh.c (__casinh): Set signs of result from argument.
9660 * math/s_casinhf.c (__casinhf): Likewise.
9661 * math/s_casinhl.c (__casinhl): Likewise.
9662 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9663 (casinh_test): Add more tests.
9664 * sysdeps/i386/fpu/libm-test-ulps: Update.
9665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9666
9667 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9668
9669 * po/zh_TW.po: Update from translation team.
9670
9671 * login/Makefile (distribute): Remove variable.
9672 * catgets/Makefile: Likewise.
9673 * mach/Makefile: Likewise.
9674 * malloc/Makefile: Likewise.
9675 * misc/Makefile: Likewise.
9676 * iconv/Makefile: Likewise.
9677 * nscd/Makefile: Likewise.
9678 * hurd/Makefile: Likewise.
9679 * manual/Makefile: Likewise.
9680 * locale/Makefile: Likewise.
9681 * intl/Makefile: Likewise.
9682 * conform/Makefile: Likewise.
9683 * nss/Makefile: Likewise.
9684 * time/Makefile: Likewise.
9685 * soft-fp/Makefile: Likewise.
9686 * dirent/Makefile: Likewise.
9687 * gmon/Makefile: Likewise.
9688 * po/Makefile: Likewise.
9689 * rt/Makefile: Likewise.
9690 * socket/Makefile: Likewise.
9691 * math/Makefile: Likewise.
9692 * signal/Makefile: Likewise.
9693 * debug/Makefile: Likewise.
9694 * elf/Makefile: Likewise.
9695 * timezone/Makefile: Likewise.
9696 * stdlib/Makefile: Likewise.
9697 * iconvdata/Makefile: Likewise.
9698 * sunrpc/Makefile: Likewise.
9699 * io/Makefile: Likewise.
9700 * argp/Makefile: Likewise.
9701 * inet/Makefile: Likewise.
9702 * hesiod/Makefile: Likewise.
9703 * grp/Makefile: Likewise.
9704 * csu/Makefile: Likewise.
9705 * wctype/Makefile: Likewise.
9706 * crypt/Makefile: Likewise.
9707 * libio/Makefile: Likewise.
9708 * string/Makefile: Likewise.
9709 * nis/Makefile: Likewise.
9710 * resolv/Makefile: Likewise.
9711 * stdio-common/Makefile: Likewise.
9712 * wcsmbs/Makefile: Likewise.
9713 * dlfcn/Makefile: Likewise.
9714 * posix/Makefile: Likewise.
9715
9716 [BZ #6959]
9717 * timezone/Makefile: Don't install timezone files, just the programs
9718 and scripts.
9719
9720 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9721
9722 * nss/databases.def: Add missing gshadow entry.
9723
9724 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9725
9726 2012-03-06 Marek Polacek <polacek@redhat.com>
9727
9728 [BZ #13726]
9729 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9730 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9731 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9732 * stdio-common/tst-long-dbl-fphex.c: New file.
9733
9734 2012-03-06 David S. Miller <davem@davemloft.net>
9735
9736 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9737 (set_obp_int): New function.
9738 (get_obp_int): New function.
9739 (__get_clockfreq_via_dev_openprom): Likewise.
9740 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9741 Avoid unused variable warnings on 'val' and use builtin_expect.
9742 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9743 __builtin_expect.
9744 (INLINE_CLONE_SYSCALL): Likewise.
9745
9746 2012-03-05 David S. Miller <davem@davemloft.net>
9747
9748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9749
9750 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9751
9752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9753
9754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9755 only for |x| >= 40.
9756 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9757
9758 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9759
9760 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9761 Replace gettimeofday with __vdso_gettimeofday.
9762
9763 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9764 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9765 __vdso_clock_gettime and __vdso_getcpu.
9766
9767 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9768 time with __vdso_time.
9769
9770 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9771
9772 * manual/lang.texi (size_t): Note types to which size_t may be
9773 equivalent with the GNU C Library, but do not describe when
9774 differences between them are significant.
9775
9776 2012-03-05 Andreas Jaeger <aj@suse.de>
9777
9778 * sysdeps/i386/fpu/libm-test-ulps: Update.
9779
9780 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9781
9782 [BZ #3976]
9783 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9784 (__ieee754_pow): Save and restore rounding mode and use
9785 round-to-nearest for main computations.
9786 * math/libm-test.inc (pow_test_tonearest): New function.
9787 (pow_test_towardzero): Likewise.
9788 (pow_test_downward): Likewise.
9789 (pow_test_upward): Likewise.
9790 (main): Call the new functions.
9791 * sysdeps/i386/fpu/libm-test-ulps: Update.
9792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9793
9794 [BZ #3976]
9795 * math/libm-test.inc (cosh_test_tonearest): New function.
9796 (cosh_test_towardzero): Likewise.
9797 (cosh_test_downward): Likewise.
9798 (cosh_test_upward): Likewise.
9799 (sinh_test_tonearest): Likewise.
9800 (sinh_test_towardzero): Likewise.
9801 (sinh_test_downward): Likewise.
9802 (sinh_test_upward): Likewise.
9803 (main): Call the new functions.
9804 * sysdeps/i386/fpu/libm-test-ulps: Update.
9805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9806
9807 2012-03-05 Tom de Vries <tom@codesourcery.com>
9808
9809 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9810 default stack guard is set in last bytes.
9811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9812
9813 2012-03-05 Kees Cook <keescook@chromium.org>
9814
9815 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9816
9817 [BZ #13656]
9818 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9819 possibly allocate from heap instead of stack.
9820 * stdio-common/bug-vfprintf-nargs.c: New file.
9821 * stdio-common/Makefile (tests): Add nargs overflow test.
9822
9823 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9824
9825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9826
9827 2012-03-03 Marek Polacek <polacek@redhat.com>
9828
9829 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9830 * math/math_private.h: Likewise.
9831 * stdlib/tst-strtod.c: Likewise.
9832 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9833 * sysdeps/x86_64/bits/atomic.h: Likewise.
9834
9835 2012-03-02 David S. Miller <davem@davemloft.net>
9836
9837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9841 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9842 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9843 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9844 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9845
9846 2012-03-02 Roland McGrath <roland@hack.frob.com>
9847
9848 [BZ #13792]
9849 * manual/examples/README: New file, says the example source files
9850 can be used under GPL>=2.
9851 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9852 line containing just "*/".
9853 * manual/examples/add.c: Add copyright header (GPL>=2).
9854 * manual/examples/argp-ex1.c: Likewise.
9855 * manual/examples/argp-ex2.c: Likewise.
9856 * manual/examples/argp-ex3.c: Likewise.
9857 * manual/examples/argp-ex4.c: Likewise.
9858 * manual/examples/atexit.c: Likewise.
9859 * manual/examples/db.c: Likewise.
9860 * manual/examples/dir.c: Likewise.
9861 * manual/examples/dir2.c: Likewise.
9862 * manual/examples/execinfo.c: Likewise.
9863 * manual/examples/filecli.c: Likewise.
9864 * manual/examples/filesrv.c: Likewise.
9865 * manual/examples/fmtmsgexpl.c: Likewise.
9866 * manual/examples/genpass.c: Likewise.
9867 * manual/examples/inetcli.c: Likewise.
9868 * manual/examples/inetsrv.c: Likewise.
9869 * manual/examples/isockad.c: Likewise.
9870 * manual/examples/longopt.c: Likewise.
9871 * manual/examples/memopen.c: Likewise.
9872 * manual/examples/memstrm.c: Likewise.
9873 * manual/examples/mkfsock.c: Likewise.
9874 * manual/examples/mkisock.c: Likewise.
9875 * manual/examples/mygetpass.c: Likewise.
9876 * manual/examples/pipe.c: Likewise.
9877 * manual/examples/popen.c: Likewise.
9878 * manual/examples/rprintf.c: Likewise.
9879 * manual/examples/search.c: Likewise.
9880 * manual/examples/select.c: Likewise.
9881 * manual/examples/setjmp.c: Likewise.
9882 * manual/examples/sigh1.c: Likewise.
9883 * manual/examples/sigusr.c: Likewise.
9884 * manual/examples/stpcpy.c: Likewise.
9885 * manual/examples/strdupa.c: Likewise.
9886 * manual/examples/strftim.c: Likewise.
9887 * manual/examples/strncat.c: Likewise.
9888 * manual/examples/subopt.c: Likewise.
9889 * manual/examples/swapcontext.c: Likewise.
9890 * manual/examples/termios.c: Likewise.
9891 * manual/examples/testopt.c: Likewise.
9892 * manual/examples/testpass.c: Likewise.
9893 * manual/examples/timeval_subtract.c: Likewise.
9894
9895 [BZ #13792]
9896 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9897 function to ...
9898 * manual/timeval_subtract.c.texi: ... here, new file.
9899
9900 2012-03-02 David S. Miller <davem@davemloft.net>
9901
9902 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9903
9904 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9905
9906 [BZ #3976]
9907 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9908 (__sin): Save and restore rounding mode and use round-to-nearest
9909 for all computations.
9910 (__cos): Save and restore rounding mode and use round-to-nearest
9911 for all computations.
9912 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9913 <fenv.h>.
9914 (tan): Save and restore rounding mode and use round-to-nearest for
9915 all computations.
9916 * math/libm-test.inc (cos_test_tonearest): New function.
9917 (cos_test_towardzero): Likewise.
9918 (cos_test_downward): Likewise.
9919 (cos_test_upward): Likewise.
9920 (sin_test_tonearest): Likewise.
9921 (sin_test_towardzero): Likewise.
9922 (sin_test_downward): Likewise.
9923 (sin_test_upward): Likewise.
9924 (tan_test_tonearest): Likewise.
9925 (tan_test_towardzero): Likewise.
9926 (tan_test_downward): Likewise.
9927 (tan_test_upward): Likewise.
9928 (main): Call the new functions.
9929 * sysdeps/i386/fpu/libm-test-ulps: Update.
9930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9931
9932 [BZ #10135]
9933 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9934 small n, then large n, before computing and testing k+n.
9935 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9936 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9937 Likewise.
9938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9939 Likewise.
9940 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9941 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9942 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9943 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9944 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9945 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9946 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9947 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9948 * math/libm-test.inc (scalbn_test): Add more tests.
9949 (scalbln_test): Likewise.
9950
9951 * manual/filesys.texi (mode_t): Describe constraints on size and
9952 signedness, not exact equivalence to a particular type.
9953 (ino_t): Likewise.
9954 (ino64_t): Likewise.
9955 (dev_t): Likewise.
9956 (nlink_t): Likewise.
9957 (blkcnt_t): Likewise.
9958 (blkcnt64_t): Likewise.
9959 * manual/llio.texi (off_t): Likewise.
9960
9961 [BZ #3976]
9962 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9963 (__ieee754_exp): Save and restore rounding mode and use
9964 round-to-nearest for all computations.
9965 * math/libm-test.inc (exp_test_tonearest): New function.
9966 (exp_test_towardzero): Likewise.
9967 (exp_test_downward): Likewise.
9968 (exp_test_upward): Likewise.
9969 (main): Call the new functions.
9970 * sysdeps/i386/fpu/libm-test-ulps: Update.
9971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9972
9973 2012-03-01 Chris Demetriou <cgd@google.com>
9974
9975 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9976 have predictable order.
9977
9978 2012-03-01 David S. Miller <davem@davemloft.net>
9979
9980 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9981
9982 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9983 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9984 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9985 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9986
9987 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9988 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9989 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9991 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9992 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9993 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9994 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9995 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9996
9997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9998
9999 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10000 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10001 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10002
10003 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10004 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10005 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10006 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10007 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10008 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10009 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10010 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10011 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10012 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10013 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10014 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10016 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10017 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10019 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10020 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10021 * sysdeps/sparc/elf/configure: Regenerated.
10022
10023 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10024
10025 * configure.in (AS, LD): Require binutils 2.20 or later.
10026 * configure: Regenerated.
10027 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10028 as required minimum version.
10029 * INSTALL: Regenerated.
10030
10031 [BZ #2541]
10032 [BZ #4108]
10033 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10034 before squaring exponent.
10035 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10036 bottom long double and 27 bits of top long double before squaring
10037 exponent.
10038 * math/libm-test.inc (erfc_test): Add more tests.
10039 * sysdeps/i386/fpu/libm-test-ulps: Update.
10040 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10042
10043 2012-03-01 Kai Tietz <ktietz@redhat.com>
10044
10045 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10046 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10047 containing bit-fields.
10048 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10049 * soft-fp/single.h (_FP_UNION_S): Likewise.
10050 * soft-fp/double.h (_FP_UNION_D): Likewise.
10051
10052 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10053
10054 [BZ #13786]
10055 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10056 not include ../strcmp.S.
10057 [USE_AS_STRNCASECMP_L]: Likewise.
10058 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10059 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10060 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10061 (__strncasecmp_l_ia32): Define as alias to
10062 __strncasecmp_l_nonascii.
10063
10064 [BZ #5794]
10065 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10066 * sysdeps/i386/fpu/libm-test-ulps: Update.
10067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10068
10069 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10071
10072 2012-02-29 Jeff Law <law@redhat.com>
10073
10074 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10075 out of bounds read.
10076
10077 2012-02-29 Marek Polacek <polacek@redhat.com>
10078
10079 [BZ #13706]
10080 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10081 * elf/Makefile: Add rules to run tst-unused-dep.out.
10082
10083 2012-02-28 David S. Miller <davem@davemloft.net>
10084
10085 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10086 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10087 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10088 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10089 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10090 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10091
10092 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10093
10094 * math/libm-test.inc (llround_test): Move one test from
10095 lround_test. Use TEST_f_L in moved test.
10096 (lround_test): Move misplaced test to llround_test. Add testcase
10097 from bug 2561.
10098
10099 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10100
10101 * sysdeps/x86_64/fpu/e_expf.S: New file.
10102 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10103
10104 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10105
10106 [BZ #13637]
10107 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10108 of remain_len that may cause incomplete multi-byte character and
10109 false match.
10110 * posix/bug-regex33.c: New file.
10111 * posix/Makefile (tests): Add bug-regex33.
10112
10113 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10114
10115 * manual/macros.texi: New file.
10116 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10117 * manual/libc.texinfo: Include macros.texi.
10118 * manual/creatute.texi: Likewise.
10119 * manual/install.texi: Likewise.
10120 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10121 @glibcadj{} in references to the GNU C Library.
10122 * manual/charset.texi: Likewise.
10123 * manual/conf.texi: Likewise.
10124 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10125 when not using those macros.
10126 * manual/creature.texi: Likewise.
10127 * manual/crypt.texi: Likewise.
10128 * manual/errno.texi: Likewise.
10129 * manual/filesys.texi: Likewise.
10130 * manual/header.texi: Likewise.
10131 * manual/install.texi: Likewise.
10132 * manual/intro.texi: Likewise.
10133 * manual/io.texi: Likewise.
10134 * manual/job.texi: Likewise.
10135 * manual/lang.texi: Likewise.
10136 * manual/libc.texiinfo: Likewise.
10137 * manual/llio.texi: Likewise.
10138 * manual/locale.texi: Likewise.
10139 * manual/maint.texi: Likewise.
10140 * manual/math.texi: Likewise.
10141 * manual/memory.texi: Likewise.
10142 * manual/message.texi: Likewise.
10143 * manual/nss.texi: Likewise.
10144 * manual/pattern.texi: Likewise.
10145 * manual/process.texi: Likewise.
10146 * manual/resource.texi: Likewise.
10147 * manual/search.texi: Likewise.
10148 * manual/setjmp.texi: Likewise.
10149 * manual/signal.texi: Likewise.
10150 * manual/socket.texi: Likewise.
10151 * manual/startup.texi: Likewise.
10152 * manual/stdio.texi: Likewise.
10153 * manual/string.texi: Likewise.
10154 * manual/sysinfo.texi: Likewise.
10155 * manual/syslog.texi: Likewise.
10156 * manual/terminal.texi: Likewise.
10157 * manual/time.texi: Likewise.
10158 * manual/users.texi: Likewise.
10159 * INSTALL: Regenerated.
10160 * NOTES: Regenerated.
10161 * sysdeps/gnu/errlist.c: Regenerated.
10162
10163 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10164
10165 * include/dirent.h: Include <dirstream.h> before
10166 <dirent/dirent.h>.
10167
10168 2012-02-28 David S. Miller <davem@davemloft.net>
10169
10170 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10171 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10172 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10173 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10174
10175 2012-02-27 David S. Miller <davem@davemloft.net>
10176
10177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10179 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10180 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10181
10182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10183 frame pointer instead of stack pointer relative arg slot.
10184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10185 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10186 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10187
10188 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10189
10190 [BZ #3992]
10191 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10192
10193 2012-02-27 David S. Miller <davem@davemloft.net>
10194
10195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10199 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10200 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10201 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10202 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10203
10204 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10205
10206 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10207 later. Allow versions 5-9.
10208 * configure: Regenerated.
10209 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10210 required minimum version and 4.6 as recommended version. Do not
10211 mention bugs in GCC 2.7 and 2.8.
10212 * INSTALL: Regenerated.
10213
10214 2012-02-27 David S. Miller <davem@davemloft.net>
10215
10216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10220 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10221 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10222 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10223 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10224
10225 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10226 manipulate bits before adding and subtracting TWO112[sx].
10227 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10228
10229 2012-02-27 Roland McGrath <roland@hack.frob.com>
10230
10231 [BZ #13775]
10232 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10233 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10234 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10235 being in POSIX, because they are in 1003.1-2008.
10236
10237 * rt/tst-aio.c: Include <fcntl.h>.
10238 * rt/tst-aio7.c: Likewise.
10239 * rt/tst-aio64.c: Likewise.
10240
10241 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10242
10243 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10244
10245 * manual/install.texi (--with-headers): Describe headers as
10246 interface headers, not private headers.
10247 (Specific advice for GNU/Linux systems): Describe use of headers
10248 from "make headers_install", not private headers from older
10249 kernels.
10250 * INSTALL: Regenerated.
10251 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10252 Change to 2.6.19.
10253 * sysdeps/unix/sysv/linux/configure: Regenerated.
10254
10255 * manual/llio.texi (fclean): Remove documentation.
10256
10257 * manual/Makefile (libc-texi-generated): New variable. Include
10258 version.texi.
10259 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10260 $(libc-texi-generated), not duplicated list of files.
10261 (version.texi, stamp-version): New rules.
10262 (realclean): Remove $(libc-texi-generated), not individual files
10263 from that list. Do not remove dir-add.texinfo.
10264 * manual/libc.texinfo: Comment out uses of edition numbers and
10265 references to printed manual. Remove last-updated dates.
10266 (EDITION): Comment out.
10267 (ISBN): Likewise.
10268 (VERSION, UPDATED): Remove.
10269 (version.texi): Include.
10270
10271 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10272
10273 * sysdeps/posix/spawni.c: Include <signal.h>.
10274 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10275 * sysdeps/pthread/aio_fsync.c: Likewise.
10276
10277 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10278
10279 * conform/Makefile (tests): Run only when not cross-compiling and
10280 when fast-check is not defined.
10281
10282 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10283 * conform/data/limits.h-data: Fixes for POSIX2008.
10284 * conform/run-conformtest.sh: Run all tests.
10285 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10286 headers.
10287 * include/bits/dlfcn.h: Likewise.
10288 * include/langinfo.h: Likewise.
10289 * include/monetary.h: Likewise.
10290 * include/sys/poll.h: Likewise.
10291
10292 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10293 for __USE_GNU.
10294 * posix/spawn.h: Define __need_sigset_t.
10295 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10296 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10297 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10298 to get sigevent_t only.
10299 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10300 only for __USE_GNU.
10301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10302 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10303 process_vm_writev only for __USE_GNU.
10304 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10305
10306 * conform/Makefile: For now ignore errors from run-conformtest.
10307 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10308 POSIX to avoid namespace pollution. Don't prepend headers.
10309 * conform/data/aio.h-data: Fixes for POSIX testing.
10310 * conform/data/fcntl.h-data: Likewise.
10311 * conform/data/glob.h-data: Likewise.
10312 * conform/data/grp.h-data: Likewise.
10313 * conform/data/pthread.h-data: Likewise.
10314 * conform/data/pwd.h-data: Likewise.
10315 * conform/data/signal.h-data: Likewise.
10316 * conform/data/spawn.h-data: Likewise.
10317 * conform/data/stdio.h-data: Likewise.
10318 * conform/data/stdlib.h-data: Likewise.
10319 * conform/data/stropts.h-data: Likewise.
10320 * conform/data/sys/mman.h-data: Likewise.
10321 * conform/data/sys/stat.h-data: Likewise.
10322 * conform/data/sys/types.h-data: Likewise.
10323 * conform/data/sys/wait.h-data: Likewise.
10324 * conform/data/time.h-data: Likewise.
10325 * conform/data/unistd.h-data: Likewise.
10326 * conform/data/utime.h-data: Likewise.
10327
10328 * io/sys/stat.h: fchmod was always in POSIX.
10329 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10330 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10331 * rt/aio.h: Define __need_timespec before including <time.h>.
10332 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10333 struct. Add forward declaration of pthread_attr_t and use it in
10334 sigevent.
10335 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10336 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10337 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10338 always remove CLK_TCK definition.
10339
10340 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10341
10342 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10343
10344 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10345
10346 * conform/run-conformtest.sh: New file.
10347 * conform/Makefile: Run run-conformtest for tests.
10348 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10349 support.
10350
10351 * conform/data/uchar.h-data: New file.
10352 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10353 * conform/data/arpa/inet.h-data: Likewise.
10354 * conform/data/assert.h-data: Likewise.
10355 * conform/data/complex.h-data: Likewise.
10356 * conform/data/cpio.h-data: Likewise.
10357 * conform/data/ctype.h-data: Likewise.
10358 * conform/data/dirent.h-data: Likewise.
10359 * conform/data/dlfcn.h-data: Likewise.
10360 * conform/data/errno.h-data: Likewise.
10361 * conform/data/fcntl.h-data: Likewise.
10362 * conform/data/float.h-data: Likewise.
10363 * conform/data/fmtmsg.h-data: Likewise.
10364 * conform/data/fnmatch.h-data: Likewise.
10365 * conform/data/ftw.h-data: Likewise.
10366 * conform/data/glob.h-data: Likewise.
10367 * conform/data/grp.h-data: Likewise.
10368 * conform/data/iconv.h-data: Likewise.
10369 * conform/data/inttypes.h-data: Likewise.
10370 * conform/data/langinfo.h-data: Likewise.
10371 * conform/data/libgen.h-data: Likewise.
10372 * conform/data/limits.h-data: Likewise.
10373 * conform/data/locale.h-data: Likewise.
10374 * conform/data/math.h-data: Likewise.
10375 * conform/data/monetary.h-data: Likewise.
10376 * conform/data/mqueue.h-data: Likewise.
10377 * conform/data/ndbm.h-data: Likewise.
10378 * conform/data/net/if.h-data: Likewise.
10379 * conform/data/netdb.h-data: Likewise.
10380 * conform/data/netinet/in.h-data: Likewise.
10381 * conform/data/nl_types.h-data: Likewise.
10382 * conform/data/poll.h-data: Likewise.
10383 * conform/data/pthread.h-data: Likewise.
10384 * conform/data/pwd.h-data: Likewise.
10385 * conform/data/regex.h-data: Likewise.
10386 * conform/data/sched.h-data: Likewise.
10387 * conform/data/search.h-data: Likewise.
10388 * conform/data/semaphore.h-data: Likewise.
10389 * conform/data/setjmp.h-data: Likewise.
10390 * conform/data/signal.h-data: Likewise.
10391 * conform/data/spawn.h-data: Likewise.
10392 * conform/data/stdarg.h-data: Likewise.
10393 * conform/data/stdio.h-data: Likewise.
10394 * conform/data/stdlib.h-data: Likewise.
10395 * conform/data/string.h-data: Likewise.
10396 * conform/data/strings.h-data: Likewise.
10397 * conform/data/stropts.h-data: Likewise.
10398 * conform/data/sys/ipc.h-data: Likewise.
10399 * conform/data/sys/mman.h-data: Likewise.
10400 * conform/data/sys/msg.h-data: Likewise.
10401 * conform/data/sys/resource.h-data: Likewise.
10402 * conform/data/sys/select.h-data: Likewise.
10403 * conform/data/sys/sem.h-data: Likewise.
10404 * conform/data/sys/shm.h-data: Likewise.
10405 * conform/data/sys/socket.h-data: Likewise.
10406 * conform/data/sys/stat.h-data: Likewise.
10407 * conform/data/sys/statvfs.h-data: Likewise.
10408 * conform/data/sys/time.h-data: Likewise.
10409 * conform/data/sys/timeb.h-data: Likewise.
10410 * conform/data/sys/times.h-data: Likewise.
10411 * conform/data/sys/types.h-data: Likewise.
10412 * conform/data/sys/uio.h-data: Likewise.
10413 * conform/data/sys/un.h-data: Likewise.
10414 * conform/data/sys/utsname.h-data: Likewise.
10415 * conform/data/sys/wait.h-data: Likewise.
10416 * conform/data/syslog.h-data: Likewise.
10417 * conform/data/tar.h-data: Likewise.
10418 * conform/data/termios.h-data: Likewise.
10419 * conform/data/utime.h-data: Likewise.
10420 * conform/data/utmpx.h-data: Likewise.
10421 * conform/data/varargs.h-data: Likewise.
10422 * conform/data/wchar.h-data: Likewise.
10423 * conform/data/wctype.h-data: Likewise.
10424 * conform/data/wordexp.h-data: Likewise.
10425
10426 * include/stropts.h: New file.
10427 * include/uchar.h: New file.
10428 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10429 * include/assert.h: Likewise.
10430 * include/ctype.h: Likewise.
10431 * include/dirent.h: Likewise.
10432 * include/dlfcn.h: Likewise.
10433 * include/fcntl.h: Likewise.
10434 * include/fnmatch.h: Likewise.
10435 * include/glob.h: Likewise.
10436 * include/grp.h: Likewise.
10437 * include/libio.h: Likewise.
10438 * include/locale.h: Likewise.
10439 * include/math.h: Likewise.
10440 * include/net/if.h: Likewise.
10441 * include/netdb.h: Likewise.
10442 * include/netinet/in.h: Likewise.
10443 * include/pthread.h: Likewise.
10444 * include/pwd.h: Likewise.
10445 * include/regex.h: Likewise.
10446 * include/sched.h: Likewise.
10447 * include/search.h: Likewise.
10448 * include/setjmp.h: Likewise.
10449 * include/signal.h: Likewise.
10450 * include/stdio.h: Likewise.
10451 * include/stdlib.h: Likewise.
10452 * include/string.h: Likewise.
10453 * include/sys/cdefs.h: Likewise.
10454 * include/sys/mman.h: Likewise.
10455 * include/sys/msg.h: Likewise.
10456 * include/sys/resource.h: Likewise.
10457 * include/sys/select.h: Likewise.
10458 * include/sys/socket.h: Likewise.
10459 * include/sys/stat.h: Likewise.
10460 * include/sys/statvfs.h: Likewise.
10461 * include/sys/time.h: Likewise.
10462 * include/sys/times.h: Likewise.
10463 * include/sys/uio.h: Likewise.
10464 * include/sys/utsname.h: Likewise.
10465 * include/sys/wait.h: Likewise.
10466 * include/termios.h: Likewise.
10467 * include/time.h: Likewise.
10468 * include/ulimit.h: Likewise.
10469 * include/unistd.h: Likewise.
10470 * include/utime.h: Likewise.
10471 * include/wchar.h: Likewise.
10472 * include/wctype.h: Likewise.
10473 * include/wordexp.h: Likewise.
10474
10475 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10476
10477 * time/time.h: TIME_UTC must be a macro.
10478 Make timespec_get available for ISO C11 only as well.
10479
10480 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10481
10482 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10483 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10484
10485 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10486
10487 * configure.in: Use -o not -a in test for unsupported multi-arch.
10488
10489 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10490
10491 * manual/texinfo.tex: Update to version 2012-01-19.16.
10492
10493 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10494
10495 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10496
10497 2012-02-24 Roland McGrath <roland@hack.frob.com>
10498
10499 [BZ #13738]
10500 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10501 * manual/fdl-1.3.texi: New file.
10502 * manual/fdl-1.1.texi: File removed.
10503
10504 [BZ #13738]
10505 * manual/libc.texinfo (FDL_VERSION): New @set.
10506 Use it for mention of FDL in cover text.
10507 (Documentation License): Use it in @include file name.
10508
10509 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10510 Roland McGrath <roland@hack.frob.com>
10511
10512 [BZ #5461]
10513 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10514 not LONG_LONG_MAX and LONG_LONG_MIN.
10515 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10516 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10517 name.
10518 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10519
10520 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10521
10522 [BZ #2547]
10523 [BZ #11365]
10524 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10525 manipulate bits before adding and subtracting TWO23[sx].
10526 * math/libm-test.inc (nearbyint_test): Add more tests.
10527
10528 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10529
10530 [BZ #2548]
10531 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10532 bits before adding and subtracting TWO23[sx].
10533 * math/libm-test.inc (rint_test): Add more tests.
10534 (rint_test_tonearest): Likewise.
10535 (rint_test_towardzero): Likewise.
10536 (rint_test_downward): Likewise.
10537 (rint_test_upward: Likewise.
10538
10539 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10540
10541 [BZ #10110]
10542 * include/stdc-predef.h: New file. Extracted from features.h.
10543 * include/features.h: Include stdc-predef.h.
10544 * Makefile (headers): Add stdc-predef.h.
10545 * CONFORMANCE (Compiler limitations): Update.
10546
10547 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10548
10549 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10550
10551 2012-02-21 David S. Miller <davem@davemloft.net>
10552
10553 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10554 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10555
10556 2012-02-20 David S. Miller <davem@davemloft.net>
10557
10558 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10559 using a normal save/restore sequence, rather than allocating a
10560 dummy stack frame just to store a frame pointer and restore.
10561 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10562
10563 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10564
10565 * manual/install.texi: Fix stray word in line-wrapped comment.
10566
10567 2012-02-20 David S. Miller <davem@davemloft.net>
10568
10569 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10570 both binutils and gcc support GOTDATA.
10571
10572 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10573 "rd %pc" in the PIC register setup sequences.
10574
10575 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10576 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10577 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10578 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10579 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10581 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10582 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10584 (SYSCALL_ERROR_HANDLER): Likewise.
10585 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10586 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10588 (SYSCALL_ERROR_HANDLER): Likewise.
10589
10590 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10591 (HAVE_GCC_GOTDATA): New.
10592 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10593 relocation support in both binutils and gcc.
10594 * sysdeps/sparc/elf/configure: Regenerate.
10595
10596 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10597 * sysdeps/sparc/sparc32/elf/configure: Delete.
10598 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10599 * sysdeps/sparc/sparc64/elf/configure: Delete.
10600 * sysdeps/sparc/elf/configure.in: New file.
10601 * sysdeps/sparc/elf/configure: Generate.
10602
10603 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10604 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10605 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10606 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10607 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10608
10609 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10610
10611 * manual/install.texi: Do not mention specific glibc version
10612 numbers.
10613 * manual/libc.texinfo (VERSION, UPDATED): Update.
10614 (@copying): Use @copyright{} and range of years.
10615
10616 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10617
10618 [BZ #13695]
10619 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10620 [crti.S not in sysdirs] (generated): Do not append.
10621 [crti.S not in sysdirs] (omit-deps): Likewise.
10622 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10623 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10624 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10625 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10626 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10627 Likewise.
10628 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10629 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10630 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10631 * csu/defs.awk: Remove file.
10632 * sysdeps/generic/initfini.c: Likewise.
10633 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10634 variable.
10635 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10636 Likewise.
10637
10638 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10639
10640 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10641 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10642 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10643 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10644 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10645 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10646 <bits/epoll.h>.
10647 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10648 (__EPOLL_PACKED): Define to empty if not defined by
10649 <bits/epoll.h>.
10650 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10652 bits/epoll.h.
10653
10654 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10655
10656 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10657 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10658 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10659 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10660 <bits/timerfd.h>.
10661 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10663 bits/timerfd.h.
10664
10665 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10666
10667 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10668 in C locale.
10669 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10670 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10671 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10673
10674 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10675
10676 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10677 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10678
10679 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10680
10681 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10682 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10683 defined.
10684 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10685 Likewise.
10686 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10687 entry for 2.16.
10688
10689 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10690
10691 * math/w_acos.c: Use non-signaling floating-point comparisons.
10692 * math/w_acosf.c: Likewise.
10693 * math/w_acosh.c: Likewise.
10694 * math/w_acoshf.c: Likewise.
10695 * math/w_acoshl.c: Likewise.
10696 * math/w_acosl.c: Likewise.
10697 * math/w_asin.c: Likewise.
10698 * math/w_asinf.c: Likewise.
10699 * math/w_asinl.c: Likewise.
10700 * math/w_atanh.c: Likewise.
10701 * math/w_atanhf.c: Likewise.
10702 * math/w_atanhl.c: Likewise.
10703 * math/w_exp2.c: Likewise.
10704 * math/w_exp2f.c: Likewise.
10705 * math/w_exp2l.c: Likewise.
10706 * math/w_j0.c: Likewise.
10707 * math/w_j0f.c: Likewise.
10708 * math/w_j0l.c: Likewise.
10709 * math/w_j1.c: Likewise.
10710 * math/w_j1f.c: Likewise.
10711 * math/w_j1l.c: Likewise.
10712 * math/w_jn.c: Likewise.
10713 * math/w_jnf.c: Likewise.
10714 * math/w_log.c: Likewise.
10715 * math/w_log10.c: Likewise.
10716 * math/w_log10f.c: Likewise.
10717 * math/w_log10l.c: Likewise.
10718 * math/w_log2.c: Likewise.
10719 * math/w_log2f.c: Likewise.
10720 * math/w_log2l.c: Likewise.
10721 * math/w_logf.c: Likewise.
10722 * math/w_logl.c: Likewise.
10723 * math/w_sqrt.c: Likewise.
10724 * math/w_sqrtf.c: Likewise.
10725 * math/w_sqrtl.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10727 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10728 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10729 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10730 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10731
10732 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10733
10734 [BZ #9739]
10735 * manual/string.texi (strnlen): Use correct parameter name in
10736 equivalent expression.
10737
10738 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10739
10740 [BZ #11174]
10741 * manual/users.texi (seteuid): Consistently use neweuid for
10742 argument name.
10743
10744 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10745
10746 [BZ #13704]
10747 * manual/nss.texi (Services in the NSS configuration): Correct
10748 list of services in example configuration file.
10749
10750 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10751
10752 [BZ #11322]
10753 * manual/arith.texi: Remove statements about negative zero
10754 behaving identically to zero.
10755
10756 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10757
10758 [BZ #5993]
10759 * manual/install.texi: Do not document upgrading from libc5.
10760
10761 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10762
10763 [BZ #4596]
10764 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10765
10766 2012-02-18 David S. Miller <davem@davemloft.net>
10767
10768 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10769 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10770 %o7 across the call.
10771 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10772 instead.
10773 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10774 SETUP_PIC_REG_LEAF.
10775 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10776 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10777 * sysdeps/sparc/crtn.S: Likewise.
10778
10779 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10780
10781 * aout/Makefile: Remove.
10782
10783 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10784
10785 [BZ #13058]
10786 * manual/examples/argp-ex1.c (main): Format definition in GNU
10787 style.
10788 * manual/examples/argp-ex2.c (main): Likewise.
10789 * manual/examples/argp-ex3.c (main): Likewise.
10790 * manual/examples/argp-ex4.c (main): Likewise.
10791 * manual/examples/longopt.c (main): Use new-style prototype
10792 definition.
10793 * manual/examples/strncat.c (main): Specify return type and use
10794 (void) for arguments.
10795 * manual/examples/subopt.c (main): Use char **argv argument.
10796
10797 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10798
10799 [BZ #5077]
10800 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10801 rounding modes.
10802
10803 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10804
10805 [BZ #6907]
10806 * manual/string.texi (strchr): Change when strchrnul is
10807 recommended.
10808
10809 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10810
10811 [BZ #174]
10812 * manual/locale.texi (setlocale): Document LOCPATH.
10813
10814 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10815
10816 [BZ #10210]
10817 * manual/process.texi (execle): Move @dots{} before last argument.
10818
10819 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10820
10821 [BZ #12047]
10822 * manual/charset.texi (Generic Charset Conversion): Fix typo
10823 (LC_TYPE -> LC_CTYPE).
10824
10825 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10826
10827 [BZ #5805]
10828 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10829 (scalbnf): Likewise.
10830 (scalbnl): Likewise.
10831 (scalbln): Likewise.
10832 (scalblnf): Likewise.
10833 (scalblnl): Likewise.
10834 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10835 (vwarnx): Likewise.
10836 (verr): Likewise.
10837 (verrx): Likewise.
10838 * manual/filesys.texi (telldir): Use braces around return type.
10839 * manual/llio.texi (mmap): Add space after comma.
10840 (mmap64): Likewise.
10841 * manual/math.texi (jn): Use @var{} on parameter names.
10842 (jnf): Likewise.
10843 (jnl): Likewise.
10844 (yn): Likewise.
10845 (ynf): Likewise.
10846 (ynl): Likewise.
10847 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10848 line.
10849 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10850 "...".
10851 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10852 (sched_get_priority_max): Likewise.
10853 * manual/signal.texi (sigvec): Add space after comma.
10854 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10855 names.
10856 (if_indextoname): Likewise.
10857 (if_freenameindex): Likewise.
10858 (sendto): Use ',' instead of '.' in prototype.
10859 * manual/startup.texi (syscall): Use @dots{} instead of literal
10860 "...".
10861 * manual/stdio.texi (__fpending): Separate initial words of
10862 paragraph from @deftypefun line.
10863 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10864 "...".
10865 (vsyslog): Use @var{} on parameter names.
10866 * manual/terminal.texi (stty): Use @var{} on parameter names.
10867 * manual/users.texi (getutmp): Use @var{} on parameter names.
10868 (getutmpx): Likewise.
10869
10870 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10871
10872 [BZ #6884]
10873 * manual/stdio.texi (fopen): Fix typos in description of
10874 ",ccs=STRING".
10875
10876 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10877
10878 [BZ #4026]
10879 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10880 get clock_id definition.
10881
10882 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10883
10884 [BZ #4822]
10885 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10886 (madvise): Cast every argument to void on its own.
10887
10888 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10889
10890 [BZ #9902]
10891 * manual/startup.texi (Exit Status): Fix typo.
10892
10893 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10894
10895 [BZ #10140]
10896 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10897 * manual/examples/argp-ex2.c: Likewise.
10898 * manual/examples/argp-ex3.c: Likewise.
10899
10900 2012-02-16 Richard Henderson <rth@redhat.com>
10901
10902 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10903 * sysdeps/s390/s390-32/initfini.c: Remove.
10904 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10905 * sysdeps/s390/s390-64/initfini.c: Remove.
10906
10907 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10908
10909 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10910 compiler output for sysdeps/generic/initfini.c.
10911 * sysdeps/sh/elf/initfini.c: Remove file.
10912
10913 2012-02-16 David S. Miller <davem@davemloft.net>
10914
10915 [BZ #11494]
10916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10917
10918 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10919 * sysdeps/sparc/crti.S: New file.
10920 * sysdeps/sparc/crtn.S: New file.
10921 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10922 * sysdeps/sparc/sparc64/Makefile: Likewise.
10923
10924 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10925
10926 [BZ #3335]
10927 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10928
10929 2012-02-15 Roland McGrath <roland@hack.frob.com>
10930
10931 [BZ #4822]
10932 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10933
10934 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10935 (write, read, close): Likewise.
10936 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10937
10938 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10939
10940 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10941 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10942 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10943 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10944 <bits/signalfd.h>.
10945 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10947 bits/signalfd.h.
10948
10949 2012-02-14 Marek Polacek <polacek@redhat.com>
10950
10951 * sysdeps/x86_64/crti.S: New file.
10952 * sysdeps/x86_64/crtn.S: New file.
10953 * sysdeps/x86_64/elf/initfini.c: Remove file.
10954
10955 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10956
10957 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10958 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10959 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10960 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10961 <bits/inotify.h>.
10962 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10964 bits/inotify.h.
10965
10966 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10967
10968 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10969 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10970 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10971 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10972 <bits/eventfd.h>.
10973 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10975 bits/eventfd.h.
10976
10977 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10978
10979 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10980 __feraiseexcept instead of feraiseexcept.
10981
10982 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10983 nanosleep invocations.
10984 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10985 strings, and add error checking for a nanosleep invocations.
10986
10987 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10988
10989 Replace FSF snail mail address with URLs, as per GNU coding standards.
10990 Most of the snail mail addresses were wrong anyway, and omitting
10991 them makes the source code easier to maintain. Almost all of the
10992 changes are to license notices and to locale LC_IDENTIFICATION
10993 addresses, except for this one:
10994 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10995 not its snail mail address.
10996
10997 2012-02-09 Richard Henderson <rth@twiddle.net>
10998
10999 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11000 of kernel-features.h.
11001
11002 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11003
11004 2012-02-08 Marek Polacek <polacek@redhat.com>
11005
11006 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11007 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11008 * sysdeps/gnu/_G_config.h: Likewise.
11009 * sysdeps/generic/_G_config.h: Likewise.
11010
11011 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11012
11013 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11014 tests.
11015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11016
11017 * sysdeps/powerpc/powerpc32/crti.S: New file.
11018 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11019 * sysdeps/powerpc/powerpc64/crti.S: New file.
11020 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11021
11022 * Makeconfig (have-initfini): Don't set.
11023 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11024 * configure.in (nopic_initfini): Don't substitute.
11025 * config.h.in (HAVE_INITFINI): Don't #undef.
11026 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11027 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11028
11029 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11030
11031 Support crti.S and crtn.S provided directly by architectures.
11032 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11033 [crti.S in sysdirs] (omit-deps): Likewise.
11034 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11035 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11036 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11037 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11038 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11039 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11040 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11041 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11042 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11043 compiler output for sysdeps/generic/initfini.c.
11044 * sysdeps/i386/elf/Makefile: Remove file.
11045 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11046
11047 2012-02-07 Marek Polacek <polacek@redhat.com>
11048
11049 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11050 * sysdeps/gnu/_G_config.h: Likewise.
11051 * sysdeps/mach/hurd/_G_config.h: Likewise.
11052
11053 2012-02-07 Marek Polacek <polacek@redhat.com>
11054
11055 * math/Makefile (tests): Add tst-CMPLX2.
11056 * math/tst-CMPLX2.c: New file.
11057
11058 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11059
11060 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11061
11062 * math/libm-test.inc (jn_test): Add missing L suffix.
11063
11064 2012-02-06 Marek Polacek <polacek@redhat.com>
11065
11066 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11067 * sysdeps/i386/fpu/e_powf.S: Likewise.
11068 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11069 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11070 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11071 * sysdeps/i386/fpu/e_pow.S: Likewise.
11072 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11073 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11074 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11075 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11076 * sysdeps/i386/fpu/e_log2.S: Likewise.
11077 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11078 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11079 * sysdeps/i386/fpu/e_powl.S: Likewise.
11080 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11081 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11082 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11083 * sysdeps/i386/fpu/e_logl.S: Likewise.
11084 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11085 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11086 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11087 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11089 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11090 * sysdeps/i386/fpu/e_log.S: Likewise.
11091 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11092 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11093 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11094 * sysdeps/i386/fpu/e_logf.S: Likewise.
11095 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11096 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11097 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11098 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11099 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11100 * sysdeps/i386/fpu/e_log10.S: Likewise.
11101 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11102 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11103 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11104 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11105 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11106 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11107 * sysdeps/i386/asm-syntax.h: Likewise.
11108 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11109 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11110 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11111 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11112 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11113 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11114 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11115 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11116 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11117 * sysdeps/powerpc/sysdep.h: Likewise.
11118 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11119 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11120
11121 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11122
11123 [BZ #411]
11124 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11125
11126 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11127
11128 * sysdeps/i386/sysdep.h: Include <features.h>.
11129 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11130 version.
11131
11132 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11133
11134 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11135 Define.
11136 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11137 LOAD_PIC_REG_STR.
11138
11139 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11140
11141 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11142 (SETUP_PIC_REG): Use GET_PC_THUNK.
11143 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11144 macro.
11145
11146 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11147
11148 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11149 for non-PIC compilation.
11150 (SETUP_PIC_REG): Add .p2align directive.
11151 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11152 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11153 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11154 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11155 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11156 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11157 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11158 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11159 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11160 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11161 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11162 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11163 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11164 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11165 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11166 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11167 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11168 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11169 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11170 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11171 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11172 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11173 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11174 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11175 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11177 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11178 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11179 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11180 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11181 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11182 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11183 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11184 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11185 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11186 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11187 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11188 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11189 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11190 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11191 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11192
11193 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11194
11195 * math/tst-CMPLX.c: Include <stdio.h>.
11196
11197 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11198
11199 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11200 float.
11201 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11202 * sysdeps/sparc/bits/mathdef.h: Likewise.
11203
11204 2012-01-31 Marek Polacek <polacek@redhat.com>
11205
11206 * libio/libio.h: Don't define _PARAMS.
11207 * locale/programs/config.h: Don't define PARAMS.
11208 * stdlib/strtol_l.c: Likewise.
11209 (__strtol_l): Remove PARAMS from the prototype.
11210
11211 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11212
11213 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11214 names. Just use the correct names. Remove unnecessary wrapper
11215 functions.
11216 * malloc/arena.c: Likewise.
11217 * malloc/hooks.c: Likewise.
11218
11219 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11220 ARENA_TEST says not to. Simplify test for creation of a new arena.
11221 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11222
11223 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11224
11225 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11226 into tail calls.
11227 (update_get_addr): New function.
11228 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11229 GET_ADDR_MODULE parameter.
11230
11231 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11232
11233 * crypt/cert.c: Remove __STDC__ conditionals.
11234 * crypt/crypt-entry.c: Likewise.
11235 * crypt/crypt_util.c: Likewise.
11236 * libio/filedoalloc.c: Likewise.
11237 * libio/fileops.c: Likewise.
11238 * libio/genops.c: Likewise.
11239 * libio/iofclose.c: Likewise.
11240 * libio/iofdopen.c: Likewise.
11241 * libio/iofopen.c: Likewise.
11242 * libio/iofopen64.c: Likewise.
11243 * libio/iogetdelim.c: Likewise.
11244 * libio/iopopen.c: Likewise.
11245 * libio/obprintf.c: Likewise.
11246 * libio/oldfileops.c: Likewise.
11247 * libio/oldiofclose.c: Likewise.
11248 * libio/oldiofdopen.c: Likewise.
11249 * libio/oldiofopen.c: Likewise.
11250 * libio/oldiopopen.c: Likewise.
11251 * libio/wfiledoalloc.c: Likewise.
11252 * libio/wgenops.c: Likewise.
11253 * locale/programs/xmalloc.c: Likewise.
11254 * misc/syslog.c: Likewise.
11255 * stdio-common/xbug.c: Likewise.
11256 * string/memchr.c: Likewise.
11257 * string/memcmp.c: Likewise.
11258 * string/memrchr.c: Likewise.
11259 * string/rawmemchr.c: Likewise.
11260 * sysdeps/posix/getcwd.c: Likewise.
11261 * time/strftime_l.c: Likewise.
11262
11263 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11264
11265 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11266 * config.make.in (config-cflags-sse2avx): Define.
11267 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11268 Fix typo.
11269
11270 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11271
11272 * scripts/config.guess: Update from upstream config git repository.
11273 * scripts/config.sub: Likewise.
11274
11275 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11276
11277 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11278 (EM_NUM): Update.
11279 (R_TILEPRO_*, R_TILEGX_*): New macros.
11280
11281 * scripts/firstversions.awk: Fix bug in version range handling.
11282
11283 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11284
11285 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11286
11287 * include/sys/epoll.h: New file.
11288 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11289 libc_hidden_def.
11290
11291 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11292
11293 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11294 Avoid unnecessary __WORDSIZE == 64 test.
11295 (fmaxf): Use VEX format if possible.
11296 (fmax): Likewise.
11297 (fminf): Likewise.
11298 (fmin): Likewise.
11299
11300 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11301 * math/math_private.h: Remove libc_fegetround* and
11302 libc_fesetround*.
11303 * sysdeps/i386/configure.in: Check for -msse2avx.
11304 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11305 also if SSE2AVX is defined.
11306 Remove libc_fegetround* and libc_fesetround*.
11307 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11308 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11309 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11310 of HAS_YMM_USABLE.
11311 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11312 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11313 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11314 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11315 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11316
11317 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11318
11319 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11320
11321 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11322 size is not set.
11323 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11324
11325 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11326
11327 [BZ #13618]
11328 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11329 relocation.
11330 * Makeconfig (libm): Define.
11331 * elf/Makefile: Add rules to build and run tst-relsort1.
11332 * elf/tst-relsort1.c: New file.
11333 * elf/tst-relsort1mod1.c: New file.
11334 * elf/tst-relsort1mod2.c: New file.
11335
11336 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11337
11338 * math/s_ldexp.c: Remove __STDC__ conditionals.
11339 * math/s_ldexpf.c: Likewise.
11340 * math/s_ldexpl.c: Likewise.
11341 * math/s_nextafter.c: Likewise.
11342 * math/s_nexttowardf.c: Likewise.
11343 * math/s_significand.c: Likewise.
11344 * math/s_significandf.c: Likewise.
11345 * math/s_significandl.c: Likewise.
11346 * math/w_jnl.c: Likewise.
11347 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11348 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11349 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11350 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11351 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11366 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11367 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11368 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11369 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11370 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11371 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11372 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11373 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11374 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11375 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11376 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11377 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11378 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11379 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11380 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11381 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11382 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11383 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11384 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11385 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11386 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11387 * sysdeps/ieee754/k_standard.c: Likewise.
11388 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11389 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11391 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11392 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11394 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11395 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11397 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11398 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11399 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11400 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11401 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11402 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11403 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11404 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11405 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11406 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11407 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11408 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11409 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11410 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11411 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11412 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11413 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11414 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11415 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11417 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11418 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11419 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11420 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11421 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11422 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11423 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11424 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11425 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11426 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11427 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11428 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11430 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11431 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11432 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11433 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11434 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11435 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11436 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11437 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11438 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11439 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11440 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11441 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11442 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11443 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11444 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11445 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11446 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11447 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11448 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11449 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11450 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11451 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11452 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11453 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11454 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11455 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11456 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11457 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11458 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11459 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11460 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11461 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11462 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11463 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11464 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11465 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11466 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11467 * sysdeps/ieee754/s_matherr.c: Likewise.
11468 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11469 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11470 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11471 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11472
11473 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11474
11475 * crypt/md5.h: Remove __STDC__ conditionals.
11476 * libio/libioP.h: Likewise.
11477 * locale/programs/config.h: Likewise.
11478 * sysdeps/generic/sysdep.h: Likewise.
11479 * sysdeps/i386/asm-syntax.h: Likewise.
11480 * sysdeps/s390/asm-syntax.h: Likewise.
11481 * sysdeps/unix/sysdep.h: Likewise.
11482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11484
11485 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11486
11487 * libio/libio.h: Remove __STDC__ conditionals.
11488 * malloc/obstack.h: Likewise.
11489 * math/complex.h: Likewise.
11490 * math/math.h: Likewise.
11491 * sysdeps/generic/_G_config.h: Likewise.
11492 * sysdeps/gnu/_G_config.h: Likewise.
11493 * sysdeps/mach/hurd/_G_config.h: Likewise.
11494 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11495 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11496 * sysdeps/sparc/bits/mathdef.h: Likewise.
11497
11498 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11499
11500 [BZ #13583]
11501 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11502 Clean up HAS_* macros.
11503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11504 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11505 possible.
11506 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11507 HAS_AVX.
11508 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11509 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11510 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11511 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11512 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11513
11514 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11515
11516 * elf/tst-unique3.cc (gets): Remove declaration.
11517 * elf/tst-unique3lib.cc (gets): Likewise.
11518 * elf/tst-unique3lib2.cc (gets): Likewise.
11519 * elf/tst-unique4.cc (gets): Likewise.
11520
11521 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11522
11523 * include/stdio.h: Add C++ protection. Add gets declarations and
11524 definitions.
11525 * debug/tst-chk1.c: Don't declare gets here.
11526 * stdio-common/tst-gets.c: Likewise.
11527
11528 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11529
11530 * posix/glob: Remove directory.
11531
11532 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11533
11534 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11535
11536 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11537
11538 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11539 of the non-standard EPFNOSUPPORT.
11540
11541 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11542
11543 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11544 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11545 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11546
11547 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11548
11549 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11550
11551 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11552
11553 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11554 transient errors.
11555 * nscd/grpcache.c (cache_addgr): Likewise.
11556 * nscd/hstcache.c (cache_addhst): Likewise.
11557 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11558 * nscd/pwdcache.c (cache_addpw): Likewise.
11559 * nscd/servicescache.c (cache_addserv): Likewise.
11560
11561 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11562
11563 * malloc/malloc.c: Various cleanups.
11564 * malloc/hooks.c: Likewise.
11565
11566 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11567 * stdlib/bug-fmtmsg1.c: New file.
11568
11569 * stdlib/fmtmsg.c (init): Add missing unlock.
11570 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11571
11572 2012-01-12 Marek Polacek <polacek@redhat.com>
11573
11574 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11575 and _GNU_SOURCE.
11576
11577 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11578
11579 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11580 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11581 macro to ensure uniqueness of label name.
11582 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11583 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11584
11585 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11586
11587 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11588
11589 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11590 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11591 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11593
11594 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11595
11596 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11597
11598 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11599 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11600 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11601
11602 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11603
11604 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11605 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11606 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11608
11609 * math/bits/math-finite.h: Add ldexp support.
11610
11611 2012-01-10 Marek Polacek <polacek@redhat.com>
11612
11613 * locale/programs/localedef.h (show_archive_content): Add noreturn
11614 attribute.
11615
11616 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11617
11618 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11619
11620 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11621
11622 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11623
11624 * io/Makefile (headers): Add bits/poll2.h.
11625
11626 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11627
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11629 typo #include statement.
11630
11631 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11632
11633 * include/sys/cdefs.h: Define __attribute_alloc_size.
11634 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11635 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11636 * elf/pldd.c: Likewise.
11637 * iconv/iconv_charmap.c: Likewise.
11638 * iconv/iconvconfig.c: Likewise.
11639 * iconv/strtab.c: Likewise.
11640 * locale/programs/locale.c: Likewise.
11641 * locale/programs/localedef.h: Likewise.
11642 * locale/programs/simple-hash.c: Likewise.
11643 * nscd/nscd.h: Likewise.
11644 * nss/makedb.c: Likewise.
11645 * sysdeps/generic/ldconfig.h: Likewise.
11646 * locale/programs/localedef.c: Remove xmalloc prototype.
11647 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11648
11649 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11650
11651 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11652 appropriate.
11653
11654 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11655
11656 * math/Makefile (tests): Add tst-CMPLX.
11657 * math/tst-CMPLX.c: New file.
11658
11659 * math/complex.h (CMPLXL): Fix typo.
11660
11661 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11662 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11663 GLIBC_2.16.
11664 * debug/tst-chk1.c: Add poll and ppoll tests.
11665 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11666 * include/sys/poll.h: Add hidden proto for ppoll.
11667 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11668 * sysdeps/mach/hurd/ppoll.c: Likewise.
11669 * io/ppoll.c: Likewise.
11670 * debug/poll_chk.c: New file.
11671 * debug/ppoll_chk.c: New file.
11672 * include/bits/poll2.h: New file.
11673 * io/bits/poll2.h: New file.
11674
11675 [BZ #1350]
11676 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11677
11678 * configure.in: static is always set to yes. Remove.
11679 * config.make.in: Don't set build-static.
11680 * Makeconfig: Remove use of build-static.
11681 * dlfcn/Makefile: Likewise.
11682 * elf/Makefile: Likewise.
11683 * math/Makefile: Likewise.
11684 * misc/Makefile: Likewise.
11685 * nptl/Makefile: Likewise.
11686 * sysdeps/mach/hurd/Makefile: Likewise.
11687
11688 * configure.in: PWD_P is not used anymore.
11689 * config.make.in: Remove PWD_P entry.
11690
11691 * configure.in: Remove last remnants of RANLIB.
11692 No need to check for signed size_t anymore.
11693 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11694 and IA-64.
11695 Remove __builtin_expect test because we require at least gcc 3.4.
11696 * aclocal.m4: Likewise.
11697
11698 * wcsmbs/mbrtoc16.c: Implement using towc function.
11699 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11700 * wcsmbs/wcsmbsload.c: Likewise.
11701 * iconv/gconv_simple.c: Likewise.
11702 * iconv/gconv_int.h: Likewise.
11703 * iconv/gconv_builtin.h: Likewise.
11704 * iconv/iconv_prog.c: Remove CHAR16 handling.
11705
11706 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11707
11708 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11709
11710 * configure.in: Remove --with-elf and --enable-bounded options.
11711 Dont set base_machine for ia64. More non-ELF conditions removed.
11712 Remove testing and setting of leading underscore information.
11713 * config.make.in (build-bounded): Set to no.
11714 * config.h.in: Remove NO_UNDERSCORES entry.
11715 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11716 them.
11717 * csu/start.c: Remove !NO_UNDERSCORE code.
11718 * locale/localeinfo.h: Likewise.
11719 * sysdeps/generic/machine-gmon.h: Likewise.
11720 * sysdeps/generic/sysdep.h: Likewise.
11721 * sysdeps/i386/sysdep.h: Likewise.
11722 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11723 * sysdeps/mach/sysdep.h: Likewise.
11724 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11725 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11726 * sysdeps/sh/sysdep.h: Likewise.
11727 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11728 * sysdeps/unix/i386/sysdep.S: Likewise.
11729 * sysdeps/unix/sparc/start.c: Likewise.
11730 * sysdeps/unix/sparc/sysdep.S: Likewise.
11731 * sysdeps/unix/sparc/sysdep.h: Likewise.
11732 * sysdeps/unix/start.c: Likewise.
11733 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11734 * sysdeps/x86_64/sysdep.h: Likewise.
11735
11736 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11737
11738 [BZ #13553]
11739 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11740 for non-gcc.
11741 * argp/argp-fmtstream.h: Use const instead __const.
11742 * argp/argp.h: Likewise.
11743 * assert/assert.h: Likewise.
11744 * bits/fenv.h: Likewise.
11745 * bits/sched.h: Likewise.
11746 * bits/sigset.h: Likewise.
11747 * bits/sigthread.h: Likewise.
11748 * catgets/nl_types.h: Likewise.
11749 * conform/data/pthread.h-data: Likewise.
11750 * crypt/crypt-private.h: Likewise.
11751 * crypt/crypt.h: Likewise.
11752 * crypt/crypt_util.c: Likewise.
11753 * ctype/ctype.h: Likewise.
11754 * debug/execinfo.h: Likewise.
11755 * debug/mbsnrtowcs_chk.c: Likewise.
11756 * debug/mbsrtowcs_chk.c: Likewise.
11757 * debug/wcsnrtombs_chk.c: Likewise.
11758 * debug/wcsrtombs_chk.c: Likewise.
11759 * debug/wcstombs_chk.c: Likewise.
11760 * dirent/dirent.h: Likewise.
11761 * dlfcn/dlfcn.h: Likewise.
11762 * elf/neededtest4.c: Likewise.
11763 * grp/grp.h: Likewise.
11764 * gshadow/gshadow.h: Likewise.
11765 * iconv/gconv.h: Likewise.
11766 * iconv/gconv_int.h: Likewise.
11767 * iconv/gconv_simple.c: Likewise.
11768 * iconv/iconv.h: Likewise.
11769 * iconv/loop.c: Likewise.
11770 * iconv/skeleton.c: Likewise.
11771 * include/aio.h: Likewise.
11772 * include/aliases.h: Likewise.
11773 * include/argz.h: Likewise.
11774 * include/arpa/inet.h: Likewise.
11775 * include/assert.h: Likewise.
11776 * include/dirent.h: Likewise.
11777 * include/dlfcn.h: Likewise.
11778 * include/execinfo.h: Likewise.
11779 * include/fcntl.h: Likewise.
11780 * include/fenv.h: Likewise.
11781 * include/glob.h: Likewise.
11782 * include/grp.h: Likewise.
11783 * include/libintl.h: Likewise.
11784 * include/mntent.h: Likewise.
11785 * include/netdb.h: Likewise.
11786 * include/pwd.h: Likewise.
11787 * include/rpc/netdb.h: Likewise.
11788 * include/sched.h: Likewise.
11789 * include/search.h: Likewise.
11790 * include/shadow.h: Likewise.
11791 * include/signal.h: Likewise.
11792 * include/stdio.h: Likewise.
11793 * include/stdlib.h: Likewise.
11794 * include/string.h: Likewise.
11795 * include/sys/socket.h: Likewise.
11796 * include/sys/stat.h: Likewise.
11797 * include/sys/statfs.h: Likewise.
11798 * include/sys/statvfs.h: Likewise.
11799 * include/sys/syslog.h: Likewise.
11800 * include/sys/time.h: Likewise.
11801 * include/sys/uio.h: Likewise.
11802 * include/time.h: Likewise.
11803 * include/unistd.h: Likewise.
11804 * include/utmp.h: Likewise.
11805 * include/wchar.h: Likewise.
11806 * include/wctype.h: Likewise.
11807 * inet/aliases.h: Likewise.
11808 * inet/arpa/inet.h: Likewise.
11809 * inet/netinet/ether.h: Likewise.
11810 * inet/netinet/in.h: Likewise.
11811 * intl/libintl.h: Likewise.
11812 * io/bits/fcntl2.h: Likewise.
11813 * io/fcntl.h: Likewise.
11814 * io/ftw.h: Likewise.
11815 * io/sys/poll.h: Likewise.
11816 * io/sys/stat.h: Likewise.
11817 * io/sys/statfs.h: Likewise.
11818 * io/sys/statvfs.h: Likewise.
11819 * io/utime.h: Likewise.
11820 * libio/bits/stdio.h: Likewise.
11821 * libio/bits/stdio2.h: Likewise.
11822 * libio/libio.h: Likewise.
11823 * libio/libioP.h: Likewise.
11824 * libio/stdio.h: Likewise.
11825 * locale/lc-ctype.c: Likewise.
11826 * locale/locale.h: Likewise.
11827 * login/utmp.h: Likewise.
11828 * malloc/arena.c: Likewise.
11829 * malloc/malloc.c: Likewise.
11830 * malloc/malloc.h: Likewise.
11831 * malloc/mcheck.c: Likewise.
11832 * malloc/mtrace.c: Likewise.
11833 * math/bits/mathcalls.h: Likewise.
11834 * math/fenv.h: Likewise.
11835 * math/math_private.h: Likewise.
11836 * misc/bits/error.h: Likewise.
11837 * misc/bits/syslog.h: Likewise.
11838 * misc/err.h: Likewise.
11839 * misc/error.h: Likewise.
11840 * misc/fstab.h: Likewise.
11841 * misc/mntent.h: Likewise.
11842 * misc/regexp.h: Likewise.
11843 * misc/search.h: Likewise.
11844 * misc/sgtty.h: Likewise.
11845 * misc/sys/mman.h: Likewise.
11846 * misc/sys/syslog.h: Likewise.
11847 * misc/sys/uio.h: Likewise.
11848 * misc/sys/xattr.h: Likewise.
11849 * misc/ttyent.h: Likewise.
11850 * nis/rpcsvc/ypclnt.h: Likewise.
11851 * nss/nss.h: Likewise.
11852 * posix/bits/unistd.h: Likewise.
11853 * posix/fnmatch.h: Likewise.
11854 * posix/glob.h: Likewise.
11855 * posix/sched.h: Likewise.
11856 * posix/spawn.h: Likewise.
11857 * posix/sys/wait.h: Likewise.
11858 * posix/unistd.h: Likewise.
11859 * posix/wordexp.h: Likewise.
11860 * pwd/pwd.h: Likewise.
11861 * resolv/netdb.h: Likewise.
11862 * resource/sys/resource.h: Likewise.
11863 * rt/aio.h: Likewise.
11864 * rt/bits/mqueue2.h: Likewise.
11865 * rt/mqueue.h: Likewise.
11866 * shadow/shadow.h: Likewise.
11867 * signal/signal.h: Likewise.
11868 * socket/send.c: Likewise.
11869 * socket/sendto.c: Likewise.
11870 * socket/sys/socket.h: Likewise.
11871 * stdio-common/printf.h: Likewise.
11872 * stdlib/bits/stdlib.h: Likewise.
11873 * stdlib/fmtmsg.h: Likewise.
11874 * stdlib/monetary.h: Likewise.
11875 * stdlib/stdlib.h: Likewise.
11876 * stdlib/ucontext.h: Likewise.
11877 * streams/stropts.h: Likewise.
11878 * string/argz.h: Likewise.
11879 * string/bits/string2.h: Likewise.
11880 * string/string.h: Likewise.
11881 * string/strings.h: Likewise.
11882 * sunrpc/rpc/auth.h: Likewise.
11883 * sunrpc/rpc/auth_des.h: Likewise.
11884 * sunrpc/rpc/clnt.h: Likewise.
11885 * sunrpc/rpc/netdb.h: Likewise.
11886 * sunrpc/rpc/pmap_clnt.h: Likewise.
11887 * sunrpc/rpc/xdr.h: Likewise.
11888 * sysdeps/generic/inttypes.h: Likewise.
11889 * sysdeps/generic/net/if.h: Likewise.
11890 * sysdeps/generic/sys/swap.h: Likewise.
11891 * sysdeps/gnu/net/if.h: Likewise.
11892 * sysdeps/gnu/utmpx.h: Likewise.
11893 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11894 * sysdeps/i386/i486/bits/string.h: Likewise.
11895 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11896 * sysdeps/s390/bits/string.h: Likewise.
11897 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11898 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11899 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11900 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11901 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11902 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11903 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11904 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11905 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11906 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11907 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11908 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11909 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11910 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11911 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11912 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11913 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11915 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11916 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11917 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11918 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11919 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11920 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11921 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11922 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11923 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11924 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11925 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11926 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11927 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11928 * sysvipc/sys/ipc.h: Likewise.
11929 * sysvipc/sys/msg.h: Likewise.
11930 * sysvipc/sys/sem.h: Likewise.
11931 * sysvipc/sys/shm.h: Likewise.
11932 * termios/termios.h: Likewise.
11933 * time/sys/time.h: Likewise.
11934 * time/time.h: Likewise.
11935 * wcsmbs/bits/wchar2.h: Likewise.
11936 * wcsmbs/uchar.h: Likewise.
11937 * wcsmbs/wchar.h: Likewise.
11938 * wctype/wctype.h: Likewise.
11939
11940 [BZ #13551]
11941 * Makeconfig: Remove all but ELF support including AIX support.
11942 * Makerules: Likewise.
11943 * config.h.in: Likewise.
11944 * config.make.in: Likewise.
11945 * configure: Likewise.
11946 * configure.in: Likewise.
11947 * csu/Makefile: Likewise.
11948 * csu/version.c: Likewise.
11949 * debug/Makefile: Likewise.
11950 * dlfcn/Makefile: Likewise.
11951 * elf/Makefile: Likewise.
11952 * extra-lib.mk: Likewise.
11953 * iconv/Makefile: Likewise.
11954 * include/libc-symbols.h: Likewise.
11955 * include/shlib-compat.h: Likewise.
11956 * resolv/Makefile: Likewise.
11957 * resolv/res_libc.c: Likewise.
11958 * rt/Makefile: Likewise.
11959 * sysdeps/i386/asm-syntax.h: Likewise.
11960 * sysdeps/i386/sysdep.h: Likewise.
11961 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11962 * sysdeps/mach/sysdep.h: Likewise.
11963 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11964 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11965 * sysdeps/s390/asm-syntax.h: Likewise.
11966 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11967 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11968 * sysdeps/sh/sysdep.h: Likewise.
11969 * sysdeps/unix/sparc/sysdep.h: Likewise.
11970 * sysdeps/wordsize-32/divdi3.c: Likewise.
11971 * sysdeps/x86_64/sysdep.h: Likewise.
11972
11973 * argp/Versions: Remove _argp_unlock_xxx.
11974
11975 [BZ #13559]
11976 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11977 * abilist/libBrokenLocale.abilist: Likewise.
11978 * abilist/libanl.abilist: Likewise.
11979 * abilist/libc.abilist: Likewise.
11980 * abilist/libcrypt.abilist: Likewise.
11981 * abilist/libdl.abilist: Likewise.
11982 * abilist/libm.abilist: Likewise.
11983 * abilist/libnsl.abilist: Likewise.
11984 * abilist/libpthread.abilist: Likewise.
11985 * abilist/libresolv.abilist: Likewise.
11986 * abilist/librt.abilist: Likewise.
11987 * abilist/libthread_db.abilist: Likewise.
11988 * abilist/libutil.abilist: Likewise.
11989 * abilist/libnss_db.abilist: New file.
11990
11991 * scripts/abilist.awk: Add support for indirect functions.
11992
11993 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11994
11995 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11996
11997 * shlib-versions: Remove entries for ports architectures.
11998
11999 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12000 files in ports.
12001 * elf/stackguard-macros.h: Remove support for IA-64.
12002 * elf/tst-auditmod1.c: Likewise.
12003 * sysdeps/generic/ldsodefs.h: Likewise.
12004
12005 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12006 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12007 configure files.
12008
12009 [BZ #13552]
12010 * configure.in: Remove --enable-omitfp support.
12011 * FAQ.in: Adjust.
12012 * config.make.in: Likewise.
12013 * Makeconfig: Likewise.
12014 * manual/install.texi: Likewise.
12015
12016 In case anyone cares, the IA-64 architecture could move to ports.
12017 * sysdeps/ia64/*: Removed.
12018 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12019 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12020
12021 [BZ #13555]
12022 * configure.in: Remove entries for unsupported architectures.
12023
12024 [BZ #13533]
12025 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12026 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12027 routines.
12028 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12029 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12030 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12031 fall back to using wcrtomb.
12032 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12033 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12034 renaming.
12035 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12036 * wcsmbs/tst-c16c32-1.c: New file.
12037
12038 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12039 local variable.
12040
12041 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12042
12043 * elf/tst-unique3.cc: Add explicit declaration of gets.
12044 * elf/tst-unique3lib.cc: Likewise.
12045 * elf/tst-unique3lib2.cc: Likewise.
12046 * elf/tst-unique4.cc: Likewise.
12047
12048 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12049
12050 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12051
12052 [BZ #13566]
12053 * assert/assert.h (static_assert): Don't define for C++.
12054 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12055 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12056
12057 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12058
12059 * iconv/loop.c (single loop): Fix assertion in storing of
12060 remaining bytes.
12061
12062 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12063
12064 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12065
12066 * posix/getconf.c: Update copyright year.
12067 * nss/getent.c: Likewise.
12068 * nss/makedb.c: Likewise.
12069 * iconv/iconvconfig.c: Likewise.
12070 * iconv/iconv_prog.c: Likewise.
12071 * elf/ldconfig.c: Likewise.
12072 * elf/pldd.c: Likewise.
12073 * elf/sotruss.ksh: Likewise.
12074 * catgets/gencat.c: Likewise.
12075 * csu/version.c: Likewise.
12076 * elf/ldd.bash.in: Likewise.
12077 * elf/sprof.c (print_version): Likewise.
12078 * locale/programs/locale.c: Likewise.
12079 * locale/programs/localedef.c: Likewise.
12080 * login/programs/pt_chown.c: Likewise.
12081 * nscd/nscd.c (print_version): Likewise.
12082 * debug/xtrace.sh: Likewise.
12083 * malloc/memusage.sh: Likewise.
12084 * malloc/mtrace.pl: Likewise.
12085 * debug/catchsegv.sh: Likewise.
12086
12087 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12088
12089 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12090 pure attribute.
12091
12092 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12093
12094 [BZ #13533]
12095 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12096 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12097 transformations.
12098 * iconv/gconv_int.h: Likewise.
12099 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12100 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12101 from libc for GLIBC_2.16.
12102 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12103 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12104 * wcsmbs/uchar.h: Really define mbstate_t.
12105 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12106 * wcsmbs/c16rtomb.c: New file.
12107 * wcsmbs/mbrtoc16.c: New file.
12108 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12109 for C/POSIX locale.
12110 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12111 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12112
12113 * wcsmbs/wchar.h: Add missing __restrict.
12114
12115 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12116
12117 [BZ #13532]
12118 * time/Makefile (routines): Add timespec_get.
12119 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12120 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12121 timespec for ISO C11.
12122 * time/timespec_get.c: New file.
12123 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12124 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12125
12126 [BZ #13531]
12127 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12128 * stdlib/stdlib.h: Declare aligned_alloc.
12129 * Versions.def: Add GLIBC_2.16 for libc.
12130 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12131
12132 [BZ 13527]
12133 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12134 ISO C11.
12135
12136 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12137 code.
12138
12139 [BZ #13528]
12140 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12141
12142 [BZ #13529]
12143 * assert/assert.h (static_assert): Define.
12144
12145 * version.h: Update for 2.16 development version.
12146
12147 [BZ #13526]
12148 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12149 _ISOC11_SOURCE.
12150
12151 * version.h (RELEASE): Bump for 2.15 release.
12152 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12153
12154 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12155 Patch by Marek Polacek <mpolacek@redhat.com>.
12156
12157 * bits/byteswap.h: Protect long long constants with __extension__.
12158 * sysdeps/i386/bits/byteswap.h: Likewise.
12159 * sysdeps/ia64/bits/byteswap.h: Likewise.
12160 * sysdeps/s390/bits/byteswap.h: Likewise.
12161 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12162
12163 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12164
12165 [BZ #13540]
12166 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12167 destination buffer.
12168 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12169
12170 2011-12-23 Marek Polacek <polacek@redhat.com>
12171
12172 * elf/dl-addr.c (determine_info): Add inline keyword.
12173 * elf/tst-auditmod4b.c (check_avx): Likewise.
12174 * elf/tst-auditmod6b.c (check_avx): Likewise.
12175 * elf/tst-auditmod6c.c (check_avx): Likewise.
12176 * elf/tst-auditmod7b.c (check_avx): Likewise.
12177
12178 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12179
12180 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12181 !__SSE_MATH__.
12182
12183 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12184
12185 [BZ #13540]
12186 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12187 processing for last bytes.
12188
12189 2011-08-06 Bruno Haible <bruno@clisp.org>
12190
12191 [BZ #13061]
12192 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12193 U+0385, not to U+1FEE.
12194
12195 [BZ #13062]
12196 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12197 entry for U+00A5 U+0301.
12198
12199 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12200
12201 [BZ #13166]
12202 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12203 buffer for the output is too small.
12204
12205 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12206 optimization.
12207
12208 [BZ #13185]
12209 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12210 SSE flags if possible.
12211
12212 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12213
12214 [BZ #13540]
12215 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12216 processing for last bytes.
12217
12218 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12219
12220 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12221 (syscall-list-default-options, syscall-list-default-condition)
12222 (syscall-list-includes): Define.
12223 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12224 list of ABIs and options and #if conditions for each ABI. Do not
12225 handle common syscalls between ABIs specially.
12226 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12227 Remove.
12228 (syscall-list-variants, syscall-list-32bit-options)
12229 (syscall-list-32bit-condition, syscall-list-64bit-options)
12230 (syscall-list-64bit-condition): Define.
12231 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12232 (syscall-list-variants, syscall-list-32bit-options)
12233 (syscall-list-32bit-condition, syscall-list-64bit-options)
12234 (syscall-list-64bit-condition): Define.
12235 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12236 Remove.
12237 (syscall-list-variants, syscall-list-32bit-options)
12238 (syscall-list-32bit-condition, syscall-list-64bit-options)
12239 (syscall-list-64bit-condition): Define.
12240 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12241 Remove.
12242 (syscall-list-variants, syscall-list-32bit-options)
12243 (syscall-list-32bit-condition, syscall-list-64bit-options)
12244 (syscall-list-64bit-condition): Define.
12245
12246 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12247
12248 * locale/iso-639.def: Add brx entry.
12249
12250 [BZ #13328]
12251 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12252 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12253
12254 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12255 __feraiseexcept_renamed.
12256
12257 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12258
12259 [BZ #13538]
12260 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12261 EPOLLET with unsigned values.
12262 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12263 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12264
12265 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12266 to large cancellation.
12267 * math/s_cacoshf.c: Likewise.
12268 * math/s_cacoshl.c: Likewise.
12269
12270 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12271
12272 [BZ #13305]
12273 [BZ #12786]
12274 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12275 * math/s_cacoshf.c: Likewise.
12276 * math/s_cacoshl.c: Likewise.
12277
12278 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12279
12280 [BZ #13439]
12281 * iconv/gconv.h: Define __GCONV_SWAP.
12282 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12283 * iconvdata/utf-16.c: Likewise.
12284 * iconvdata/utf-32.c: Likewise.
12285
12286 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12287
12288 [BZ #13524]
12289 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12290 numerator after shifting it by one limb.
12291
12292 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12293
12294 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12295 under [__USE_EXTERN_INLINES].
12296
12297 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12298
12299 [BZ #13446]
12300 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12301
12302 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12303
12304 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12305 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12306 optimized code.
12307 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12308 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12309 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12310 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12311 for strncasecmp/strncasecmp_l compilation.
12312 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12313 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12314
12315 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12316
12317 [BZ #13484]
12318 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12319 of __asm__.
12320
12321 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12322
12323 [BZ #13506]
12324 * time/tzfile.c (__tzfile_read): Check values from file header.
12325
12326 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12327
12328 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12329 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12330 * powerpc/powerpc32/dl-start.S: Likewise.
12331 * powerpc/powerpc32/elf/start.S: Likewise.
12332 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12333 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12334 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12335 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12336 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12337 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12338 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12339 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12340 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12341 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12342 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12343 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12344 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12345 * powerpc/powerpc32/memset.S: Likewise.
12346 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12347 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12348 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12349 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12350 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12351 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12352 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12353 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12354 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12355 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12356 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12357 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12358 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12359
12360 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12361
12362 * math/libm-test.inc: Added more nearbyint tests.
12363 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12364 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12365 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12366 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12367
12368 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12369
12370 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12371 FD_CLOEXEC.
12372
12373 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12374
12375 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12376 Add wcscpy-ssse3 wcscpy-c.
12377 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12378 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12379 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12380 * sysdeps/x86_64/wcschr.S: New file.
12381 * sysdeps/x86_64/wcsrchr.S: New file.
12382 * string/test-strcmp.c: Remove checking of wcscmp function for
12383 wrong alignments.
12384 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12385 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12386 wcsrchr-sse2 wcsrchr-c.
12387 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12388 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12389 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12390 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12391 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12392 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12393 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12394 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12395 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12396 * wcsmbc/wcschr.c (WCSCHR): New macro.
12397
12398 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12399
12400 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12401 * wcsmbs/test-wcsrchr.c: New file.
12402 * string/test-strrchr.c: Add wcsrchr support.
12403 (WIDE): New macro.
12404 * wcsmbs/test-wcscpy.c: New file.
12405 * string/test-strcpy.c: Add wcscpy support.
12406 (WIDE): New macro.
12407
12408 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12409
12410 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12411 the inner loop.
12412
12413 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12414
12415 [BZ #13472]
12416 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12417
12418 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12419
12420 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12421 Minor optimizations.
12422
12423 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12424 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12425 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12426
12427 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12428
12429 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12430 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12431 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12432 for gcc to avoid warnings.
12433 * inet/Makefile (tests): Add tst-checks.
12434 * inet/tst-checks.c: New file.
12435
12436 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12437 warning.
12438
12439 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12440 __wmemcmp_sse2.
12441
12442 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12443 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12444
12445 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12446
12447 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12448
12449 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12450 problem.
12451
12452 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12453
12454 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12455
12456 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12457 conditional on GCC version.
12458 (__arch_compare_and_exchange_val_8_acq)
12459 (__arch_compare_and_exchange_val_16_acq)
12460 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12461 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12462 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12463
12464 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12465
12466 * sysdeps/sh/backtrace.c: New file.
12467
12468 2011-12-02 Andreas Schwab <schwab@redhat.com>
12469
12470 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12471 parenthesis.
12472
12473 2011-12-01 Andreas Schwab <schwab@redhat.com>
12474
12475 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12476 falling back to utime.
12477
12478 2011-11-30 Andreas Schwab <schwab@redhat.com>
12479
12480 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12481 expectations for float.
12482
12483 2011-11-29 Andreas Schwab <schwab@redhat.com>
12484
12485 * locale/weight.h (findidx): Add parameter len.
12486 * locale/weightwc.h (findidx): Likewise.
12487 * posix/fnmatch_loop.c (FCT): Adjust caller.
12488 * posix/regcomp.c (build_equiv_class): Likewise.
12489 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12490 * posix/regexec.c (check_node_accept_bytes): Likewise.
12491 * string/strcoll_l.c (STRCOLL): Likewise.
12492 * string/strxfrm_l.c (STRXFRM): Likewise.
12493
12494 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12495
12496 * Makefile.in: Remove CVSOPT handling.
12497 * configure.in: Remove use of AC_REVISION.
12498 * iconvdata/Makefile (distribute): No need to filter out CVS.
12499 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12500 handling.
12501
12502 2011-11-16 Andreas Schwab <schwab@redhat.com>
12503
12504 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12505 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12506 [USE_AS_STRNCASECMP_L]: Likewise.
12507 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12508 NO_TLS_DIRECT_SEG_REFS.
12509 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12510 Fix argument offsets for non-PIC.
12511 [USE_AS_STRNCASECMP_L]: Likewise.
12512 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12513 NO_TLS_DIRECT_SEG_REFS.
12514
12515 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12516
12517 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12518 O_CLOEXEC.
12519 * locale/loadlocale.c (_nl_load_locale): Likewise.
12520
12521 2011-11-15 Andreas Schwab <schwab@redhat.com>
12522
12523 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12524 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12525 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12526 (SYSCALL_GETTIME): Set errno on error.
12527
12528 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12529 count references to noai6ai_cached.
12530
12531 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12532
12533 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12534
12535 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12536 FD_CLOEXEC for /proc/self/maps.
12537
12538 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12539 FD_CLOEXEC for /proc/meminfo.
12540
12541 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12542 gai.conf.
12543
12544 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12545 FD_CLOEXEC for given file.
12546
12547 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12548
12549 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12550 FD_CLOEXEC for /etc/hosts.
12551 (_gethtent): Likewise.
12552
12553 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12554
12555 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12556 cancellation and set FD_CLOEXEC for /etc/netgroup.
12557
12558 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12559 reading /etc/publickey.
12560
12561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12562 allow cancellation when reading /etc/group.
12563
12564 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12565 cancellation.
12566 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12567
12568 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12569 when using data file.
12570
12571 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12572
12573 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12574 (write_nis_obj): Use "c" and "e" in fopen.
12575
12576 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12577
12578 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12579
12580 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12581
12582 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12583
12584 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12585 locale.alias.
12586
12587 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12588
12589 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12590
12591 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12592
12593 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12594 file parsing and set FD_CLOEXEC.
12595
12596 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12597
12598 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12599
12600 2011-11-14 Andreas Schwab <schwab@redhat.com>
12601
12602 * malloc/arena.c (arena_get2): Don't call reused_arena when
12603 _int_new_arena failed.
12604
12605 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12606
12607 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12608 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12609 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12610 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12611 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12612 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12613 to compile strcasecmp and strncasecmp.
12614 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12615 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12616
12617 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12618
12619 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12620
12621 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12622 locale-defines.sym to gen-as-const-headers.
12623 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12624 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12626 to compile strcasecmp and strncasecmp.
12627 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12628 strcasecmp_l and strncasecmp_l.
12629 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12630 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12631 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12632 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12633 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12634 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12635 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12636 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12637 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12638 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12639 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12640
12641 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12642
12643 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12644 result of SYSDEP_GETTIME_CPU to retval.
12645 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12646 parameter list to macro. Remove trailing semicolon. Adjust users.
12647
12648 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12649 variable.
12650
12651 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12652 mantissa words.
12653 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12654
12655 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12656 from unused variable.
12657
12658 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12659 DWARF definitions.
12660 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12661 for assembling.
12662
12663 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12664 over namespaces.
12665
12666 * sunrpc/rpc_prot.c (rejected): Fix case value.
12667
12668 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12669 unsigned long long int to avoid warnings in shift.
12670
12671 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12672 of use of trans.
12673 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12674 variable tmp.
12675
12676 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12677 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12678 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12679
12680 * nis/nis_table.c (nis_list): Use variable of correct type for
12681 result of __follow_path call.
12682
12683 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12684
12685 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12686 of math functions ceil, trunc, floor, round, and sqrt, when
12687 avaliable on the platform.
12688 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12689 name clash.
12690 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12691 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12692 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12693
12694 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12695
12696 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12697 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12698
12699 2011-11-11 Roland McGrath <roland@hack.frob.com>
12700
12701 * include/unistd.h: Fix __readlink return type.
12702 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12703
12704 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12705
12706 * stdlib/ucontext.h: Undo last change for makecontext.
12707
12708 2011-11-11 Andreas Schwab <schwab@redhat.com>
12709
12710 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12711
12712 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12713 * setjmp/setjmp.h: Mark functions as non-leaf.
12714 * setjmp/bits/setjmp2.h: Likewise.
12715 * stdlib/ucontext.h: Likewise.
12716
12717 2011-11-10 Andreas Schwab <schwab@redhat.com>
12718
12719 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12720 (reused_arena): Don't check arena limit.
12721 (arena_get2): Atomically check arena limit.
12722
12723 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12724
12725 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12726 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12727
12728 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12729 instructions.
12730
12731 2011-11-07 Andreas Schwab <schwab@redhat.com>
12732
12733 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12734 handler when locking.
12735
12736 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12737 Fix size of allocated buffer.
12738
12739 2011-11-04 Andreas Schwab <schwab@redhat.com>
12740
12741 [BZ #10103]
12742 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12743 declarations for long double functions.
12744 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12745
12746 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12747
12748 2011-11-03 Andreas Schwab <schwab@redhat.com>
12749
12750 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12751 installed.
12752
12753 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12754 is disabled.
12755
12756 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12757
12758 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12759
12760 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12761
12762 * include/alloca.h (stackinfo_alloca_round): Define.
12763 (extend_alloca): Use it.
12764 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12765 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12766 here.
12767
12768 * scripts/check-local-headers.sh: Ignore libaudit.h.
12769
12770 * nscd/Makefile (extra-objs): Make recursively expanded.
12771
12772 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12773
12774 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12775 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12776
12777 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12778 * posix/tst-rfc3484-2.c: Likewise.
12779 * posix/tst-rfc3484-3.c: Likewise.
12780
12781 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12782 process_vm_writev.
12783 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12784 process_vm_writev.
12785 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12786 process_vm_writev from libc using GLIBC_2.15 version.
12787
12788 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12789
12790 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12791
12792 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12793 stack usage.
12794
12795 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12796
12797 [BZ #13367]
12798 * nss/getent.c (initgroups_keys): Show error message in case no group
12799 names are given.
12800
12801 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12802 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12803 __bump_nl_timestamp.
12804 * nscd/connections (nscd_init): When host database is served open
12805 netlink socket and request notification about configuration changes.
12806 (main_loop_poll): Track netlink file descriptor and bump timestamp
12807 in case data becomes available.
12808 (main_loop_epoll): Likewise.
12809 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12810 (database_pers_head): Add extra_data fileds.
12811 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12812 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12813 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12814 Adjust caller.
12815 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12816 in6ai data, call __free_in6ai.
12817 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12818 Add -DHAVE_NETLINK.
12819 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12820 interface information. Reuse previous data if netlink timestamp
12821 is not changed.
12822 (__bump_nl_timestamp): New function.
12823 (__free_in6ai): New function.
12824
12825 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12826
12827 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12828 close_not_cancel_no_status here.
12829 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12830
12831 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12832
12833 [BZ #13276]
12834 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12835 return value.
12836
12837 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12838 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12839 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12840
12841 2011-07-03 Andreas Jaeger <aj@suse.de>
12842
12843 [BZ #10709]
12844 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12845 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12846 * math/libm-test.inc (sin_test): Add test case.
12847
12848 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12849
12850 [BZ #13337]
12851 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12852 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12853
12854 * elf/chroot_canon.c (chroot_canon): Cleanups.
12855
12856 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12857
12858 [BZ #13335]
12859 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12860 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12861
12862 * string/test-strchr.c: Make usable for strchrnul testing.
12863 * string/test-strchrnul.c: New file.
12864 * string/Makefile (strop-tests): Add strchrnul.
12865
12866 * po/it.po: Update from translation team.
12867 * po/es.po: Likewise.
12868
12869 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12870
12871 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12872 the three constants needed as parameters. Drop the others.
12873 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12874 __m128i_strloadu_tolower.
12875 Create and initialize variable zero and use it in all the places
12876 where _mm_setzero_si128 was used.
12877
12878 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12879 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12880 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12881 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12882 anymore.
12883 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12884 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12885 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12886 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12887 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12888 __mpranred, __mptan.
12889 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12890 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12891 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12892 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12893 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12894 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12895 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12896 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12897 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12898
12899 2011-10-28 Andreas Schwab <schwab@redhat.com>
12900
12901 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12902 redefine if SHARED.
12903 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12904
12905 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12906 wide char related routines to wcsmbs subdir.
12907
12908 2011-10-27 Andreas Schwab <schwab@redhat.com>
12909
12910 [BZ #13344]
12911 * misc/sys/cdefs.h (__THROWNL): Define.
12912 * posix/unistd.h: Use __THREADNL instead of __THREAD
12913 for memory synchronization functions.
12914
12915 2011-10-26 Roland McGrath <roland@hack.frob.com>
12916
12917 [BZ #13349]
12918 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12919 doesn't exist.
12920 * manual/stdio.texi (Obstack Streams): Node removed.
12921
12922 2011-10-26 Andreas Schwab <schwab@redhat.com>
12923
12924 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12925 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12926 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12927
12928 * math/math_private.h (math_force_eval): Allow non-addressable
12929 arguments.
12930 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12931
12932 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12933
12934 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12935 file is not needed.
12936
12937 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12938 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12939 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12940 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12941 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12942 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12943 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12944 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12945 Add AVX variants.
12946 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12947 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12948 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12949 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12950 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12951 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12952 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12953 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12954 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12955 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12956 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12957 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12958 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12959 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12960 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12961 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12962 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12963 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12964 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12965
12966 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12967 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12968
12969 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12970 place. Use VEX encoding when compiling for AVX.
12971
12972 2011-10-25 Andreas Schwab <schwab@redhat.com>
12973
12974 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12975 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12976
12977 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12978
12979 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12980
12981 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12982 useless if() expression.
12983 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12984 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12985 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12987 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12988 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12989 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12990 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12991 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12992 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12993 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12994 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12995 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12996 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12997 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12998 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12999 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13000 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13001 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13002
13003 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13004
13005 2011-10-25 Andreas Schwab <schwab@redhat.com>
13006
13007 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13008 condition.
13009 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13010
13011 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13012
13013 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13014 .text section. Avoid duplicate constants.
13015 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13019 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13022 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13023 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13024 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13025 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13026 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13027 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13028 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13029 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13030 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13031 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13032 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13033 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13035 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13036 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13037 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13038 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13039 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13040 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13041 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13042 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13043 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13044 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13045 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13046 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13047 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13048 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13049 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13050 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13051 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13052 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13053 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13054 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13055 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13056 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13057 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13058 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13059 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13060
13061 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13062
13063 * sysdeps/x86_64/dla.h: Move to ...
13064 * sysdeps/x86_64/fpu/dla.h: ...here.
13065 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13066 situations. Use __builtin_fma only for gcc 4.6 and up.
13067
13068 * config.make.in: Add have-mfma4 entry.
13069 * configure.in: Substitute libc_cv_cc_fma4.
13070 * math/Makefile (dbl-only-routines): Add sincostab.
13071 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13072 Use __sincostab not sincos.
13073 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13074 name is a macro.
13075 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13078 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13079 using __copysign.
13080 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13081 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13082 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13083 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13084 and __inv.
13085 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13086 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13087 __copysign.
13088 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13089 define aliases when function name is a macro.
13090 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13091 sysdeps/ieee754/dbl-64/sincos.tbl.
13092 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13093 fma4-enabled routines.
13094 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13095 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13096 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13097 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13098 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13099 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13100 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13101 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13102 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13103 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13104 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13105 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13106 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13107 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13108 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13109 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13110 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13111 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13112 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13114 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13115 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13116 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13117 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13118 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13119 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13120 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13121 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13122 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13123 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13124
13125 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13126 rename.
13127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13135
13136 2011-10-24 Andreas Schwab <schwab@redhat.com>
13137
13138 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13139
13140 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13141
13142 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13143
13144 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13145 prediction.
13146 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13147
13148 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13149 Remove unused variable magic_bits.
13150 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13151
13152 * string/strnlen.c: Define and use STRNLEN macro.
13153 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13154 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13155 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13156 * wcsmbs/wcslen.c: Define and use WCSLEN.
13157 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13158 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13159 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13160 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13161 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13162 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13163 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13164
13165 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13166
13167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13168 strnlen-sse2-no-bsf.
13169 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13170 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13171 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13172 Add strnlen support.
13173 (USE_AS_STRNLEN): New macro.
13174 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13175 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13176 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13177 * sysdeps/x86_64/wcslen.S: New file.
13178
13179 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13180
13181 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13182 XMM-moves are used for copying on small sizes.
13183
13184 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13185
13186 * wcsmbs/Makefile (strop-tests): Add wcschr.
13187 * wcsmbs/test-wcschr.c: New file.
13188 * string/test-strchr.c: Update.
13189 Add wcschr support.
13190 (WIDE): New macro.
13191
13192 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13193
13194 * wcsmbs/Makefile (strop-tests): Add wcslen.
13195 * wcsmbs/test-wcslen.c: New file.
13196 * string/test-strlen.c: Update.
13197 Add wcslen support.
13198 (WIDE): New macro.
13199
13200 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13201
13202 * po/it.po: Update from translation team.
13203
13204 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13205
13206 * sysdeps/x86_64/wcscmp.S: Update.
13207 Fix wrong comparison semantics.
13208 wcscmp shall use signed comparison not unsigned.
13209 Don't use substraction to avoid overflow bug.
13210 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13211 * wcsmbc/wcscmp.c: Likewise.
13212 * string/test-strcmp.c: Likewise.
13213 Add new tests to check cases with negative values.
13214
13215 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13216
13217 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13218 * sysdeps/x86_64/dla.h: ...here. New file.
13219 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13228
13229 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13230
13231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13232 __ynl_finite aliases.
13233
13234 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13235
13236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13237
13238 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13239 define DLA_FMA.
13240 [DLA_FMA] (EMULV): Use DLA_FMA.
13241 [DLA_FMA] (MUL12): Use EMULV.
13242 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13243 that are not needed.
13244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13251
13252 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13253
13254 * math/s_nan.c: Undef __nan.
13255 * math/s_nanf.c: Undef __nanf.
13256 * math/s_nanl.c: Undef __nanl.
13257 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13258 "math_private.h".
13259
13260 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13261
13262 * math/s_catan.c: Add branch predictions.
13263 * math/s_catanf.c: Likewise.
13264 * math/s_catanh.c: Likewise.
13265 * math/s_catanhf.c: Likewise.
13266 * math/s_catanhl.c: Likewise.
13267 * math/s_catanl.c: Likewise.
13268 * math/s_cexp.c: Likewise.
13269 * math/s_cexpf.c: Likewise.
13270 * math/s_cexpl.c: Likewise.
13271 * math/s_clog.c: Likewise.
13272 * math/s_clog10.c: Likewise.
13273 * math/s_clog10f.c: Likewise.
13274 * math/s_clog10l.c: Likewise.
13275 * math/s_clogf.c: Likewise.
13276 * math/s_clogl.c: Likewise.
13277 * math/s_csqrt.c: Likewise.
13278 * math/s_csqrtf.c: Likewise.
13279 * math/s_csqrtl.c: Likewise.
13280 * math/s_ctanf.c: Likewise.
13281 * math/s_ctanh.c: Likewise.
13282 * math/s_ctanhf.c: Likewise.
13283 * math/s_ctanhl.c: Likewise.
13284 * math/s_ctanl.c: Likewise.
13285
13286 * math/math_private.h: Define __nan, __nanf, __nanl.
13287 * math/s_cacosh.c: Include <math_private.h>.
13288 * math/s_cacoshl.c: Likewise.
13289 * math/s_casinh.c: Likewise.
13290 * math/s_casinhf.c: Likewise.
13291 * math/s_casinhl.c: Likewise.
13292 * math/s_ccos.c: Rely entire on ccosh.
13293 * math/s_ccosf.c: Rely entire on ccoshf.
13294 * math/s_ccosl.c: Rely entirely on ccoshl.
13295 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13296 Remove tests for FE_INVALID.
13297 * math/s_ccoshf.c: Likewise.
13298 * math/s_ccoshl.c: Likewise.
13299 * math/s_csin.c: Likewise.
13300 * math/s_csinf.c: Likewise.
13301 * math/s_csinh.c Likewise.
13302 * math/s_csinhf.c: Likewise.
13303 * math/s_csinhl.c: Likewise.
13304 * math/s_csinl.c: Likewise.
13305 * math/s_ctan.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13307 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13308 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13309
13310 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13311
13312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13313 compilation problems.
13314
13315 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13316 __builtin_expect.
13317
13318 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13319
13320 * sysdeps/i386/configure.in: Test for -mfma4 option.
13321 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13322 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13323 COMMON_CPUID_INDEX_80000001.
13324 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13325 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13326 use it if FMA3 is not supported.
13327 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13328
13329 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13330 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13331
13332 2011-10-20 Andreas Schwab <schwab@redhat.com>
13333
13334 [BZ #12892]
13335 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13336 it would create a cycle with a link time dependency.
13337
13338 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13339
13340 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13341 instruction.
13342 * string/Makefile (strop-tests): Add rawmemchr.
13343 * string/test-rawmemchr.c: New file.
13344
13345 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13346 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13347 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13348 when compiling str{,n}casecmp and when AVX is available. Hook up
13349 new optimized code in initializers.
13350
13351 2011-10-19 Andreas Schwab <schwab@redhat.com>
13352
13353 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13354 __feraiseexcept instead of feraiseexcept.
13355
13356 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13357
13358 * math/math_private.h: Define defaults for libc_fetestexcept and
13359 libc_feupdateenv.
13360 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13361 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13362 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13363 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13364 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13365 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13366 libc_fetestexcept and libc_feupdateenv.
13367
13368 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13369 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13370 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13371 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13372 libc_feholdexcept_setround.
13373
13374 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13375 Add s_nearbyint-c and s_nearbyintf-c.
13376 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13377 nearbyintf inlines.
13378 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13379 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13380 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13381 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13382
13383 * math/math_private.h: Define defaults for libc_fegetround,
13384 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13385 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13386 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13387 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13388 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13389 standard functions.
13390 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13391 Remove comments and hacks for old compiler versions.
13392 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13393 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13394 libc_feholdexceptl.
13395
13396 2011-10-18 Andreas Schwab <schwab@redhat.com>
13397
13398 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13399 (__feraiseexcept_renamed): Add __NTH.
13400 (feraiseexcept): Add __NTH. Rename local variables to fix
13401 namespace violations.
13402
13403 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13404
13405 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13406
13407 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13408
13409 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13410 recently added interfaces.
13411 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13412
13413 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13414 about macro parameter expansion.
13415
13416 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13417 __NO_MATH_INLINES is defined. Cleanups.
13418
13419 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13420 and __floorf is target has SSE4.1.
13421 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13422 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13423 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13424 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13425
13426 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13427 name.
13428 (floorf): Likewise.
13429
13430 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13431
13432 2011-10-17 Andreas Schwab <schwab@redhat.com>
13433
13434 * misc/sys/cdefs.h: Fix last change.
13435
13436 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13437 database lookup.
13438
13439 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13440
13441 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13442
13443 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13444 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13446 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13447 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13449 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13450 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13451 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13452 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13453 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13454 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13455 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13456 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13457 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13458 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13459 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13460 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13461 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13462 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13463 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13464 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13465
13466 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13467 ceil, ceilf, floor, floorf.
13468
13469 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13470 Perform IRELATIVE relocations last.
13471
13472 * elf/do-rel.h: Add another parameter nrelative, replacing the
13473 local variable with the same name. Change name of the function
13474 to end in Rel or Rela (uppercase).
13475 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13476 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13477 elf_dynamic_do_##reloc function.
13478
13479 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13480
13481 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13482 is sufficient, at least on modern CPUs.
13483
13484 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13485
13486 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13487 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13488
13489 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13490 __expl_finite.
13491 * math/bits/math-finite.h: Add entries for exp.
13492 * math/e_expl.c: Add __*_finite alias.
13493 * sysdeps/i386/fpu/e_exp.S: Likewise.
13494 * sysdeps/i386/fpu/e_expf.S: Likewise.
13495 * sysdeps/i386/fpu/e_expl.c: Likewise.
13496 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13497 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13500 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13501 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13502 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13503
13504 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13505 is sufficient, at least on modern CPUs.
13506
13507 * ctype/ctype-info.c (__ctype_init): Define.
13508 * include/ctype.h (__ctype_init): Declare.
13509 (__ctype_b_loc): The variable is always initialized.
13510 (__ctype_toupper_loc): Likewise.
13511 (__ctype_tolower_loc): Likewise.
13512 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13513 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13514
13515 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13516
13517 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13518
13519 * configure.in: Also look in $cxxmachine/include for C++ system
13520 headers.
13521
13522 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13523
13524 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13525 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13526 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13527 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13528 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13529 (USE_AS_WMEMCMP): New macro.
13530 Fixing indents.
13531 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13532 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13533 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13534 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13536 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13537 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13538 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13539 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13540 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13541 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13542 (USE_AS_WMEMCMP): New macro.
13543 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13544 * sysdeps/string/test-memcmp.c: Update.
13545 Fix simple_wmemcmp.
13546 Add new tests.
13547 * wcsmbs/wmemcmp.c: Update.
13548 (WMEMCMP): New macro.
13549 Fix overflow bug.
13550
13551 2011-10-12 Andreas Jaeger <aj@suse.de>
13552
13553 [BZ #13268]
13554 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13555
13556 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13557
13558 * libio/iofwide.c (do_length): Avoid warning.
13559
13560 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13561
13562 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13563
13564 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13565
13566 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13567 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13568 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13569 * sysdeps/i386/i686/fpu/e_log.S: New file.
13570 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13571 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13572
13573 * ctype/ctype.h: Add support for inlined isXXX functions when
13574 compiling C++ code.
13575
13576 2011-10-14 Andreas Schwab <schwab@redhat.com>
13577
13578 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13579
13580 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13581
13582 2011-10-13 Roland McGrath <roland@hack.frob.com>
13583
13584 [BZ #13291]
13585 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13586
13587 2011-10-13 Andreas Schwab <schwab@redhat.com>
13588
13589 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13590 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13591 feraiseexcept.
13592
13593 * sysdeps/x86_64/memrchr.S: Check for zero size.
13594
13595 * string/stratcliff.c: Add memrchr tests.
13596
13597 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13598
13599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13600 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13601 rawmemchr-sse2 rawmemchr-sse2-bsf.
13602 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13603 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13604 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13605 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13606 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13607 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13608 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13609 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13610 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13611 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13612 * string/memrchr.c (MEMRCHR): New macro.
13613
13614 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13615
13616 Add integration with gcc's -ffinite-math-only and optimize wrapper
13617 functions in libm.
13618 * Versions.def: Define GLIBC_2.15 version for libm.
13619 * math/Makefile (headers): Add bits/math-finite.h.
13620 * math/bits/math-finite.h: New file.
13621 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13622 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13623 * math/e_acoshl.c: Add __*_finite alias.
13624 * math/e_acosl.c: Likewise.
13625 * math/e_asinl.c: Likewise.
13626 * math/e_atan2l.c: Likewise.
13627 * math/e_atanhl.c: Likewise.
13628 * math/e_coshl.c: Likewise.
13629 * math/e_exp10.c: Likewise.
13630 * math/e_exp10f.c: Likewise.
13631 * math/e_exp10l.c: Likewise.
13632 * math/e_exp2l.c: Likewise.
13633 * math/e_fmodl.c: Likewise.
13634 * math/e_gammal_r.c: Likewise.
13635 * math/e_hypotl.c: Likewise.
13636 * math/e_j0l.c: Likewise.
13637 * math/e_j1l.c: Likewise.
13638 * math/e_jnl.c: Likewise.
13639 * math/e_lgammal_r.c: Likewise.
13640 * math/e_log10l.c: Likewise.
13641 * math/e_log2l.c: Likewise.
13642 * math/e_logl.c: Likewise.
13643 * math/e_powl.c: Likewise.
13644 * math/e_sinhl.c: Likewise.
13645 * math/e_sqrtl.c: Likewise.
13646 * math/e_scalb.c: Completely rewritten and optimized.
13647 * math/e_scalbf.c: Likewise.
13648 * math/e_scalbl.c: Likewise.
13649 * math/w_acos.c: Likewise.
13650 * math/w_acosf.c: Likewise.
13651 * math/w_acosl.c: Likewise.
13652 * math/w_acosh.c: Likewise.
13653 * math/w_acoshf.c: Likewise.
13654 * math/w_acoshl.c: Likewise.
13655 * math/w_asin.c: Likewise.
13656 * math/w_asinf.c: Likewise.
13657 * math/w_asinl.c: Likewise.
13658 * math/w_atan2.c: Likewise.
13659 * math/w_atan2f.c: Likewise.
13660 * math/w_atan2l.c: Likewise.
13661 * math/w_atanh.c: Likewise.
13662 * math/w_atanhf.c: Likewise.
13663 * math/w_atanhl.c: Likewise.
13664 * math/w_exp10.c: Likewise.
13665 * math/w_exp10f.c: Likewise.
13666 * math/w_exp10l.c: Likewise.
13667 * math/w_fmod.c: Likewise.
13668 * math/w_fmodf.c: Likewise.
13669 * math/w_fmodl.c: Likewise.
13670 * math/w_j0.c: Likewise.
13671 * math/w_j0f.c: Likewise.
13672 * math/w_j0l.c: Likewise.
13673 * math/w_j1.c: Likewise.
13674 * math/w_j1f.c: Likewise.
13675 * math/w_j1l.c: Likewise.
13676 * math/w_jn.c: Likewise.
13677 * math/w_jnf.c: Likewise.
13678 * math/w_log.c: Likewise.
13679 * math/w_logf.c: Likewise.
13680 * math/w_logl.c: Likewise.
13681 * math/w_log10.c: Likewise.
13682 * math/w_log10f.c: Likewise.
13683 * math/w_log10l.c: Likewise.
13684 * math/w_log2.c: Likewise.
13685 * math/w_log2f.c: Likewise.
13686 * math/w_log2l.c: Likewise.
13687 * math/w_pow.c: Likewise.
13688 * math/w_powf.c: Likewise.
13689 * math/w_powl.c: Likewise.
13690 * math/w_remainder.c: Likewise.
13691 * math/w_remainderf.c: Likewise.
13692 * math/w_remainderl.c: Likewise.
13693 * math/w_scalb.c: Likewise.
13694 * math/w_scalbf.c: Likewise.
13695 * math/w_scalbl.c: Likewise.
13696 * math/w_sqrt.c: Likewise.
13697 * math/w_sqrtf.c: Likewise.
13698 * math/w_sqrtl.c: Likewise.
13699 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13700 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13701 used.
13702 * math/math_private.h: Declare __kernel_standard_f.
13703 * math/w_cosh.c: Remove cruft and optimize a bit.
13704 * math/w_coshf.c: Likewise.
13705 * math/w_coshl.c: Likewise.
13706 * math/w_exp2.c: Likewise.
13707 * math/w_exp2f.c: Likewise.
13708 * math/w_exp2l.c: Likewise.
13709 * math/w_hypot.c: Likewise.
13710 * math/w_hypotf.c: Likewise.
13711 * math/w_hypotl.c: Likewise.
13712 * math/w_lgamma.c: Likewise.
13713 * math/w_lgamma_r.c: Likewise.
13714 * math/w_lgammaf.c: Likewise.
13715 * math/w_lgammaf_r.c: Likewise.
13716 * math/w_lgammal.c: Likewise.
13717 * math/w_lgammal_r.c: Likewise.
13718 * math/w_sinh.c: Likewise.
13719 * math/w_sinhf.c: Likewise.
13720 * math/w_sinhl.c: Likewise.
13721 * math/w_tgamma.c: Likewise.
13722 * math/w_tgammaf.c: Likewise.
13723 * math/w_tgammal.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13725 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13726 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13727 Minor optimizations. Pretty printing. Remove cruft.
13728 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13729 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13730 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13731 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13732 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13733 * sysdeps/i386/fpu/e_asin.S: Likewise.
13734 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13735 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13736 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13737 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13738 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13739 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13740 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13741 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13742 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13743 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13744 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13745 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13746 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13747 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13748 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13749 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13750 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13751 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13752 * sysdeps/i386/fpu/e_log.S: Likewise.
13753 * sysdeps/i386/fpu/e_log10.S: Likewise.
13754 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13755 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13756 * sysdeps/i386/fpu/e_log2.S: Likewise.
13757 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13758 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13759 * sysdeps/i386/fpu/e_logf.S: Likewise.
13760 * sysdeps/i386/fpu/e_logl.S: Likewise.
13761 * sysdeps/i386/fpu/e_pow.S: Likewise.
13762 * sysdeps/i386/fpu/e_powf.S: Likewise.
13763 * sysdeps/i386/fpu/e_powl.S: Likewise.
13764 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13765 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13766 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13767 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13768 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13769 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13770 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13771 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13772 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13773 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13774 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13776 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13777 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13778 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13779 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13780 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13781 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13782 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13783 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13784 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13785 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13786 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13787 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13788 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13789 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13790 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13792 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13793 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13794 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13795 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13796 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13797 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13798 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13799 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13800 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13801 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13802 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13803 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13804 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13805 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13806 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13807 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13808 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13809 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13810 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13811 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13812 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13813 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13814 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13818 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13819 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13823 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13844 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13845 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13847 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13848 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13849 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13850 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13851 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13852 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13853 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13854 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13855 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13856 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13857 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13858 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13860 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13861 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13864 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13865 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13866 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13867 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13868 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13869 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13870 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13871 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13872 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13873 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13874 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13875 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13876 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13877 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13878 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13879 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13880 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13881 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13882 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13883 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13884 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13885 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13886 (__isnanf): Likewise.
13887 (__isinf_ns): Likewise.
13888 (__isinf_nsf): Likewise.
13889 (__finite): Likewise.
13890 (__finitef): Likewise.
13891 (__ieee754_sqrt): Define as macro.
13892 (__ieee754_sqrtf): Define as macro.
13893 (__ieee754_sqrtl): Define as macro.
13894 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13895 inlined copy.
13896 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13897 __FINITE_MATH_ONLY__ consistent.
13898 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13899
13900 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13901
13902 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13903 of rawmemchr.
13904
13905 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13906
13907 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13908
13909 * po/ja.po: Update from translation team.
13910
13911 2011-10-08 Roland McGrath <roland@hack.frob.com>
13912
13913 * locale/programs/locarchive.c (prepare_address_space): New function.
13914 (create_archive, enlarge_archive, open_archive): Use it.
13915
13916 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13917 inside [SHARED], where it is used.
13918
13919 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13920
13921 * nss/getent.c (netgroup_keys): Remove unused variable.
13922 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13923
13924 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13925
13926 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13927 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13928 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13929 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13930 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13931 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13932 * math/Makefile (libm-calls): Add s_isinf_ns.
13933 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13934 * math/multc3.c: Likewise.
13935 * math/s_casin.c: Likewise.
13936 * math/s_casinf.c: Likewise.
13937 * math/s_casinl.c: Likewise.
13938 * math/s_ccos.c: Likewise.
13939 * math/s_ccosf.c: Likewise.
13940 * math/s_ccosl.c: Likewise.
13941 * math/s_ctan.c: Likewise.
13942 * math/s_ctanf.c: Likewise.
13943 * math/s_ctanh.c: Likewise.
13944 * math/s_ctanhf.c: Likewise.
13945 * math/s_ctanhl.c: Likewise.
13946 * math/s_ctanl.c: Likewise.
13947 * math/w_fmod.c: Likewise.
13948 * math/w_fmodf.c: Likewise.
13949 * math/w_fmodl.c: Likewise.
13950 * math/w_remainder.c: Likewise.
13951 * math/w_remainderf.c: Likewise.
13952 * math/w_remainderl.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13954 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13955 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13957 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13958 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13959 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13960 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13961
13962 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13963 of the number.
13964 * stdio-common/printf_fphex.c: Likewise.
13965 * stdio-common/printf_size.c: Likewise.
13966
13967 * math/e_exp10.c: Include math_private.h using <...> not "...".
13968 * math/e_exp10f.c: Likewise.
13969 * math/e_exp10l.c: Likewise.
13970 * math/e_exp2l.c: Likewise.
13971 * math/e_j0l.c: Likewise.
13972 * math/e_j1l.c: Likewise.
13973 * math/e_jnl.c: Likewise.
13974 * math/e_lgammal_r.c: Likewise.
13975 * math/e_rem_pio2l.c: Likewise.
13976 * math/e_scalb.c: Likewise.
13977 * math/e_scalbf.c: Likewise.
13978 * math/e_scalbl.c: Likewise.
13979 * math/k_cosl.c: Likewise.
13980 * math/k_sinl.c: Likewise.
13981 * math/k_tanl.c: Likewise.
13982 * math/s_cacoshf.c: Likewise.
13983 * math/s_catan.c: Likewise.
13984 * math/s_catanf.c: Likewise.
13985 * math/s_catanh.c: Likewise.
13986 * math/s_catanhf.c: Likewise.
13987 * math/s_catanhl.c: Likewise.
13988 * math/s_catanl.c: Likewise.
13989 * math/s_ccosh.c: Likewise.
13990 * math/s_ccoshf.c: Likewise.
13991 * math/s_ccoshl.c: Likewise.
13992 * math/s_cexp.c: Likewise.
13993 * math/s_cexpf.c: Likewise.
13994 * math/s_cexpl.c: Likewise.
13995 * math/s_clog.c: Likewise.
13996 * math/s_clog10.c: Likewise.
13997 * math/s_clog10f.c: Likewise.
13998 * math/s_clog10l.c: Likewise.
13999 * math/s_clogf.c: Likewise.
14000 * math/s_clogl.c: Likewise.
14001 * math/s_csin.c: Likewise.
14002 * math/s_csinf.c: Likewise.
14003 * math/s_csinh.c: Likewise.
14004 * math/s_csinhf.c: Likewise.
14005 * math/s_csinhl.c: Likewise.
14006 * math/s_csinl.c: Likewise.
14007 * math/s_csqrt.c: Likewise.
14008 * math/s_csqrtf.c: Likewise.
14009 * math/s_csqrtl.c: Likewise.
14010 * math/s_ctan.c: Likewise.
14011 * math/s_ctanf.c: Likewise.
14012 * math/s_ctanh.c: Likewise.
14013 * math/s_ctanhf.c: Likewise.
14014 * math/s_ctanhl.c: Likewise.
14015 * math/s_ctanl.c: Likewise.
14016 * math/s_ldexp.c: Likewise.
14017 * math/s_ldexpf.c: Likewise.
14018 * math/s_ldexpl.c: Likewise.
14019 * math/s_significand.c: Likewise.
14020 * math/s_significandf.c: Likewise.
14021 * math/s_significandl.c: Likewise.
14022 * math/w_acos.c: Likewise.
14023 * math/w_acosf.c: Likewise.
14024 * math/w_acosh.c: Likewise.
14025 * math/w_acoshf.c: Likewise.
14026 * math/w_acoshl.c: Likewise.
14027 * math/w_acosl.c: Likewise.
14028 * math/w_asin.c: Likewise.
14029 * math/w_asinf.c: Likewise.
14030 * math/w_asinl.c: Likewise.
14031 * math/w_atan2.c: Likewise.
14032 * math/w_atan2f.c: Likewise.
14033 * math/w_atan2l.c: Likewise.
14034 * math/w_atanh.c: Likewise.
14035 * math/w_atanhf.c: Likewise.
14036 * math/w_atanhl.c: Likewise.
14037 * math/w_cosh.c: Likewise.
14038 * math/w_coshf.c: Likewise.
14039 * math/w_coshl.c: Likewise.
14040 * math/w_dremf.c: Likewise.
14041 * math/w_exp10.c: Likewise.
14042 * math/w_exp10f.c: Likewise.
14043 * math/w_exp10l.c: Likewise.
14044 * math/w_exp2.c: Likewise.
14045 * math/w_exp2f.c: Likewise.
14046 * math/w_fmod.c: Likewise.
14047 * math/w_fmodf.c: Likewise.
14048 * math/w_fmodl.c: Likewise.
14049 * math/w_hypot.c: Likewise.
14050 * math/w_hypotf.c: Likewise.
14051 * math/w_hypotl.c: Likewise.
14052 * math/w_j0.c: Likewise.
14053 * math/w_j0f.c: Likewise.
14054 * math/w_j0l.c: Likewise.
14055 * math/w_j1.c: Likewise.
14056 * math/w_j1f.c: Likewise.
14057 * math/w_j1l.c: Likewise.
14058 * math/w_jn.c: Likewise.
14059 * math/w_jnf.c: Likewise.
14060 * math/w_jnl.c: Likewise.
14061 * math/w_lgamma.c: Likewise.
14062 * math/w_lgamma_r.c: Likewise.
14063 * math/w_lgammaf.c: Likewise.
14064 * math/w_lgammaf_r.c: Likewise.
14065 * math/w_lgammal.c: Likewise.
14066 * math/w_lgammal_r.c: Likewise.
14067 * math/w_log.c: Likewise.
14068 * math/w_log10.c: Likewise.
14069 * math/w_log10f.c: Likewise.
14070 * math/w_log10l.c: Likewise.
14071 * math/w_log2.c: Likewise.
14072 * math/w_log2f.c: Likewise.
14073 * math/w_log2l.c: Likewise.
14074 * math/w_logf.c: Likewise.
14075 * math/w_logl.c: Likewise.
14076 * math/w_pow.c: Likewise.
14077 * math/w_powf.c: Likewise.
14078 * math/w_powl.c: Likewise.
14079 * math/w_remainder.c: Likewise.
14080 * math/w_remainderf.c: Likewise.
14081 * math/w_remainderl.c: Likewise.
14082 * math/w_scalb.c: Likewise.
14083 * math/w_scalbf.c: Likewise.
14084 * math/w_scalbl.c: Likewise.
14085 * math/w_sinh.c: Likewise.
14086 * math/w_sinhf.c: Likewise.
14087 * math/w_sinhl.c: Likewise.
14088 * math/w_sqrt.c: Likewise.
14089 * math/w_sqrtf.c: Likewise.
14090 * math/w_sqrtl.c: Likewise.
14091 * math/w_tgamma.c: Likewise.
14092 * math/w_tgammaf.c: Likewise.
14093 * math/w_tgammal.c: Likewise.
14094
14095 * po/ja.po: Update from translation team.
14096
14097 2011-09-29 Andreas Jaeger <aj@suse.de>
14098
14099 [BZ #13179]
14100 * sunrpc/netname.c (netname2host): Fix logic.
14101
14102 [BZ #6779]
14103 [BZ #6783]
14104 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14105 correctly.
14106 * math/w_remainder.c (__remainder): Likewise.
14107 * math/w_remainderf.c (__remainderf): Likewise.
14108 * math/libm-test.inc (remainder_test): Add test cases.
14109
14110 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14111
14112 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14113 sdiv_qrnnd.
14114
14115 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14116
14117 * string/test-memcmp.c: Avoid unncessary #defines.
14118 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14119
14120 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14121
14122 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14123 Use new sse2 version for core i3 - i7 as it's faster
14124 than sse42 version.
14125 (bit_Prefer_PMINUB_for_stringop): New.
14126 * sysdeps/x86_64/rawmemchr.S: Update.
14127 Replace with faster SSE2 version.
14128 * sysdeps/x86_64/memrchr.S: New file.
14129 * sysdeps/x86_64/memchr.S: Update.
14130 Replace with faster SSE2 version.
14131
14132 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14133
14134 * elf/dl-load.c (lose): Add cast to avoid warning.
14135
14136 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14137
14138 * po/ca.po: Update from translation team.
14139
14140 * inet/getnetgrent_r.c: Hook up nscd.
14141 * nscd/Makefile (routines): Add nscd_netgroup.
14142 (nscd-modules): Add netgroupcache.
14143 (CFLAGS-netgroupcache.c): Define.
14144 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14145 (cache_search): Add const to second parameter.
14146 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14147 INNETGR.
14148 (dbs): Add netgrdb entry.
14149 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14150 (verify_persistent_db): Handle netgrdb.
14151 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14152 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14153 GETFDNETGR.
14154 (netgroup_response_header): Define.
14155 (innetgroup_response_header): Define.
14156 (datahead): Add netgroup_response_header and innetgroup_response_header
14157 elements.
14158 * nscd/nscd.conf: Add entries for netgroup cache.
14159 * nscd/nscd.h (dbtype): Add netgrdb.
14160 (_PATH_NSCD_NETGROUP_DB): Define.
14161 (netgroup_iov_disabled): Declare.
14162 (xmalloc, xcalloc, xrealloc): Move declarations here.
14163 (cache_search): Adjust prototype.
14164 Add netgroup-related prototypes.
14165 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14166 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14167 (__nscd_innetgr): Declare.
14168 * nscd/selinux.c (perms): Use access_vector_t as element type and
14169 add netgroup-related initializers.
14170 * nscd/netgroupcache.c: New file.
14171 * nscd/nscd_netgroup.c: New file.
14172 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14173 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14174 For four parameters use innetgr.
14175 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14176 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14177 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14178 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14179
14180 * nscd/connections.c (register_traced_file): Don't register file
14181 for disabled databases.
14182
14183 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14184
14185 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14186
14187 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14188 from tree and freeing node.
14189
14190 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14191
14192 * nss/nsswitch.c (__nss_database_lookup): Handle
14193 nss_parse_service_list out of memory case.
14194
14195 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14196
14197 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14198 out of memory case.
14199
14200 2011-10-04 Andreas Schwab <schwab@redhat.com>
14201
14202 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14203 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14204 pass it down.
14205 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14206 elf_machine_rela, elf_machine_lazy_rel.
14207 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14208 (ELF_DYNAMIC_DO_REL): Likewise.
14209 (ELF_DYNAMIC_DO_RELA): Likewise.
14210 (ELF_DYNAMIC_RELOCATE): Likewise.
14211 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14212 to ELF_DYNAMIC_DO_REL.
14213 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14214 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14215 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14216 elf_machine_rela.
14217 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14218 skip_ifunc, don't call ifunc function if non-zero.
14219 (elf_machine_rela): Likewise.
14220 (elf_machine_lazy_rel): Likewise.
14221 (elf_machine_lazy_rela): Likewise.
14222 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14223 (elf_machine_lazy_rel): Likewise.
14224 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14225 Likewise.
14226 (elf_machine_lazy_rel): Likewise.
14227 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14228 Likewise.
14229 (elf_machine_lazy_rel): Likewise.
14230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14231 (elf_machine_lazy_rel): Likewise.
14232 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14233 (elf_machine_lazy_rel): Likewise.
14234 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14235 (elf_machine_lazy_rel): Likewise.
14236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14237 (elf_machine_lazy_rel): Likewise.
14238 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14239 (elf_machine_lazy_rel): Likewise.
14240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14241 (elf_machine_lazy_rel): Likewise.
14242
14243 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14244
14245 * nss/nss_files/files-init.c (_nss_files_init): Use static
14246 initialization for all the *_traced_file variables.
14247
14248 2011-09-28 Andreas Schwab <schwab@redhat.com>
14249
14250 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14251
14252 2011-09-27 Roland McGrath <roland@hack.frob.com>
14253
14254 [BZ #13226]
14255 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14256
14257 2011-09-27 Andreas Schwab <schwab@redhat.com>
14258
14259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14260 Reread the line before reparsing it.
14261
14262 2011-09-26 Andreas Schwab <schwab@redhat.com>
14263
14264 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14265
14266 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14267 Maxim Kuvyrkov <maxim@codesourcery.com>
14268 Joseph Myers <joseph@codesourcery.com>
14269
14270 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14271 if needed for __stack_chk_guard.
14272
14273 2011-09-19 Roland McGrath <roland@hack.frob.com>
14274
14275 * sysdeps/posix/spawni.c (script_execute): Always define it.
14276 It will be optimized away if unused.
14277 (maybe_script_execute): New function.
14278 (__spawni): Call it.
14279
14280 * Makerules: Don't include tls.make.
14281 (config-tls): Always set to thread.
14282 * tls.make.c: File removed.
14283
14284 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14285
14286 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14287 * config.make.in (CPPFLAGS-config): New substituted variable.
14288
14289 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14290
14291 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14292
14293 [BZ #13192]
14294 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14295 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14296
14297 2011-09-15 Roland McGrath <roland@hack.frob.com>
14298
14299 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14300 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14302 (CALL_FAIL): Likewise.
14303 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14304 (CALL_FAIL): Macro removed.
14305 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14306
14307 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14308
14309 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14310 for __FINITE_MATH_ONLY__ == 1.
14311
14312 2011-09-15 Andreas Schwab <schwab@redhat.com>
14313
14314 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14315 __ieee754_sqrt instead of sqrt.
14316 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14317 __ieee754_sqrtf instead of sqrtf.
14318 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14319 __floorf instead of floorf.
14320 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14321 __floorf, __truncf instead of floorf, truncf.
14322
14323 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14324
14325 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14326
14327 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14328 __extern_always_inline.
14329 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14330 32-bit.
14331
14332 2011-09-14 Andreas Schwab <schwab@redhat.com>
14333
14334 * elf/rtld.c (dl_main): Also relocate in dependency order when
14335 doing symbol dependency testing.
14336
14337 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14338
14339 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14340 Always define `refsym'.
14341
14342 2011-09-13 Andreas Schwab <schwab@redhat.com>
14343
14344 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14345 (__FD_ELT): Renamed from __FDELT.
14346 * misc/bits/select2.h (__FD_ELT): Likewise.
14347 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14348 __FD_MASK instead of __FDELT, __FDMASK.
14349 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14350 Likewise.
14351 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14352 Likewise.
14353
14354 * elf/Makefile (gen-ldd): Fix pattern.
14355
14356 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14357 (init_tls): Likewise.
14358
14359 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14360
14361 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14362
14363 2011-09-12 Andreas Schwab <schwab@redhat.com>
14364
14365 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14366 `struct cmsghdr *' instead of `void *'.
14367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14368 Likewise.
14369
14370 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14371
14372 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14373 if non-absolute.
14374 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14375 ldd_rewrite_script.
14376
14377 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14378
14379 * configure.in: Remove --with-tls option.
14380 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14381 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14382 out in case it is missing.
14383 * sysdeps/ia64/elf/configure.in: Likewise.
14384 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14385 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14386 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14387 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14388 * sysdeps/sh/elf/configure.in: Likewise.
14389 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14390 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14391 * sysdeps/x86_64/elf/configure.in: Likewise.
14392 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14393 * sysdeps/mach/hurd/tls.h: Likewise.
14394
14395 [BZ #13067]
14396 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14397
14398 [BZ #13090]
14399 * configure.in: Fix use of AC_INIT.
14400
14401 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14402
14403 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14404
14405 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14406 __set_errno.
14407 * malloc/hooks.c: Likewise.
14408
14409 [BZ #11929]
14410 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14411 variables statically.
14412 (narenas): Initialize.
14413 (list_lock): Initialize.
14414 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14415 initializtion of main_arena and list_lock. Small cleanups.
14416 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14417 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14418 Add initializers to main_arena and mp_.
14419 (malloc_state): Remove pagesize member. Change all users to use
14420 GLRO(dl_pagesize).
14421
14422 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14423 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14424 is always initialized.
14425
14426 * malloc/malloc.c: Removed unused configurations and dead code.
14427 * malloc/arena.c: Likewise.
14428 * malloc/hooks.c: Likewise.
14429 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14430
14431 * include/tls.h: Removed. USE___THREAD must always be defined.
14432 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14433 * elf/dl-libc.c: Likewise.
14434 * elf/dl-tsd.c: Likewise.
14435 * include/errno.h: Likewise.
14436 * include/netdb.h: Likewise.
14437 * include/resolv.h: Likewise.
14438 * inet/herrno-loc.c: Likewise.
14439 * inet/herrno.c: Likewise.
14440 * malloc/arena.c: Likewise.
14441 * malloc/hooks.c: Likewise.
14442 * malloc/malloc.c: Likewise.
14443 * resolv/res-state.c: Likewise.
14444 * resolv/res_libc.c: Likewise.
14445 * sysdeps/i386/dl-machine.h: Likewise.
14446 * sysdeps/ia64/dl-machine.h: Likewise.
14447 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14448 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14449 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14450 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14451 * sysdeps/sh/dl-machine.h: Likewise.
14452 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14453 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14454 * sysdeps/unix/i386/sysdep.S: Likewise.
14455 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14456 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14457 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14458 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14459 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14461 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14462 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14463 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14464 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14465 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14466 * sysdeps/x86_64/dl-machine.h: Likewise.
14467 * tls.make.c: Likewise.
14468
14469 * configure.in: Remove --with-__thread option. Make tests for
14470 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14471 tls_model attribute fail if no support is available. Remove
14472 USE_IN_LIBIO.
14473 * Makeconfig: Adjust for dropped configure option. All features are
14474 now mandatory.
14475 * Makerules: Likewise.
14476 * Versions.def: Likewise.
14477 * argp/argp-fmtstream.c: Likewise.
14478 * argp/argp-fmtstream.h: Likewise.
14479 * argp/argp-help.c: Likewise.
14480 * assert/assert.c: Likewise.
14481 * config.h.in: Likewise.
14482 * config.make.in: Likewise.
14483 * configure: Likewise.
14484 * configure.in: Likewise.
14485 * csu/Versions: Likewise.
14486 * csu/init.c: Likewise.
14487 * elf/tst-audit2.c: Likewise.
14488 * elf/tst-tls10.c: Likewise.
14489 * elf/tst-tls10.h: Likewise.
14490 * elf/tst-tls11.c: Likewise.
14491 * elf/tst-tls12.c: Likewise.
14492 * elf/tst-tls14.c: Likewise.
14493 * elf/tst-tlsmod11.c: Likewise.
14494 * elf/tst-tlsmod12.c: Likewise.
14495 * elf/tst-tlsmod13.c: Likewise.
14496 * elf/tst-tlsmod13a.c: Likewise.
14497 * elf/tst-tlsmod14a.c: Likewise.
14498 * elf/tst-tlsmod15b.c: Likewise.
14499 * elf/tst-tlsmod16a.c: Likewise.
14500 * elf/tst-tlsmod16b.c: Likewise.
14501 * elf/tst-tlsmod7.c: Likewise.
14502 * elf/tst-tlsmod8.c: Likewise.
14503 * elf/tst-tlsmod9.c: Likewise.
14504 * gmon/gmon.c: Likewise.
14505 * grp/fgetgrent_r.c: Likewise.
14506 * grp/putgrent.c: Likewise.
14507 * hurd/fopenport.c: Likewise.
14508 * include/libc-symbols.h: Likewise.
14509 * include/tls.h: Likewise.
14510 * intl/gettextP.h: Likewise.
14511 * intl/loadinfo.h: Likewise.
14512 * locale/global-locale.c: Likewise.
14513 * locale/localeinfo.h: Likewise.
14514 * mach/devstream.c: Likewise.
14515 * malloc/arena.c: Likewise.
14516 * malloc/set-freeres.c: Likewise.
14517 * misc/err.c: Likewise.
14518 * misc/getttyent.c: Likewise.
14519 * misc/mntent_r.c: Likewise.
14520 * posix/getopt.c: Likewise.
14521 * posix/wordexp.c: Likewise.
14522 * pwd/fgetpwent_r.c: Likewise.
14523 * resolv/Versions: Likewise.
14524 * resolv/res_hconf.c: Likewise.
14525 * shadow/fgetspent_r.c: Likewise.
14526 * shadow/putspent.c: Likewise.
14527 * stdio-common/printf_fphex.c: Likewise.
14528 * stdio-common/tmpfile.c: Likewise.
14529 * stdlib/abort.c: Likewise.
14530 * stdlib/fmtmsg.c: Likewise.
14531 * sunrpc/auth_unix.c: Likewise.
14532 * sunrpc/clnt_perr.c: Likewise.
14533 * sunrpc/clnt_tcp.c: Likewise.
14534 * sunrpc/clnt_udp.c: Likewise.
14535 * sunrpc/clnt_unix.c: Likewise.
14536 * sunrpc/openchild.c: Likewise.
14537 * sunrpc/svc_simple.c: Likewise.
14538 * sunrpc/svc_tcp.c: Likewise.
14539 * sunrpc/svc_udp.c: Likewise.
14540 * sunrpc/svc_unix.c: Likewise.
14541 * sunrpc/xdr.c: Likewise.
14542 * sunrpc/xdr_array.c: Likewise.
14543 * sunrpc/xdr_rec.c: Likewise.
14544 * sunrpc/xdr_ref.c: Likewise.
14545 * sunrpc/xdr_stdio.c: Likewise.
14546
14547 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14548
14549 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14550
14551 2011-07-03 Andreas Jaeger <aj@suse.de>
14552
14553 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14554 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14555 regenerate with gen-libm-tests.pl.
14556
14557 2010-05-12 Petr Baudis <pasky@suse.cz>
14558
14559 [BZ #11589]
14560 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14561 around j0() zero points by switching to j1().
14562 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14563 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14565 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14566
14567 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14568
14569 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14570 instead of 0.
14571 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14572 instead of 0. .
14573 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14574 Patch in part by Pavel Roskin <proski@gnu.org>.
14575
14576 [BZ #13138]
14577 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14578 realloc.
14579 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14580 Free memory block if necessary.
14581
14582 [BZ #12847]
14583 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14584 be NULL. Don't lock in this case.
14585
14586 2011-09-09 Roland McGrath <roland@hack.frob.com>
14587
14588 * elf/elf.h (ELFOSABI_GNU): New macro.
14589 (ELFOSABI_LINUX): Define to that.
14590
14591 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14592
14593 * string/strncat.c (strncat): Undef the symbol in case it has been
14594 defined in bits/string.h.
14595
14596 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14597
14598 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14599
14600 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14601 link map.
14602
14603 2011-08-17 Andreas Jaeger <aj@suse.de>
14604
14605 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14606
14607 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14608 Ian Lance Taylor <iant@google.com>
14609
14610 * math/libm-test.inc (lround_test): New testcase.
14611 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14612
14613 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14614
14615 * Makefile: Remove support for automatic cvs check-ins.
14616 * Makerules: Likewise.
14617 * config.make.in: Likewise.
14618 * configure.in: Likewise.
14619 * intl/Makefile: Likewise.
14620 * locale/Makefile: Likewise.
14621 * po/Makefile: Likewise.
14622 * posix/Makefile: Likewise.
14623 * sysdeps/gnu/Makefile: Likewise.
14624 * sysdeps/mach/hurd/Makefile: Likewise.
14625 * sysdeps/sparc/sparc32/Makefile: Likewise.
14626
14627 [BZ #13118]
14628 * posix/Makefile (bug-regex32-ENV): Define.
14629 Patch by John Stanley <jpsinthemix@verizon.net>.
14630
14631 * misc/Makefile (headers): Add bits/select2.h.
14632 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14633 * misc/bits/select2.h: New file.
14634 * include/bits/select2.h: New file.
14635 * debug/Makefile (routines): Add fdelt_chk.
14636 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14637 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14638 FD_ISSET.
14639 * debug/fdelt_chk.c: New file.
14640
14641 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14642 * wcsmbs/test-wmemcmp.c: Likewise.
14643 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14644 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14645
14646 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14647
14648 * string/Makefile (strop-tests): Add memcmp.
14649 * string/test-wmemcmp.c: New file.
14650 * string/test-memcmp.c: Add wmemcmp support.
14651
14652 2011-09-08 Roland McGrath <roland@hack.frob.com>
14653
14654 [BZ #13153]
14655 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14656 2011-07-19 change.
14657
14658 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14659 garbage value in a __mach_port_mod_refs call in the cases of the
14660 task-self and thread-self ports.
14661
14662 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14663
14664 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14665
14666 2011-09-08 Andreas Schwab <schwab@redhat.com>
14667
14668 * elf/dl-load.c (lose): Check for non-null L.
14669
14670 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14671
14672 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14673
14674 * elf/dl-libc.c (dlerror_run): Pass back error code from
14675 dl_catch_error.
14676
14677 [BZ #13123]
14678 * elf/dl-load.c (lose): Free l_origin if it is valid.
14679
14680 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14681 names.
14682 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14683 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14685 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14686 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14687 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14688
14689 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14690
14691 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14692 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14693 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14694 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14695 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14696 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14697 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14698 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14699 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14700 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14701
14702 2011-08-15 Alan Modra <amodra@gmail.com>
14703
14704 [BZ #13092]
14705 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14706 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14707 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14708 ppc_mcount to static-only-routines.
14709 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14710 __mcount_internal.
14711 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14712 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14713
14714 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14715
14716 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14717 for finite and infinity parameters.
14718
14719 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14720
14721 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14722 and add nop instructions for throughput optimization.
14723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14724
14725 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14726
14727 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14728 aligned copy for power7 with vector-scalar instructions.
14729 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14730
14731 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14732
14733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14734 AVX check.
14735
14736 2011-09-07 Andreas Schwab <schwab@redhat.com>
14737
14738 [BZ #13144]
14739 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14740 last change.
14741
14742 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14743
14744 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14745 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14746 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14747 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14748 clock_gettime.
14749
14750 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14751
14752 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14753 Forgot to demangle the pointer.
14754
14755 * sysdeps/i386/sysdep.h: Define atom_text_section.
14756 * sysdeps/x86_64/sysdep.h: Likewise.
14757 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14758 section with atom_text_section.
14759 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14760 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14761 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14762 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14763 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14764
14765 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14766 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14767 already be defined. Change to take two parameters and don't assign
14768 result to variable. Adjust all users.
14769 Define INTERNAL_GETTIME if not already defined.
14770 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14771 call.
14772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14773 HAVE_CLOCK_GETTIME_VSYSCALL.
14774 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14775
14776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14777 gettimeofday vsyscall, just use time.
14778
14779 2011-09-06 Andreas Schwab <schwab@redhat.com>
14780
14781 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14782 <errno.h>.
14783
14784 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14785
14786 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14787 syscall on x86-64.
14788 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14789 syscall.
14790 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14791 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14792 syscall if possible.
14793
14794 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14795
14796 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14797 e_ident. Don't pass to find_mapsXX.
14798 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14799
14800 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14801
14802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14803 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14804 * sysdeps/x86_64/multiarch/strchr.S: Update.
14805 Check bit_slow_BSF bit.
14806 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14807 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14808 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14809
14810 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14811
14812 [BZ #13134]
14813 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14814 before glibc 2.15.
14815 (tryshell): Define.
14816 (__spawni): Change last parameter to be flag. Test
14817 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14818 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14819 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14820 * posix/spawni.c: Likewise.
14821 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14822 * posix/spawnp.c: Likewise. Change normal version to use
14823 SPAWN_XFLAGS_USE_PATH.
14824 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14825 SPAWN_XFLAGS_TRY_SHELL.
14826
14827 [BZ #13150]
14828 * posix/glob.h: Remove gcc 1.x support.
14829
14830 [BZ #13068]
14831 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14832
14833 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14834
14835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14836 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14837 strrchr-sse2-bsf
14838 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14839 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14840 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14841 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14842 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14843 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14844
14845 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14846
14847 * sysdeps/x86_64/wcscmp.S: New file.
14848
14849 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14850 wcscmp-c wcscmp-sse2
14851 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14852 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14853 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14854 * wcsmbs/wcscmp.c: Allow renaming.
14855
14856 2011-09-05 David S. Miller <davem@davemloft.net>
14857
14858 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14859 stack slot, rather than the struct return pointer slot.
14860 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14861 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14863 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14864
14865 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14866
14867 * po/ja.po: Update from translation team.
14868
14869 [BZ #13144]
14870 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14871 kernel in 64-bit binaries.
14872
14873 2011-09-01 David S. Miller <davem@davemloft.net>
14874
14875 * elf/elf.h (HWCAP_SPARC_*): Move to..
14876 * sysdeps/sparc/sysdep.h: this new file and add new values.
14877 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14878 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14879 _DL_HWCAP_COUNT to 24.
14880 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14881 entries.
14882 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14883 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14884 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14886 instead of magic constants.
14887 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14888
14889 2011-08-31 David S. Miller <davem@davemloft.net>
14890
14891 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14893 Reimplement to do errno handling inline.
14894 (SYSCALL_ERROR_HANDLER): New macro.
14895 (__SYSCALL_STRING): Do not do errno handling in asm.
14896 (__CLONE_SYSCALL_STRING): Delete.
14897 (__INTERNAL_SYSCALL_STRING): Delete.
14898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14899 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14900 (PSEUDO): Reimplement to do errno handling inline.
14901 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14902 (SYSCALL_ERROR_HANDLER): New macro.
14903 (__SYSCALL_STRING): Do not do errno handling in asm.
14904 (__CLONE_SYSCALL_STRING): Delete.
14905 (__INTERNAL_SYSCALL_STRING): Delete.
14906 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14907 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14908 i386.
14909 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14910 (inline_syscall*): Add 'err' argument.
14911 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14912 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14913 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14914 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14915
14916 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14917 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14918
14919 2011-08-30 Andreas Schwab <schwab@redhat.com>
14920
14921 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14922
14923 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14924
14925 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14926 directive.
14927
14928 2011-08-24 David S. Miller <davem@davemloft.net>
14929
14930 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14931
14932 2011-08-24 Andreas Schwab <schwab@redhat.com>
14933
14934 * elf/Makefile: Add rules to build and run unload8 test.
14935 * elf/unload8.c: New file.
14936 * elf/unload8mod1.c: New file.
14937 * elf/unload8mod1x.c: New file.
14938 * elf/unload8mod2.c: New file.
14939 * elf/unload8mod3.c: New file.
14940
14941 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14942 it wasn't used.
14943
14944 2011-08-23 David S. Miller <davem@davemloft.net>
14945
14946 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14947 subtract stack bias.
14948 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14949 %sp not %fp in calculations.
14950 (_JMPBUF_UNWINDS_ADJ): Likewise.
14951
14952 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14953 (aio_suspend): Call it to force an exception region around the
14954 AIO_MISC_WAIT() invocation.
14955
14956 2011-08-23 Andreas Schwab <schwab@redhat.com>
14957
14958 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14959 backslash.
14960
14961 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14962
14963 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14964 protection macro.
14965 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14966 and <dl-machine.h>.
14967 (Elf64_FuncDesc): Remove.
14968
14969 2011-08-22 David S. Miller <davem@davemloft.net>
14970
14971 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14972 sigaltstack check, add missing cfi directives.
14973 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14974 missing cfi directives, and sigaltstack handling.
14975
14976 2011-08-16 Andreas Schwab <schwab@redhat.com>
14977
14978 [BZ #11724]
14979 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14980 object is seen twice.
14981 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14982
14983 * elf/Makefile (distribute): Add tst-initorder2.c.
14984 (tests): Add tst-initorder2.
14985 (modules-names): Add tst-initorder2a tst-initorder2b
14986 tst-initorder2c tst-initorder2d. Add rules to build them.
14987 ($(objpfx)tst-initorder2.out): New rule.
14988 * elf/tst-initorder2.c: New file.
14989 * elf/tst-initorder2.exp: New file.
14990
14991 2011-08-22 Andreas Schwab <schwab@redhat.com>
14992
14993 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14994
14995 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14996 dependencies back to end of function.
14997
14998 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14999 $(elfobjdir)/ld.so.
15000
15001 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15002
15003 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15004 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15005 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15006 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15007 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15008 of __vdso_gettimeofday.
15009 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15010 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15011 attribute_hidden.
15012 (_libc_vdso_platform_setup): Remove initialization of
15013 __vdso_gettimeofday and __vdso_time.
15014
15015 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15016
15017 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15018 and fgetc_unlocked.
15019 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15020 getc_unlocked.
15021
15022 * elf/dl-open.c (add_to_global): Report additions to the global scope
15023 for LD_DEBUG=scopes.
15024 (dl_open_worker): Also print scope of newly loaded dependencies.
15025 (_dl_show_scope): Indicate if there is no scope.
15026
15027 [BZ #13114]
15028 * stdio-common/Makefile (tests): Add bug24.
15029 * stdio-common/bug24.c: New file.
15030
15031 2011-08-19 Andreas Jaeger <aj@suse.de>
15032
15033 [BZ #13114]
15034 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15035 non-existant file when using close-on-exec mode.
15036
15037 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15038
15039 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15040 the very first instruction.
15041
15042 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15043 the CFI state in the end.
15044 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15045 inclusion of dl-trampoline.h.
15046 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15047
15048 2011-08-19 Andreas Schwab <schwab@redhat.com>
15049
15050 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15051 expectations for long double.
15052
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15054 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15055
15056 2011-08-14 David S. Miller <davem@davemloft.net>
15057
15058 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15059 artificual limit depends upon the system page size.
15060
15061 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15062
15063 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15064 * resolv/Makefile: Define CFLAGS-libresolv.
15065
15066 2011-08-17 Andreas Schwab <schwab@redhat.com>
15067
15068 * nss/makedb.c (compute_tables): Make variables used in nested
15069 function static.
15070
15071 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15072
15073 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15074 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15075 if buffer was too small.
15076
15077 * elf/pldd.c (main): Attach to all threads in the process.
15078 Rewrite /proc handling to use *at functions.
15079
15080 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15081
15082 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15083 specifies first scope to show.
15084 (dl_open_worker): Update callers. Move printing scope of new
15085 object to before the relocation.
15086 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15087 * sysdeps/generic/ldsodefs.h: Update declaration.
15088
15089 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15090 string for the scope number.
15091
15092 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15093
15094 * nscd/servicescache.c (cache_addserv): Make sure written is always
15095 initialized.
15096
15097 2011-08-14 Roland McGrath <roland@hack.frob.com>
15098
15099 * sysdeps/i386/i486/bits/atomic.h
15100 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15101 statement expression, so as to suppress "set but not used" warning.
15102 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15103
15104 * string/strncat.c (STRNCAT): Use prototype definition.
15105
15106 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15107 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15108 -Iprograms here.
15109 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15110 (localedef-modules): Add localedef.
15111 (locale-modules): Add locale.
15112
15113 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15114 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15115 to avoid a warning.
15116
15117 2011-08-14 David S. Miller <davem@davemloft.net>
15118
15119 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15120 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15121
15122 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15123
15124 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15125 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15126 * elf/rtld.c (dl_main): Set l_name of vDSO.
15127 Call _dl_show_scope when DL_DEBUG_SCOPES.
15128 (process_dl_debug): Recognize scopes flag and also set it for all.
15129 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15130 Declare _dl_show_scope.
15131
15132 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15133 (do_dlopen): Pass caller_dlopen to dl_open.
15134 (__libc_dlopen_mode): Initialize caller_dlopen.
15135
15136 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15137 of libc. Make tolower call locale-independent. Optimize a bit by
15138 using isdigit instead of isalnum.
15139 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15140
15141 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15142
15143 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15144 was a dependency or dynamically loaded.
15145
15146 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15147
15148 * intl/l10nflist.c: Allow architecture-specific pop function.
15149 * sysdeps/x86_64/l10nflist.c: New file.
15150
15151 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15152 classification.
15153
15154 2011-08-10 Andreas Schwab <schwab@redhat.com>
15155
15156 * include/dirent.h: Add libc_hidden_proto for scandirat and
15157 scandirat64. Don't declare __scandirat64.
15158 * dirent/scandirat.c: Add libc_hidden_def.
15159 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15160 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15161
15162 2011-08-10 David S. Miller <davem@davemloft.net>
15163
15164 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15165 enum.
15166 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15167 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15168 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15169
15170 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15171
15172 * Versions.def [libc]: Add GLIBC_2.15.
15173 * dirent/Makefile (routines): Add scandirat and scandirat64.
15174 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15175 GLIBC_2.15.
15176 * dirent/dirent.h: Declare scandirat and scandirat64.
15177 * dirent/scandirat.c: New file.
15178 * dirent/scandirat64.c: New file.
15179 * sysdeps/wordsize-64/scandirat.c: New file.
15180 * sysdeps/wordsize-64/scandirat64.c: New file.
15181 * dirent/opendir.c: Define opendirat.
15182 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15183 using scandirat.
15184 * dirent/scandir64.c: Adjust for scandir.c change.
15185 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15186 __scandirat64, and __scandir_cancel_handler.
15187 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15188 additional parameter and use openat instead of open (outside of ld.so).
15189 Add new __opendir as wrapper around __opendirat.
15190 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15191 here without requiring old scandirat implementation.
15192
15193 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15194
15195 * dirent/scandir.c (cancel_handler): Renamed to
15196 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15197 defined. Adjust users.
15198 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15199 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15200
15201 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15202
15203 * string/test-string.h (IMPL): Use __STRING to expand name and then
15204 stringify it.
15205
15206 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15207 of cleanups.
15208
15209 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15210
15211 * string/Makefile: Update.
15212 (strop-tests): Append strncat.
15213 * string/test-wcscmp.c: New file.
15214 New comprehensive test for wcscmp.
15215 * string/test-strcmp.c: Update.
15216 (WIDE): New define.
15217
15218 2011-07-22 Andreas Schwab <schwab@redhat.com>
15219
15220 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15221 line.
15222
15223 2011-07-26 Andreas Schwab <schwab@redhat.com>
15224
15225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15226 encoding to ACE if AI_IDN.
15227
15228 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15229
15230 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15231 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15232
15233 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15234
15235 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15236 Fix overflow bug in strncat.
15237 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15238
15239 * string/test-strncat.c: Update.
15240 Add new tests for checking overflow bugs.
15241
15242 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15243
15244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15245 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15246 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15247 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15248 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15249 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15250 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15251 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15252 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15253
15254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15255 (USE_AS_STRCAT): Define.
15256 Add strcat and strncat support.
15257 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15258
15259 2011-07-25 Andreas Schwab <schwab@redhat.com>
15260
15261 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15262 __n bigger than INT_MAX+1.
15263 (__strncmp_g): Likewise.
15264
15265 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15266
15267 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15268 * libio/stido.h: Likewise.
15269
15270 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15271 (AF_NFC): Define.
15272 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15273 (AF_NFC): Define.
15274
15275 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15276 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15277 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15278 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15279 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15280
15281 [BZ #13021]
15282 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15283 installed.
15284
15285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15286 typo.
15287 (_dl_x86_64_save_sse): Likewise.
15288
15289 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15290
15291 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15292 OSXSAVE.
15293 (_dl_x86_64_save_sse): Likewise.
15294
15295 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15296
15297 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15298
15299 2011-07-21 Andreas Schwab <schwab@redhat.com>
15300
15301 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15302 change.
15303 (_dl_x86_64_save_sse): Use correct AVX check.
15304
15305 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15306
15307 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15308 bug in strncpy/strncat.
15309 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15310
15311 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15312
15313 * string/tester.c (test_strcat): Add tests for different alignments
15314 of source and destination.
15315 (test_strncat): Likewise.
15316
15317 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15318
15319 [BZ #12852]
15320 * posix/glob.c (glob): Check passed in values before using them in
15321 expressions to avoid some overflows.
15322 (glob_in_dir): Likewise.
15323
15324 [BZ #13007]
15325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15326 check for AVX enablement so that we don't crash with old kernels and
15327 new hardware.
15328 * elf/tst-audit4.c: Add same checks here.
15329 * elf/tst-audit6.c: Likewise.
15330
15331 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15332
15333 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15334
15335 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15336
15337 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15338
15339 * po/cs.po: Update from translation team.
15340 * po/bg.po: Likewise.
15341
15342 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15343
15344 * misc/sys/cdefs.h: Add support for const attribute.
15345 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15346 to gnu_dev_{major,minor,makedev} functions.
15347
15348 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15349
15350 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15351
15352 2011-07-20 Andreas Schwab <schwab@redhat.com>
15353
15354 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15355 strlen results.
15356
15357 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15358
15359 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15360 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15361 register in order to avoid conflicts with the soft frame pointer
15362 being held in r11 when necessary.
15363 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15364 (INTERNAL_VSYSCALL_NCS): Likewise.
15365
15366 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15367
15368 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15369 * elf/dl-fini.c (_dl_fini): Adjust caller.
15370 * elf/dl-close.c (_dl_close_worker): Likewise.
15371 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15372
15373 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15374
15375 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15376 "aux_cache->nlibs < 0".
15377
15378 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15379 in the reload-count case.
15380
15381 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15382
15383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15384 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15385 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15386 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15387 * sysdeps/x86_64/multiarch/strcat.S: New file.
15388 * sysdeps/x86_64/multiarch/strncat.S: New file.
15389 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15390 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15391 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15392 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15393 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15394 (USE_AS_STRCAT): Define.
15395 Add strcat and strncat support.
15396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15397 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15398 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15399 * string/strncat.c: Update.
15400 (USE_AS_STRNCAT): Define.
15401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15402 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15403 and i7.
15404 * sysdeps/x86_64/multiarch/init-arch.h
15405 (bit_Prefer_PMINUB_for_stringop): New.
15406 (index_Prefer_PMINUB_for_stringop): Likewise.
15407 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15408 bit_Prefer_PMINUB_for_stringop.
15409
15410 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15411
15412 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15413 buffer64.
15414 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15415 of casting of buffer.
15416 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15417 buffer32 and buffer64.
15418 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15419 writes instead of casting of buffer.
15420 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15421 buffer32.
15422 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15423 casting of buffer.
15424
15425 2011-07-19 Andreas Schwab <schwab@redhat.com>
15426
15427 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15428
15429 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15430
15431 * nscd/nscd.c (termination_handler): Don't do anything for a database
15432 if it has not yet been initialized.
15433
15434 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15435
15436 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15437
15438 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15439
15440 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15441
15442 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15443
15444 * po/nl.po: Update from translation team.
15445 * po/sv.po: Likewise.
15446
15447 2011-07-16 Roland McGrath <roland@hack.frob.com>
15448
15449 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15450 now disallowed by GCC.
15451
15452 * configure.in (use-default-link): Default to yes if a test -shared
15453 link meets our qualifications.
15454 * configure: Regenerated.
15455
15456 * config.make.in (output-format): New variable.
15457 * configure.in: Check for ld --print-output-format support.
15458 * configure: Regenerated.
15459 * Makerules ($(common-objpfx)format.lds)
15460 [$(output-format) != unknown]: Just use $(output-format),
15461 instead of the linker-script munging.
15462
15463 2011-07-14 Roland McGrath <roland@hack.frob.com>
15464
15465 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15466 of $(common-objpfx)shlib.lds.
15467 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15468
15469 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15470 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15471
15472 * configure.in (-z relro check): Adjust test code to add a large
15473 writable data section after it.
15474 * configure: Regenerated.
15475
15476 2011-07-11 Roland McGrath <roland@hack.frob.com>
15477
15478 * configure.in (-z relro check): Fix test code to make the variable
15479 truly const.
15480 * configure: Regenerated.
15481
15482 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15483
15484 * nscd/nscd.h (struct traced_file): Define.
15485 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15486 elements. Add traced_files.
15487 (inotify_fd): Declare.
15488 (register_traced_file): Declare.
15489 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15490 (inotify_fd): Export.
15491 (resolv_conf_descr): Remove.
15492 (nscd_init): Move inotify descriptor creation to main.
15493 Don't register files for notification here.
15494 (register_traced_file): New function.
15495 (invalidate_cache): Don't use reset_res to determine whether to call
15496 res_init, go through the list of registered files.
15497 (main_loop_poll): The inotify descriptors are now stored in the
15498 structures for the traced files.
15499 (main_loop_epoll): Likewise
15500 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15501 to __nss_disable_nscd.
15502 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15503 for a database anymore. Check the records for all the registered
15504 files instead.
15505 * nss/Makefile (libnss_files-routines): Add files-init.
15506 (libnss_db-routines): Add db-init.
15507 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15508 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15509 * nss/nss_db/db-init.c: New file.
15510 * nss/nss_files/files-init.c: New file.
15511 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15512 __nss_lookup_function.
15513 (__nss_lookup_function): Call nss_load_library.
15514 (nss_load_all_libraries): New function.
15515 (__nss_disable_nscd): Take parameter with callback function for files
15516 to register. Set is_nscd. Load all the DSOs for the NSS modules
15517 used for the cached services.
15518 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15519 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15520 options for features to all the files in nscd.
15521
15522 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15523
15524 2011-07-10 Roland McGrath <roland@hack.frob.com>
15525
15526 * csu/elf-init.c (__libc_csu_init): Comment typo.
15527
15528 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15529
15530 * po/pl.po: Update from translation team.
15531 * po/ja.po: Likewise.
15532 * po/ru.po: Likewise.
15533 * po/ko.po: Likewise.
15534 * po/fr.po: Likewise.
15535
15536 2011-07-09 Roland McGrath <roland@hack.frob.com>
15537
15538 * configure.in (.ctors/.dtors header and trailer check):
15539 Use an empirical test on a built program.
15540 * configure: Regenerated.
15541
15542 * configure.in (-z relro check): Use an empirical test on a built DSO.
15543 Detect, but do not require, on ia64.
15544 * configure: Regenerated.
15545
15546 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15547 Update tests that use readelf to use $READELF instead.
15548 * configure: Regenerated.
15549
15550 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15551
15552 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15553 if the result is not used.
15554
15555 2011-07-05 Andreas Jaeger <aj@suse.de>
15556
15557 [BZ#9696]
15558 * stdlib/tst-strtod.c: Add testcase.
15559
15560 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15561
15562 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15563 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15564 The latter has a higher limit. Take additional parameter to pass to
15565 the new function.
15566 (__pathconf): Pass file to __statfs_link_max.
15567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15568 __statfs_link_max.
15569 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15570 __statfs_link_max.
15571
15572 [BZ #12868]
15573 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15574 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15575 Handle Lustre.
15576 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15577 (__statfs_filesize_max): Likewise.
15578 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15579
15580 2011-07-05 Andreas Jaeger <aj@suse.de>
15581
15582 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15583
15584 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15585
15586 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15587 `status' variable.
15588 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15589 Likewise.
15590
15591 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15592
15593 * Makefile (strop-tests): Add strncat.
15594 * string/test-strncat.c: New file.
15595
15596 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15597
15598 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15599
15600 2011-06-21 Andreas Jaeger <aj@suse.de>
15601
15602 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15603 Copy rule from iconvdata/Makefile.
15604
15605 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15606
15607 [BZ #12922]
15608 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15609 but no long options are defined, just return 'W'.
15610
15611 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15612
15613 [BZ #9696]
15614 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15615
15616 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15617
15618 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15619 netgroups to read.
15620 (innetgr): Likewise.
15621
15622 2011-07-05 Roland McGrath <roland@hack.frob.com>
15623
15624 * config.make.in (install_root): Default to $(DESTDIR).
15625
15626 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15627
15628 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15629
15630 2011-07-02 Roland McGrath <roland@hack.frob.com>
15631
15632 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15633
15634 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15635 containing directory rather than embedding absolute directory names.
15636
15637 * scripts/check-local-headers.sh: Rewritten using awk.
15638 Match by word, not by line. Print error messages for matches.
15639 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15640
15641 * Makerules [shlib-lds-flags empty]:
15642 ($(common-objpfx)libc_pic.opts): New target.
15643 ($(common-objpfx)libc_pic.os.clean): New target.
15644 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15645
15646 * config.make.in (OBJCOPY): New variable.
15647 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15648 * configure: Regenerated.
15649
15650 * config.make.in (use-default-link): New variable.
15651 * configure.in (use_default_link): Grok --with-default-link to set it.
15652 * configure: Regenerated.
15653 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15654 (shlib-lds, shlib-lds-flags): Define to empty.
15655
15656 * Makerules (shlib-lds): New variable.
15657 (shlib-lds-flags): New variable.
15658 (build-shlib, build-moduile, build-module-asneeded): Use it.
15659 ($(common-objpfx)libc.so): Use $(shlib-lds).
15660 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15661 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15662
15663 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15664 DT_FLAGS/DT_FLAGS_1 with zero flags.
15665
15666 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15667 linker script munging.
15668
15669 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15670
15671 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15672 as 128-bit value.
15673 * crypt/sha512.c (sha512_process_block): Perform total addition using
15674 128-bit if possible.
15675 (__sha512_finish_ctx): Likewise.
15676 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15677 as 64-bit value.
15678 * crypt/sha256.c (SWAP64): Define.
15679 (sha256_process_block): Perform total addition using 64-bit if
15680 possible.
15681 (__sha256_finish_ctx): Likewise.
15682
15683 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15684
15685 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15686 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15687 * nscd/hstcache.c (cache_addhst): Likewise.
15688 * nscd/grpcache.c (cache_addgr): Likewise.
15689 * nscd/aicache.c (addhstaiX): Likewise
15690 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15691
15692 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15693
15694 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15695 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15696 * nscd/hstcache.c (cache_addhst): Likewise.
15697 * nscd/grpcache.c (cache_addgr): Likewise.
15698 * nscd/aicache.c (addhstaiX): Likewise
15699
15700 2011-07-01 Andreas Schwab <schwab@redhat.com>
15701
15702 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15703 domain only when needed.
15704
15705 2011-06-30 Andreas Schwab <schwab@redhat.com>
15706
15707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15708 is always restored.
15709
15710 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15711
15712 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15713 are re-adding the entry.
15714 * nscd/servicescache.c (cache_addserv): Likewise.
15715
15716 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15717
15718 * sysdeps/generic/dl-irel.h: fix protection against multiple
15719 inclusions.
15720 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15721
15722 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15723
15724 [BZ #12935]
15725 * malloc/memusage.sh: Fix quoting in message.
15726 * debug/xtrace.sh: Likewise.
15727
15728 * configure.in: Remove support for --experimental-malloc option, make
15729 it the default.
15730 * config.make.in: Likewise.
15731 * malloc/Makefile: Likewise.
15732
15733 2011-06-27 Andreas Schwab <schwab@redhat.com>
15734
15735 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15736 two-byte characters.
15737
15738 2011-06-27 Roland McGrath <roland@hack.frob.com>
15739
15740 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15741 AC_CACHE_CHECK invocation.
15742 * configure: Regenerated.
15743
15744 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15745
15746 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15747
15748 [BZ #12350]
15749 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15750 bit from old_res_options.
15751
15752 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15753
15754 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15755 value type for setfct.
15756
15757 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15758
15759 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15760 __gettimeofday instead of gettimeofday.
15761
15762 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15763
15764 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15765
15766 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15767
15768 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15769
15770 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15771 info.
15772
15773 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15774
15775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15776 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15777 strcpy-sse2-unaligned strncpy-sse2-unaligned
15778 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15779 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15780 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15781 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15782 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15783 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15784 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15785 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15786 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15787 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15788 (STRCPY): Support SSE2 and SSSE3 versions.
15789
15790 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15791
15792 [BZ #12874]
15793 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15794 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15795 kernels which artificially limit size of requests.
15796
15797 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15798
15799 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15800 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15801 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15802 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15803 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15804 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15805 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15806 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15807 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15808 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15809 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15810 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15811 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15812 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15813 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15815 Enable unaligned load optimization for Intel Core i3, i5 and i7
15816 processors.
15817 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15818 Define.
15819 (index_Fast_Unaligned_Load): Define.
15820 (HAS_FAST_UNALIGNED_LOAD): Define.
15821
15822 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15823
15824 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15825
15826 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15827
15828 [BZ #12907]
15829 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15830 until it is clear that the information is realy needed.
15831 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15832
15833 2011-06-22 Andreas Schwab <schwab@redhat.com>
15834
15835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15836
15837 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15838
15839 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15840 /sys/devices/system/cpu/online if it is usable.
15841
15842 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15843 reading the information from the /proc filesystem to once a second.
15844
15845 2011-06-21 Andreas Jaeger <aj@suse.de>
15846
15847 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15848 NULL after inclusion of kernel headers.
15849
15850 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15851
15852 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15853 calls to internal_setent.
15854
15855 [BZ #12885]
15856 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15857 addresses using gethostbyname4_r ignore IPv4 addresses.
15858
15859 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15860 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15861
15862 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15863
15864 2011-06-20 David S. Miller <davem@davemloft.net>
15865
15866 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15867 inclusions.
15868 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15869
15870 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15871 (elf_irel): Use it.
15872 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15873 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15874 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15875 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15876 * sysdeps/x86_64/dl-irel.h: Likewise.
15877
15878 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15879 * elf/dl-sym.c: Likewise.
15880
15881 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15882
15883 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15884 need to dereference resplen2.
15885
15886 2011-06-14 Andreas Schwab <schwab@redhat.com>
15887
15888 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15889
15890 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15891
15892 * Makeconfig: Define vardbdir and inst_vardbdir.
15893 * nss/Makefile: Add rules to install db-Makefile.
15894
15895 * nss/nss_db/db-XXX.c: Cleanup.
15896
15897 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15898 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15899 GLIBC_PRIVATE.
15900 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15901 * nss/makedb.c: Implement -g option to specify that value strings
15902 are generated and should not be added to table iterated over for
15903 get*ent calls.
15904 * nss/nss_db/db-initgroups.c: New file.
15905
15906 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15907 interface.
15908
15909 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15910 (internal_getgrouplist): Adjust to name change.
15911 Update use_initgroups_entry if this is not the first call.
15912 * nss/databases.def: Add initgroups entry.
15913
15914 * nss/makedb.c (compute_tables): Check result of multiple hash table
15915 sizes to minimize maximum chain length.
15916
15917 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15918
15919 * Versions.def: Add entry for libnss_db.
15920 * shlib-versions: Likewise.
15921 * nss/Makefile: Add rules to build libnss_db.
15922 * nss/Versions: Add libnss_db information. Organize libnss_files
15923 entries better.
15924 * nss/db-Makefile: Add gshadow support. Change rules for the new
15925 makedb progra. Some minor improvements to generate smaller files.
15926 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15927 here from...
15928 * nss/makedb.c: ...here.
15929 Improve database format to be smaller and require less memory at
15930 runtime.
15931 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15932 db anymore.
15933 * nss/nss_db/db-netgrp.c: Likewise.
15934 * nss/nss_db/db-open.c: Likewise.
15935 * nss/nss_files/flies-XXX.x: Adjust comments.
15936 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15937 * nss/nss_files/files-grp.c: Likewise.
15938 * nss/nss_files/files-hosts.c: Likewise.
15939 * nss/nss_files/files-network.c: Likewise.
15940 * nss/nss_files/files-proto.c: Likewise.
15941 * nss/nss_files/files-pwd.c: Likewise.
15942 * nss/nss_files/files-rpc.c: Likewise.
15943 * nss/nss_files/files-service.c: Likewise.
15944 * nss/nss_files/files-sgrp.c: Likewise.
15945 * nss/nss_files/files-spwd.c: Likewise.
15946 * nss/nss_db/db-alias.c: Removed.
15947 * nss/nss_db/dummy-db.h: Removed.
15948
15949 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15950
15951 * nss/makedb.c: Rewritten to not use database library.
15952 * nss/Makefile: Update to build new makedb program.
15953
15954 2011-06-14 Andreas Jaeger <aj@suse.de>
15955
15956 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15957 memset declaration.
15958
15959 2011-06-10 Andreas Schwab <schwab@redhat.com>
15960
15961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15962 tmpbuf.
15963
15964 2011-06-10 Roland McGrath <roland@hack.frob.com>
15965
15966 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15967 * elf/Makefile ($(objpfx)ld.so): Likewise.
15968
15969 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15970 Don't list ld.so twice in dependencies.
15971
15972 * posix/bug-regex31.c: Include <stdlib.h>.
15973
15974 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15975
15976 * nis/nss_compat/compat-spwd.c
15977 (getspent_next_nss_netgr): Remove unused variable.
15978 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15979
15980 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15981 nonmembers" output to use the right array.
15982
15983 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15984
15985 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15986
15987 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15988 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15989 * catgets/gencat.c (read_input_file): Likewise.
15990 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15991
15992 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15993 variable definition inside #if's controlling its use.
15994
15995 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15996
15997 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15998
15999 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16000
16001 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16002 unreachable code.
16003
16004 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16005
16006 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16007 * configure: Regenerated.
16008
16009 * Makerules: Revert last change.
16010 * elf/Makefile: Likewise.
16011
16012 2011-06-09 Roland McGrath <roland@hack.frob.com>
16013
16014 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16015 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16016 (reloc-link): Likewise.
16017
16018 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16019
16020 * elf/Makefile: Add rules to build pldd.
16021 * elf/pldd.c: New file.
16022 * elf/pldd-xx.c: New file.
16023
16024 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16025
16026 * version.h: Update for 2.15 development version.
16027
16028 2011-06-07 David S. Miller <davem@davemloft.net>
16029
16030 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16031 ifuncs.
16032 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16033 elf_machine_lazy_rel): Likewise.
16034 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16035 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16036 elf_machine_lazy_rel): Likewise.
16037 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16038 dl_hwcap via passed in argument.
16039 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16040 Likewise.
16041
16042 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16043
16044 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16045
16046 2011-06-06 Roland McGrath <roland@hack.frob.com>
16047
16048 [BZ #12849]
16049 * manual/fdl-1.1.texi: New file, verbatim from:
16050 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16051 * manual/lgpl-2.1.texi: New file, verbatim from:
16052 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16053 * manual/Makefile (licenses): New variable, list those new file names.
16054 (texis): Use it.
16055 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16056
16057 * manual/fdl.texi: File removed.
16058 * manual/lesser.texi: File removed.
16059 * manual/libc.texinfo (Copying, Documentation License):
16060 Use new @include file names, put @appendix directive before @include.
16061
16062 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16063
16064 [BZ #12841]
16065 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16066 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16067 (mq_open): Add __NTH.
16068
16069 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16070
16071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16072 Assume Intel Core i3/i5/i7 processor if AVX is available.
16073
16074 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16075
16076 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16077 typo.
16078
16079 2011-05-31 Andreas Schwab <schwab@redhat.com>
16080
16081 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16082 memory. Use alloca_account. Fix memory leak when retrying.
16083
16084 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16085
16086 * version.h (RELEASE): Bump for 2.14 release.
16087 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16088
16089 * config.make.in (RANLIB): Remove entry.
16090
16091 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16092
16093 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16094 (libc.pot): Work around missing support for .ksh extension in xgettext.
16095
16096 [BZ #12684]
16097 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16098 if both request failed.
16099 (send_dg): In case of server errors clear resplen or *resplen2.
16100
16101 [BZ #12454]
16102 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16103 when there are multiple maps.
16104 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16105 (_dl_fini): Remove test here.
16106
16107 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16108
16109 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16110
16111 [BZ #12350]
16112 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16113 bit from old_res_options.
16114 (gaih_inet): Likewise.
16115
16116 [BZ #11099]
16117 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16118 as signed.
16119
16120 * resolv/res_init.c (res_setoptions): Make the code more compact.
16121
16122 [BZ #11558]
16123 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16124 set RES_USEVC.
16125
16126 [BZ #11634]
16127 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16128
16129 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16130
16131 [BZ #11781]
16132 * malloc/malloc.h: Declare malloc hook variables as volatile.
16133
16134 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16135 in last patch.
16136
16137 [BZ #11799]
16138 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16139 raise in the comment.
16140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16141 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16142 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16143
16144 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16145
16146 [BZ #12811]
16147 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16148 grow the buffers more if it already has to be sufficient.
16149 (build_wcs_upper_buffer): Likewise.
16150 * posix/regexec.c (check_matching): Likewise.
16151 (clean_state_log_if_needed): Likewise.
16152 (extend_buffers): Don't enlarge buffers beyond size of the input
16153 buffer.
16154 Patches mostly by Emil Wojak <emil@wojak.eu>.
16155 * posix/bug-regex32.c: New file.
16156 * posix/Makefile (tests): Add bug-regex32.
16157
16158 * locale/findlocale.c (_nl_find_locale): Return right away if
16159 _nl_explode_name failed.
16160 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16161
16162 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16163
16164 * debug/xtrace.sh: Unify messages.
16165 * malloc/memusage.sh: Likewise.
16166
16167 [BZ #12813]
16168 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16169 time symbol from vDSO. Substitute with vsyscall if not available.
16170 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16171 __vdso_time.
16172
16173 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16174 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16175 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16176 Add sendmmsg and internal_sendmmsg.
16177 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16178 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16179 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16180
16181 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16182 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16183 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16184
16185 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16186
16187 [BZ #12813]
16188 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16189 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16190 available.
16191 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16192 __vdso_getcpu.
16193
16194 [BZ #12814]
16195 * iconvdata/Makefile (tests): Add bug-iconv9.
16196 * iconvdata/bug-iconv9.c: New file.
16197
16198 2011-05-27 Andreas Schwab <schwab@redhat.com>
16199
16200 [BZ #12814]
16201 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16202
16203 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16204
16205 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16206 (struct user_regs_struct): Change intcs field back to cs.
16207
16208 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16209
16210 * po/ja.po: Update from translation team.
16211
16212 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16213
16214 [BZ #12795]
16215 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16217
16218 2011-05-20 Andreas Schwab <schwab@redhat.com>
16219
16220 * stdlib/longlong.h: Update from GCC.
16221
16222 2011-05-23 Andreas Schwab <schwab@redhat.com>
16223
16224 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16225 parameter name.
16226 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16227 Add parameter name.
16228 (__sysconf): Pass it down.
16229
16230 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16231
16232 [BZ #12671]
16233 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16234 some situations.
16235 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16236 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16237 add in in __libc_use_alloca calls. Adjust callers.
16238 (glob): Use malloc in some situations.
16239
16240 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16241 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16242 pltexit.
16243
16244 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16245
16246 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16247 and CLOCK_BOOTTIME_ALARM.
16248
16249 [BZ #12782]
16250 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16251 is returned.
16252
16253 * string/_strerror.c (__strerror_r): Print negative errors as signed
16254 numbers.
16255
16256 [BZ #12777]
16257 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16258 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16259 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16260
16261 * configure.in: Fix typo in redirection and correct removal of test
16262 files in two cases.
16263
16264 [BZ #12788]
16265 * locale/setlocale.c (new_composite_name): Fix test to check for
16266 identical name of all categories.
16267
16268 [BZ #12792]
16269 * libio/filedoalloc.c (local_isatty): New function.
16270 (_IO_file_doallocate): Use local_isatty.
16271 * stdio-common/perror.c (perror): In case a new stream is used
16272 forward the stream error.
16273 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16274 error flag.
16275
16276 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16277
16278 [BZ #11869]
16279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16280 alloca.
16281 * include/alloca.h (extend_alloca_account): Define.
16282
16283 [BZ #11857]
16284 * posix/regex.h: Fix comments with documentation of user-accessible
16285 fields after compilation and describe correct free'ing of pattern
16286 after re_compile_pattern.
16287 Patch by Reuben Thomas <rrt@sc3d.org>.
16288
16289 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16290
16291 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16292 and -mno-altivec to prevent the compiler from using Altivec and/or
16293 VSX instructions when the corresponding registers are not available.
16294
16295 2011-05-19 Andreas Schwab <schwab@redhat.com>
16296
16297 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16298
16299 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16300
16301 * libio/freopen.c (freopen): Use __dup2, not dup2.
16302 * libio/freopen64.c (freopen64): Likewise.
16303
16304 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16305
16306 [BZ #12775]
16307 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16308 * math/Makefile (tests): Add test-powl.
16309 (CFLAGS-test-powl.c): Define.
16310 * math/test-powl.c: New file.
16311
16312 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16313
16314 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16315
16316 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16317
16318 [BZ #11837]
16319 * iconvdata/gb18030.c: Update to GB18020-2005.
16320
16321 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16322
16323 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16324 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16325 Patch by Aharon Robbins <arnold@skeeve.com>.
16326
16327 [BZ #11892]
16328 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16329 on the stack.
16330
16331 [BZ #11895]
16332 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16333 through underflows.
16334
16335 [BZ #12766]
16336 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16337 point to strings before performing equality test for error_one_per_line
16338 mode.
16339
16340 [BZ #11697]
16341 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16342
16343 [BZ #11820]
16344 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16345 (struct user_fpregs_struct): Avoid __uint*_t types.
16346
16347 [BZ #6420]
16348 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16349 symbol info. Use it instead of calling _dl_addr locally.
16350 (lock_and_info): New function.
16351 (tr_freehook): Call lock_and_info and pass symbol info as additional
16352 parameter to tr_where.
16353 (tr_mallochook): Likewise.
16354 (tr_reallochook): Likewise.
16355 (tr_memalignhook): Likewise.
16356
16357 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16358 used and couldn't be at all thread-safe.
16359
16360 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16361
16362 * libio/freopen.c (freopen): Don't close old file descriptor
16363 before the new one is opened. Instead dup the new file descriptor
16364 to the old one after the new stream is created.
16365 * libio/freopen64.c (freopen64): Likewise.
16366 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16367 * libio/fileops.c (_IO_new_file_close_it): Handle new
16368 _IO_FLAGS2_NOCLOSE flag.
16369 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16370 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16371 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16372 _IO_FLAGS2_NOCLOSE flag.
16373 * include/unistd.h: Add hidden_proto for dup3.
16374 Define __have_dup3.
16375 * io/dup3.c: Define hidden symbol.
16376 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16377
16378 [BZ #7101]
16379 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16380 when an incomplete long option is used.
16381 * posix/tst-getopt_long1.c: New file.
16382 * posix/Makefile (tests): Add tst-getopt_long1.
16383
16384 [BZ #10138]
16385 * scripts/config.guess: Update from autoconf-2.68.
16386 * scripts/config.sub: Likewise.
16387
16388 [BZ #10157]
16389 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16390 tests into ...
16391 (has_cpuclock): ...this. New function.
16392 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16393 macro here based on has_cpuclock code.
16394
16395 [BZ #10149]
16396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16397 First byte (not low byte) is now always NUL.
16398 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16399
16400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16401 Use non-cancelable interfaces.
16402
16403 [BZ #9809]
16404 * locale/iso-639.def: Add entry for Sorani.
16405
16406 [BZ #11901]
16407 * include/stdlib.h: Move include protection to the right place.
16408 Define abort_msg_s. Declare __abort_msg with it.
16409 * stdlib/abort.c (__abort_msg): Adjust type.
16410 * assert/assert.c (__assert_fail_base): New function. Majority
16411 of code from __assert_fail. Allocate memory for __abort_msg with
16412 mmap.
16413 (__assert_fail): Now call __assert_fail_base.
16414 * assert/assert-perr.c: Remove bulk of implementation. Use
16415 __assert_fail_base.
16416 * include/assert.hL Declare __assert_fail_base.
16417 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16418 mmap.
16419 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16420
16421 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16422
16423 [BZ #11952]
16424 [BZ #12453]
16425 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16426 until all modules are registered in the DTV.
16427 * elf/Makefile: Add rules to build and run tst-tls19.
16428 * elf/tst-tls19.c: New file.
16429 * elf/tst-tls19mod1.c: New file.
16430 * elf/tst-tls19mod2.c: New file.
16431 * elf/tst-tls19mod3.c: New file.
16432 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16433
16434 [BZ #12083]
16435 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16436 correctly.
16437
16438 [BZ #12601]
16439 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16440 two-byte sequence errors.
16441 * iconvdata/Makefile (tests): Add bug-iconv8.
16442 * iconvdata/bug-iconv8.c: New file.
16443
16444 [BZ #12626]
16445 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16446 buf2 definition.
16447
16448 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16449
16450 [BZ #12432]
16451 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16452 (dummy_getcfa): New function.
16453 (init): Get _Unwind_GetCFA address, use dummy if not found.
16454 (backtrace_helper): In recursion check, also check whether CFA changes.
16455 (__backtrace): Completely initialize arg.
16456
16457 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16458 storing incomplete byte sequence in state object. Avoid testing for
16459 guaranteed too small input if we know there is enough data available.
16460
16461 2011-05-11 Andreas Schwab <schwab@redhat.com>
16462
16463 * Makeconfig (+link-pie): Indent.
16464 * Rules (binaries-pie): Define if $(have-fpie) and
16465 $(build-shared).
16466 (binaries-shared): Also filter out $(binaries-pie).
16467 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16468 * nscd/Makefile (others-pie): Add nscd.
16469 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16470 ($(objpfx)nscd): Remove command override.
16471 * login/Makefile (others-pie): Add pt_chown.
16472 ($(objpfx)pt_chown): Remove command override.
16473 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16474 remove command overrides.
16475
16476 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16477
16478 * libio/tst_putwc.c: Fix error messages.
16479
16480 [BZ #12724]
16481 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16482 currently writing and seek to current position when not.
16483 * libio/Makefile (tests): Add bug-fclose1.
16484 * libio/bug-fclose1.c: New file.
16485
16486 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16487
16488 [BZ #12511]
16489 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16490 don't set DF_1_NODELETE here.
16491 (do_lookup_x): When entering new entry test for copy relocation
16492 and if necessary set DF_1_NODELETE flag.
16493 * elf/tst-unique4.cc: New file.
16494 * elf/tst-unique4.h: New file.
16495 * elf/tst-unique4lib.cc: New file.
16496 * elf/Makefile: Add rules to build and run tst-unique4.
16497 Patch by Piotr Bury <pbury@goahead.com>.
16498
16499 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16500
16501 [BZ #12052]
16502 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16503
16504 [BZ #12625]
16505 * misc/mntent_r.c (addmntent): Flush the stream after the output
16506
16507 [BZ #12393]
16508 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16509 (is_trusted_path_normalize): Skip initial colon. Append slash
16510 to empty buffer. Duplicate is_trusted_path code but allow
16511 constructed patch to be prefix.
16512 (is_dst): Allow $ORIGIN followed by /.
16513 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16514 Correct testing of result of is_trusted_path_normalize
16515 (decompose_rpath): Fix warning.
16516
16517 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16518
16519 [BZ #11257]
16520 * grp/initgroups.c (internal_getgrouplist): When we found the service
16521 list through the initgroups entry in nsswitch.conf do not always
16522 continue on a successful lookup. Don't always use the
16523 __nss_group_database value if it is set.
16524 * nss/nsswitch.conf (initgroups): Change action for successful db
16525 lookup to continue for compatibility.
16526
16527 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16528
16529 [BZ #11532]
16530 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16531 and CP774 modules.
16532 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16533 and CP774 modules.
16534 * iconvdata/tst-tables.sh: Likewise.
16535 * iconvdata/cp770.c: New file.
16536 * iconvdata/cp771.c: New file.
16537 * iconvdata/cp772.c: New file.
16538 * iconvdata/cp773.c: New file.
16539 * iconvdata/cp774.c: New file.
16540 * iconvdata/testdata/CP770: New file.
16541 * iconvdata/testdata/CP770..UTF8: New file.
16542 * iconvdata/testdata/CP771: New file.
16543 * iconvdata/testdata/CP771..UTF8: New file.
16544 * iconvdata/testdata/CP772: New file.
16545 * iconvdata/testdata/CP772..UTF8: New file.
16546 * iconvdata/testdata/CP773: New file.
16547 * iconvdata/testdata/CP773..UTF8: New file.
16548 * iconvdata/testdata/CP774: New file.
16549 * iconvdata/testdata/CP774..UTF8: New file.
16550
16551 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16552 END CHARMAP line.
16553 * iconvdata/gen-8bit-gap.sh: Likewise.
16554 * iconvdata/gen-8bit.sh: Likewise.
16555
16556 * locale/iso-639.def: Add ary entry.
16557
16558 [BZ #11258]
16559 * locale/C-translit.h.in: Add U20A1 transliteration.
16560
16561 [BZ #12178]
16562 * locale/iso-639.def: Add wae entry.
16563 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16564
16565 [BZ #12545]
16566 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16567 for n.
16568
16569 [BZ #12711]
16570 * locale/C-translit.h.in: Add entry for U20B9.
16571 Patch by pravin.d.s@gmail.com.
16572
16573 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16574
16575 [BZ #12713]
16576 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16577 ENAMETOOLONG use generic getcwd.
16578 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16579 in rtld. Use *stat64.
16580 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16581 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16582 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16583 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16584 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16585 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16586 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16587 __fstatat64 macros.
16588 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16589 * dirent/rewinddir.c: Add libc_hidden_def.
16590 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16591 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16592
16593 * include/dirent.h (__alloc_dir): Add flags parameter.
16594 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16595 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16596 __alloc_dir.
16597 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16598 from fdopendir if O_CLOEXEC is already set.
16599
16600 2011-03-15 Alan Modra <amodra@gmail.com>
16601
16602 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16603 l_tls_firstbyte_offset non-zero. Save padding offset in
16604 l_tls_firstbyte_offset for later use.
16605 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16606 freeing static tls block.
16607
16608 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16609
16610 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16611 where #ifdef was intended. The intent is to prevent ARG_MAX from
16612 being defined by the kernel headers.
16613
16614 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16615
16616 [BZ #12734]
16617 * resolv/resolv.h: Define RES_NOTLDQUERY.
16618 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16619 no-tld-query and set RES_NOTLDQUERY.
16620 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16621 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16622 modern BIND to search name as TLD unless forbidden.
16623
16624 2011-05-07 Petr Baudis <pasky@suse.cz>
16625 Ulrich Drepper <drepper@gmail.com>
16626
16627 [BZ #12393]
16628 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16629 (is_trusted_path): ...to here.
16630 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16631 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16632 using is_trusted_path_normalize() in setuid scripts.
16633
16634 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16635
16636 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16637 __BEGIN/__END_DECLS.
16638
16639 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16640
16641 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16642 NSS_STATUS_NOTFOUND if no record was found.
16643
16644 2011-05-05 Andreas Schwab <schwab@redhat.com>
16645
16646 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16647 (headers-not-in-tirpc): Remove rpc/netdb.h
16648 * resolv/netdb.h: Revert last change.
16649
16650 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16651
16652 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16653 circular dependency between libgcc.a and libc.a.
16654
16655 2011-05-05 Andreas Schwab <schwab@redhat.com>
16656
16657 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16658 * nis/Makefile: Don't install rpcsvc/*.
16659 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16660 instead of <rpc/types.h>.
16661 (MAXHOSTNAMELEN): Define.
16662
16663 2011-05-03 Andreas Schwab <schwab@redhat.com>
16664
16665 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16666
16667 2011-04-28 Maciej Babinski <mbabinski@google.com>
16668
16669 [BZ #12714]
16670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16671 gethostbyname4_r when IPv6 results are possible.
16672
16673 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16674
16675 [BZ #12723]
16676 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16677 _PC_PIPE_BUF handling.
16678
16679 2011-04-30 Bruno Haible <bruno@clisp.org>
16680
16681 [BZ #12717]
16682 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16683 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16684 to 'int'.
16685 * inet/getnameinfo.c (getnameinfo): Likewise.
16686
16687 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16688
16689 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16690 to groups setting in database lookup.
16691 * nss/nsswitch.conf: Add initgroups entry.
16692
16693 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16694
16695 [BZ #12685]
16696 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16697 mode string.
16698 Patch by Eric Blake <eblake@redhat.com>.
16699
16700 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16701
16702 * sunrpc/Makefile (need-export-routines): Add svc_run.
16703 (routines): Remove svc_run.
16704 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16705 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16706 * sunrpc/svc_run.c (svc_run): Likewise.
16707 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16708
16709 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16710
16711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16712 problem in reallocation in last patch.
16713
16714 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16715
16716 * sunrpc/Makefile: Move inclusion of Rules.
16717
16718 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16719
16720 * nss/nss_files/files-initgroups.c: New file.
16721 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16722 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16723 _nss_files_initgroups_dyn.
16724
16725 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16726
16727 * elf/elf.h (R_ARM_IRELATIVE): Define.
16728
16729 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16730
16731 * po/ru.po: Update from translation team.
16732
16733 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16734
16735 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16736 dependencies.
16737
16738 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16739
16740 [BZ #12653]
16741 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16742 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16744 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16745 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16746
16747 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16748
16749 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16750 differing bytes.
16751 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16752 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16753 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16754
16755 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16756
16757 [BZ #12420]
16758 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16759 storing it.
16760 * stdlib/bug-getcontext.c: New file.
16761 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16762
16763 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16764
16765 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16766 instructions into .machine "z9-109".
16767 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16768 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16769
16770 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16771
16772 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16773 between environment variables and auxiliary vector.
16774
16775 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16776
16777 * Makefile: Add rules to build linkobj/libc.so.
16778 * include/libc-symbols.h: Define libc_hidden_nolink.
16779 * include/rpc/auth.h: Mark functions which are to be hidden.
16780 * include/rpc/auth_des.h: Likewise.
16781 * include/rpc/auth_unix.h: Likewise.
16782 * include/rpc/clnt.h: Likewise.
16783 * include/rpc/des_crypt.h: Likewise.
16784 * include/rpc/key_prot.h: Likewise.
16785 * include/rpc/pmap_clnt.h: Likewise.
16786 * include/rpc/pmap_prot.h: Likewise.
16787 * include/rpc/pmap_rmt.h: Likewise.
16788 * include/rpc/rpc_msg.h: Likewise.
16789 * include/rpc/svc.h: Likewise.
16790 * include/rpc/svc_auth.h: Likewise.
16791 * include/rpc/xdr.h: Likewise.
16792 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16793 * nss/Makefile: Likewise.
16794 * sunrpc/Makefile: Don't install headers. Build library with normal
16795 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16796 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16797 for the compat linking library. Remove use of INTDEF/INTUSE.
16798 * sunrpc/auth_none.c: Likewise.
16799 * sunrpc/auth_unix.c: Likewise.
16800 * sunrpc/authdes_prot.c: Likewise.
16801 * sunrpc/authuxprot.c: Likewise.
16802 * sunrpc/clnt_gen.c: Likewise.
16803 * sunrpc/clnt_perr.c: Likewise.
16804 * sunrpc/clnt_raw.c: Likewise.
16805 * sunrpc/clnt_simp.c: Likewise.
16806 * sunrpc/clnt_tcp.c: Likewise.
16807 * sunrpc/clnt_udp.c: Likewise.
16808 * sunrpc/clnt_unix.c: Likewise.
16809 * sunrpc/des_crypt.c: Likewise.
16810 * sunrpc/des_soft.c: Likewise.
16811 * sunrpc/get_myaddr.c: Likewise.
16812 * sunrpc/key_call.c: Likewise.
16813 * sunrpc/key_prot.c: Likewise.
16814 * sunrpc/netname.c: Likewise.
16815 * sunrpc/pm_getmaps.c: Likewise.
16816 * sunrpc/pm_getport.c: Likewise.
16817 * sunrpc/pmap_clnt.c: Likewise.
16818 * sunrpc/pmap_prot.c: Likewise.
16819 * sunrpc/pmap_prot2.c: Likewise.
16820 * sunrpc/pmap_rmt.c: Likewise.
16821 * sunrpc/publickey.c: Likewise.
16822 * sunrpc/rpc_cmsg.c: Likewise.
16823 * sunrpc/rpc_common.c: Likewise.
16824 * sunrpc/rpc_dtable.c: Likewise.
16825 * sunrpc/rpc_prot.c: Likewise.
16826 * sunrpc/rpc_thread.c: Likewise.
16827 * sunrpc/rtime.c: Likewise.
16828 * sunrpc/svc.c: Likewise.
16829 * sunrpc/svc_auth.c: Likewise.
16830 * sunrpc/svc_authux.c: Likewise.
16831 * sunrpc/svc_raw.c: Likewise.
16832 * sunrpc/svc_run.c: Likewise.
16833 * sunrpc/svc_simple.c: Likewise.
16834 * sunrpc/svc_tcp.c: Likewise.
16835 * sunrpc/svc_udp.c: Likewise.
16836 * sunrpc/svc_unix.c: Likewise.
16837 * sunrpc/svcauth_des.c: Likewise.
16838 * sunrpc/xcrypt.c: Likewise.
16839 * sunrpc/xdr.c: Likewise.
16840 * sunrpc/xdr_array.c: Likewise.
16841 * sunrpc/xdr_float.c: Likewise.
16842 * sunrpc/xdr_intXX_t.c: Likewise.
16843 * sunrpc/xdr_mem.c: Likewise.
16844 * sunrpc/xdr_rec.c: Likewise.
16845 * sunrpc/xdr_ref.c: Likewise.
16846 * sunrpc/xdr_sizeof.c: Likewise.
16847 * sunrpc/xdr_stdio.c: Likewise.
16848
16849 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16850
16851 [BZ #12650]
16852 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16853 * sysdeps/ia64/dl-tls.h: Likewise.
16854 * sysdeps/powerpc/dl-tls.h: Likewise.
16855 * sysdeps/s390/dl-tls.h: Likewise.
16856 * sysdeps/sh/dl-tls.h: Likewise.
16857 * sysdeps/sparc/dl-tls.h: Likewise.
16858 * sysdeps/x86_64/dl-tls.h: Likewise.
16859 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16860
16861 2011-03-14 Andreas Schwab <schwab@redhat.com>
16862
16863 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16864 rpath element also skip the following colon.
16865 (expand_dynamic_string_token): Add is_path parameter and pass
16866 down to DL_DST_REQUIRED and _dl_dst_substitute.
16867 (decompose_rpath): Call expand_dynamic_string_token with
16868 non-zero is_path. Ignore empty rpaths.
16869 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16870 with zero is_path.
16871
16872 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16873
16874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16875 Make cancelable.
16876
16877 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16878
16879 [BZ #12655]
16880 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16881 Patch by Filipe David Manana <fdmanana@apache.org>.
16882
16883 2011-04-07 Andreas Schwab <schwab@redhat.com>
16884
16885 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16886 Maintain aligned stack.
16887 (CHECK_RSP): Remove unused macro.
16888
16889 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16890
16891 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16892 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16893
16894 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16895
16896 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16897
16898 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16899
16900 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16901
16902 [BZ #12518]
16903 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16904 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16905 * sysdeps/x86_64/memmove.c: New file.
16906 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16907 (memcpy): Renamed to ...
16908 (__new_memcpy): This.
16909 (memcpy): Provide GLIBC_2_14 memcpy.
16910 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16911 (memcpy): Provide GLIBC_2_2_5 memcpy.
16912
16913 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16914
16915 [BZ #12631]
16916 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16917
16918 2011-03-30 Andreas Schwab <schwab@redhat.com>
16919
16920 * misc/syncfs.c: New file.
16921 * misc/Makefile (routines): Add syncfs.
16922 * posix/unistd.h: Declare syncfs.
16923 * sysdeps/unix/syscalls.list: Add syncfs.
16924
16925 2011-04-01 Andreas Schwab <schwab@redhat.com>
16926
16927 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16928 open_by_handle_at.
16929 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16930 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16932 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16934 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16935 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16936
16937 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16938
16939 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16940 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16941 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16942 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16943 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16945 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16946
16947 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16948 sync_file_range.c with -fexceptions.
16949 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16950 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16951 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16952 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16953 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16954 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16955 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16956 sync_file_range as cancellation point
16957 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16958 now a wrapper around __call_sync_file_range with cancellation handling.
16959 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16960 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16961 function name to __call_sync_file_range.
16962 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16963 Add call_sync_file_range.
16964
16965 2011-04-01 Andreas Schwab <schwab@redhat.com>
16966
16967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16968 bits/timex.h.
16969
16970 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16971
16972 * iconv/iconv.h: Fix typo in comment.
16973 * io/fcntl.h: Likewise.
16974 * libio/stdio.h: Likewise.
16975 * posix/spawn.h: Likewise.
16976 * posix/unistd.h: Likewise.
16977 * stdlib/stdlib.h: Likewise.
16978 * time/time.h: Likewise.
16979 * wcsmbs/wchar.h: Likewise.
16980
16981 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16982 open_by_handle): Add.
16983 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16984 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16985 Augment a few comments.
16986 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16988 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16990 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16991 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16992 open_by_handle.
16993
16994 * io/fcntl.h (AT_EMPTY_PATH): Define.
16995
16996 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16997
16998 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16999 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17000 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17001 to...
17002 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17003 * Versions.def: Add GLIBC_2.14.
17004 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17005 Export.
17006
17007 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17008
17009 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17010 round counter.
17011 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17012
17013 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17014
17015 [BZ #12597]
17016 * string/test-strncmp.c (do_page_test): New function.
17017 (check2): Likewise.
17018 (test_main): Call check2.
17019 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17020
17021 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17022
17023 [BZ #12587]
17024 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17025 Handle cache information in CPU leaf 4.
17026 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17027
17028 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17029
17030 [BZ #12583]
17031 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17032 character representation.
17033 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17034
17035 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17036
17037 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17038 END(__isnan) to END(__isnanf) to match function entry point/label
17039 EALIGN(__isnanf,...).
17040
17041 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17042
17043 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17044
17045 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17046
17047 [BZ #12510]
17048 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17049 copy from the symbol referenced in the relocation to initialize the
17050 used variable.
17051 Patch by Piotr Bury <pbury@goahead.com>.
17052 * elf/Makefile: Add rules to build and tst-unique3.
17053 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17054 * elf/tst-unique3.cc: New file.
17055 * elf/tst-unique3.h: New file.
17056 * elf/tst-unique3lib.cc: New file.
17057 * elf/tst-unique3lib2.cc: New file.
17058
17059 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17060
17061 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17062
17063 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17064 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17065 to _start.
17066
17067 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17068
17069 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17070 to-be-loaded object along a path to loader is ld.so.
17071
17072 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17073 Ulrich Drepper <drepper@gmail.com>
17074
17075 * sysdeps/x86_64/memset.S: After aligning destination, code
17076 branches to different locations depending on the value of
17077 misalignment, when multiarch is enabled. Fix this.
17078
17079 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17080
17081 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17082 Set _x86_64_preferred_memory_instruction for AMD processsors.
17083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17084 Set bit_Prefer_SSE_for_memop for AMD processors.
17085
17086 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17087
17088 * libio/fmemopen.c (fmemopen): Optimize a bit.
17089
17090 2011-03-03 Andreas Schwab <schwab@redhat.com>
17091
17092 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17093
17094 2011-03-03 Roland McGrath <roland@redhat.com>
17095
17096 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17097
17098 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17099
17100 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17101 __bzero_ultra1 instead of __memset_ultra1.
17102
17103 2011-02-23 Andreas Schwab <schwab@redhat.com>
17104 Ulrich Drepper <drepper@gmail.com>
17105
17106 [BZ #12509]
17107 * include/link.h (struct link_map): Add l_orig_initfini.
17108 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17109 returning unsuccessfully.
17110 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17111 close of a file loaded at startup, restore the original l_initfini
17112 list.
17113 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17114 list, store the pointer.
17115 * elf/Makefile ($(objpfx)noload-mem): New rule.
17116 (noload-ENV): Define.
17117 (tests): Add $(objpfx)noload-mem.
17118 * elf/noload.c: Include <memcheck.h>.
17119 (main): Call mtrace. Close all opened handles.
17120
17121 2011-02-17 Andreas Schwab <schwab@redhat.com>
17122
17123 [BZ #12454]
17124 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17125 dependencies are missing.
17126
17127 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17128
17129 Fix __if_freereq crash: Unlike the generic version which uses free,
17130 Hurd needs munmap.
17131 * sysdeps/mach/hurd/ifreq.h: New file.
17132
17133 2011-01-27 Petr Baudis <pasky@suse.cz>
17134 Ulrich Drepper <drepper@gmail.com>
17135
17136 [BZ 12445]#
17137 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17138 to extend_alloca().
17139 * stdio-common/bug23.c: New file.
17140 * stdio-common/Makefile (tests): Add bug23.
17141
17142 2010-09-28 Andreas Schwab <schwab@redhat.com>
17143 Ulrich Drepper <drepper@gmail.com>
17144
17145 [BZ #12489]
17146 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17147 before performing relro protection. At old place add assertion
17148 to make sure nothing changed.
17149
17150 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17151 Glauber de Oliveira Costa <glommer@gmail.com>
17152
17153 * elf/elf.h: Add new ARM TLS relocs.
17154
17155 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17156
17157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17158 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17159 cast from r3.
17160 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17161 'tests' variable.
17162 * sysdeps/wordsize-64/tst-writev.c: New file.
17163
17164 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17165
17166 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17167 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17168 insns in _dl_start to prevent a TOC reference before relocs are
17169 resolved.
17170
17171 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17172
17173 [BZ #12469]
17174 * Makeconfig: Remove RANLIB definition.
17175 * Makerules: Don't use RANLIB.
17176 * aclocal.m4: Remove ranlib test.
17177 * configure.in: No need to check for ranlib.
17178 * elf/rtld-Rules: Don't use RANLIB.
17179
17180 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17181
17182 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17183 protection macro.
17184 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17185 inclusion protection macro.
17186
17187 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17188 SIGRTMIN and SIGRTMAX and print information in that case only when
17189 SIGRTMIN is defined.
17190
17191 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17192
17193 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17194 arginfo fn returning -1.
17195
17196 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17197 and thousands string is zero terminated.
17198
17199 2011-02-03 Andreas Schwab <schwab@redhat.com>
17200
17201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17202 sysdeps/unix/sysv/linux/bits/socket.h.
17203
17204 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17205
17206 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17207 (__CPU_COUNT): Remove old macros.
17208 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17209 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17210 (__CPU_ALLOC, __CPU_FREE): Add macros.
17211 (__sched_cpualloc, __sched_cpufree): Add declarations.
17212
17213 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17214
17215 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17216 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17217 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17218 (readdhstai): Return value of addhstaiX call.
17219 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17220 (addgrbyX): Return value returned by cache_addgr.
17221 (readdgrbyname): Return value returned by addgrbyX.
17222 (readdgrbygid): Likewise.
17223 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17224 (addpwbyX): Return value returned by cache_addpw.
17225 (readdpwbyname): Return value returned by addhstbyX.
17226 (readdpwbyuid): Likewise.
17227 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17228 (addservbyX): Return value returned by cache_addserv.
17229 (readdservbyname): Return value returned by addservbyX:
17230 (readdservbyport): Likewise.
17231 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17232 (addhstbyX): Return value returned by cache_addhst.
17233 (readdhstbyname): Return value returned by addhstbyX.
17234 (readdhstbyaddr): Likewise.
17235 (readdhstbynamev6): Likewise.
17236 (readdhstbyaddrv6): Likewise.
17237 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17238 (readdinitgroups): Return value returned by addinitgroupsX.
17239 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17240 (prune_cache): Keep track of timeout value of re-added entries.
17241 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17242 * nscd/nscd.h: Adjust prototypes of readd* functions.
17243
17244 2011-02-04 Roland McGrath <roland@redhat.com>
17245
17246 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17247 (nis_stats): Likewise.
17248 * nis/nis_modify.c (nis_modify): Likewise.
17249 * nis/nis_remove.c (nis_remove): Likewise.
17250 * nis/nis_add.c (nis_add): Likewise.
17251
17252 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17253
17254 * posix/fnmatch_loop.c: Add some consts.
17255
17256 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17257
17258 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17259
17260 [BZ #12460]
17261 * config.make.in (config-cflags-novzeroupper): Define.
17262 * configure.in: Substitute libc_cv_cc_novzeroupper.
17263 * elf/Makefile (AVX-CFLAGS): Define.
17264 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17265 (CFLAGS-tst-auditmod4a.c): Likewise.
17266 (CFLAGS-tst-auditmod4b.c): Likewise.
17267 (CFLAGS-tst-auditmod6b.c): Likewise.
17268 (CFLAGS-tst-auditmod6c.c): Likewise.
17269 (CFLAGS-tst-auditmod7b.c): Likewise.
17270 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17271
17272 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17273
17274 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17275 function to the callback.
17276 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17277
17278 2011-02-02 Andreas Schwab <schwab@redhat.com>
17279
17280 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17281 of errno.
17282
17283 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17284
17285 [BZ #11724]
17286 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17287 of constructors.
17288 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17289 of destructors.
17290 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17291
17292 [BZ #11724]
17293 * elf/Makefile: Add rules to build and run new test.
17294 * elf/tst-initorder.c: New file.
17295 * elf/tst-initorder.exp: New file.
17296 * elf/tst-initordera1.c: New file.
17297 * elf/tst-initordera2.c: New file.
17298 * elf/tst-initordera3.c: New file.
17299 * elf/tst-initordera4.c: New file.
17300 * elf/tst-initorderb1.c: New file.
17301 * elf/tst-initorderb2.c: New file.
17302 * elf/tst-order-a1.c: New file.
17303 * elf/tst-order-a2.c: New file.
17304 * elf/tst-order-a3.c: New file.
17305 * elf/tst-order-a4.c: New file.
17306 * elf/tst-order-b1.c: New file.
17307 * elf/tst-order-b2.c: New file.
17308 * elf/tst-order-main.c: New file.
17309 New test case by George Gensure <werkt0@gmail.com>.
17310
17311 2010-10-01 Andreas Schwab <schwab@redhat.com>
17312
17313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17314 decoding ACE if AI_CANONIDN.
17315
17316 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17317
17318 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17319
17320 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17321
17322 * version.h (RELEASE): Bump for 2.13 release.
17323 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17324
17325 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17326
17327 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17328 MADV_NOHUGEPAGE.
17329 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17330 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17331 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17332 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17333 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17334 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17335
17336 * posix/getconf.c: Update copyright year.
17337 * catgets/gencat.c: Likewise.
17338 * csu/version.c: Likewise.
17339 * debug/catchsegv.sh: Likewise.
17340 * debug/xtrace.sh: Likewise.
17341 * elf/ldconfig.c: Likewise.
17342 * elf/ldd.bash.in: Likewise.
17343 * elf/sprof.c (print_version): Likewise.
17344 * iconv/iconv_prog.c: Likewise.
17345 * iconv/iconvconfig.c: Likewise.
17346 * locale/programs/locale.c: Likewise.
17347 * locale/programs/localedef.c: Likewise.
17348 * malloc/memusage.sh: Likewise.
17349 * malloc/mtrace.pl: Likewise.
17350 * nscd/nscd.c (print_version): Likewise.
17351 * nss/getent.c: Likewise.
17352
17353 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17354 PF_CAIF, and PF_ALG.
17355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17356
17357 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17358
17359 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17360 (modules-names): Use them.
17361 (ifunc-test-modules, ifunc-pie-tests): Define.
17362 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17363 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17364 (test-extras): Likewise.
17365 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17366 $(compile-command.c).
17367 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17368 (all-built-dso): Define.
17369 (check-textrel.out, check-execstack.out): Depend on it.
17370
17371 * configure.in: Don't override --enable-multi-arch.
17372
17373 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17374
17375 [BZ #6812]
17376 * nscd/hstcache.c (tryagain): Define.
17377 (cache_addhst): Return tryagain not notfound for temporary errors.
17378 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17379 failed.
17380
17381 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17382
17383 [BZ #10563]
17384 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17385 to make the syscall.
17386 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17387
17388 [BZ #12378]
17389 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17390 and fall back to matching as normal character if the string ends before
17391 the matching ']' is found. This is what POSIX requires.
17392 * posix/testfnm.c: Adjust test result.
17393 * posix/globtest.sh: Adjust test result. Add new test.
17394 * posix/tst-fnmatch.input: Likewise.
17395 * posix/tst-fnmatch2.c: Add new test.
17396
17397 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17398
17399 * elf/Makefile (check-execstack): Revert last change. Depend on
17400 check-execstack.h.
17401 (check-execstack.h): New target.
17402 (generated): Add check-execstack.h.
17403 * elf/check-execstack.c: Include "check-execstack.h".
17404 (main): Revert last change.
17405 (handle_file): Return zero if GNU_STACK is absent and
17406 DEFAULT_STACK_PERMS doesn't include PF_X.
17407
17408 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17409
17410 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17411 in child fails because the descriptor is already closed.
17412 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17413 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17414 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17415
17416 [BZ #12397]
17417 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17418 syscall.
17419
17420 [BZ #10484]
17421 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17422 temporary buffer used to handle multi lookups locally.
17423 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17424
17425 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17426
17427 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17428 loader is ld.so.
17429
17430 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17431
17432 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17433 alignment for SSE2.
17434
17435 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17436
17437 [BZ #12394]
17438 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17439 characters. When rounding increased number of integer digits recompute
17440 number of groups.
17441 * stdio-common/tst-grouping.c: New file.
17442 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17443
17444 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17445
17446 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17447 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17448
17449 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17450 void.
17451 * bits/select.h: Likewise.
17452
17453 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17454
17455 * po/ja.po: Update from translation team.
17456
17457 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17458
17459 [BZ #11155]
17460 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17461 implementation just like for lxstat, fxstatat, et al.
17462
17463 2010-12-27 Jim Meyering <meyering@redhat.com>
17464
17465 [BZ #12348]
17466 * posix/regexec.c (build_trtable): Return failure indication upon
17467 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17468
17469 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17470
17471 [BZ #12201]
17472 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17473 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17474 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17475 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17476
17477 [BZ #12207]
17478 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17479
17480 [BZ #12204]
17481 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17482 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17483
17484 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17485
17486 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17487 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17488 script has SORT_BY_INIT_PRIORITY.
17489 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17490 NO_CTORS_DTORS_SECTIONS is defined.
17491 * elf/soinit.c: Likewise.
17492 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17493 NO_CTORS_DTORS_SECTIONS is defined.
17494 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17495 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17496 * sysdeps/sh/init-first.c: Likewise.
17497 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17498
17499 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17500
17501 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17502 always use the slow path.
17503
17504 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17505
17506 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17507 similar rule which adds the sysdep directories to the header search in
17508 order to pick up the correct platform stackinfo.h.
17509 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17510 perform test if it is, otherwise return successfully without testing.
17511 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17512 DEFAULT_STACK_PERMS define in stackinfo.h.
17513 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17514 defined in stackinfo.h.
17515 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17516 DEFAULT_STACK_PERMS defined in stackinfo.h.
17517 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17518 * sysdeps/ia64/stackinfo.h: Likewise.
17519 * sysdeps/s390/stackinfo.h: Likewise.
17520 * sysdeps/sh/stackinfo.h: Likewise.
17521 * sysdeps/sparc/stackinfo.h: Likewise.
17522 * sysdeps/x86_64/stackinfo.h: Likewise.
17523 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17524 PF_X for powerpc64. Retain PF_X for powerpc32.
17525
17526 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17527
17528 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17529 accurately.
17530 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17531 GETDENTS_64BIT_ALIGNED.
17532
17533 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17534
17535 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17536
17537 2010-12-10 Andreas Schwab <schwab@redhat.com>
17538
17539 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17540 _GNU_SOURCE.
17541
17542 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17543 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17544 Remove __restrict.
17545 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17546 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17547
17548 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17549
17550 [BZ #11655]
17551 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17552 are initialized.
17553
17554 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17555
17556 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17557
17558 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17559
17560 * po/it.po: Update from translation team.
17561
17562 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17563
17564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17565 unused codes.
17566
17567 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17568
17569 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17570
17571 2010-11-24 Andreas Schwab <schwab@redhat.com>
17572
17573 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17574 specially.
17575 (gaih_getanswer_slice): Likewise.
17576
17577 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17578
17579 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17580
17581 2010-05-31 Petr Baudis <pasky@suse.cz>
17582
17583 [BZ #11149]
17584 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17585 silently even in the chroot mode.
17586
17587 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17588
17589 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17590 last patch a bit. Pretty printing
17591
17592 2010-05-31 Petr Baudis <pasky@suse.cz>
17593
17594 [BZ #10085]
17595 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17596 initialization of skip_initgroups_dyn.
17597
17598 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17599
17600 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17601 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17602
17603 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17604
17605 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17606
17607 2010-11-11 Andreas Schwab <schwab@redhat.com>
17608
17609 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17610 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17611 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17612 ($(objpfx)tst-fnmatch-mem): New rule.
17613 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17614 * posix/tst-fnmatch.c (main): Call mtrace.
17615
17616 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17617
17618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17619 Support Intel processor model 6 and model 0x2c.
17620
17621 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17622
17623 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17624 signed comparison.
17625
17626 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17627
17628 [BZ #12205]
17629 * string/test-strncasecmp.c (check_result): New function.
17630 (do_one_test): Use it.
17631 (check1): New function.
17632 (test_main): Use it.
17633 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17634 Support strcasecmp and strncasecmp.
17635
17636 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17637
17638 [BZ #12194]
17639 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17640 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17641
17642 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17643
17644 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17645 IFUNC support.
17646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17647 memset-x86-64.
17648 * sysdeps/x86_64/multiarch/bzero.S: New file.
17649 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17650 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17651 * sysdeps/x86_64/multiarch/memset.S: New file.
17652 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17654 Set bit_Prefer_SSE_for_memop for Intel processors.
17655 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17656 Define.
17657 (index_Prefer_SSE_for_memop): Define.
17658 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17659
17660 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17661
17662 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17663 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17664
17665 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17666
17667 [BZ #12191]
17668 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17669 (__x86_64_raw_data_cache_size_half): Likewise.
17670 (__x86_64_raw_shared_cache_size): Likewise.
17671 (__x86_64_raw_shared_cache_size_half): Likewise.
17672
17673 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17674 (__x86_64_raw_data_cache_size_half): Likewise.
17675 (__x86_64_raw_shared_cache_size): Likewise.
17676 (__x86_64_raw_shared_cache_size_half): Likewise.
17677 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17678 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17679 and __x86_64_raw_shared_cache_size_half. Round
17680 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17681 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17682 to multiple of 256 bytes.
17683
17684 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17685
17686 [BZ #12167]
17687 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17688 of inacessible symlinks. Verify result of symlink before returning it.
17689 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17690 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17691
17692 2010-10-28 Erich Ritz <erichritz@gmail.com>
17693
17694 * math/math.h (isinf): Fix typo in comment.
17695
17696 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17697
17698 * po/da.po: Update from translation team.
17699
17700 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17701
17702 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17703 is added to the list.
17704
17705 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17706 Ulrich Drepper <drepper@gmail.com>
17707
17708 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17709 the global list here. Move code to...
17710 (_dl_add_to_namespace_list): ...here. New function.
17711 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17712 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17713 * elf/dl-load.c (lose): Don't remove the element from the list.
17714 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17715 (_dl_map_object): Likewise.
17716
17717 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17718
17719 [BZ #12159]
17720 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17721 into all bytes of SSE register.
17722 Patch by Richard Li <richardpku@gmail.com>.
17723
17724 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17725
17726 [BZ #12140]
17727 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17728 perturbing.
17729
17730 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17731
17732 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17733 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17734 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17735 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17737 submachine.
17738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17739
17740 2010-10-22 Andreas Schwab <schwab@redhat.com>
17741
17742 * include/dlfcn.h (__RTLD_SECURE): Define.
17743 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17744 mode & __RTLD_SECURE instead.
17745 (open_path): Rename preloaded parameter to secure.
17746 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17747 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17748 * elf/dl-deps.c (openaux): Likewise.
17749 * elf/rtld.c (struct map_args): Remove is_preloaded.
17750 (map_doit): Don't use it.
17751 (dl_main): Likewise.
17752 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17753 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17754
17755 2010-09-09 Andreas Schwab <schwab@redhat.com>
17756
17757 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17758 (sysd-rules-targets): Remove duplicates.
17759 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17760 rtld-%.$o dependency.
17761
17762 2010-10-18 Andreas Schwab <schwab@redhat.com>
17763
17764 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17765 _dl_map_object do it.
17766
17767 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17768
17769 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17770 fast fma builtins, define the macros in the C99 standard.
17771 (FP_FAST_FMAF): Likewise.
17772 (FP_FAST_FMAL): Likewise.
17773 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17774
17775 * bits/mathdef.h: Update copyright year.
17776 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17777
17778 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17779
17780 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17781 builtins, define the macros in the C99 standard.
17782 (FP_FAST_FMAF): Likewise.
17783 (FP_FAST_FMAL): Likewise.
17784 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17785 multiply/add.
17786 (FP_FAST_FMAF): Likewise.
17787
17788 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17789
17790 [BZ #3268]
17791 * math/libm-test.inc (fma_test): Some new testcases.
17792 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17793 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17794 y and infinite z. Do multiplication by C already in long double.
17795 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17797 y and infinite z. Do bitwise or of inexact bit into u.d.
17798 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17799 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17800 * sysdeps/i386/fpu/s_fma.S: Removed.
17801 * sysdeps/i386/fpu/s_fmal.S: Removed.
17802
17803 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17804
17805 [BZ #3268]
17806 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17808 computation is not scheduled after fetestexcept. Fix value
17809 of minimum denormal long double.
17810
17811 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17812
17813 [BZ #3268]
17814 * math/libm-test.inc (fma_test): Add some more tests.
17815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17816 correctly.
17817
17818 2010-10-15 Andreas Schwab <schwab@redhat.com>
17819
17820 * scripts/data/localplt-s390-linux-gnu.data: New file.
17821 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17822
17823 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17824
17825 [BZ #3268]
17826 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17827 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17828 instead of dbl-64.
17829 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17830 inlines.
17831 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17833 if one of x and y is very large and the other is subnormal.
17834 * sysdeps/s390/fpu/s_fmaf.c: New file.
17835 * sysdeps/s390/fpu/s_fma.c: New file.
17836 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17837 * sysdeps/powerpc/fpu/s_fma.S: New file.
17838 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17839 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17840 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17841
17842 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17843
17844 [BZ #3268]
17845 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17846 fma tests.
17847 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17848 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17849 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17850 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17851 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17852 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17854
17855 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17856
17857 [BZ #12078]
17858 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17859 * posix/bug-regex31.input: Add test case.
17860
17861 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17862
17863 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17864 * posix/bug-regex31.input: New file.
17865
17866 [BZ #12078]
17867 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17868 (parse_sub_exp): Fix last change, use postorder.
17869
17870 * posix/bug-regex31.c: New file.
17871 * posix/Makefile: Add rules to build and run bug-regex31.
17872
17873 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17874
17875 [BZ #12078]
17876 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17877
17878 [BZ #12108]
17879 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17880 to have entries in sys_siglist.
17881
17882 [BZ #12093]
17883 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17884 be NULL.
17885
17886 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17887
17888 [BZ #3268]
17889 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17890 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17891 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17892 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17893 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17894 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17895 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17896 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17897 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17898 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17899 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17900 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17901 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17902 * math/ftestexcept.c (fetestexcept): Likewise.
17903 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17904 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17905 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17906 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17907 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17908 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17909 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17910
17911 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17912
17913 [BZ #12107]
17914 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17915 newline.
17916
17917 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17918
17919 * string/bug-strstr1.c: New file.
17920 * string/Makefile: Add rules to build and run bug-strstr1.
17921
17922 2010-10-05 Eric Blake <eblake@redhat.com>
17923
17924 [BZ #12092]
17925 * string/str-two-way.h (two_way_long_needle): Always clear memory
17926 when skipping input due to the shift table.
17927
17928 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17929
17930 [BZ #12005]
17931 * malloc/mcheck.c: Handle large requests.
17932
17933 [BZ #12077]
17934 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17935 for strncmp and strncasecmp.
17936 * string/stratcliff.c: Add tests for strcmp and strncmp.
17937 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17938
17939 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17940
17941 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17942 __set_fpscr.
17943
17944 2010-09-30 Andreas Jaeger <aj@suse.de>
17945
17946 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17947 (CGROUP_SUPER_MAGIC): Define.
17948 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17949 Handle btrfs and cgroup file systems.
17950 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17951 Likewise.
17952
17953 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17954
17955 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17956 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17957
17958 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17959
17960 [BZ #12067]
17961 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17962 trying to locate the ELF header.
17963
17964 2010-09-27 Andreas Schwab <schwab@redhat.com>
17965
17966 [BZ #11611]
17967 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17968 Mask out sign-bit copies when constructing f_fsid.
17969
17970 2010-09-24 Petr Baudis <pasky@suse.cz>
17971
17972 * debug/stack_chk_fail_local.c: Add missing licence exception.
17973 * debug/warning-nop.c: Likewise.
17974
17975 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17976
17977 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17978 implementing getdents64 using getdents syscall, set d_type if
17979 __ASSUME_GETDENTS32_D_TYPE.
17980
17981 2010-09-16 Andreas Schwab <schwab@redhat.com>
17982
17983 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17984 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17985
17986 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17987
17988 [BZ #12037]
17989 * posix/unistd.h: Undo change of feature selection for ftruncate from
17990 2010-01-11.
17991
17992 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17993
17994 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17995 detection.
17996
17997 2010-09-20 Andreas Schwab <schwab@redhat.com>
17998
17999 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18000 fanotify_mark.
18001 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18002
18003 2010-09-14 Andreas Schwab <schwab@redhat.com>
18004
18005 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18006 variables after CHECK_SP call.
18007 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18008
18009 2010-09-13 Andreas Schwab <schwab@redhat.com>
18010 Ulrich Drepper <drepper@redhat.com>
18011
18012 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18013 re-relocationg ld.so.
18014 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18015 _dl_init_paths call.
18016 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18017 here anymore.
18018
18019 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18020
18021 * resolv/res_init.c (__res_vinit): Count the default server we added.
18022
18023 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18024 Ulrich Drepper <drepper@redhat.com>
18025
18026 [BZ #11968]
18027 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18028 (____longjmp_chk): Use %ebx for saving value across system call.
18029 Add unwind info.
18030
18031 2010-09-06 Andreas Schwab <schwab@redhat.com>
18032
18033 * manual/Makefile: Don't mix pattern rules with normal rules.
18034
18035 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18036
18037 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18038 operation.
18039 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18040 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18041 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18042 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18043 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18044 Likewise.
18045
18046 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18047
18048 [BZ #11979]
18049 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18050 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18051
18052 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18053
18054 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18055 * sysdeps/x86_64/addmul_1.S: Likewise.
18056 * sysdeps/x86_64/lshift.S: Likewise.
18057 * sysdeps/x86_64/mul_1.S: Likewise.
18058 * sysdeps/x86_64/rshift.S: Likewise.
18059 * sysdeps/x86_64/sub_n.S: Likewise.
18060 * sysdeps/x86_64/submul_1.S: Likewise.
18061
18062 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18063
18064 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18065 Define __sched_param instead of SCHED_* and sched_param when
18066 <bits/sched.h> is included with __need_schedparam defined.
18067 * bits/sched.h [__need_schedparam]
18068 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18069 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18070 (__defined_schedparam): Define to 1.
18071 (__sched_param): New structure, identical to sched_param.
18072 (__need_schedparam): Undefine.
18073
18074 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18075
18076 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18077 (epoll_create1): Declare.
18078
18079 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18080
18081 2010-08-31 Andreas Schwab <schwab@redhat.com>
18082
18083 [BZ #7066]
18084 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18085 shifting retval into place.
18086
18087 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18088
18089 * nis/rpcsvc/nis.h: Update copyright notice.
18090 * nis/rpcsvc/nis.x: Likewise.
18091 * nis/rpcsvc/nis_callback.h: Likewise.
18092 * nis/rpcsvc/nis_callback.x: Likewise.
18093 * nis/rpcsvc/nis_object.x: Likewise.
18094 * nis/rpcsvc/nis_tags.h: Likewise.
18095 * nis/rpcsvc/yp.h: Likewise.
18096 * nis/rpcsvc/yp.x: Likewise.
18097 * nis/rpcsvc/ypupd.h: Likewise.
18098 * nis/yp_xdr.c: Likewise.
18099 * nis/ypupdate_xdr.c: Likewise.
18100
18101 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18102 mainly the body of pmap_getport. Add parameters to specify timeouts.
18103 (pmap_getport): Use __libc_rpc_getport.
18104 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18105 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18106 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18107
18108 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18109
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18111 fanotify_mark.
18112
18113 2010-08-27 Roland McGrath <roland@redhat.com>
18114
18115 * sysdeps/i386/i686/multiarch/Makefile
18116 (CFLAGS-varshift.c): New variable.
18117
18118 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18119
18120 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18121 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18122
18123 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18124
18125 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18126
18127 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18128
18129 * sysdeps/x86_64/strlen.S: Unroll the loop.
18130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18131 strlen-sse2 strlen-sse2-bsf.
18132 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18133 __strlen_no_bsf if bit_Slow_BSF is set.
18134 (__strlen_sse42): Removed.
18135 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18136 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18137
18138 2010-08-25 Roland McGrath <roland@redhat.com>
18139
18140 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18141 * sysdeps/x86_64/multiarch/varshift.c: New file.
18142 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18143 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18144 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18145 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18146
18147 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18148
18149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18150 strlen-sse2 strlen-sse2-bsf.
18151 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18152 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18153 (__strlen_sse2): Removed.
18154 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18155 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18157 bit_Slow_BSF for Atom.
18158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18159 (index_Slow_BSF): Define.
18160 (HAS_SLOW_BSF): Define.
18161
18162 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18163
18164 [BZ #10851]
18165 * resolv/res_init.c (__res_vinit): When no server address at all
18166 is given default to loopback.
18167
18168 2010-08-24 Roland McGrath <roland@redhat.com>
18169
18170 * configure.in: Remove config-name.h generation.
18171 * configure: Regenerated.
18172 * config-name.in: File removed.
18173 * scripts/config-uname.sh: New file.
18174 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18175 ($(objdir)config-name.h): New target.
18176
18177 * sunrpc/rpc_parse.h: Avoid nested comment.
18178
18179 2010-08-24 Richard Henderson <rth@redhat.com>
18180 Ulrich Drepper <drepper@redhat.com>
18181 H.J. Lu <hongjiu.lu@intel.com>
18182
18183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18185 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18186 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18187 _mm_alignr_epi8 with _mm_loadu_si128.
18188 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18189 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18190 (__m128i_shift_right): Removed.
18191 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18192 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18193 * sysdeps/x86_64/multiarch/varshift.h: New file.
18194 * sysdeps/x86_64/multiarch/varshift.S: New file.
18195
18196 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18197
18198 * configure.in: Move assembler checks to before sysdep dir checking.
18199
18200 2010-08-20 Petr Baudis <pasky@suse.cz>
18201
18202 * LICENSES: Sync the sunrpc license.
18203
18204 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18205
18206 * sunrpc/auth_des.c: Update copyright notice once again.
18207 * sunrpc/auth_none.c: Likewise.
18208 * sunrpc/auth_unix.c: Likewise.
18209 * sunrpc/authdes_prot.c: Likewise.
18210 * sunrpc/authuxprot.c: Likewise.
18211 * sunrpc/bindrsvprt.c: Likewise.
18212 * sunrpc/clnt_gen.c: Likewise.
18213 * sunrpc/clnt_perr.c: Likewise.
18214 * sunrpc/clnt_raw.c: Likewise.
18215 * sunrpc/clnt_simp.c: Likewise.
18216 * sunrpc/clnt_tcp.c: Likewise.
18217 * sunrpc/clnt_udp.c: Likewise.
18218 * sunrpc/clnt_unix.c: Likewise.
18219 * sunrpc/des_crypt.c: Likewise.
18220 * sunrpc/des_soft.c: Likewise.
18221 * sunrpc/get_myaddr.c: Likewise.
18222 * sunrpc/getrpcport.c: Likewise.
18223 * sunrpc/key_call.c: Likewise.
18224 * sunrpc/key_prot.c: Likewise.
18225 * sunrpc/openchild.c: Likewise.
18226 * sunrpc/pm_getmaps.c: Likewise.
18227 * sunrpc/pm_getport.c: Likewise.
18228 * sunrpc/pmap_clnt.c: Likewise.
18229 * sunrpc/pmap_prot.c: Likewise.
18230 * sunrpc/pmap_prot2.c: Likewise.
18231 * sunrpc/pmap_rmt.c: Likewise.
18232 * sunrpc/rpc/auth.h: Likewise.
18233 * sunrpc/rpc/auth_unix.h: Likewise.
18234 * sunrpc/rpc/clnt.h: Likewise.
18235 * sunrpc/rpc/des_crypt.h: Likewise.
18236 * sunrpc/rpc/key_prot.h: Likewise.
18237 * sunrpc/rpc/netdb.h: Likewise.
18238 * sunrpc/rpc/pmap_clnt.h: Likewise.
18239 * sunrpc/rpc/pmap_prot.h: Likewise.
18240 * sunrpc/rpc/pmap_rmt.h: Likewise.
18241 * sunrpc/rpc/rpc.h: Likewise.
18242 * sunrpc/rpc/rpc_des.h: Likewise.
18243 * sunrpc/rpc/rpc_msg.h: Likewise.
18244 * sunrpc/rpc/svc.h: Likewise.
18245 * sunrpc/rpc/svc_auth.h: Likewise.
18246 * sunrpc/rpc/types.h: Likewise.
18247 * sunrpc/rpc/xdr.h: Likewise.
18248 * sunrpc/rpc_clntout.c: Likewise.
18249 * sunrpc/rpc_cmsg.c: Likewise.
18250 * sunrpc/rpc_common.c: Likewise.
18251 * sunrpc/rpc_cout.c: Likewise.
18252 * sunrpc/rpc_dtable.c: Likewise.
18253 * sunrpc/rpc_hout.c: Likewise.
18254 * sunrpc/rpc_main.c: Likewise.
18255 * sunrpc/rpc_parse.c: Likewise.
18256 * sunrpc/rpc_parse.h: Likewise.
18257 * sunrpc/rpc_prot.c: Likewise.
18258 * sunrpc/rpc_sample.c: Likewise.
18259 * sunrpc/rpc_scan.c: Likewise.
18260 * sunrpc/rpc_scan.h: Likewise.
18261 * sunrpc/rpc_svcout.c: Likewise.
18262 * sunrpc/rpc_tblout.c: Likewise.
18263 * sunrpc/rpc_util.c: Likewise.
18264 * sunrpc/rpc_util.h: Likewise.
18265 * sunrpc/rpcinfo.c: Likewise.
18266 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18267 * sunrpc/rpcsvc/key_prot.x: Likewise.
18268 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18269 * sunrpc/rpcsvc/mount.x: Likewise.
18270 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18271 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18272 * sunrpc/rpcsvc/rex.x: Likewise.
18273 * sunrpc/rpcsvc/rstat.x: Likewise.
18274 * sunrpc/rpcsvc/rusers.x: Likewise.
18275 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18276 * sunrpc/rpcsvc/spray.x: Likewise.
18277 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18278 * sunrpc/rtime.c: Likewise.
18279 * sunrpc/svc.c: Likewise.
18280 * sunrpc/svc_auth.c: Likewise.
18281 * sunrpc/svc_authux.c: Likewise.
18282 * sunrpc/svc_raw.c: Likewise.
18283 * sunrpc/svc_run.c: Likewise.
18284 * sunrpc/svc_simple.c: Likewise.
18285 * sunrpc/svc_tcp.c: Likewise.
18286 * sunrpc/svc_udp.c: Likewise.
18287 * sunrpc/svc_unix.c: Likewise.
18288 * sunrpc/svcauth_des.c: Likewise.
18289 * sunrpc/xcrypt.c: Likewise.
18290 * sunrpc/xdr.c: Likewise.
18291 * sunrpc/xdr_array.c: Likewise.
18292 * sunrpc/xdr_float.c: Likewise.
18293 * sunrpc/xdr_mem.c: Likewise.
18294 * sunrpc/xdr_rec.c: Likewise.
18295 * sunrpc/xdr_ref.c: Likewise.
18296 * sunrpc/xdr_sizeof.c: Likewise.
18297 * sunrpc/xdr_stdio.c: Likewise.
18298
18299 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18300 handling.
18301
18302 2010-08-19 Andreas Schwab <schwab@redhat.com>
18303
18304 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18305
18306 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18307
18308 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18309 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18310 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18311 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18312 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18313 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18314 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18315 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18316 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18317 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18318 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18319 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18320 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18321 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18322
18323 2010-07-26 Anton Blanchard <anton@samba.org>
18324
18325 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18326 * malloc/arena.c (heap_trim): Likewise.
18327
18328 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18329
18330 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18331 here. Not...
18332 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18333 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18334
18335 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18336
18337 * sysdeps/i386/elf/Makefile: New file.
18338
18339 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18340
18341 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18342 from fanotify_init.
18343 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18344 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18345
18346 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18347
18348 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18349 of strncasecmp_l.
18350 * sysdeps/multiarch/strcmp.S: Likewise.
18351
18352 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18353
18354 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18355 strncase_l-nonascii.
18356 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18357 Add strncase_l-ssse3.
18358 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18359 * sysdeps/x86_64/strcmp.S: Likewise.
18360 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18361 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18362 * sysdeps/x86_64/strncase.S: New file.
18363 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18364 * sysdeps/x86_64/strncase_l.S: New file.
18365 * string/Makefile (strop-tests): Add strncasecmp.
18366 * string/test-strncasecmp.c: New file.
18367
18368 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18369 warning.
18370
18371 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18372 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18373
18374 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18375
18376 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18377
18378 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18379
18380 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18381 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18382 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18383
18384 2010-05-01 Alan Modra <amodra@gmail.com>
18385
18386 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18387 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18388 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18389 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18390 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18391 tidying. Don't tail-call __sigjmp_save for static lib.
18392 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18393 save location.
18394 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18395 (CALL_MCOUNT): Add eh info, and nop after bl.
18396 (TAIL_CALL_SYSCALL_ERROR): New macro.
18397 (PSEUDO_RET): Use it.
18398 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18399 Correct save location of integer regs and cr.
18400 (_dl_profile_resolve): Correct cr save location. Delete nops
18401 after bl when SHARED. Reduce cfi size a little by better
18402 placement of cfi directives.
18403 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18404 make a stack frame. Instead use parm save area as a temp.
18405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18406 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18408 Don't make a stack frame for parent, use parm save area.
18409 Increase child stack frame to 112 bytes. Don't save unused reg,
18410 and adjust reg usage. Set up cfi on error recovery and
18411 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18413 (__makecontext): Add dummy nop after jump to exit.
18414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18415 Use correct parm save area and cr save, reduce stack frame.
18416 Correct cfi for possible PSEUDO_RET frame setup.
18417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18418 Branch to local label emitted by PSEUDO_RET rather than
18419 __syscall_error.
18420
18421 2010-08-12 Andreas Schwab <schwab@redhat.com>
18422
18423 [BZ #11904]
18424 * locale/programs/locale.c (print_assignment): New function.
18425 (show_locale_vars): Use it.
18426
18427 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18428
18429 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18430 field.
18431 (struct statfs64): Likewise.
18432 (_STATFS_F_FLAGS): Define.
18433 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18434 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18435 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18436 (ST_VALID): Define locally.
18437 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18438 __statvfs_getflags, use the provided value.
18439 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18440 __ASSUME_STATFS_F_FLAGS.
18441
18442 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18443
18444 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18445 Add sys/fanotify.h.
18446 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18447 fanotify_mask for GLIBC_2.13.
18448 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18449 fanotify_init and fanotify_mark.
18450 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18451 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18452
18453 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18454 Add prlimit.
18455 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18456 prlimit64 for GLIBC_2.13.
18457 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18458 prlimit64.
18459 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18460 syscall.
18461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18462 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18463 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18464 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18465 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18466 add prlimit alias.
18467 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18468
18469 [BZ #11903]
18470 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18471 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18472
18473 * nss/Makefile: Add rules to build and run tst-nss-test1.
18474 * shlib-versions: Add entry for libnss_test1.
18475 * nss/nss_test1.c: New file.
18476 * nss/tst-nss-test1.c: New file.
18477
18478 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18479 (__nss_configure_lookup): Set appropriate entry in
18480 __nss_configure_lookup to true.
18481 * nss/nsswitch.h: Define enum with indeces of databases in
18482 databases and __nss_database_custom arrays. Declare
18483 __nss_database_custom.
18484 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18485 to avoid using nscd when custom rules are installed.
18486 * nss/getXXbyYY_r.c: Likewise.
18487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18488
18489 * nss/nss_files/files-parse.c: Whitespace fixes.
18490
18491 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18492
18493 [BZ #11883]
18494 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18495 * posix/fnmatch_loop.c: Likewise.
18496
18497 2010-07-17 Andi Kleen <ak@linux.intel.com>
18498
18499 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18500 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18501 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18502 * Versions.def [GLIBC_2.13]: Add.
18503
18504 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18505
18506 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18507 Also fail if tpwd after pwuid call is NULL.
18508
18509 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18510
18511 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18512 when converting to ms.
18513
18514 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18515
18516 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18517 EOPNOTSUPP errors with ENOTTY.
18518 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18519 EOPNOTSUPP errors with ENOTTY.
18520
18521 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18522
18523 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18524 Add strcasecmp_l-ssse3.
18525 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18526 strcasecmp.
18527 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18528 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18529 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18530
18531 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18532
18533 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18534
18535 * string/Makefile (strop-tests): Add strcasecmp.
18536 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18537 strcasecmp_l-nonascii.
18538 (gen-as-const-headers): Add locale-defines.sym.
18539 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18540 * sysdeps/x86_64/strcasecmp.S: New file.
18541 * sysdeps/x86_64/strcasecmp_l.S: New file.
18542 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18543 * sysdeps/x86_64/locale-defines.sym: New file.
18544 * string/test-strcasecmp.c: New file.
18545
18546 * string/test-strcasestr.c: Test both ends of the range of characters.
18547 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18548
18549 2010-07-29 Roland McGrath <roland@redhat.com>
18550
18551 [BZ #11856]
18552 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18553
18554 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18555
18556 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18557 for ld.so.
18558
18559 2010-07-27 Andreas Schwab <schwab@redhat.com>
18560
18561 * manual/memory.texi (Malloc Tunable Parameters): Document
18562 M_PERTURB.
18563
18564 2010-07-26 Roland McGrath <roland@redhat.com>
18565
18566 [BZ #11840]
18567 * configure.in (-fgnu89-inline check): Set and substitute
18568 gnu89_inline, not libc_cv_gnu89_inline.
18569 * configure: Regenerated.
18570 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18571
18572 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18573
18574 * string/test-strnlen.c: New file.
18575 * string/Makefile (strop-tests): Add strnlen.
18576 * string/tester.c (test_strnlen): Add a few more test cases.
18577 * string/tst-strlen.c: Better error reporting.
18578
18579 * sysdeps/x86_64/strnlen.S: New file.
18580
18581 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18582
18583 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18584 lower-latency instructions.
18585
18586 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18587
18588 * string/test-strcasestr.c: New file.
18589 * string/test-strstr.c: New file.
18590 * string/Makefile (strop-tests): Add strstr and strcasestr.
18591 * string/str-two-way.h: Don't undefine MAX.
18592 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18593
18594 2010-07-21 Andreas Schwab <schwab@redhat.com>
18595
18596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18597 strcasestr-nonascii.
18598 (CFLAGS-strcasestr-nonascii.c): Define.
18599 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18600 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18601 Remove unused attribute.
18602
18603 2010-07-20 Roland McGrath <roland@redhat.com>
18604
18605 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18606 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18607 ld.so.cache was broken. With it, there is no way to disable dsocaps
18608 like LD_HWCAP_MASK can disable hwcaps.
18609
18610 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18611
18612 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18613
18614 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18615
18616 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18617 call in strcasestr.
18618 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18619 __strcasestr_sse42_nonascii.
18620 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18621 strcasestr-nonascii.c.
18622 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18623
18624 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18625
18626 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18627 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18628 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18629 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18630
18631 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18632
18633 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18634 fcntl.
18635
18636 2010-07-06 Andreas Schwab <schwab@redhat.com>
18637
18638 [BZ #11577]
18639 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18640 dl_signal_cerror.
18641
18642 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18643
18644 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18645 _PC_PIPE_BUF using F_GETPIPE_SZ.
18646
18647 2010-07-05 Roland McGrath <roland@redhat.com>
18648
18649 * manual/arith.texi (Rounding Functions): Fix rint description
18650 implicit in round description.
18651
18652 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18653
18654 * elf/Makefile: Fix linking for a few tests to make recent linker
18655 happy.
18656
18657 2010-06-30 Andreas Schwab <schwab@redhat.com>
18658
18659 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18660 $(common-objpfx)libc_nonshared.a.
18661
18662 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18663
18664 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18665 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18666 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18667 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18668 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18669 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18670 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18671 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18686 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18687 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18688 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18689 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18690 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18691 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18692 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18693 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18694 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18695 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18696 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18697 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18712
18713 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18714
18715 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18716 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18717 * string/memmove.c (memmove): Renamed to ...
18718 (MEMMOVE): ...this. Default to memmove.
18719 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18720 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18721 (END_CHK): Define.
18722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18723 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18724 mempcpy-ssse3-back memmove-ssse3-back.
18725 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18726 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18727 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18728 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18729 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18730 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18731 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18732 * sysdeps/x86_64/multiarch/memmove.c: New file.
18733 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18734 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18735 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18736 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18737 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18738 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18739 Define.
18740 (index_Fast_Copy_Backward): Define.
18741 (HAS_ARCH_FEATURE): Define.
18742 (HAS_FAST_REP_STRING): Define.
18743 (HAS_FAST_COPY_BACKWARD): Define.
18744
18745 2010-06-21 Andreas Schwab <schwab@redhat.com>
18746
18747 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18748 Restore proper fallback handling.
18749
18750 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18751
18752 [BZ #11701]
18753 * posix/group_member.c (__group_member): Correct checking loop.
18754
18755 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18756 OOM in getpwuid_r correctly. Return error number when the caller
18757 should return, otherwise -1.
18758 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18759 call returning > 0 value.
18760 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18761
18762 2010-06-07 Andreas Schwab <schwab@redhat.com>
18763
18764 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18765 libc_nonshared.a from targets in modules-names.
18766
18767 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18768
18769 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18770 requires it.
18771
18772 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18773
18774 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18775 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18776 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18777 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18778
18779 2010-06-02 Andreas Schwab <schwab@redhat.com>
18780
18781 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18782
18783 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18784
18785 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18786 and F_GETPIPE_SZ.
18787 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18788 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18791 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18792 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18793
18794 2010-06-14 Roland McGrath <roland@redhat.com>
18795
18796 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18797
18798 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18799
18800 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18801 __REDIRECT followed by __THROW.
18802 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18803 * posix/getopt.h (getopt): Likewise.
18804
18805 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18806
18807 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18808 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18809 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18810 in AT_FLAGS.
18811 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18812 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18813
18814 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18815
18816 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18817
18818 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18819
18820 [BZ #11640]
18821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18822 Properly check family and model.
18823
18824 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18825
18826 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18827
18828 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18829
18830 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18831
18832 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18833
18834 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18835 symbol reference.
18836
18837 2010-05-19 Andreas Schwab <schwab@redhat.com>
18838
18839 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18840 symbol reference.
18841
18842 2010-05-21 Andreas Schwab <schwab@redhat.com>
18843
18844 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18845 and internal_recvmmsg.
18846 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18847 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18848 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18849 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18850
18851 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18852 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18853 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18854
18855 2010-05-20 Andreas Schwab <schwab@redhat.com>
18856
18857 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18858
18859 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18860
18861 POWER7 optimizations.
18862 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18863 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18864
18865 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18866
18867 * version.h: Update for 2.13 development version.
18868
18869 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18870
18871 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18872 exceptions. Return 0.
18873
18874 2010-05-07 Roland McGrath <roland@redhat.com>
18875
18876 * elf/ldconfig.c (main): Add a const.
18877
18878 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18879
18880 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18881 (args_options): Add no-idn option.
18882 (ahosts_keys_int): Add idn_flags to ai_flags.
18883 (parse_option): Handle 'i' option to clear idn_flags.
18884
18885 * malloc/malloc.c (_int_free): Possible race in the most recently
18886 added check. Only act on the data if no current modification
18887 happened.
18888
18889 See ChangeLog.17 for earlier changes.