]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix some typos in comments.
[thirdparty/glibc.git] / ChangeLog
1 2012-08-25 Marek Polacek <polacek@redhat.com>
2
3 * time/time.h: Fix some typos in comments.
4
5 2012-08-23 Roland McGrath <roland@hack.frob.com>
6
7 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8 * posix/tst-rfc3484-2.c: Likewise.
9 * posix/tst-rfc3484-3.c: Likewise.
10
11 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12
13 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15
16 2012-08-23 Joseph Myers <joseph@codesourcery.com>
17
18 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19 #include of fxstatat64.c.
20
21 2012-08-22 Roland McGrath <roland@hack.frob.com>
22
23 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24 * shadow/getspent_r.c: Likewise.
25 * shadow/getspnam.c: Likewise.
26 * shadow/getspnam_r.c: Likewise.
27 * gshadow/getsgent.c: Likewise.
28 * gshadow/getsgent_r.c: Likewise.
29 * gshadow/getsgnam.c: Likewise.
30 * gshadow/getsgnam_r.c: Likewise.
31 * inet/getnetbyad.c: Likewise.
32 * inet/getnetbyad_r.c: Likewise.
33 * inet/getnetbynm.c: Likewise.
34 * inet/getnetbynm_r.c: Likewise.
35 * inet/getnetent.c: Likewise.
36 * inet/getnetent_r.c: Likewise.
37 * inet/getproto.c: Likewise.
38 * inet/getproto_r.c: Likewise.
39 * inet/getprtent.c: Likewise.
40 * inet/getprtent_r.c: Likewise.
41 * inet/getprtname.c: Likewise.
42 * inet/getprtname_r.c: Likewise.
43 * inet/getrpcbyname.c: Likewise.
44 * inet/getrpcbyname_r.c: Likewise.
45 * inet/getrpcbynumber.c: Likewise.
46 * inet/getrpcbynumber_r.c: Likewise.
47 * inet/getrpcent.c: Likewise.
48 * inet/getrpcent_r.c: Likewise.
49 * inet/getaliasent.c: Likewise.
50 * inet/getaliasent_r.c: Likewise.
51 * inet/getaliasname.c: Likewise.
52 * inet/getaliasname_r.c: Likewise.
53 * nscd/getgrgid_r.c: Likewise.
54 * nscd/getgrnam_r.c: Likewise.
55 * nscd/gethstbyad_r.c: Likewise.
56 * nscd/gethstbynm3_r.c: Likewise.
57 * nscd/getpwnam_r.c: Likewise.
58 * nscd/getpwuid_r.c: Likewise.
59 * nscd/getsrvbynm_r.c: Likewise.
60 * nscd/getsrvbypt_r.c: Likewise.
61 * nscd/gai.c: Likewise.
62
63 * configure.in (build_nscd): New substituted variable, set
64 by --disable-build-nscd and defaults to $use_nscd.
65 * configure: Regenerated.
66 * config.make.in (build-nscd): New substituted variable.
67 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
68 Change conditional to require [$(build-nscd) = yes] as well.
69 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70
71 [BZ# 13696]
72 * configure.in (use_nscd): New substituted variable, set by
73 --disable-nscd. If enabled, define USE_NSCD.
74 * configure: Regenerated.
75 * config.h.in: Add USE_NSCD.
76 * config.make.in (use-nscd): New substituted variable.
77 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
78 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
79 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
80 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
81 (CFLAGS-getgrnam_r.c): Likewise.
82 (CFLAGS-initgroups.c): Likewise.
83 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
84 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
85 Variables removed.
86 * inet/getnetgrent_r.c
87 (nscd_setnetgrent): New function, broken out of ...
88 (setnetgrent): ... here. Call it.
89 (innetgr): Conditionalize nscd bits on [USE_NSCD].
90 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
91 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
92 * nscd/Makefile (routines, aux): Move definitions after include of
93 Makeconfig. Conditionalize on [$(use-nscd) != no].
94 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
95 Conditionalize on [USE_NSCD].
96 (is_nscd, nscd_init_cb): Likewise.
97 (nss_load_library): Conditionalize init callback on [USE_NSCD].
98 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
99 * nss/nss_db/db-init.c: Likewise.
100 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
101 [USE_NSCD].
102 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
103 (make_request): Use it.
104 (cache_valid_p): New function.
105 (__check_pf): Use it.
106 * NEWS: Add item for --disable-nscd.
107
108 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
109
110 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
111 to support sed >= 4.2.1-20-ga9bf076.
112 * configure: Regenerated.
113
114 2012-08-22 Roland McGrath <roland@hack.frob.com>
115
116 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
117 Conditionalize whole body on [IREL].
118
119 2012-08-22 Jeff Law <law@redhat.com>
120
121 [BZ #14505]
122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
123 if the family is PF_UNSPEC.
124
125 2012-08-22 Mike Frysinger <vapier@gentoo.org>
126
127 * Makerules (lib-version): Rename from V.
128 (install-lib-nosubdir): Change V to lib-version.
129
130 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
131
132 [BZ #14252]
133 * powerpc32/power6/wcschr.c: New file.
134 * powerpc32/power6/wcscpy.c: New file.
135 * powerpc32/power6/wcsrchr.c: New file.
136 * powerpc64/power6/wcschr.c: New file.
137 * powerpc64/power6/wcscpy.c: New file.
138 * powerpc64/power6/wcsrchr.c: New file.
139
140 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
141
142 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
143 (two_way_short_needle): Use it.
144 * string/strstr.c (AVAILABLE1_USES_J): Define.
145 * string/strcasestr.c: Likewise.
146
147 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
148 array references.
149 * string/strcasestr.c (TOLOWER): Make side-effect safe.
150
151 [BZ #11607]
152 * NEWS: Add an entry.
153 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
154 define their defaults.
155 (two_way_short_needle): Detect end-of-string on-the-fly.
156 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
157 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
158 * string/bug-strcasestr1.c: New test.
159 * string/Makefile: Run it.
160
161 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
162
163 [BZ #11607]
164 * string/str-two-way.h (two_way_short_needle): Optimize matching of
165 the first character.
166
167 2012-08-21 Roland McGrath <roland@hack.frob.com>
168
169 * csu/elf-init.c (__libc_csu_irel): Function removed.
170 * csu/libc-start.c (apply_irel): New function.
171 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
172
173 2012-08-21 Joseph Myers <joseph@codesourcery.com>
174
175 * sysdeps/unix/sysv/linux/kernel-features.h
176 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
177 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
178 <kernel-features.h>.
179 [__NR_fadvise64_64]: Make code unconditional.
180 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
181 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
182 !__NR_fadvise64_64)]: Likewise.
183 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
184 !__NR_fadvise64_64))]: Likewise.
185 [__NR_fadvise64]: Make code unconditional.
186 [!__NR_fadvise64]: Remove conditional code.
187 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
188 <kernel-features.h>.
189 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
190 unconditional.
191 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
192 conditional code.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
194 not include <kernel-features.h>.
195 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
196 unconditional.
197 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
198 conditional code.
199 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
200 include <kernel-features.h>.
201 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
202 unconditional.
203 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
204 conditional code.
205
206 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
207
208 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
209 slight instruction rearrangements per scrollpipe analysis.
210 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
211
212 2012-08-20 Roland McGrath <roland@hack.frob.com>
213
214 * manual/syslog.texi (syslog; vsyslog, closelog):
215 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
216 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
217
218 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
219 DSOCAPS to match condition on defining it.
220
221 2012-08-20 Joseph Myers <joseph@codesourcery.com>
222
223 * sysdeps/unix/sysv/linux/kernel-features.h
224 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
226 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
227 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
229 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
230 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
232 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
233 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
234
235 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
236 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
237
238 * sysdeps/unix/sysv/linux/kernel-features.h
239 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
240 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
241 unconditional.
242 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
243 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
244 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
245 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
246 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
247 Make code unconditional.
248 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
249 (__mmap64) [!__NR_mmap2]: Likewise.
250 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
251 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
252 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
253 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
254 [__NR_mmap2]: Make code unconditional.
255 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
256 (__mmap64) [!__NR_mmap2]: Likewise.
257
258 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
259
260 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
261
262 2012-08-18 Andreas Jaeger <aj@suse.de>
263
264 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
265
266 2012-08-18 Mike Frysinger <vapier@gentoo.org>
267
268 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
269 * include/unistd.h (__have_sock_cloexec): Likewise.
270 (__have_pipe2): Likewise.
271 (__have_dup3): Likewise.
272
273 2012-08-18 Mike Frysinger <vapier@gentoo.org>
274
275 [BZ #9685]
276 * include/unistd.h (__have_pipe2): Change define into an extern int.
277 (__have_dup3): Likewise.
278 * socket/have_sock_cloexec.c: Include fcntl.h.
279 (__have_pipe2): New variable.
280 (__have_dup3): Likewise.
281
282 2012-08-17 Mike Frysinger <vapier@gentoo.org>
283
284 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
285
286 2012-08-17 Marek Polacek <polacek@redhat.com>
287
288 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
289 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
290
291 2012-08-17 Roland McGrath <roland@hack.frob.com>
292
293 * configure.in: Add AC_SUBST for sysheaders.
294 * configure: Regenerated.
295 * config.make.in (sysheaders): New substituted variable.
296
297 * sysdeps/unix/mkfifo.c: Moved ...
298 * sysdeps/posix/mkfifo.c: ... here.
299 * sysdeps/unix/mkfifoat.c: Moved ...
300 * sysdeps/posix/mkfifoat.c: ... here.
301
302 * sysdeps/unix/utime.c: Moved ...
303 * sysdeps/posix/utime.c: ... here.
304
305 * sysdeps/unix/time.c: Moved ...
306 * sysdeps/posix/time.c: ... here.
307 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
308 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
309
310 * sysdeps/unix/nice.c: Moved ...
311 * sysdeps/posix/nice.c: ... here.
312
313 * sysdeps/unix/alarm.c: Moved ...
314 * sysdeps/posix/alarm.c: ... here.
315
316 * intl/Makefile ($(codeset_mo)): Depend on the input file.
317
318 2012-08-17 Jeff Law <law@redhat.com>
319
320 * intl/Makefile (codeset_mo): New variable.
321 ($(codeset_mo)): New target.
322 (tst-codeset.out): Depend on that. Remove explicit rule.
323 (tst-gettext3.out, tst-gettext5.out): Likewise.
324 (LOCPATH-ENV, tst-codeset-ENV): New variables.
325 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
326 * intl/tst-codeset.sh: Remove.
327 * intl/tst-gettext3.sh: Likewise.
328 * intl/tst-gettext5.sh: Likewise.
329
330 2012-08-17 Roland McGrath <roland@hack.frob.com>
331
332 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
333 * sysdeps/unix/syscalls.list: ... here.
334
335 * sysdeps/posix/getaddrinfo.c
336 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
337 (gaiconf_init, gaiconf_reload): Use them.
338 [!_STATBUF_ST_NSEC]
339 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
340 Define using time_t rather than struct timespec.
341
342 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
343 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
344 Macros removed.
345 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
346 [!NO_THREADS].
347 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
348 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
349 Likewise.
350
351 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
352 __libc_cleanup_push argument.
353
354 * bits/param.h: New file.
355 * misc/sys/param.h: New file.
356 * include/sys/param.h: New file.
357 * misc/Makefile (headers): Add bits/param.h.
358 * sysdeps/generic/sys/param.h: File removed.
359 * sysdeps/unix/sysv/linux/bits/param.h: New file.
360 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
361 * sysdeps/mach/hurd/bits/param.h: New file.
362 * sysdeps/mach/hurd/sys/param.h: New file.
363
364 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
365 last change.
366
367 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
368 [_IO_MTSAFE_IO].
369 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
370 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
371 New macros.
372
373 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
374 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
375 rather than -D_IO_MTSAFE_IO conditionally.
376 * stdio-common/Makefile (CPPFLAGS): Likewise.
377 * wcsmbs/Makefile (CPPFLAGS): Likewise.
378 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
379 Use $(libio-mtsafe).
380 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
381 of -D_IO_MTSAFE_IO.
382 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
383 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
384 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
385 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
386 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
387 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
388 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
389 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
390 (CFLAGS-fread_u_chk.c): Likewise.
391 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
392 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
393 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
394 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
395 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
396 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
397 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
398 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
399 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
400
401 * libio/Makefile: Test [$(libc-reentrant) = yes]
402 instead of [$(filter %REENTRANT, $(defines)) nonempty].
403
404 * Makeconfig
405 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
406 * sysdeps/pthread/configure: File removed.
407 * sysdeps/pthread/Makeconfig: New file.
408 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
409 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
410
411 2012-08-16 Gary Benson <gbenson@redhat.com>
412
413 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
414 unmapping the first object in a namespace.
415
416 2012-08-16 Roland McGrath <roland@hack.frob.com>
417
418 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
419 (__internal_setnetgrent): ... this. Add internal_function to
420 definition. Add libc_hidden_def.
421 (setnetgrent): Update caller.
422 (internal_endnetgrent): Renamed to ...
423 (__internal_endnetgrent): ... this. Add internal_function to
424 definition. Add libc_hidden_def.
425 (endnetgrent): Update caller.
426 (internal_getnetgrent_r): Renamed to ...
427 (__internal_getnetgrent_r): ... this. Add internal_function to
428 definition. Add libc_hidden_def.
429 (__getnetgrent_r): Update caller.
430 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
431
432 2012-08-16 Joseph Myers <joseph@codesourcery.com>
433
434 * stdlib/longlong.h: Update from GCC.
435
436 2012-08-16 Roland McGrath <roland@hack.frob.com>
437
438 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
439 on _QL, which is set by umul_ppmm but never used.
440 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
441 variables, which are set by GMP macros but never used.
442 * stdio-common/_itowa.c (_itowa): Likewise.
443 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
444 * stdlib/mod_1.c (mpn_mod_1): Likewise.
445
446 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
447
448 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
449 struct La_sh_regs is not constant.
450 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
451 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
452 and struct La_sparc64_regs are not constant.
453
454 2012-08-16 Joseph Myers <joseph@codesourcery.com>
455
456 * sysdeps/unix/sysv/linux/kernel-features.h
457 (__ASSUME_POSIX_TIMERS): Remove.
458 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
459 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
460 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
461 Make code unconditional.
462 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
463 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
464 Make code unconditional.
465 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
466 * sysdeps/unix/sysv/linux/clock_nanosleep.c
467 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
468 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
469 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
470 Make code unconditional.
471 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
472 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
473 (__libc_missing_posix_timers): Remove.
474
475 2012-08-15 Roland McGrath <roland@hack.frob.com>
476
477 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
478 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
479
480 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
481
482 * elf/dl-sym.c: Include <stdlib.h>.
483
484 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
485 constants, which avoids warnings in 32-bit builds.
486
487 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
488 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
489
490 * misc/lseek.c: File moved to ...
491 * io/lseek.c: ... here.
492
493 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
494
495 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
496 shifting LEN more than 31 bits at once.
497
498 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
499
500 [BZ #14195]
501 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
502 segmentation fault for a case of two empty input strings.
503 * string/test-strncasecmp.c (check1): Renamed to...
504 (bz12205): ...this.
505 (bz14195): Add new testcase for two empty input strings and N > 0.
506 (test_main): Call new testcase, adapt for renamed function.
507
508 2012-08-15 Andreas Jaeger <aj@suse.de>
509
510 [BZ #14090]
511 * crypt/md5test2.c: New test, based on test supplied by Serge
512 Belyshev <belyshev@depni.sinp.msu.ru>.
513 * crypt/Makefile (xtests): Add md5test-giant..
514 * crypt/Makefile ($(objpfx)md5test-giant): Add.
515
516 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
517
518 [BZ #14090]
519 * crypt/md5.c (md5_process_block): Don't assume the buffer
520 length is less than 2**32.
521 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
522 length is less than 2**64.
523
524 2012-08-15 Roland McGrath <roland@hack.frob.com>
525
526 * string/str-two-way.h: Include <sys/param.h>.
527 (MAX): Macro removed.
528
529 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
530 Move #define and #undef of memmove to just before and after
531 including <string.h>.
532
533 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
534 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
535 and after including <string.h>. Move declarations of
536 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
537 to before #include "string/memmove.c".
538
539 * include/dirent.h: Declare __getdirentries.
540
541 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
542 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
543
544 2012-08-14 Mike Frysinger <vapier@gentoo.org>
545
546 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
547 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
548 * sysdeps/i386/configure: Regenerated.
549 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
550 STABS_CURRENT_FILE, and STABS_FUN.
551 (END): Remove call to STABS_FUN_END.
552 (STABS_CURRENT_FILE1): Delete.
553 (STABS_CURRENT_FILE): Likewise.
554 (STABS_FUN): Likewise.
555 (STABS_FUN_END): Likewise.
556 (STABS_FUN2): Likewise.
557 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
558 * sysdeps/x86_64/configure: Regenerated.
559
560 2012-08-14 Roland McGrath <roland@hack.frob.com>
561
562 * elf/dl-open.c: Include <atomic.h>.
563 * elf/dl-lookup.c: Likewise.
564
565 2012-08-14 Joseph Myers <joseph@codesourcery.com>
566
567 * sysdeps/unix/sysv/linux/kernel-features.h
568 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
569 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
570 unconditionally.
571 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
572 unconditionally.
573 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
574 condition on __ASSUME_CLONE_THREAD_FLAGS.
575
576 2012-08-14 Andreas Jaeger <aj@suse.de>
577
578 * sysdeps/i386/fpu/libm-test-ulps: Update.
579
580 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
581
582 * include/atomic.h (atomic_exchange_and_add): Split into ...
583 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
584 New atomic macros.
585
586 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
587
588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
589
590 2012-08-13 Jeff Law <law@redhat.com>
591
592 * manual/stdio.texi (snprintf): Clarify handling of the trailing
593 null byte in the output string.
594
595 2012-08-10 Joseph Myers <joseph@codesourcery.com>
596
597 * sysdeps/unix/sysv/linux/kernel-features.h
598 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
599 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
600 (__ASSUME_ARG_MAX_STACK_BASED): Define.
601 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
602 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
603 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
604 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
605
606 2012-08-09 Jeff Law <law@redhat.com>
607
608 [BZ #13939]
609 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
610 When avoid_arena is set, don't retry in the that arena. Pick the
611 next one, whatever it might be.
612 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
613 (arena_lock): Pass in new parameter to arena_get2.
614 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
615 arena_get2.
616 (__libc_malloc): Unify retrying after main arena failure with
617 __libc_memalign version.
618 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
619
620 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
621
622 [BZ #14166]
623 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
624 to __redirect_strstr.
625 (__strstr_sse42): Use typeof __redirect_strstr.
626 (__strstr_ia32): Likewise.
627 (__libc_strstr): New prototype.
628 (strstr): Renamed to ...
629 (__libc_strstr): This.
630 (strstr): New strong alias of __libc_strstr.
631 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
632 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
633 __redirect_time.
634 Include <time.h>.
635 (__libc_time): New prototype.
636 (time_ifunc): Replace time with __libc_time.
637 (time): New strong alias and hidden definition of __libc_time.
638 (__GI_time): Remove strong alias.
639 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
640 Include <stddef.h>.
641 (memmove): Redefined to __redirect_memmove.
642 (__memmove_sse2): Use typeof __redirect_memmove.
643 (__memmove_ssse3): Likewise.
644 (__memmove_ssse3_back): Likewise.
645 (__libc_memmove): New prototype.
646 (memmove): Renamed to ...
647 (__libc_memmove): This.
648 (memmove): New strong alias of __libc_memmove.
649
650 2012-08-08 Mark Salter <msalter@redhat.com>
651
652 * elf/elf.h
653 (R_MN10300_TLS_GD): Define.
654 (R_MN10300_TLS_LD): Likewise.
655 (R_MN10300_TLS_LDO): Likewise.
656 (R_MN10300_TLS_GOTIE): Likewise.
657 (R_MN10300_TLS_IE): Likewise.
658 (R_MN10300_TLS_LE): Likewise.
659 (R_MN10300_TLS_DTPMOD): Likewise.
660 (R_MN10300_TLS_DTPOFF): Likewise.
661 (R_MN10300_TLS_TPOFF): Likewise.
662 (R_MN10300_SYM_DIFF): Likewise.
663 (R_MN10300_ALIGN): Likewise.
664 (R_MN10300_NUM): Update.
665
666 2012-08-08 Joseph Myers <joseph@codesourcery.com>
667
668 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
669 Remove.
670
671 2012-08-08 Roland McGrath <roland@hack.frob.com>
672
673 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
674
675 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
676 sysdeps/unix -> sysdeps/posix move.
677 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
678
679 2012-08-07 Allan McRae <allan@archlinux.org>
680
681 [BZ #14303]
682 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
683 (SUNOS_CPP): Likewise.
684 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
685 not found.
686 (open_input): Call CPP using execvp.
687
688 2012-08-07 Joseph Myers <joseph@codesourcery.com>
689
690 * sysdeps/unix/sysv/linux/kernel-features.h
691 (__ASSUME_PROT_GROWSUPDOWN): Remove.
692 (__ASSUME_NO_CLONE_DETACHED): Likewise.
693 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
694 (__ASSUME_WAITID_SYSCALL): Likewise.
695 * sysdeps/unix/sysv/linux/dl-execstack.c
696 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
697 code unconditional.
698 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
699 conditional code.
700 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
701 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
702 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
703 code.
704 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
705 unconditional.
706 [__ASSUME_WAITID_SYSCALL]: Likewise.
707 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
708
709 2012-08-07 Roland McGrath <roland@hack.frob.com>
710
711 * sysdeps/unix/closedir.c: Renamed to ...
712 * sysdeps/posix/closedir.c: ... here.
713 * sysdeps/unix/dirfd.c: Renamed to ...
714 * sysdeps/posix/dirfd.c: ... here.
715 * sysdeps/unix/dirstream.h: Renamed to ...
716 * sysdeps/posix/dirstream.h: ... here.
717 * sysdeps/unix/fdopendir.c: Renamed to ...
718 * sysdeps/posix/fdopendir.c: ... here.
719 * sysdeps/unix/opendir.c: Renamed to ...
720 * sysdeps/posix/opendir.c: ... here.
721 * sysdeps/unix/readdir.c: Renamed to ...
722 * sysdeps/posix/readdir.c: ... here.
723 * sysdeps/unix/readdir_r.c: Renamed to ...
724 * sysdeps/posix/readdir_r.c: ... here.
725 * sysdeps/unix/rewinddir.c: Renamed to ...
726 * sysdeps/posix/rewinddir.c: ... here.
727 * sysdeps/unix/seekdir.c: Renamed to ...
728 * sysdeps/posix/seekdir.c: ... here.
729 * sysdeps/unix/telldir.c: Renamed to ...
730 * sysdeps/posix/telldir.c: ... here.
731 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
732 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
733 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
734 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
735
736 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
737 * bits/fcntl.h: ... here.
738
739 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
740 not 0.
741 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
742 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
743 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
744 (struct flock): Move l_start, l_len to the beginning.
745 Use __pid_t for l_pid.
746 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
747 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
748 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
749 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
750 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
751 [__USE_LARGEFILE64] (struct flock64): New type.
752 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
753
754 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
755 * bits/dirent.h: ... here.
756
757 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
758 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
759
760 2012-08-07 Joseph Myers <joseph@codesourcery.com>
761
762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
763 Change from 2.6.0 to 2.6.16.
764 * sysdeps/unix/sysv/linux/configure: Regenerated.
765 * sysdeps/unix/sysv/linux/kernel-features.h
766 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
767 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
768 version.
769 (__ASSUME_UTIMES): Likewise.
770 (__ASSUME_CLONE_STOPPED): Remove.
771 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
772 architectures, not kernel version.
773 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
774 (__ASSUME_NO_CLONE_DETACHED): Likewise.
775 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
776 (__ASSUME_WAITID_SYSCALL): Likewise.
777 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
778 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
779 * README: State 2.6.16 as minimum Linux kernel version. Do not
780 refer to older versions.
781
782 2012-08-06 Roland McGrath <roland@hack.frob.com>
783
784 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
785 Define alphasort64 as an alias.
786 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
787 Define versionsort64 as an alias.
788 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
789 Define scandir64 as an alias.
790 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
791 Define scandirat64 as an alias.
792 * dirent/alphasort64.c (alphasort64):
793 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
794 * dirent/versionsort64.c: Likewise.
795 * dirent/scandir64.c: Likewise.
796 * dirent/scandirat64.c: Likewise.
797 * sysdeps/wordsize-64/alphasort.c: File removed.
798 * sysdeps/wordsize-64/alphasort64.c: File removed.
799 * sysdeps/wordsize-64/scandir.c: File removed.
800 * sysdeps/wordsize-64/scandir64.c: File removed.
801 * sysdeps/wordsize-64/scandirat.c: File removed.
802 * sysdeps/wordsize-64/scandirat64.c: File removed.
803 * sysdeps/wordsize-64/versionsort.c: File removed.
804 * sysdeps/wordsize-64/versionsort64.c: File removed.
805 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
806 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
807 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
808 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
809 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
810 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
811 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
812 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
813
814 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
815 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
816 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
818 [defined __arch64__ || defined __sparcv9]
819 (__INO_T_MATCHES_INO64_T): New macro.
820 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
821 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
822 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
823 * sysdeps/unix/sysv/linux/bits/dirent.h
824 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
825 (_DIRENT_MATCHES_DIRENT64): New macro.
826
827 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
828 Define lockf64 as an alias.
829 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
830 Define fseeko64 as an alias.
831 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
832 Define ftello64 as an alias.
833 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
834 Define _IO_fgetpos64 and fgetpos64 as aliases.
835 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
836 Define _IO_fsetpos64 and fsetpos64 as aliases.
837 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
838 Conditionalize body on this.
839 * libio/fseeko64.c: Likewise.
840 * libio/ftello64.c: Likewise.
841 * libio/iofgetpos64.c: Likewise.
842 * libio/iofsetpos64.c: Likewise.
843 * sysdeps/wordsize-64/lockf.c: File removed.
844 * sysdeps/wordsize-64/lockf64.c: File removed.
845 * sysdeps/wordsize-64/fseeko.c: File removed.
846 * sysdeps/wordsize-64/fseeko64.c: File removed.
847 * sysdeps/wordsize-64/ftello.c: File removed.
848 * sysdeps/wordsize-64/ftello64.c: File removed.
849 * sysdeps/wordsize-64/iofgetpos.c: File removed.
850 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
851 * sysdeps/wordsize-64/iofsetpos.c: File removed.
852 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
853 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
854 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
855 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
856 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
857 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
858 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
859 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
860 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
861 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
862 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
863
864 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
865 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
866 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
867 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
868 [defined __arch64__ || defined __sparcv9]
869 (__OFF_T_MATCHES_OFF64_T): New macro.
870 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
871 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
872 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
873 (__OFF_T_MATCHES_OFF64_T): New macro.
874
875 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
876
877 * stdlib/secure-getenv.c (__secure_getenv): Replace
878 GLIBC_2_16 with GLIBC_2_17.
879
880 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
881
882 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
883 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
884
885 2012-08-03 David S. Miller <davem@davemloft.net>
886
887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
888
889 2012-08-03 Joseph Myers <joseph@codesourcery.com>
890
891 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
892 Remove.
893 (__ASSUME_CORRECT_SI_PID): Likewise.
894 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
895 (__ASSUME_TMPFS_NAME): Likewise.
896 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
897 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
898 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
899 (HAVE_AUX_SECURE): Make definition unconditional.
900 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
901 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
902
903 2012-08-03 Roland McGrath <roland@hack.frob.com>
904
905 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
906 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
907 * sysdeps/mach/hurd/eloop-threshold.h: New file.
908 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
909 __eloop_threshold instead of SYMLOOP_MAX.
910
911 * sysdeps/generic/eloop-threshold.h: New file.
912 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
913 of MAXSYMLINKS.
914 * elf/chroot_canon.c (chroot_canon): Likewise.
915
916 2012-08-03 Joseph Myers <joseph@codesourcery.com>
917
918 [BZ #13717]
919 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
920 Change to 2.6.0 everywhere.
921 * sysdeps/unix/sysv/linux/configure: Regenerated.
922 * sysdeps/unix/sysv/linux/kernel-features.h
923 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
924 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
925 kernel versions.
926 (__ASSUME_POSIX_TIMERS): Define unconditionally.
927 (__ASSUME_FUTEX_REQUEUE): Remove.
928 (__ASSUME_STATFS64): Define unconditionally.
929 (__ASSUME_AT_SECURE): Likewise.
930 (__ASSUME_CORRECT_SI_PID): Likewise.
931 (__ASSUME_TGKILL): Define without depending on kernel version for
932 i386.
933 (__ASSUME_UTIMES): Likewise.
934 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
935 kernel version.
936 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
937 (__ASSUME_TMPFS_NAME): Likewise.
938 * README: Update reference to Linux kernel versions.
939
940 2012-08-02 Marek Polacek <polacek@redhat.com>
941
942 [BZ# 14150]
943 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
944 libc_cv_asm_type_prefix with %.
945 * configure: Regenerated.
946 * include/libc-symbols.h: Remove comment about
947 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
948 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
949 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
950 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
951 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
952 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
953 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
954 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
955 * elf/tst-unique2mod1.c: Likewise.
956 * elf/tst-unique1mod2.c: Likewise.
957 * elf/tst-unique1mod1.c: Likewise.
958 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
959 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
960 Replace ASM_TYPE_DIRECTIVE with .type.
961 * sysdeps/s390/s390-64/sysdep.h: Likewise.
962 * sysdeps/i386/sysdep.h: Likewise.
963 * sysdeps/x86_64/sysdep.h: Likewise.
964 * sysdeps/sh/sysdep.h: Likewise.
965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
966 Do not define ASM_TYPE_DIRECTIVE.
967 * sysdeps/powerpc/sysdep.h: Likewise.
968 * sysdeps/powerpc/powerpc32/sysdep.h:
969 Replace ASM_TYPE_DIRECTIVE with .type.
970 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
971 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
972 * sysdeps/i386/fpu/e_powf.S: Likewise.
973 * sysdeps/i386/fpu/e_expl.S: Likewise.
974 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
975 * sysdeps/i386/fpu/e_acosh.S: Likewise.
976 * sysdeps/i386/fpu/e_pow.S: Likewise.
977 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
978 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
979 * sysdeps/i386/fpu/s_expm1.S: Likewise.
980 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
981 * sysdeps/i386/fpu/e_log2.S: Likewise.
982 * sysdeps/i386/fpu/e_log2l.S: Likewise.
983 * sysdeps/i386/fpu/e_scalb.S: Likewise.
984 * sysdeps/i386/fpu/e_powl.S: Likewise.
985 * sysdeps/i386/fpu/e_log10f.S: Likewise.
986 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
987 * sysdeps/i386/fpu/e_logl.S: Likewise.
988 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
989 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
990 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
991 * sysdeps/i386/fpu/e_log2f.S: Likewise.
992 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
993 * sysdeps/i386/fpu/e_log.S: Likewise.
994 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
995 * sysdeps/i386/fpu/e_logf.S: Likewise.
996 * sysdeps/i386/fpu/e_log10l.S: Likewise.
997 * sysdeps/i386/fpu/e_atanh.S: Likewise.
998 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
999 * sysdeps/i386/fpu/e_log10.S: Likewise.
1000 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1001 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1002 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1003 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1004 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1005 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1006 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1007 * sysdeps/i386/i686/strtok.S: Likewise.
1008 * sysdeps/i386/i386-mcount.S: Likewise.
1009 * sysdeps/i386/strtok.S: Likewise.
1010 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1011 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1012 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1013 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1014 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1015 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1016 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1017 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1018 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1019 * sysdeps/x86_64/_mcount.S: Likewise.
1020 * sysdeps/x86_64/strtok.S: Likewise.
1021 * sysdeps/sh/_mcount.S: Likewise.
1022
1023 2012-08-01 Roland McGrath <roland@hack.frob.com>
1024
1025 * libio/iofopen.c: Include <fcntl.h>.
1026 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1027 (_IO_fopen64, fopen64): Define as aliases.
1028 * libio/iofopen64.c: Include <fcntl.h>.
1029 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1030 Conditionalize body on this.
1031 * sysdeps/wordsize-64/iofopen.c: File removed.
1032 * sysdeps/wordsize-64/iofopen64.c: File removed.
1033
1034 2012-08-01 Marek Polacek <polacek@redhat.com>
1035
1036 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1037 Use dlfcn directly instead of a variable.
1038 (binfmt-subdir): Do not define.
1039 (dlfcn): Likewise.
1040
1041 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1042
1043 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1044 Remove all definitions.
1045 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1046 <kernel-features.h>.
1047 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1048 (miss_F_GETOWN_EX): Remove all definitions.
1049 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1050 macro definition.
1051 [!__ASSUME_FCNTL64]: Remove conditional code.
1052 [__ASSUME_FCNTL64]: Make code unconditional.
1053 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1054 <kernel-features.h>.
1055 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1056 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1057 (lockf64) [__NR_fcntl64]: Make code unconditional.
1058 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1059
1060 * sysdeps/unix/sysv/linux/kernel-features.h
1061 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1062 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1063 Make code unconditional.
1064 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1065 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1067 [__NR_vfork]: Make code unconditional.
1068 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1069 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1071 [__NR_vfork]: Make code unconditional.
1072 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1073 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1074
1075 2012-08-01 Roland McGrath <roland@hack.frob.com>
1076
1077 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1078 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1079
1080 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1081 Define mkstemp64 as an alias.
1082 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1083 Define mkstemps64 as an alias.
1084 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1085 Define mkostemp64 as an alias.
1086 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1087 Define mkostemps64 as an alias.
1088 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1089 Conditionalize body on this.
1090 * misc/mkostemp64.c: Likewise.
1091 * misc/mkostemps64.c: Likewise.
1092 * misc/mkstemps64.c: Likewise.
1093 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1094 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1095 * sysdeps/wordsize-64/mkostemp.c: File removed.
1096 * sysdeps/wordsize-64/mkstemp.c: File removed.
1097 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1098 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1099 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1100 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1101
1102 [BZ #14138]
1103 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1104 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1105 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1106 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1107
1108 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1109 compat_symbol macros from <shlib-compat.h> rather than the underlying
1110 default_symbol_version and symbol_version macros, so that DEFAULT
1111 lines in shlib-versions are respected.
1112 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1113
1114 2012-08-01 Florian Weimer <fweimer@redhat.com>
1115
1116 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1117 Declare with warn_unused_result.
1118 (setgid, setregid, setegid, setresgid): Likewise.
1119 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1120 Likewise.
1121 * WUR-REPORT: Remove set*id functions.
1122
1123 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1124
1125 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1126
1127 2012-07-31 Roland McGrath <roland@hack.frob.com>
1128
1129 * include/sys/socket.h (__libc_accept, __libc_accept4):
1130 Add attribute_hidden.
1131 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1132
1133 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1134 use of PTR_MANGLE.
1135 * inet/getnetgrent_r.c (setup): Likewise.
1136
1137 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1138
1139 2012-07-31 David S. Miller <davem@davemloft.net>
1140
1141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1142
1143 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1144
1145 [BZ #13629]
1146 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1147 value between 1.0 and 2.0 and smaller part has absolute value less
1148 than 1.0.
1149 * math/s_clog10.c (__clog10): Likewise.
1150 * math/s_clog10f.c (__clog10f): Likewise.
1151 * math/s_clog10l.c (__clog10l): Likewise.
1152 * math/s_clogf.c (__clogf): Likewise.
1153 * math/s_clogl.c (__clogl): Likewise.
1154 * math/libm-test.inc (clog_test): Add more tests.
1155 (clog10_test): Likewise.
1156 * sysdeps/i386/fpu/libm-test-ulps: Update.
1157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1158
1159 2012-07-31 Florian Weimer <fweimer@redhat.com>
1160
1161 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1162 Exit with zero in case no suitable GID is found, and write a
1163 message to standard error.
1164
1165 2012-07-30 Roland McGrath <roland@hack.frob.com>
1166
1167 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1168 rather than to 1.
1169 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1170 (MAXPATHLEN): Removed.
1171 (NOGROUP, NODEV): New macros.
1172 (setbit, clrbit, isset, isclr): New macros.
1173 (howmany, roundup, powerof2): New macros.
1174 (DEV_BSIZE): New macro.
1175
1176 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1177 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1178
1179 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1180 definition on [!__NO_LONG_DOUBLE_MATH].
1181
1182 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1183 PTR_MANGLE and PTR_DEMANGLE.
1184
1185 * socket/accept4.c (accept4): Rename to __libc_accept4.
1186 Define accept4 as a weak alias.
1187
1188 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1189 on [_DIRENT_HAVE_D_TYPE].
1190 * io/ftw.c (ftw_dir): Likewise.
1191
1192 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1193
1194 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1195
1196 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1197 Use the BSD numbers rather than the arbitrary ones we had.
1198 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1199 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1200 (SIGXCPU, SIGXFSZ): New macros.
1201 (_NSIG): Now 32.
1202
1203 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1204 initializer on [_LIBC_REENTRANT].
1205
1206 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1207 definitions inside [_POSIX_MAPPED_FILES].
1208
1209 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1210
1211 * dirent/opendir.c: Include <fcntl.h>.
1212
1213 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1214 (__libc_getspecific): Likewise.
1215 (__libc_key_create): Likewise.
1216
1217 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1218 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1219 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1220 (tmpfile64): Define as alias.
1221 * sysdeps/wordsize-64/tmpfile.c: File removed.
1222 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1223 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1224 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1225
1226 * stdio-common/vfscanf.c: Include <stdbool.h>.
1227 * nss/makedb.c: Likewise.
1228 * stdio-common/_i18n_number.h: Likewise.
1229 * argp/argp-help.c: Likewise.
1230 * posix/wordexp.c: Likewise.
1231 * sysdeps/posix/spawni.c: Likewise.
1232 * nss/nss_files/files-initgroups.c: Likewise.
1233 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1234 * nss/nss_files/files-initgroups.c: Likewise.
1235 * nss/nss_db/db-netgrp.c: Likewise.
1236 * nss/nss_db/db-initgroups.c: Likewise.
1237 * io/fchmodat.c: Include <sys/stat.h>.
1238
1239 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1240 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1241
1242 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1243 [HAVE_MMAP].
1244
1245 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1246 Add multiple inclusion protection.
1247
1248 2012-07-27 David S. Miller <davem@davemloft.net>
1249
1250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1251
1252 2012-07-27 Gary Benson <gbenson@redhat.com>
1253
1254 [BZ #14298]
1255 * elf/rtld.c: Include <stap-probe.h>.
1256 (dl_main): Added static probes "init_start" and "init_complete".
1257 * elf/dl-load.c: Include <stap-probe.h>.
1258 (lose): Take new parameter "nsid".
1259 Added static probe "map_failed".
1260 (_dl_map_object_from_fd): Pass namespace id to lose.
1261 Added static probe "map_start".
1262 (open_verify): Pass namespace id to lose.
1263 * elf/dl-open.c: Include <stap-probe.h>.
1264 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1265 and "reloc_complete".
1266 * elf/dl-close.c: Include <stap-probe.h>.
1267 (_dl_close_worker): Added static probes "unmap_start" and
1268 "unmap_complete".
1269 * elf/rtld-debugger-interface.txt: New file documenting the above.
1270
1271 2012-07-26 Roland McGrath <roland@hack.frob.com>
1272
1273 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1274 rather than a string variable.
1275 * sunrpc/rpc_main.c (h_output): Likewise.
1276 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1277
1278 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1279
1280 * inet/check_native.c: New file.
1281
1282 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1283
1284 [BZ #13629]
1285 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1286 if larger part has absolute value 1.0.
1287 * math/s_clog10.c (__clog10): Likewise.
1288 * math/s_clog10f.c (__clog10f): Likewise.
1289 * math/s_clog10l.c (__clog10l): Likewise.
1290 * math/s_clogf.c (__clogf): Likewise.
1291 * math/s_clogl.c (__clogl): Likewise.
1292 * math/libm-test.inc (clog_test): Add more tests.
1293 (clog10_test): Likewise.
1294 * sysdeps/i386/fpu/libm-test-ulps: Update.
1295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1296
1297 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1298 (pltexit): Likewise.
1299 (La_regs): Likewise.
1300 (La_retval): Likewise.
1301 (int_retval): Likewise.
1302 Update #error for removed macros to refer only to definitions in
1303 tst-audit.h.
1304 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1305 macro.
1306 (pltexit): Likewise.
1307 (La_regs): Likewise.
1308 (La_retval): Likewise.
1309 (int_retval): Likewise.
1310 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1311 macro.
1312 (pltexit): Likewise.
1313 (La_regs): Likewise.
1314 (La_retval): Likewise.
1315 (int_retval): Likewise.
1316 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1317 macro.
1318 (pltexit): Likewise.
1319 (La_regs): Likewise.
1320 (La_retval): Likewise.
1321 (int_retval): Likewise.
1322 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1323 macro.
1324 (pltexit): Likewise.
1325 (La_regs): Likewise.
1326 (La_retval): Likewise.
1327 (int_retval): Likewise.
1328 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1329 macro.
1330 (pltexit): Likewise.
1331 (La_regs): Likewise.
1332 (La_retval): Likewise.
1333 (int_retval): Likewise.
1334 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1335 macro.
1336 (pltexit): Likewise.
1337 (La_regs): Likewise.
1338 (La_retval): Likewise.
1339 (int_retval): Likewise.
1340 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1341 macro definitions in tst-audit.h.
1342 * sysdeps/i386/tst-audit.h: New file.
1343 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1344 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1345 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1346 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1347 * sysdeps/sh/tst-audit.h: Likewise.
1348 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1349 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1350 * sysdeps/x86_64/tst-audit.h: Likewise.
1351
1352 2012-07-26 Andreas Jaeger <aj@suse.de>
1353
1354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1355 ptrace.
1356
1357 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1358 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1359 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1360 PTRACE_O_MASK.
1361 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1362 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1363 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1364
1365 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1366 value.
1367
1368 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1369 _sigsys.
1370 (si_call_addr, si_syscall, si_arch): Define new macro.
1371 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1372 _sigsys.
1373 (si_call_addr, si_syscall, si_arch): Define new marcro.
1374 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1375 _sigsys.
1376 (si_call_addr, si_syscall, si_arch): Define new macro.
1377 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1378 _sigsys.
1379 (si_call_addr, si_syscall, si_arch): Define new macro.
1380
1381 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1382
1383 [BZ #13717]
1384 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1385 Change to 2.4.21 where previously 2.4.1.
1386 * sysdeps/unix/sysv/linux/configure: Regenerated.
1387 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1388 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1389 Linux kernel version.
1390 (__ASSUME_STD_AUXV): Remove.
1391 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1392 kernel version.
1393 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1394 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1395 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1396 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1397 (__ASSUME_NETLINK_SUPPORT): Likewise.
1398 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1399 (__no_netlink_support): Remove conditional definition.
1400 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1401 Remove.
1402 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1403 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1404 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1405 (if_nameindex_ioctl): Remove.
1406 (if_nameindex_netlink): Do not handle __no_netlink_support.
1407 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1408 code.
1409 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1410 Remove conditional code.
1411 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1412 code.
1413 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1414 unconditional.
1415 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1416 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1417 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1418 Remove.
1419 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1420 [!__ASSUME_STD_AUXV]: Remove conditional code.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1422 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1423 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1425 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1426 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1427 code.
1428 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1430 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1431 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1432 conditional code.
1433 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1435 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1436 code.
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1438 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1439 conditional code.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1441 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1442 code unconditional.
1443 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1444 conditional code.
1445 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1446 unconditional.
1447 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1448 conditional code.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1450 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1451 unconditional.
1452 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1453 conditional code.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1455 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1456 code unconditional.
1457 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1458 conditional code.
1459 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1460 unconditional.
1461 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1462 conditional code.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1464 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1465 code unconditional.
1466 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1467 conditional code.
1468 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1469 unconditional.
1470 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1471 conditional code.
1472
1473 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1474
1475 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1476 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1477 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1478 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1479 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1480 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1481 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1482 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1483 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1484 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1485 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1486 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1487 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1488 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1489 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1490 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1491 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1492 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1493 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1495 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1496 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1497 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1498
1499 2012-07-25 Florian Weimer <fweimer@redhat.com>
1500
1501 * Versions.def: Add GLIBC_2.17.
1502 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1503 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1504 Introduce __libc_secure_getenv.
1505 * stdlib/Versions (2.17): Add secure_getenv
1506 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1507 * stdlib/secure-getenv.c: Rename __secure_getenv to
1508 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1509 symbol __secure_getenv for GLIBC_2.0.
1510 * stdlib/tst-secure-getenv.c: New.
1511 * stdlib/Makefile (tests): Add testcase.
1512 * manual/startup.texi (Environment Access): Document
1513 secure_getenv.
1514 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1515 __libc_secure_getenv.
1516 * inet/ruserpass.c (ruserpass): Likewise.
1517 * malloc/mtrace.c (mtrace): Likewise.
1518 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1519 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1520 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1521 * sysdeps/posix/tempname.c: Likewise. Evaluate
1522 HAVE_SECURE_GETENV.
1523 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1524 __secure_getenv to __libc_secure_getenv.
1525 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1527 Likewise.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1529 Likewise.
1530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1532 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1537
1538 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1539
1540 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1541 (struct La_i86_retval): Likewise.
1542 (struct La_x86_64_regs): Likewise.
1543 (struct La_x86_64_retval): Likewise.
1544 (struct La_x32_regs): Likewise.
1545 (struct La_x32_retval): Likewise.
1546 (struct La_ppc32_regs): Likewise.
1547 (struct La_ppc32_retval): Likewise.
1548 (struct La_ppc64_regs): Likewise.
1549 (struct La_ppc64_retval): Likewise.
1550 (struct La_sh_regs): Likewise.
1551 (struct La_sh_retval): Likewise.
1552 (struct La_s390_32_regs): Likewise.
1553 (struct La_s390_32_retval): Likewise.
1554 (struct La_s390_64_regs): Likewise.
1555 (struct La_s390_64_retval): Likewise.
1556 (struct La_sparc32_regs): Likewise.
1557 (struct La_sparc32_retval): Likewise.
1558 (struct La_sparc64_regs): Likewise.
1559 (struct La_sparc64_retval): Likewise.
1560 (struct audit_ifaces): Remove architecture-specific pltenter and
1561 pltexit members.
1562 * sysdeps/i386/ldsodefs.h: New file.
1563 * sysdeps/powerpc/ldsodefs.h: Likewise.
1564 * sysdeps/s390/ldsodefs.h: Likewise.
1565 * sysdeps/sh/ldsodefs.h: Likewise.
1566 * sysdeps/sparc/ldsodefs.h: Likewise.
1567 * sysdeps/x86_64/ldsodefs.h: Likewise.
1568
1569 2012-07-25 Marek Polacek <polacek@redhat.com>
1570
1571 [BZ #6808]
1572 * math/libm-test.inc (yn_test): Add another test.
1573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1574 to ERANGE when the result is +-Inf.
1575 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1576 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1577 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1578 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1579
1580 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1581
1582 * conform/data/time.h-data (NULL): Use macro-constant. Require
1583 equal to 0.
1584 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1585 clock_t.
1586 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1587
1588 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1589
1590 * configure.in <sysdeps resolving>: Correct printing
1591 Implies_before.
1592 * configure: Regenerate.
1593
1594 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1595
1596 * math/w_ilogb.c: Include <limits.h>.
1597 * math/w_ilogbl.c: Likewise.
1598
1599 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1600
1601 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1602 va_copy. Document allowing for unavailable va_copy only as
1603 pre-C99 compatibility.
1604 * manual/string.texi (Copying and Concatenation): Use va_copy
1605 instead of __va_copy in concat example.
1606
1607 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1608
1609 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1610 (__sendto): Use create_address_port. Initialize APORT and deallocate
1611 it if not null.
1612
1613 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1614 with O_NOLINK passed to __file_name_lookup.
1615
1616 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1617 with O_NOLINK passed to __file_name_lookup.
1618
1619 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1620 negative N or less than NGIDS.
1621
1622 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1623 type to string_t. Set ERANGE as errno and return it if NAME is not big
1624 enough. Use memcpy instead of strncpy.
1625
1626 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1627
1628 * elf/Makefile (check-data): Remove.
1629 (localplt.data): New vpath directive.
1630 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1631 instead of $(check-data).
1632 * scripts/data/localplt-generic.data: Move to ...
1633 * sysdeps/generic/localplt.data: ... here.
1634 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1635 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1636 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1638 ... here.
1639 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1641 ... here.
1642 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1644 ... here.
1645 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1647 ... here.
1648 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1650 ... here.
1651 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1653 ... here.
1654
1655 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1656
1657 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1658 PPC32 and PPC64 files.
1659 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1660 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1661
1662 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1663
1664 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1665 __makecontext_ret to ...
1666 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1667 ... here and call exit if uc_link is NULL. New file.
1668 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1669 __makecontext_ret.S.
1670 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1671 __makecontext_ret to ...
1672 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1673 ... here and call exit if uc_link is NULL. New file.
1674 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1675 __makecontext_ret.S.
1676
1677 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1678
1679 * elf/elf.h (R_390_IRELATIVE): New definition.
1680 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1681 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1682 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1683 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1684 (elf_machine_lazy_rel): Likewise.
1685 * sysdeps/s390/dl-irel.h: New file.
1686 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1687 * sysdeps/s390/s390-64/memset.S: New asm code.
1688 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1689 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1690 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1691 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1692 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1693 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1694 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1695 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1696 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1697 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1698 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1699 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1700 * sysdeps/s390/s390-32/memset.S: New asm code.
1701 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1702
1703 2012-07-17 Marek Polacek <polacek@redhat.com>
1704
1705 [BZ #14349]
1706 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1707 * sysdeps/s390/s390-64/configure.in: Likewise.
1708 * sysdeps/sparc/configure.in: Likewise.
1709 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1710 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1711 * sysdeps/i386/configure.in: Likewise.
1712 * sysdeps/x86_64/configure.in: Likewise.
1713 * sysdeps/sh/configure.in: Likewise.
1714 * sysdeps/s390/s390-32/configure: Regenerated.
1715 * sysdeps/s390/s390-64/configure: Likewise.
1716 * sysdeps/x86_64/configure: Likewise.
1717 * sysdeps/sh/configure: Likewise.
1718 * sysdeps/powerpc/powerpc64/configure: Likewise.
1719 * sysdeps/powerpc/powerpc32/configure: Likewise.
1720 * sysdeps/sparc/configure: Likwise.
1721 * sysdeps/i386/configure: Likewise.
1722
1723 * elf/dl-open.c: Comment fixes.
1724
1725 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1726
1727 * Makefile [CXX] (check-data): Remove.
1728 [CXX] (c++-types.data): New vpath directive.
1729 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1730 vpath. Do not allow for C++ type data being missing.
1731 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1732 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1733 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1734 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1735 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1736 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1737 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1739 ... here.
1740 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1742 ... here.
1743 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1745 ... here.
1746 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1748 ... here.
1749 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1751 ... here.
1752 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1754 ... here.
1755 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1757 ... here.
1758 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1760
1761 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1762 definitions to architecture-specific files.
1763 (TLS_IE): Likewise.
1764 (TLS_LD): Likewise.
1765 (TLS_GD): Likewise.
1766 * sysdeps/i386/tls-macros.h: New file.
1767 * sysdeps/powerpc/tls-macros.h: Likewise.
1768 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1769 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1770 * sysdeps/sh/tls-macros.h: Likewise.
1771 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1772 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1773 * sysdeps/x86_64/tls-macros.h: Likewise.
1774
1775 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1776
1777 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1778 zero value for regular exit case.
1779
1780 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1781 (__start_context): Preserve zero value for regular exit case.
1782
1783 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1784 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1785
1786 * manual/setjmp.texi (setcontext): Clarify normal process
1787 termination when uc_link is the null pointer.
1788 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1789 exit call.
1790
1791 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1792
1793 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1794 preprocessor. Test for each exception mask separately.
1795
1796 2012-07-16 Andreas Jaeger <aj@suse.de>
1797
1798 * po/ru.po: Update from translation team.
1799
1800 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1801
1802 * conform/data/string.h-data (NULL): Use macro-constant. Require
1803 equal to 0.
1804 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1805 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1806 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1807 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1808 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1809
1810 2012-07-13 Andreas Jaeger <aj@suse.de>
1811
1812 * po/fr.po: Update from translation team.
1813
1814 2012-07-12 Marek Polacek <polacek@redhat.com>
1815
1816 [BZ #14173]
1817 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1818 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1819 loop condition.
1820
1821 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1822
1823 [BZ #13717]
1824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1825 Change to 2.4.1 where previously 2.4.0.
1826 * sysdeps/unix/sysv/linux/configure: Regenerated.
1827 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1828 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1829 version.
1830 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1831 (__ASSUME_AT_CLKTCK): Remove.
1832 (__ASSUME_AT_PAGESIZE): Likewise.
1833 (__ASSUME_AT_XID): Likewise.
1834 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1835 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1836 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1837 unconditionally.
1838 (HAVE_AUX_PAGESIZE): Likewise.
1839 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1840 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1841 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1842
1843 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1844
1845 [BZ #14307]
1846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1847 the temporary buffer used to invoke __gethostbyname2_r,
1848 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1849 host_data / struct gaih_addrtuple.
1850 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1851 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1852 header file nss/nsswitch.h.
1853 * nss/nsswitch.h (global scope): Add definition of implementation
1854 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1855 resolv/nss_dns/dns-host.c).
1856
1857 2012-07-11 Andreas Jaeger <aj@suse.de>
1858
1859 * po/fr.po: Update from translation team.
1860
1861 * po/sv.po: Update from translation team
1862 * po/fr.po: Another update from translation team.
1863
1864 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1865
1866 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1867 for subnormals or multiply small sinh result by itself.
1868 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1870
1871 2012-07-11 David S. Miller <davem@davemloft.net>
1872
1873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1874
1875 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1876
1877 [BZ #14347]
1878 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1879 (INTERNAL_MARK): Shift it here.
1880
1881 2012-07-10 Marek Polacek <polacek@redhat.com>
1882
1883 [BZ #14151]
1884 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1885 libc_cv_asm_global_directive with .globl.
1886 * configure: Regenerated.
1887 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1888 with .globl.
1889 * sysdeps/i386/configure: Regenerated.
1890 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1891 with .globl.
1892 * sysdeps/x86_64/configure: Regenerated.
1893 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1894 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1895 * elf/tst-unique2mod2.c: Likewise.
1896 * elf/tst-unique2mod1.c: Likewise.
1897 * elf/tst-unique1mod2.c: Likewise.
1898 * elf/tst-unique1mod1.c: Likewise.
1899 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1900 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1902 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1903 * sysdeps/mach/sysdep.h: Likewise.
1904 * sysdeps/i386/sysdep.h: Likewise.
1905 * sysdeps/i386/i386-mcount.S: Likewise.
1906 * sysdeps/x86_64/_mcount.S: Likewise.
1907 * sysdeps/x86_64/sysdep.h: Likewise.
1908 * sysdeps/sh/_mcount.S: Likewise.
1909 * sysdeps/sh/sysdep.h: Likewise.
1910 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1911 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1912 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1913 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1914 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1915 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1916 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1917 * locale/localeinfo.h: Likewise.
1918 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1919 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1920
1921 2012-07-09 Roland McGrath <roland@hack.frob.com>
1922
1923 [BZ #14336]
1924 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1925 system".
1926 * manual/message.texi (The Uniforum approach): Likewise.
1927 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1928 (glibc iconv Implementation): Likewise.
1929
1930 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1931
1932 [BZ #14337]
1933 * math/s_clog.c (__clog): Avoid scaling a value down where that
1934 could result in underflow.
1935 * math/s_clog10.c (__clog10): Likewise.
1936 * math/s_clog10f.c (__clog10f): Likewise.
1937 * math/s_clog10l.c (__clog10l): Likewise.
1938 * math/s_clogf.c (__clogf): Likewise.
1939 * math/s_clogl.c (__clogl): Likewise.
1940 * math/libm-test.inc (clog_test): Add more tests.
1941 (clog10_test): Likewise.
1942 * sysdeps/i386/fpu/libm-test-ulps: Update.
1943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1944
1945 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1946
1947 [BZ #14283]
1948 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1949 by 7 not 8 to examine high bit of fractional part.
1950
1951 [BZ #14042]
1952 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1953 for call to __mcount_internal.
1954 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1955 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1956 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1957
1958 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1959
1960 [BZ #14154]
1961 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1962 approximation for values within 0x1p-13f of an odd multiple of
1963 pi/4.
1964 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1965 exception. Add more tests.
1966 * sysdeps/i386/fpu/libm-test-ulps: Update.
1967
1968 [BZ #6778]
1969 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1970 inputs and return -1 for them. Do not check for +Inf in case not
1971 reachable for +Inf.
1972 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1973 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1974 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1975 and return -1 for them. Do not check for +Inf in case not
1976 reachable for +Inf.
1977 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1978 define.
1979 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1980 and return -1 for them. Do not check for +Inf in case not
1981 reachable for +Inf.
1982 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1983 spurious underflow.
1984 * sysdeps/i386/fpu/libm-test-ulps: Update.
1985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1986
1987 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1988
1989 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1990
1991 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1992
1993 [BZ #14157]
1994 [BZ #14331]
1995 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1996 could result in spurious underflow. Scale down values above
1997 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1998 * math/s_csqrtf.c (__csqrtf): Likewise.
1999 * math/s_csqrtl.c (__csqrtl): Likewise.
2000 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2001 spurious underflow.
2002 * sysdeps/i386/fpu/libm-test-ulps: Update.
2003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2004
2005 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2006
2007 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2008 xopen-msg.sed.
2009 * catgets/xopen-msg.awk: New file.
2010 * catgets/xopen-msg.sed: Removed.
2011
2012 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2013 po2text.sed.
2014 * intl/po2test.awk: New file.
2015 * intl/po2test.sed: Removed.
2016
2017 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2018
2019 [BZ #14328]
2020 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2021 or multiply small sinh result by itself.
2022 * math/s_ctanf.c (__ctanf): Likewise.
2023 * math/s_ctanh.c (__ctanh): Likewise.
2024 * math/s_ctanhf.c (__ctanhf): Likewise.
2025 * math/s_ctanhl.c (__ctanhl): Likewise.
2026 * math/s_ctanl.c (__ctanl): Likewise.
2027 * math/libm-test.inc (ctan_test_tonearest): New function.
2028 (ctan_test_towardzero): Likewise.
2029 (ctan_test_downward): Likewise.
2030 (ctan_test_upward): Likewise.
2031 (ctanh_test_tonearest): Likewise.
2032 (ctanh_test_towardzero): Likewise.
2033 (ctanh_test_downward): Likewise.
2034 (ctanh_test_upward): Likewise.
2035 (main): Call these new functions.
2036 * sysdeps/i386/fpu/libm-test-ulps: Update.
2037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2038
2039 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2040
2041 * .gitignore: Delete /ports entry.
2042
2043 2012-07-03 Andreas Jaeger <aj@suse.de>
2044
2045 * po/bg.po: Update from translation team.
2046 * po/cs.po: Likewise.
2047 * po/de.po: Likewise.
2048 * po/hr.po: Likewise.
2049 * po/nl.pl: Likewise.
2050 * po/pl.po: Likewise.
2051 * po/vi.po: Likewise.
2052
2053 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2054
2055 * Makeconfig [!+link] (+link-before-libc): New variable.
2056 [!+link] (+link-after-libc): Likewise.
2057 [!+link] (+link-tests): Likewise.
2058 [!+link] (+link): Define in terms of $(+link-before-libc) and
2059 $(+link-after-libc).
2060 [!+link-static] (+link-static-before-libc): New variable.
2061 [!+link-static] (+link-static-after-libc): Likewise.
2062 [!+link-static] (+link-static-tests): Likewise.
2063 [!+link-static] (+link-static): Define in terms of
2064 $(+link-static-before-libc) and $(+link-static-after-libc).
2065 [build-shared] (link-libc-before-gnulib): New variable.
2066 [build-shared] (link-libc-tests): Likewise.
2067 [build-shared] (link-libc): Define in terms of
2068 $(link-libc-before-gnulib).
2069 [!build-shared] (link-libc-tests): New variable.
2070 (link-libc-static-tests): New variable.
2071 [!gnulib] (gnulib-arch): New variable.
2072 [!gnulib] (gnulib-tests): Likewise.
2073 [!gnulib] (static-gnulib-arch): Likewise.
2074 [!gnulib] (static-gnulib-tests): Likewise.
2075 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2076 Define with "=" instead of ":=".
2077 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2078 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2079 * Rules (binaries-all-notests): New variable.
2080 (binaries-all-tests): Likewise.
2081 (binaries-static-notests): Likewise.
2082 (binaries-static-tests): Likewise.
2083 (binaries-all): Define using $(binaries-all-notests) and
2084 $(binaries-all-tests).
2085 (binaries-static): Define using $(binaries-static-notests) and
2086 $(binaries-static-tests).
2087 (binaries-shared-tests): New variable.
2088 (binaries-shared-notests): Likewise.
2089 (binaries-shared): Remove variable.
2090 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2091 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2092 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2093 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2094 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2095 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2096 * elf/Makefile (sln-modules): New variable.
2097 (extra-objs): Add $(sln-modules:=.o).
2098 (ldconfig-modules): Add static-stubs.
2099 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2100 * elf/static-stubs.c: New file.
2101
2102 [BZ #14283]
2103 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2104 by 7 not 8 to examine high bit of fractional part. Use volatile
2105 variables when splitting into final array of floats if
2106 __FLT_EVAL_METHOD__ != 0.
2107 * math/libm-test.inc (cos_test): Add another test.
2108 (sin_test): Likewise.
2109 * sysdeps/i386/fpu/libm-test-ulps: Update.
2110
2111 [BZ #14273]
2112 * math/libm-test.inc (cosh_test): Add more tests.
2113
2114 * version.h (RELEASE): Set to "development".
2115 (VERSION): Set to "2.16.90".
2116
2117 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2118
2119 * NEWS: Update copyright. Remove last-updated date.
2120 Mention math library bug fixes and timezone data changes.
2121 * README: Mention GNU/Hurd, x32, and HPPA support status.
2122
2123 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2124
2125 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2126
2127 2012-06-27 Andreas Jaeger <aj@suse.de>
2128
2129 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2130
2131 2012-06-25 Andreas Jaeger <aj@suse.de>
2132
2133 * sysdeps/s390/fpu/libm-test-ulps: Update.
2134
2135 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2136 Thomas Schwinge <thomas@codesourcery.com>
2137
2138 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2139 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2140 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2141 fanotify_mark.
2142
2143 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2144
2145 * sysdeps/mach/start.c: Remove file.
2146 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2147 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2148 * sysdeps/sh/init-first.c: Likewise.
2149
2150 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2151 registers for frame unwinding purposes, add CFI directives.
2152 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2153 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2154 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2155 Likewise.
2156
2157 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2158 __fortify_fail returning.
2159 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2160
2161 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2162 sysdeps/sh/____longjmp_chk.S.
2163 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2164 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2165 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2166 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2167
2168 * sysdeps/sh/abort-instr.h: New file.
2169 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2170 process in case exit returns.
2171
2172 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2173 initialize the GOT register before use.
2174
2175 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2176 calculation of ARGC > 4.
2177
2178 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2179 meaningful names to some local labels.
2180
2181 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2182 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2183
2184 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2185 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2186 (__arch_compare_and_exchange_val_16_acq): Likewise.
2187 (__arch_compare_and_exchange_val_32_acq): Likewise.
2188 (atomic_exchange_and_add): Fix gUSA sequence.
2189 (atomic_add): Likewise.
2190 (atomic_add_negative): Likewise.
2191 (atomic_add_zero): Likewise.
2192 (atomic_bit_test_set): Likewise.
2193
2194 2012-06-22 Andreas Schwab <schwab@redhat.com>
2195
2196 [BZ #13579]
2197 * include/link.h (struct link_map): Add l_free_initfini.
2198 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2199 l_initfini.
2200 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2201 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2202 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2203 set.
2204
2205 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2206
2207 * configure.in: Use AC_LANG_SOURCE.
2208 * configure: Regenerate.
2209
2210 2012-06-22 Roland McGrath <roland@hack.frob.com>
2211
2212 * configure.in (libc_cv_localstatedir): New substituted variable.
2213 * configure: Regenerated.
2214 * config.make.in (localstatedir): New variable, substituted from
2215 libc_cv_localstatedir.
2216 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2217 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2218 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2219 * sysdeps/gnu/configure: Regenerated.
2220
2221 2012-06-21 Jeff Law <law@redhat.com>
2222
2223 [BZ #14277]
2224 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2225 free. Simplify list management for _LIBC case.
2226
2227 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2228
2229 [BZ #14273]
2230 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2231 Clear sign bit of 64-bit integer value before comparing against
2232 overflow value.
2233
2234 * sysdeps/mach/configure: Regenerated.
2235
2236 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2237
2238 [BZ #14278]
2239 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2240
2241 2012-06-21 Jeff Law <law@redhat.com>
2242
2243 [BZ #13882]
2244 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2245 uint16_t for elements in the "seen" array to avoid char overflows.
2246 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2247 * elf/dl-open.c (dl_open_worker): Likewise.
2248
2249 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2250
2251 * scripts/list-sources.sh: Scan PORTS for translations.
2252 * po/libc.pot: Regenerated.
2253
2254 2012-06-21 Andreas Jaeger <aj@suse.de>
2255
2256 [BZ #12194]
2257 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2258 warning.
2259 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2260 * bits/byteswap-16.h (__bswap_16): Likewise.
2261 * bits/byteswap.h (__bswap_constant_16): Likewise.
2262
2263 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2264
2265 [BZ #14117]
2266 * sysdeps/i386/fpu_control.h: Removed.
2267 * sysdeps/x86_64/fpu_control.h: Moved to ...
2268 * sysdeps/x86/fpu_control.h: Here.
2269
2270 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2271 (_FPU_SETCW): Likewise.
2272
2273 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2274
2275 [BZ #14117]
2276 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2277 * sysdeps/x86/fpu/bits/mathinline.h: This.
2278 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2279
2280 [BZ #14050]
2281 [BZ #14117]
2282 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2283 functions if __x86_64__ is defined.
2284
2285 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2286
2287 * string/endian.h: Add !__ASSEMBLER__ condition for including
2288 conversion interfaces.
2289
2290 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2291
2292 [BZ #14241]
2293 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2294 of ABS(x) in calculating zero to negative powers other than odd
2295 integers.
2296 * math/libm-test.inc (pow_test): Add more tests.
2297
2298 2012-06-15 Andreas Jaeger <aj@suse.de>
2299
2300 * manual/contrib.texi (Contributors): Update entry of Liubov
2301 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2302 Machado Filho.
2303
2304 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2305
2306 * string/string.h: Add __wur to GNU version of strerror_r.
2307
2308 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2309
2310 [BZ #14229]
2311 * string/Makefile (tests): Add tst-strtok_r.
2312 * string/tst-strtok_r.c: New file.
2313 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2314 RAX_LP/RDX_LP on SAVE_PTR.
2315
2316 2012-06-14 Roland McGrath <roland@hack.frob.com>
2317
2318 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2319
2320 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2321
2322 * libm_test.inc (csqrt_test): Allow more spurious underflow
2323 exceptions.
2324 (j0_test): Likewise.
2325 (j1_test): Likewise.
2326 (y0_test): Likewise.
2327 (y1_test): Likewise.
2328
2329 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2330
2331 * po/Makefile (libc.pot): Use UTF-8 charset.
2332
2333 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2334
2335 [BZ #14210]
2336 Suppress sign-conversion warning from FD_SET.
2337 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2338 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2339 not unsigned long int.
2340 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2341
2342 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2343
2344 [BZ #14050]
2345 [BZ #14117]
2346 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2347 __extern_always_inline instead of __extern_inline.
2348 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2349 (__signbit): Likewise.
2350 (__signbitl): Support C++ namespace.
2351 (lrintf): New inline function.
2352 (lrint): Likewise.
2353 (llrintf): Likewise.
2354 (llrint): Likewise.
2355 (fmaxf): Likewise.
2356 (fmax): Likewise.
2357 (fminf): Likewise.
2358 (fmin): Likewise.
2359 (rint): Likewise.
2360 (rintf): Likewise.
2361 (ceil): Likewise.
2362 (ceilf): Likewise.
2363 (floor): Likewise.
2364 (floorf): Likewise.
2365 (nearbyint): Likewise.
2366 (nearbyintf): Likewise.
2367
2368 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2369
2370 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2371 non-default versions.
2372
2373 2012-06-11 Roland McGrath <roland@hack.frob.com>
2374
2375 [BZ #14218]
2376 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2377
2378 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2379
2380 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2381 (FE_UPWARD, FE_DOWNWARD): Don't define.
2382 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2383 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2384
2385 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2386 reading it.
2387 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2388 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2389
2390 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2391
2392 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2393 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2394 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2395 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2396
2397 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2398
2399 [BZ #14117]
2400 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2401 * sysdeps/i386/fpu/Implies: New file.
2402 * sysdeps/x86_64/fpu/Implies: Likewise.
2403 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2404 * sysdeps/x86/fpu/bits/fenv.h: This.
2405
2406 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2407 __SSE_MATH__.
2408
2409 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2410
2411 [BZ #14134]
2412 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2413 character 0xffff that matches the last element of the
2414 conversion table.
2415
2416 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2417
2418 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2419 fmodl commit.
2420
2421 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2422
2423 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2424 values higher than 25.6283.
2425
2426 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2427
2428 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2429 subnormal exponent extraction and add some __builtin_expect.
2430 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2431 Fix for subnormal mantissa calculation.
2432
2433 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2434
2435 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2436 cpu2 is -1 and errno is not ENOSYS.
2437
2438 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2439
2440 [BZ #14117]
2441 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2442 * sysdeps/x86/bits/string.h: This.
2443 * sysdeps/x86_64/bits/string.h: Removed.
2444
2445 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2446 if not compiling for x86-64, but compiling for >= i486.
2447
2448 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2449 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2450
2451 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2452 New macro from Linux kernel 3.4.0.
2453 (FP_XSTATE_MAGIC2): Likewise.
2454 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2455 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2456 (struct _fpx_sw_bytes): New struct.
2457 (struct _xsave_hdr): Likewise.
2458 (struct _ymmh_state): Likewise.
2459 (struct _xstate): Likewise.
2460
2461 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2462 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2463 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2464 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2465 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2466 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2467
2468 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2469 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2470 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2471 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2472 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2473 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2474
2475 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2476
2477 [BZ #13743]
2478 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2479 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2480 (sysdep_headers): Include sys/platform/ppc.h.
2481 * sysdeps/powerpc/test-gettimebase.c: Test for
2482 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2483 * manual/Makefile (appendices): Include platform.texi.
2484 * manual/contrib.texi (Contributors): Update @node pointers.
2485 * manual/maint.texi (Maintenance): Likewise.
2486 (Platform): New node.
2487 * manual/platform.texi: New file. Document the new features.
2488
2489 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2490 Jakub Jelinek <jakub@redhat.com>
2491
2492 [BZ #14188]
2493 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2494 where __builtin_expect is unavailable.
2495
2496 2012-06-03 David S. Miller <davem@davemloft.net>
2497
2498 * stdlib/longlong.h: Updated from GCC.
2499
2500 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2501
2502 [BZ #14042]
2503 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2504 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2505 __mcount_internal.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2507 (GLIBC_2.16): Likewise.
2508
2509 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2510
2511 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2512
2513 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2514
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2516 (default-abi): New variable.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2518 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2519 variable.
2520 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2521 Likewise.
2522 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2523 Likewise.
2524 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2525 Likewise.
2526
2527 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2528 definition. Document in comment.
2529
2530 2012-06-01 David S. Miller <davem@davemloft.net>
2531
2532 * stdlib/longlong.h: Updated from GCC.
2533
2534 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2535
2536 [BZ #14117]
2537 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2538 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2539 sys/debugreg.h sys/io.h here.
2540 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2541 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2542 sys/io.h.
2543 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2544 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2545 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2546 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2547 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2548 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2549
2550 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2551 Define only if __x86_64__ is defined.
2552
2553 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2554
2555 [BZ #14048]
2556 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2557 Use int64_t for variable i.
2558 * math/libm-test.inc (fmod_test): Add more tests.
2559
2560 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2561 z computation is not scheduled after fetestexcept.
2562 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2563 Use math_force_eval instead of asm to ensure calculation scheduled
2564 before exception test.
2565 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2566 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2567
2568 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2569
2570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2571 computation is not scheduled after fetestexcept.
2572
2573 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2574
2575 [BZ #14117]
2576 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2577 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2578
2579 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2580
2581 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2582 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2583
2584 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2585
2586 [BZ #14117]
2587 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2588 <bits/wordsize.h>.
2589 (__WCHAR_MIN): Support __WORDSIZE == 64.
2590 (__WCHAR_MAX): Likewise.
2591
2592 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2593 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2594
2595 [BZ #14183]
2596 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2597 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2598
2599 [BZ #14117]
2600 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2601 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2602
2603 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2604 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2605
2606 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2607 Defined to 1 if __x86_64__ isn't defined.
2608 (_STAT_VER_LINUX_OLD): New.
2609 (st_atime): Remove duplicate.
2610 (st_mtime): Likewise.
2611 (st_ctime): Likewise.
2612
2613 2012-05-31 David S. Miller <davem@davemloft.net>
2614
2615 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2616 entries.
2617
2618 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2619
2620 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2621 gen-libm-test.pl.
2622
2623 [BZ #14132]
2624 * elf/dl-reloc.c: Include <_itoa.h>.
2625 (_dl_reloc_bad_type): Remove use of INTUSE.
2626 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2627 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2628 * stdio-common/psiginfo.c (psiginfo): Likewise.
2629 * stdio-common/psignal.c (psignal): Likewise.
2630 * string/strsignal.c (strsignal): Likewise.
2631 * include/signal.h (_sys_siglist): Declare hidden proto.
2632 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2633 INTVARDEF with libc_hidden_data_def.
2634 * stdio-common/itoa-udigits.c: Likewise.
2635 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2636 (_itoa_lower_digits_internal): Remove declaration.
2637 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2638 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2639 (_sys_sigabbrev_internal): Remove aliases.
2640 (_sys_siglist): Define hidden alias.
2641
2642 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2643
2644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2645 bits/sysctl.h.
2646
2647 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2648
2649 [BZ #14117]
2650 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2651 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2652
2653 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2654 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2655 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2656 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2657 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2658 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2659
2660 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2661 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2662 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2663
2664 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2665 with __addr.
2666 (insw): Likewise.
2667 (insl): Likewise.
2668 (outsb): Likewise.
2669 (outsw): Likewise.
2670 (outsl): Likewise.
2671
2672 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2673 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2674 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2675
2676 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2677 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2678 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2679 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2680 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2681 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2682
2683 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2684 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2685
2686 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2687 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2688
2689 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2690 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2691 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2692
2693 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2694 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2695 to ...
2696 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2697
2698 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2699 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2700 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2701
2702 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2703 for x86-64.
2704 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2705
2706 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2707
2708 * math/math.h (M_El): Use two more decimal places.
2709 (M_LOG2El): Likewise.
2710 (M_LOG10El): Likewise.
2711 (M_LN2l): Likewise.
2712 (M_LN10l): Likewise.
2713 (M_PIl): Likewise.
2714 (M_PI_2l): Likewise.
2715 (M_PI_4l): Likewise.
2716 (M_1_PIl): Likewise.
2717 (M_2_PIl): Likewise.
2718 (M_2_SQRTPIl): Likewise.
2719 (M_SQRT2l): Likewise.
2720 (M_SQRT1_2l): Likewise.
2721
2722 2012-05-31 David S. Miller <davem@davemloft.net>
2723
2724 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2725 values between float registers.
2726 * sysdeps/sparc/sparc64/memset.S: Likewise.
2727 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2728
2729 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2730
2731 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2732 -D_FORTIFY_SOURCE=1.
2733 (CPPFLAGS-tst-longjmp_chk.c): Define.
2734 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2735 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2736 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2737 CFLAGS-tst-wchar-h.c.
2738
2739 2012-05-31 Marek Polacek <polacek@redhat.com>
2740
2741 [BZ #14132]
2742 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2743 __endmntent_internal): Remove declaration.
2744 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2745 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2746 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2747
2748 2012-05-30 David S. Miller <davem@davemloft.net>
2749
2750 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2751 (___Q_simulate_exceptions): Use real FP ops rather than writing
2752 into the %fsr.
2753 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2754 Likewise.
2755
2756 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2757
2758 [BZ #14117]
2759 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2760 * sysdeps/x86/bits/xtitypes.h: This.
2761
2762 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2763 * sysdeps/x86/bits/wordsize.h: This.
2764
2765 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2766 * sysdeps/x86/bits/huge_vall.h: This.
2767
2768 * sysdeps/i386/bits/select.h: Removed.
2769 * sysdeps/x86_64/bits/select.h: Renamed to ...
2770 * sysdeps/x86/bits/select.h: This.
2771
2772 * sysdeps/i386/bits/setjmp.h: Removed.
2773 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2774 * sysdeps/x86/bits/setjmp.h: This.
2775
2776 * sysdeps/i386/bits/mathdef.h: Removed.
2777 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2778 * sysdeps/x86/bits/mathdef.h: This.
2779
2780 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2781
2782 [BZ #14132]
2783 * include/sys/socket.h (__connect_internal)
2784 (__libc_sa_len_internal): Remove declaration.
2785 (__connect, __libc_sa_len): Declare hidden_proto.
2786 (SA_LEN): Remove use of INTUSE.
2787 * socket/connect.c: Add libc_hidden_def.
2788 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2789 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2790 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2791 alias.
2792 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2793 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2794 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2795 of adding _internal alias.
2796
2797 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2798
2799 [BZ #14117]
2800 * sysdeps/i386/bits/link.h: Removed.
2801 * sysdeps/i386/bits/linkmap.h: Likewise.
2802 * sysdeps/x86_64/bits/link.h: Renamed to ...
2803 * sysdeps/x86/bits/link.h: This.
2804 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2805 * sysdeps/x86/bits/linkmap.h: This.
2806
2807 * sysdeps/i386/bits/endian.h: Removed.
2808 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2809 * sysdeps/x86/bits/endian.h: This.
2810
2811 * sysdeps/i386/bits/byteswap.h: Removed.
2812 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2813 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2814 * sysdeps/x86/bits/byteswap.h: This.
2815 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2816 * sysdeps/x86/bits/byteswap-16.h: This.
2817 * sysdeps/i386/Implies: Add x86.
2818 * sysdeps/x86_64/Implies: Likewise.
2819
2820 2012-05-30 David S. Miller <davem@davemloft.net>
2821
2822 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2823 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2824 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2825 (FP_TRAPPING_EXCEPTIONS): Define.
2826 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2827 (FP_TRAPPING_EXCEPTIONS): Define.
2828 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2829 subnormals only when inexact has been signalled or underflow
2830 exceptions are enabled.
2831 (_FP_PACK_CANONICAL): Likewise.
2832
2833 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2834
2835 [BZ #14183]
2836 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2837 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2838
2839 2012-05-30 Richard Henderson <rth@twiddle.net>
2840
2841 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2842 with #ifndef NOT_IN_libc.
2843
2844 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2845 marked to avoid plt entry.
2846
2847 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2848
2849 [BZ #14112]
2850 * Makeconfig (default-abi): New macro.
2851 (abi-includes): Likewise.
2852 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2853 $(abi-$(default-abi)-lib-soname) for soname if defined.
2854 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2855 abi-variants.
2856 * Makefile (installed-stubs): Likewise.
2857 * include/stubs-biarch.h: Removed.
2858 * scripts/lib-names.awk: Only handle one library at a time.
2859 * scripts/soversions.awk: Remove WORDSIZE support.
2860 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2861 entries.
2862 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2863 Removed.
2864 (syscall-list-default-condition): Likewise.
2865 (syscall-list-default-condition): Likewise.
2866 (syscall-list-includes): Likewise.
2867 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2868 syscall-list-* with abi-*. Handle undefined abi-variants.
2869 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2870 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2871 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2872 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2873 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2874 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2875 Removed.
2876 (syscall-list-32-options): Likewise.
2877 (syscall-list-32-condition): Likewise.
2878 (syscall-list-64-options): Likewise.
2879 (syscall-list-64-condition): Likewise.
2880 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2881 macro.
2882 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2883 Renamed to ...
2884 (abi-*): This.
2885 (abi-64-ld-soname): New macro.
2886 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2887 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2888 Renamed to ...
2889 (abi-*): This.
2890 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2891 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2892
2893 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2894
2895 * sysdeps/unix/sysv/linux/kernel-features.h
2896 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2897 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2898 include <kernel-features.h>.
2899 [!__NR_ftruncate64]: Remove conditional code.
2900 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2901 [__NR_ftruncate64]: Make code unconditional.
2902 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2903 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2904 include <kernel-features.h>.
2905 [!__NR_ftruncate64]: Remove conditional code.
2906 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2907 [__NR_ftruncate64]: Make code unconditional.
2908 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2910 include <kernel-features.h>.
2911 [!__NR_ftruncate64]: Remove conditional code.
2912 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2913 [__NR_ftruncate64]: Make code unconditional.
2914 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2916 include <kernel-features.h>.
2917 [!__NR_ftruncate64]: Remove conditional code.
2918 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2919 [__NR_ftruncate64]: Make code unconditional.
2920 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2921
2922 * configure.in (libc_cv_fpie): Weaken to a compile test using
2923 LIBC_TRY_CC_OPTION.
2924 * configure: Regenerated.
2925
2926 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2927
2928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2932 Refreshed.
2933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2939 Refreshed.
2940
2941 2012-05-27 David S. Miller <davem@davemloft.net>
2942
2943 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2944 (___Q_zero): New.
2945 (__Q_simulate_exceptions): Return void. Change to simulate
2946 exceptions by writing into the %fsr.
2947 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2948 (__Qp_handle_exceptions): Likewise.
2949 (numbers): Delete.
2950 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2951 __Qp_handle_exceptions.
2952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2953 __Qp_handle_exceptions.
2954 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2955 as unused and give dummy FP_RND_NEAREST initializer.
2956 (FP_INHIBIT_RESULTS): Define.
2957 (___Q_simulate_exceptions): Update declaration.
2958 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2959 formatting.
2960 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2961 as unused and give dummy FP_RND_NEAREST initializer.
2962 (__Qp_handle_exceptions): Update declaration.
2963 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2964 formatting.
2965
2966 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2967
2968 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2969 the temporary FPU control word.
2970 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2971 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2972 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2973 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2974 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2975 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2976 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2977 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2978 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2979 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2980 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2981
2982 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2983
2984 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2985 fields.
2986
2987 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2988
2989 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2990 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2991 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2992 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2993 Likewise.
2994 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2995 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2996 Likewise.
2997
2998 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2999
3000 * po/h.po: Update from translation team.
3001
3002 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3003
3004 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3005
3006 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3007 handling of denormals.
3008 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3009 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3010 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3011 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3014 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3015 Likewise.
3016
3017 2012-05-26 Marek Polacek <polacek@redhat.com>
3018
3019 [BZ #14152]
3020 * math/libm-test.inc (fma_test): Don't always expect underflow
3021 exception.
3022
3023 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3024
3025 [BZ #12416]
3026 * elf/tst-execstack.c: Include stackinfo.h.
3027 (do_test): Adjust test case to ensure that pthread_getattr_np
3028 behaviour remains the same after marking stack executable.
3029
3030 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3031
3032 * sysdeps/unix/sysv/linux/kernel-features.h
3033 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3034 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3035 kernel-features.h.
3036 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3037 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3038 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3039 kernel-features.h.
3040 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3041 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3042
3043 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3044
3045 * configure.in: Define the default includes to being none.
3046 * configure: Regenerated.
3047
3048 2012-05-25 Roland McGrath <roland@hack.frob.com>
3049
3050 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3051 * sysdeps/x86_64/setjmp.S: Likewise.
3052 * sysdeps/i386/bsd-setjmp.S: Likewise.
3053 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3054 * sysdeps/i386/setjmp.S: Likewise.
3055 * sysdeps/i386/__longjmp.S: Likewise.
3056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3057 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3058
3059 * include/stap-probe.h: New file.
3060 * configure.in: Handle --enable-systemtap.
3061 * configure: Regenerated.
3062 * config.h.in (USE_STAP_PROBE): New #undef.
3063 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3064 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3065 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3066
3067 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3068
3069 [BZ #13717]
3070 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3071 to 2.4.0 where earlier.
3072 * sysdeps/unix/sysv/linux/configure: Regenerated.
3073 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3074 <kernel-features.h>.
3075 [__ASSUME_32BITUIDS]: Make code unconditional.
3076 [!__ASSUME_32BITUIDS]: Remove conditional code.
3077 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3078 <kernel-features.h>.
3079 [__ASSUME_32BITUIDS]: Make code unconditional.
3080 [!__ASSUME_32BITUIDS]: Remove conditional code.
3081 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3082 [__ASSUME_32BITUIDS]: Make code unconditional.
3083 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3084 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3085 <kernel-features.h>.
3086 [__ASSUME_32BITUIDS]: Make code unconditional.
3087 [!__ASSUME_32BITUIDS]: Remove conditional code.
3088 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3089 <kernel-features.h>.
3090 [__ASSUME_32BITUIDS]: Make code unconditional.
3091 [!__ASSUME_32BITUIDS]: Remove conditional code.
3092 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3093 <kernel-features.h>.
3094 [__ASSUME_32BITUIDS]: Make code unconditional.
3095 [!__ASSUME_32BITUIDS]: Remove conditional code.
3096 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3097 <kernel-features.h>.
3098 [__ASSUME_32BITUIDS]: Make code unconditional.
3099 [!__ASSUME_32BITUIDS]: Remove conditional code.
3100 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3101 <kernel-features.h>.
3102 [__ASSUME_32BITUIDS]: Make code unconditional.
3103 [!__ASSUME_32BITUIDS]: Remove conditional code.
3104 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3105 <kernel-features.h>.
3106 [__ASSUME_32BITUIDS]: Make code unconditional.
3107 [!__ASSUME_32BITUIDS]: Remove conditional code.
3108 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3109 <kernel-features.h>.
3110 [__ASSUME_32BITUIDS]: Make code unconditional.
3111 [!__ASSUME_32BITUIDS]: Remove conditional code.
3112 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3113 <kernel-features.h>.
3114 [__ASSUME_32BITUIDS]: Make code unconditional.
3115 [!__ASSUME_32BITUIDS]: Remove conditional code.
3116 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3117 <kernel-features.h>.
3118 [__ASSUME_32BITUIDS]: Make code unconditional.
3119 [!__ASSUME_32BITUIDS]: Remove conditional code.
3120 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3121 <kernel-features.h>.
3122 [__ASSUME_32BITUIDS]: Make code unconditional.
3123 [!__ASSUME_32BITUIDS]: Remove conditional code.
3124 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3125 <kernel-features.h>.
3126 [__NR_setresgid] (__setresgid): Do not declare.
3127 [__ASSUME_32BITUIDS]: Make code unconditional.
3128 [!__ASSUME_32BITUIDS]: Remove conditional code.
3129 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3130 <kernel-features.h>.
3131 [__NR_setresuid] (__setresuid): Do not declare.
3132 [__ASSUME_32BITUIDS]: Make code unconditional.
3133 [!__ASSUME_32BITUIDS]: Remove conditional code.
3134 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3135 <kernel-features.h>.
3136 [__ASSUME_32BITUIDS]: Make code unconditional.
3137 [!__ASSUME_32BITUIDS]: Remove conditional code.
3138 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.c: Do not include
3147 <kernel-features.h>.
3148 [__ASSUME_32BITUIDS]: Make code unconditional.
3149 [!__ASSUME_32BITUIDS]: Remove conditional code.
3150 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3151 <kernel-features.h>.
3152 [__ASSUME_32BITUIDS]: Make code unconditional.
3153 [!__ASSUME_32BITUIDS]: Remove conditional code.
3154 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3155 <kernel-features.h>.
3156 [__ASSUME_32BITUIDS]: Make code unconditional.
3157 [!__ASSUME_32BITUIDS]: Remove conditional code.
3158 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3159 <kernel-features.h>.
3160 [__ASSUME_32BITUIDS]: Make code unconditional.
3161 [!__ASSUME_32BITUIDS]: Remove conditional code.
3162 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3163 <kernel-features.h>.
3164 [__ASSUME_32BITUIDS]: Make code unconditional.
3165 [!__ASSUME_32BITUIDS]: Remove conditional code.
3166 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3167 <kernel-features.h>.
3168 [__ASSUME_32BITUIDS]: Make code unconditional.
3169 [!__ASSUME_32BITUIDS]: Remove conditional code.
3170 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3171 <kernel-features.h>.
3172 [__ASSUME_32BITUIDS]: Make code unconditional.
3173 [!__ASSUME_32BITUIDS]: Remove conditional code.
3174 * sysdeps/unix/sysv/linux/kernel-features.h
3175 (__ASSUME_SETRESUID_SYSCALL): Remove.
3176 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3177 (__ASSUME_32BITUIDS): Likewise.
3178 (__ASSUME_LDT_WORKS): Likewise.
3179 (__ASSUME_O_DIRECTORY): Likewise.
3180 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3181 architecture but not kernel version.
3182 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3183 (__ASSUME_MMAP2_SYSCALL): Likewise.
3184 (__ASSUME_STAT64_SYSCALL): Likewise.
3185 (__ASSUME_IPC64): Likewise.
3186 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3187 <kernel-features.h>.
3188 [__ASSUME_32BITUIDS]: Make code unconditional.
3189 [!__ASSUME_32BITUIDS]: Remove conditional code.
3190 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3191 <kernel-features.h>.
3192 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3193 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3194 132096]: Remove conditional code.
3195 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3196 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3197 <kernel-features.h>.
3198 [__ASSUME_32BITUIDS]: Make code unconditional.
3199 [!__ASSUME_32BITUIDS]: Remove conditional code.
3200 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3201 <kernel-features.h>.
3202 [__ASSUME_32BITUIDS]: Make code unconditional.
3203 [!__ASSUME_32BITUIDS]: Remove conditional code.
3204 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3205 <kernel-features.h>.
3206 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3207 unconditional.
3208 (__setresgid): Do not declare.
3209 [__ASSUME_32BITUIDS]: Make code unconditional.
3210 [!__ASSUME_32BITUIDS]: Remove conditional code.
3211 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3212 <kernel-features.h>.
3213 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3214 unconditional.
3215 (__setresuid): Do not declare.
3216 [__ASSUME_32BITUIDS]: Make code unconditional.
3217 [!__ASSUME_32BITUIDS]: Remove conditional code.
3218 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3219 <kernel-features.h>.
3220 [__ASSUME_32BITUIDS]: Make code unconditional.
3221 [!__ASSUME_32BITUIDS]: Remove conditional code.
3222 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3223 <kernel-features.h>.
3224 [__ASSUME_32BITUIDS]: Make code unconditional.
3225 [!__ASSUME_32BITUIDS]: Remove conditional code.
3226
3227 2012-05-25 Richard Henderson <rth@twiddle.net>
3228
3229 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3230 dl_hwcap to ifunc resolver.
3231 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3232 elf_ifunc_invoke.
3233 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3234 dl_hwcap to ifunc resolver.
3235 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3236
3237 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3238
3239 [BZ #14153]
3240 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3241 for |x| <= 2**-26, not 2**-57.
3242 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3243 exception.
3244
3245 2012-05-24 Jeff Law <law@redhat.com>
3246
3247 * stdio-common/Makefile (tests): Add bug25.
3248 * stdio-common/bug25.c: New test.
3249
3250 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3251
3252 [BZ #13576]
3253 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3254 multiple of MALLOC_ALIGNMENT in size.
3255 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3256
3257 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3258
3259 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3260 Require >= 256.
3261 (FILENAME_MAX): Use macro-int-constant.
3262 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3263 (_IOFBF): Use macro-int-constant.
3264 (_IOLBF): Likewise.
3265 (_IONBF): Likewise.
3266 (SEEK_CUR): Likewise.
3267 (SEEK_END): Likewise.
3268 (SEEK_SET): Likewise.
3269 (TMP_MAX): Likewise.
3270 (EOF): Use macro-int-constant. Require < 0.
3271 (NULL): Use macro-constant. Require == 0.
3272 (stdin): Require type to be FILE *.
3273 (stdout): Likewise.
3274 (stderr): Likewise.
3275 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3276 macro-int-constant.
3277 (EXIT_SUCCESS): Likewise.
3278 (NULL): Use macro-constant. Require == 0.
3279 (RAND_MAX): Use macro-int-constant.
3280 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3281 [C99-based standards] (strtof): Require function.
3282 [C99-based standards] (strtold): Likewise.
3283 [C99-based standards] (strtoll): Likewise.
3284 [C99-based standards] (strtoull): Likewise.
3285 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3286 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3287 [ISO || ISO99 || ISO11] (math.h): Likewise.
3288 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3289 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3290 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3291
3292 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3293
3294 [BZ #14132]
3295 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3296 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3297 * intl/dgettext.c (DCGETTEXT): Likewise.
3298 * intl/gettext.c (DCGETTEXT): Likewise.
3299 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3300 * posix/regex_internal.h (gettext): Likewise.
3301 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3302 Remove declaration.
3303 * include/argz.h (__argz_count_internal)
3304 (__argz_stringify_internal): Remove declaration.
3305 (__argz_count, __argz_stringify): Declare hidden proto.
3306 * intl/dcgettext.c: Remove use of INTDEF.
3307 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3308 * string/argz-stringify.c: Likewise.
3309 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3310 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3311 Declare hidden proto.
3312 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3313 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3314 Declare hidden proto.
3315 * include/stdio.h (__asprintf_internal): Don't declare.
3316 (__asprintf): Don't define as macro. Declare hidden proto.
3317 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3318 (__fsetlocking): Declare hidden proto.
3319 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3320 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3321 hidden proto.
3322 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3323 (_IO_setlinebuf): Remove use of INTUSE.
3324 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3325 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3326 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3327 Remove declaration.
3328 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3329 (_IO_do_flush): Remove use of INTUSE.
3330 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3331 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3332 (_IO_adjust_column, _IO_least_wmarker)
3333 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3334 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3335 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3336 (_IO_default_doallocate, _IO_wdefault_doallocate)
3337 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3338 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3339 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3340 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3341 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3342 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3343 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3344 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3345 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3346 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3347 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3348 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3349 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3350 proto.
3351 (_IO_flush_all_internal, _IO_adjust_column_internal)
3352 (_IO_default_uflow_internal, _IO_default_finish_internal)
3353 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3354 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3355 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3356 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3357 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3358 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3359 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3360 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3361 (_IO_file_close_internal, _IO_file_close_it_internal)
3362 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3363 (_IO_file_init_internal, _IO_file_attach_internal)
3364 (_IO_file_fopen_internal, _IO_file_read_internal)
3365 (_IO_file_sync_internal, _IO_file_seek_internal)
3366 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3367 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3368 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3369 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3370 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3371 (_IO_list_all_internal, _IO_link_in_internal)
3372 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3373 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3374 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3375 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3376 (_IO_do_write_internal, _IO_padn_internal)
3377 (_IO_getline_info_internal, _IO_getline_internal)
3378 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3379 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3380 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3381 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3382 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3383 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3384 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3385 with libc_hidden_ver, remove use of INTUSE.
3386 * libio/genops.c: Likewise.
3387 * libio/freopen.c: Likewise.
3388 * libio/freopen64.c: Likewise.
3389 * libio/iofclose.c: Likewise.
3390 * libio/iofdopen.c: Likewise.
3391 * libio/iofflush.c: Likewise.
3392 * libio/iofflush_u.c: Likewise.
3393 * libio/iofgets.c: Likewise.
3394 * libio/iofgets_u.c: Likewise.
3395 * libio/iofopen.c: Likewise.
3396 * libio/iofopncook.c: Likewise.
3397 * libio/iofread.c: Likewise.
3398 * libio/iofread_u.c: Likewise.
3399 * libio/ioftell.c: Likewise.
3400 * libio/iofwrite.c: Likewise.
3401 * libio/iogetline.c: Likewise.
3402 * libio/iogets.c: Likewise.
3403 * libio/iogetwline.c: Likewise.
3404 * libio/iopadn.c: Likewise.
3405 * libio/iopopen.c: Likewise.
3406 * libio/ioseekoff.c: Likewise.
3407 * libio/ioseekpos.c: Likewise.
3408 * libio/iosetbuffer.c: Likewise.
3409 * libio/iosetvbuf.c: Likewise.
3410 * libio/ioungetc.c: Likewise.
3411 * libio/ioungetwc.c: Likewise.
3412 * libio/iovdprintf.c: Likewise.
3413 * libio/iovsprintf.c: Likewise.
3414 * libio/iovsscanf.c: Likewise.
3415 * libio/memstream.c: Likewise.
3416 * libio/obprintf.c: Likewise.
3417 * libio/oldfileops.c: Likewise.
3418 * libio/oldiofclose.c: Likewise.
3419 * libio/oldiofdopen.c: Likewise.
3420 * libio/oldiofopen.c: Likewise.
3421 * libio/oldiopopen.c: Likewise.
3422 * libio/oldstdfiles.c: Likewise.
3423 * libio/putc.c: Likewise.
3424 * libio/setbuf.c: Likewise.
3425 * libio/setlinebuf.c: Likewise.
3426 * libio/stdfiles.c: Likewise.
3427 * libio/strops.c: Likewise.
3428 * libio/vasprintf.c: Likewise.
3429 * libio/vscanf.c: Likewise.
3430 * libio/vsnprintf.c: Likewise.
3431 * libio/vswprintf.c: Likewise.
3432 * libio/wfiledoalloc.c: Likewise.
3433 * libio/wfileops.c: Likewise.
3434 * libio/wgenops.c: Likewise.
3435 * libio/wmemstream.c: Likewise.
3436 * libio/wstrops.c: Likewise.
3437 * libio/__fpurge.c: Likewise.
3438 * libio/__fsetlocking.c: Likewise.
3439 * assert/assert.c: Likewise.
3440 * debug/fgets_chk.c: Likewise.
3441 * debug/fgets_u_chk.c: Likewise.
3442 * debug/fread_chk.c: Likewise.
3443 * debug/fread_u_chk.c: Likewise.
3444 * debug/gets_chk.c: Likewise.
3445 * debug/obprintf_chk.c: Likewise.
3446 * debug/vasprintf_chk.c: Likewise.
3447 * debug/vdprintf_chk.c: Likewise.
3448 * debug/vsnprintf_chk.c: Likewise.
3449 * debug/vsprintf_chk.c: Likewise.
3450 * malloc/mtrace.c: Likewise.
3451 * misc/error.c: Likewise.
3452 * misc/syslog.c: Likewise.
3453 * stdio-common/asprintf.c: Likewise.
3454 * stdio-common/fxprintf.c: Likewise.
3455 * stdio-common/getw.c: Likewise.
3456 * stdio-common/isoc99_fscanf.c: Likewise.
3457 * stdio-common/isoc99_scanf.c: Likewise.
3458 * stdio-common/isoc99_vfscanf.c: Likewise.
3459 * stdio-common/isoc99_vscanf.c: Likewise.
3460 * stdio-common/isoc99_vsscanf.c: Likewise.
3461 * stdio-common/printf-prs.c: Likewise.
3462 * stdio-common/printf_fp.c: Likewise.
3463 * stdio-common/printf_fphex.c: Likewise.
3464 * stdio-common/printf_size.c: Likewise.
3465 * stdio-common/putw.c: Likewise.
3466 * stdio-common/scanf.c: Likewise.
3467 * stdio-common/sprintf.c: Likewise.
3468 * stdio-common/tmpfile.c: Likewise.
3469 * stdio-common/vfprintf.c: Likewise.
3470 * stdio-common/vfscanf.c: Likewise.
3471 * stdlib/strfmon_l.c: Likewise.
3472 * sunrpc/openchild.c: Likewise.
3473 * sunrpc/xdr_stdio.c: Likewise.
3474 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3475 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3476
3477 2012-05-24 Roland McGrath <roland@hack.frob.com>
3478
3479 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3480
3481 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3482 in the third column, to generate for the shared library an IFUNC
3483 that uses _dl_vdso_vsym.
3484 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3485 * Makeconfig (object-suffixes-noshared): New variable.
3486
3487 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3488 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3489 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3490 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3491
3492 [BZ #14132]
3493 * include/sys/time.h (__gettimeofday): Remove macro.
3494 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3495 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3496 Remove INTDEF.
3497 (__gettimeofday): Add libc_hidden_def.
3498 (gettimeofday): Add libc_hidden_weak.
3499 * sysdeps/mach/gettimeofday.c: Likewise.
3500 * sysdeps/posix/gettimeofday.c: Likewise.
3501 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3502 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3503 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3504 (__gettimeofday_internal): Remove strong_alias.
3505 (__gettimeofday): Add libc_hidden_def.
3506 (gettimeofday): Add libc_hidden_weak.
3507 * sysdeps/unix/syscalls.list (gettimeofday):
3508 Remove __gettimeofday_internal alias.
3509
3510 2012-05-24 Daniel Jacobowitz <drow@false.org>
3511 H.J. Lu <hongjiu.lu@intel.com>
3512
3513 [BZ #12495]
3514 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3515 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3516 (largebin_index_32_big): New.
3517 (largebin_index): Use it for 16-byte alignment.
3518 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3519 correction with front_misalign.
3520
3521 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3522
3523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3525 Likewise.
3526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3527 Likewise.
3528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3529 Likewise.
3530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3531 Likewise.
3532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3533 Likewise.
3534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3535 Likewise.
3536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3537 Likewise.
3538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3539 Likewise.
3540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3541 Likewise.
3542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3543 Likewise.
3544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3545 Likewise.
3546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3547 Likewise.
3548
3549 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3550 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3551
3552 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3553
3554 [BZ #10846]
3555 [BZ #14036]
3556 * math/libm-test.inc (exp_test): Add test from bug 14036.
3557 (pow_test): Add test from bug 10846.
3558
3559 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3560 and other flags.
3561 (special_function): Do not include flags in test name.
3562 (parse_args): Likewise.
3563 * sysdeps/i386/fpu/libm-test-ulps: Update.
3564 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3565 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3566 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3568
3569 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3570 exceptions.
3571 * math/libm-test.inc ("Philosophy"): Update comment about
3572 exception testing.
3573 (UNDERFLOW_EXCEPTION): New macro.
3574 (UNDERFLOW_EXCEPTION_OK): Likewise.
3575 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3576 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3577 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3578 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3579 (INVALID_EXCEPTION_OK): Update value.
3580 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3581 (OVERFLOW_EXCEPTION_OK): Likewise.
3582 (IGNORE_ZERO_INF_SIGN): Likewise.
3583 (test_exceptions): Handle underflow exceptions.
3584 (acos_test): Update for underflow exception expectations.
3585 (cexp_test): Likewise.
3586 (clog_test): Likewise.
3587 (clog10_test): Likewise.
3588 (csqrt_test): Likewise.
3589 (ctan_test): Likewise.
3590 (ctanh_test): Likewise.
3591 (exp_test): Likewise.
3592 (exp10_test): Likewise.
3593 (exp2_test): Likewise.
3594 (expm1_test): Likewise.
3595 (fma_test): Likewise.
3596 (j0_test): Likewise.
3597 (jn_test): Likewise.
3598 (nexttoward_test): Likewise.
3599 (pow_test): Likewise.
3600 (scalbn_test): Likewise.
3601 (scalbln_test): Likewise.
3602 (tan_test): Likewise.
3603 (y1_test): Likewise.
3604 * sysdeps/i386/fpu/libm-test-ulps: Update.
3605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3606
3607 2012-05-23 David S. Miller <davem@davemloft.net>
3608
3609 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3610 (__libc_sigaction): Remove unused local variables.
3611
3612 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3613
3614 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3615
3616 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3617
3618 mktime: avoid signed integer overflow
3619 * time/mktime.c (__mktime_internal): Do not mishandle the case
3620 where diff == INT_MIN.
3621
3622 mktime: simplify computation of average
3623 * time/mktime.c (ranged_convert): Use new time_t_avg function
3624 instead of rolling our own (probably-slower) code.
3625
3626 mktime: do not assume signed right shift propagates sign bit
3627 * time/mktime.c (isdst_differ): New static function.
3628 (__mktime_internal): No need to normalize tm_isdst now.
3629 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3630 tm_isdst values.
3631
3632 mktime: merge another wrapv change from gnulib
3633 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3634 from some compilers.
3635
3636 mktime: remove incorrect attempt at unusual arithmetics
3637 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3638 The code didn't really work on such machines anyway.
3639 (TYPE_MINIMUM): Assume two's complement.
3640 (twos_complement_arithmetic): Verify that long_int and time_t
3641 are two's complement (or unsigned, in the latter case).
3642
3643 mktime: check signed shifts on long_int and time_t, too
3644 * time/mktime.c (SHR): Check that shifts work as desired
3645 on the types long_int and time_t too, as SHR is used on
3646 such types.
3647
3648 mktime: do not assume 'long' is wide enough
3649 * time/mktime.c (verify): Move decl up.
3650 (long_int): New type.
3651 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3652 to remove assumption in the code that 'long' is wide enough to
3653 store year values. This assumption is not true on x32 and on
3654 some non-glibc platforms.
3655
3656 mktime: merge wrapv change from gnulib
3657 * time/mktime.c (WRAPV): New macro.
3658 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3659 (guess_time_tm, __mktime_internal): Do not assume that signed
3660 integer overflow wraps around; modern compilers generate code
3661 where this assumption is no longer valid.
3662
3663 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3664
3665 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3666 Replace "jmp L(pseudo_end)" with "ret".
3667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3668 Likewise.
3669
3670 2012-05-23 Andreas Jaeger <aj@suse.de>
3671
3672 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3673 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3674
3675 2012-05-23 Andreas Jaeger <aj@suse.de>
3676 Maximilian Attems <max@stro.at>
3677
3678 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3679 New macros.
3680
3681 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3682
3683 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3684 code so that pseudo_end is just ret and the stack pointer is
3685 correct also for static library in error case.
3686
3687 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3688
3689 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3690 move to syscalls.list.
3691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3695
3696 * manual/install.texi (Running make install): Do not mention Linux
3697 kernel version for which pt_chown is not needed.
3698 (Linux): Do not mention problems with nscd with 2.0 kernels.
3699 * INSTALL: Regenerated.
3700
3701 2012-05-23 Andreas Jaeger <aj@suse.de>
3702
3703 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3704 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3705 macro.
3706 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3707 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3708 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3709 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3710 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3711 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3712 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3713 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3714 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3715 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3716 * sysdeps/unix/sysv/linux/bits/in.h
3717 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3718
3719 2012-05-22 Roland McGrath <roland@hack.frob.com>
3720
3721 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3722 (PREPARE_VERSION): Just use assert instead, it will be elided
3723 under [NDEBUG] anyway.
3724
3725 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3726
3727 * sysdeps/unix/sysv/linux/Makefile: Include
3728 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3729 (sysdep_routines): Remove sysctl.
3730 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3731 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3732 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3733 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3734 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3735
3736 2012-05-22 Andreas Jaeger <aj@suse.de>
3737
3738 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3739 that pseudo_end is just ret and the stack pointer is correct also
3740 for static library in error case.
3741
3742 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3743
3744 [BZ #14122]
3745 * nss/nsswitch.c (defconfig_entries): New variable.
3746 (__nss_database_lookup): Don't leak defconfig entries.
3747 (nss_parse_service_list): Don't leak on error paths.
3748 (free_database_entries): New function.
3749 (free_defconfig): New function.
3750 (free_mem): Move common code to free_database_entries.
3751
3752 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3753
3754 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3755 Add arch_prctl.
3756 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3757
3758 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3759 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3761 New macro.
3762 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3763 (INTERNAL_SYSCALL_TYPES): Likewise.
3764 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3765 (LOAD_REGS_TYPES_[1-6]): Likewise.
3766 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3767 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3768
3769 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3770
3771 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3772 copysignl for GLIBC_2_0.
3773 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3774 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3775 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3776 logbl for GLIBC_2_0.
3777 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3778 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3779
3780 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3781
3782 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3783 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3784
3785 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3786 Use "neg %eax".
3787
3788 * time/mktime.c: Update copyright years.
3789
3790 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3791
3792 mktime: merge comment-quoting-style change from gnulib
3793 * time/mktime.c: Quote 'like this' in comments.
3794 The GNU coding standards suggest that we no longer quote `like this',
3795 as "`" and "'" are typically rendered asymmetrically nowadays.
3796 The typical gnulib style is to quote 'like this' when quoting
3797 code, and "like this" when quoting English.
3798
3799 * time/mktime.c (compile-command): Add "-I.".
3800
3801 mktime: merge mktime-internal.h change from gnulib
3802 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3803
3804 mktime: merge time_r change from gnulib
3805 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3806
3807 mktime: merge DEBUG change from gnulib
3808 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3809 case system <time.h> has a #define.
3810
3811 mktime: merge <sys/types.h> change from gnulib
3812 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3813 since <time.t> is now guaranteed to define time_t.
3814
3815 mktime: merge HAVE_CONFIG_H change from gnulib
3816 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3817
3818 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3819
3820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3821 Use "neg %eax".
3822
3823 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3824 __rlim_t cast.
3825 (struct rusage): Use anonymous union to pad each field to
3826 __syscall_slong_t.
3827
3828 2012-05-21 David S. Miller <davem@davemloft.net>
3829
3830 * Makefules (o-iterator): Remove .s cases.
3831 (compile-command.s): Delete.
3832 (COMPILE.s): Delete.
3833 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3834
3835 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3836
3837 * configure.in (libc_cv_predef_stack_protector): Only consider
3838 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3839 * configure: Regenerated.
3840
3841 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3842
3843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3844 New macro. Use R*LP on int and pointer.
3845 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3846 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3847 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3848 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3849
3850 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3851 [__WORDSIZE_TIME64_COMPAT32] instead of
3852 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3853 (struct utmp): Likewise.
3854 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3855 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3856 Renamed to ...
3857 (__WORDSIZE_TIME64_COMPAT32): This.
3858 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3859 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3860 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3861 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3862 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3863 (__WORDSIZE_TIME64_COMPAT32): New macro.
3864
3865 2012-05-21 Andreas Jaeger <aj@suse.de>
3866
3867 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3868 only if [SHARED]. Add prototype for __wcschr_ia32.
3869
3870 2012-05-21 Roland McGrath <roland@hack.frob.com>
3871
3872 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3873 of %rbp unmolested in the jmp_buf while mangling the low bits.
3874 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3875 unmolested high bits of %rbp while demangling the low bits.
3876 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3877
3878 2012-05-21 Andreas Jaeger <aj@suse.de>
3879
3880 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3881 * sunrpc/svc_simple.c: Use it for registerrpc.
3882 * sunrpc/xcrypt.c: Use it for passwd2des.
3883
3884 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3885
3886 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3887
3888 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3889 Don't define if [__SYSCALL_WORDSIZE != 32].
3890 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3891 New macro.
3892
3893 2012-05-21 Bruno Haible <bruno@clisp.org>
3894 Andreas Jaeger <aj@suse.de>
3895
3896 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3897 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3898 inptr and inend for must_buffer_ch.
3899 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3900 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3901 * stdio-common/Makefile (tests): Remove bug15.
3902 (bug15-ENV): Remove macro.
3903 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3904 anymore.
3905
3906 2012-05-19 Andreas Jaeger <aj@suse.de>
3907 Roland McGrath <roland@hack.frob.com>
3908
3909 * manual/contrib.texi: Completely rewritten. It contains now an
3910 alphabetical list of contributors and their contributions.
3911
3912 2012-05-21 Richard Henderson <rth@twiddle.net>
3913
3914 * misc/getauxval.c (__getauxval): Use unsigned long int.
3915 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3916 (getauxval): Use unsigned long int.
3917
3918 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3919
3920 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3921
3922 2012-05-21 Roland McGrath <roland@hack.frob.com>
3923
3924 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3925 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3926 __alignof__ (long double).
3927
3928 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3929
3930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3931
3932 2012-05-20 Richard Henderson <rth@twiddle.net>
3933
3934 * misc/getauxval.c: New file.
3935 * misc/sys/auxv.h: New file.
3936 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3937 (routines): Add getauxval.
3938 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3939 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3940 * elf/dl-sysdep.c (_dl_auxv): Remove.
3941 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3942 * elf/dl-support.c (_dl_auxv): New variable.
3943 (_dl_aux_init): Initialize it.
3944 * manual/startup.texi (Auxiliary Vector): New node.
3945 * sysdeps/generic/bits/hwcap.h: New file.
3946 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3947 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3948 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3949 * sysdeps/sparc/sysdep.h: ... here. Include it.
3950 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3953 Update.
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3957 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3962
3963 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3964
3965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3966
3967 2012-05-19 David S. Miller <davem@davemloft.net>
3968
3969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3970
3971 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3972
3973 [BZ #14123]
3974 * math/s_ccosh.c: Include <float.h>
3975 (__ccosh): Avoid internal overflow calculating sinh and cosh
3976 values before multiplying by sin and cos values.
3977 * math/s_ccoshf.c: Likewise.
3978 * math/s_ccoshl.c: Likewise.
3979 * math/s_csin.c: Likewise.
3980 * math/s_csinf.c: Likewise.
3981 * math/s_csinl.c: Likewise.
3982 * math/s_csinh.c: Likewise.
3983 * math/s_csinhf.c: Likewise.
3984 * math/s_csinhl.c: Likewise.
3985 * math/libm-test.inc (ccos_test): Add more tests.
3986 (ccosh_test): Likewise.
3987 (csin_test): Likewise.
3988 (csinh_test): Likewise.
3989 * sysdeps/i386/fpu/libm-test-ulps: Update.
3990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3991
3992 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3993
3994 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3995 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3996
3997 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3998
3999 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4000
4001 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4002 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4003 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4004 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4005 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4006 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4007 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4008 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4009 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4010 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4011 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4012 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4013 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4014 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4015 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4016 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4017 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4018 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4019 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4020 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4021 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4022 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4023 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4024 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4025 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4026 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4027 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4028 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4029 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4030 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4031 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4032
4033 2012-05-18 Andreas Jaeger <aj@suse.de>
4034
4035 * csu/.gitignore: Delete.
4036
4037 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4038
4039 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4040 (timex): Use __syscall_slong_t.
4041
4042 2012-05-18 Andreas Jaeger <aj@suse.de>
4043 Carlos O'Donell <carlos_odonell@mentor.com>
4044
4045 * manual/install.texi (Configuring and compiling): Update
4046 description about files modified in the source directory.
4047 * INSTALL: Regenerated.
4048
4049 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4050
4051 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4052 value. Use "or" to set return value to -1.
4053 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4054 negate return value.
4055
4056 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4057
4058 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4059 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4060 failure if the compiler has Graphite support disabled.
4061 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4062 Likewise.
4063 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4064 CFLAGS-memmove.c): Likewise.
4065 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4066 Likewise.
4067
4068 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4069
4070 * sysdeps/x86_64/x32/_itoa.h: New file.
4071
4072 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4073 getdents system call only if kernel and user dirents have the
4074 same d_ino and d_off.
4075
4076 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4077 LLONG_MAX != LONG_MAX.
4078 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4079 (_fitoa_word): Likewise.
4080
4081 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4082 years.
4083 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4084 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4085 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4086
4087 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4088 include <bits/wordsize.h>. Check __x86_64__ instead of
4089 __WORDSIZE.
4090 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4091 if __x86_64__ is defined. Use anonymous union on fpstate.
4092
4093 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4094 anonymous union.
4095
4096 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4097
4098 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4099 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4100 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4101 Refer to _rtld_local_ro instead of _rtld_global_ro.
4102 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4103 Likewise.
4104 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4105 Likewise.
4106 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4107 Likewise.
4108 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4109 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4110 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4111
4112 * sysdeps/powerpc/powerpc32/dl-machine.c
4113 (__elf_machine_runtime_setup) [PROF]: Don't reference
4114 _dl_prof_resolve.
4115
4116 2012-05-18 Andreas Jaeger <aj@suse.de>
4117
4118 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4119 function only available for GCCs before 3.4 since GCC 3.4
4120 introduced a builtin.
4121 (lrint): Likewise.
4122 (llrintf): Likewise.
4123 (llrint): Likewise.
4124 (fmaxf): Likewise.
4125 (fmax): Likewise.
4126 (fminf): Likewise.
4127 (fmin): Likewise.
4128 (rint): Likewise.
4129 (rintf): Likewise.
4130 (nearbyint): Likewise.
4131 (nearbyintf): Likewise.
4132 (ceil): Likewise.
4133 (ceilf): Likewise.
4134 (floor): Likewise.
4135 (floorf): Likewise.
4136
4137 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4138
4139 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4140 on both fields and cast pointer to __syscall_ulong_t.
4141
4142 * bits/types.h (__fsword_t): New type.
4143 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4144 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4145 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4146 (__FSWORD_T_TYPE): Likewise.
4147 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4148 (__FSWORD_T_TYPE): Likewise.
4149 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4150 (__FSWORD_T_TYPE): Likewise.
4151 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4152 (__FSWORD_T_TYPE): Likewise.
4153 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4154 __SWORD_TYPE with __fsword_t.
4155 (statfs64): Likewise.
4156
4157 2012-05-17 David S. Miller <davem@davemloft.net>
4158
4159 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4160
4161 2012-05-17 Andreas Jaeger <aj@suse.de>
4162
4163 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4164 warning.
4165
4166 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4167
4168 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4169
4170 2012-05-17 Andreas Jaeger <aj@suse.de>
4171
4172 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4173 when it is used.
4174
4175 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4176
4177 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4178
4179 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4180
4181 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4182 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4183
4184 2012-05-17 Andreas Jaeger <aj@suse.de>
4185 Carlos O'Donell <carlos_odonell@mentor.com>
4186
4187 [BZ #14059]
4188 * sysdeps/x86_64/multiarch/init-arch.h
4189 (bit_YMM_Usable): Rename to...
4190 (bit_AVX_Usable): ... this.
4191 (bit_FMA4_Usable): New macro.
4192 (bit_XMM_state): New macro.
4193 (bit_YMM_state): New macro.
4194 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4195 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4196 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4197 (CPUID_OSXSAVE): New macro.
4198 (CPUID_AVX): New macro.
4199 (CPUID_FMA4): New macro.
4200 (index_YMM_Usable): Rename to...
4201 (index_AVX_Usable): ... this.
4202 (HAS_AVX): Use HAS_ARCH_FEATURE.
4203 (HAS_FMA4): Likewise.
4204 (HAS_YMM_USABLE): Remove.
4205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4206 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4207 are present.
4208 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4209 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4210 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4211 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4212 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4213
4214 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4215
4216 * math/libm-test.c: Support platforms without multiple rounding modes.
4217 * math/bug-nextafter.c: Support platforms without FP exceptions.
4218 * math/bug-nexttoward.c: Likewise.
4219 * math/test-fenv.c: Likewise.
4220 * math/test-misc.c: Likewise.
4221 * stdlib/bug-getcontext.c: Likewise.
4222
4223 2012-05-17 Andreas Jaeger <aj@suse.de>
4224
4225 * manual/examples/search.c (critter_cmp): Change signature to
4226 avoid warnings.
4227 * manual/string.texi (Collation Functions): Likewise.
4228
4229 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4230
4231 * bits/types.h: Fold copyright years.
4232 * bits/typesizes.h: Likewise.
4233 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4234 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4237 * time/time.h: Likewise.
4238
4239 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4240
4241 [BZ #208]
4242 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4243 in instead of returning them. Return void.
4244 (__libc_mallinfo): Accumulate over all arenas.
4245 (__malloc_stats): Adjust for change in int_mallinfo interface.
4246
4247 2012-05-16 Roland McGrath <roland@hack.frob.com>
4248
4249 [BZ #10375]
4250 * configure.in (NM): Add AC_CHECK_TOOL for it.
4251 (libc_extra_cflags): New substituted variable.
4252 Check for -fstack-protector being used implicitly.
4253 * configure: Regenerated.
4254 * config.make.in (config-extra-cflags): New variable,
4255 gets @libc_extra_cflags@.
4256 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4257
4258 [BZ #10375]
4259 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4260 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4261 * configure: Regenerated.
4262 * config.make.in (CPPUNDEFS): New substituted variable.
4263 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4264 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4265 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4266
4267 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4268
4269 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4270 (mq_attr): Use __syscall_slong_t.
4271
4272 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4273
4274 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4275 Check __x86_64__ instead of __WORDSIZE.
4276 (_STAT_VER_LINUX): Likewise.
4277 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4278 __syscall_ulong_t and __syscall_slong_t.
4279 (stat64): Likewise.
4280
4281 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4282
4283 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4284
4285 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4286
4287 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4288
4289 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4290
4291 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4292 __syscall_ulong_t.
4293
4294 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4295 include <bits/wordsize.h>. Check __x86_64__ instead of
4296 __WORDSIZE.
4297 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4298 defined.
4299 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4300
4301 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4302 include <bits/wordsize.h>. Check __x86_64__ instead of
4303 __WORDSIZE.
4304 (user_regs_struct): Use "__extension__ unsigned long long"
4305 instead of "unsigned long" if __x86_64__ is defined.
4306 (user): Likewise. Pad after pointer field if __ILP32__ is
4307 defined.
4308
4309 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4310
4311 * configure.in (makeinfo): Require version 4.5 or later. Allow
4312 versions 5 to 9.
4313 * configure: Regenerated.
4314 * manual/install.texi (texinfo): Increase version requirement to
4315 4.5 or later.
4316 * INSTALL: Regenerated.
4317
4318 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4319
4320 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4321
4322 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4323
4324 * sysdeps/x86_64/x32/ffs.c: New file.
4325
4326 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4327 __syscall_ulong_t.
4328 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4329 defined. Use __syscall_ulong_t.
4330 (shminfo): Use __syscall_ulong_t.
4331 (shm_info): Likewise.
4332
4333 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4334 __syscall_ulong_t.
4335
4336 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4337 <bits/wordsize.h>.
4338 (msgqnum_t): Use __syscall_ulong_t.
4339 (msglen_t): Likewise.
4340 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4341 __syscall_ulong_t.
4342
4343 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4344 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4345
4346 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4347
4348 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4349 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4350
4351 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4352 __syscall_slong_t.
4353
4354 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4355 include <bits/wordsize.h>. Check __x86_64__ instead of
4356 __WORDSIZE.
4357
4358 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4359 "unsigned long long int" if __x86_64__ is defined.
4360 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4361
4362 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4363 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4364 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4365
4366 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4367 <stdint.h>.
4368 (GET_PC): Cast to uintptr_t first.
4369 (GET_FRAME): Likewise.
4370 (GET_STACK): Likewise.
4371
4372 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4373 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4374 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4375 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4376 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4377 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4378 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4379 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4380 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4381 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4382 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4383 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4384 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4385 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4386 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4387 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4388 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4389 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4390 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4391 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4392 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4393 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4394 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4395 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4396 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4397 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4398 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4399 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4400 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4401
4402 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4403
4404 * Makerules (+depfiles): Also collect depfiles from .oS in
4405 $(extra-objs).
4406 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4407 .oS, $(libnldbl-routines)).
4408
4409 * Makerules (native-compile-mkdep-flags): Define.
4410 * sunrpc/Makefile (extra-objs): Add $(addprefix
4411 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4412 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4413 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4414 calling $(make-target-directory).
4415
4416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4417
4418 * bits/types.h (__snseconds_t): Removed.
4419 * time/time.h (struct timespec): Replace __snseconds_t with
4420 __syscall_slong_t.
4421 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4422 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4423 Likewise.
4424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4425 (__SNSECONDS_T_TYPE): Likewise.
4426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4427 (__SNSECONDS_T_TYPE): Likewise.
4428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4429 (__SNSECONDS_T_TYPE): Likewise.
4430
4431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4432
4433 * sysdeps/mach/hurd/bits/typesizes.h
4434 (__SYSCALL_SLONG_TYPE): New macro.
4435 (__SYSCALL_ULONG_TYPE): Likewise.
4436
4437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4438
4439 * bits/types.h (__syscall_slong_t): New type.
4440 (__syscall_ulong_t): Likewise.
4441
4442 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4443 (__SYSCALL_ULONG_TYPE): Likewise.
4444 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4445 (__SYSCALL_SLONG_TYPE): Likewise.
4446 (__SYSCALL_ULONG_TYPE): Likewise.
4447 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4448 (__SYSCALL_SLONG_TYPE): Likewise.
4449 (__SYSCALL_ULONG_TYPE): Likewise.
4450 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4451 (__SYSCALL_SLONG_TYPE): Likewise.
4452 (__SYSCALL_ULONG_TYPE): Likewise.
4453
4454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4455
4456 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4457 Add sigaltstack-offsets.sym.
4458 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4459 <sigaltstack-offsets.h>.
4460 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4461 longjmp_msg pointer.
4462 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4463 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4464 signal stack.
4465 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4466
4467 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4468
4469 * elf/stackguard-macros.h: Remove file.
4470 * sysdeps/generic/stackguard-macros.h: New file.
4471 * sysdeps/i386/stackguard-macros.h: Likewise.
4472 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4473 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4474 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4475 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4476 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4477 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4478 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4479 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4480 <elf/stackguard-macros.h>.
4481
4482 [BZ #14109]
4483 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4484 __aligned__ in attribute.
4485 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4486 (gregset_t): Likewise.
4487
4488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4491 * sysdeps/x86_64/64/Implies-after: Here. New file.
4492 * sysdeps/x86_64/x32/Implies-after: New file.
4493
4494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4495
4496 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4497 and access return value for _dl_profile_fixup. Use R10_LP to
4498 load frame size.
4499
4500 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4501
4502 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4503
4504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4505
4506 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4507 * sysdeps/x86_64/x32/sysdep.h: New file.
4508
4509 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4510
4511 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4512 * sysdeps/x86_64/setjmp.S: Likewise.
4513
4514 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4515
4516 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4517 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4518 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4519 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4520 remove unused global constant.
4521
4522 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4523
4524 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4525 include of <not-cancel.h>.
4526
4527 2012-05-15 Roland McGrath <roland@hack.frob.com>
4528
4529 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4530
4531 2012-05-15 Jeff Law <law@redhat.com>
4532 Andreas Jaeger <aj@suse.de>
4533
4534 [BZ #13594]
4535 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4536 out from...
4537 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4538 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4539 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4540 code changing __hst_map_handle.map.
4541
4542 2012-05-15 Roland McGrath <roland@hack.frob.com>
4543
4544 * configure.in (sysnames): Look for Implies-before and Implies-after
4545 files.
4546 * configure: Regenerated.
4547
4548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4549
4550 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4551 8-byte data alignment with LP_SIZE alignment.
4552
4553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4554
4555 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4556 into R10_LP.
4557
4558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4559
4560 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4561
4562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4563
4564 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4565 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4566 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4567 Likewise.
4568 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4569
4570 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4571
4572 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4573 (stackinfo_sub_sp): Likewise.
4574
4575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4576
4577 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4578 RAX_LP.
4579
4580 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4581
4582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4583 into R*_LP.
4584
4585 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4586
4587 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4588 sizes into R*_LP.
4589
4590 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4591
4592 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4593
4594 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4595
4596 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4597 into R11_LP and load __x86_64_shared_cache_size_half into
4598 R8_LP.
4599
4600 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4601
4602 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4603 R8_LP.
4604
4605 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4606
4607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4608 logb for POWER7.
4609 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4610 logbf for POWER7.
4611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4612 logbl for POWER7.
4613 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4614 powerpc32/power7/fpu/s_logb.c via #include.
4615 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4616 powerpc32/power7/fpu/s_logbf.c via #include.
4617 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4618 powerpc32/power7/fpu/s_logbl.c via #include.
4619
4620 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4621
4622 * README.libm: Remove file.
4623
4624 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4625
4626 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4627 count for x32. Use R*_LP and omit operand-size suffix.
4628
4629 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4630
4631 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4632 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4633 * sysdeps/x86_64/x32/shlib-versions: New file.
4634
4635 2012-05-14 Roland McGrath <roland@hack.frob.com>
4636
4637 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4638 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4639 Use _dl_fatal_printf instead.
4640
4641 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4642
4643 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4644 set if not set by the user. Do not allow for being unset.
4645 * sysdeps/unix/sysv/linux/configure: Regenerated.
4646
4647 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4648
4649 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4650 the `q' suffix from lea and replace .quad with ASM_ADDR.
4651
4652 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4653
4654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4655 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4656 instead of $17.
4657 (PTR_DEMANGLE): Likewise.
4658
4659 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4660
4661 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4662 (LP_OP): Likewise.
4663 (ASM_ADDR): Likewise.
4664 (RAX_LP): Likewise.
4665 (RBP_LP): Likewise.
4666 (RBX_LP): Likewise.
4667 (RCX_LP): Likewise.
4668 (RDI_LP): Likewise.
4669 (RSI_LP): Likewise.
4670 (RSP_LP): Likewise.
4671 (R8_LP): Likewise.
4672 (R9_LP): Likewise.
4673 (R10_LP): Likewise.
4674 (R10_LP): Likewise.
4675 (R11_LP): Likewise.
4676 (R12_LP): Likewise.
4677 (R13_LP): Likewise.
4678 (R14_LP): Likewise.
4679 (R15_LP): Likewise.
4680
4681 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4682
4683 * sysdeps/x86_64/x32/dl-machine.h: New file.
4684
4685 2012-05-14 Andreas Jaeger <aj@suse.de>
4686
4687 * manual/Makefile (subdir): Remove export of subdir.
4688 (all): Remove target.
4689 (.PHONY): Remove all from list.
4690 (mkinstalldirs): Remove.
4691 (.PHONY): Remove installdirs from list.
4692 ($(inst_infodir)/libc.info): Use make-target-directory.
4693 (installdirs): Remove.
4694 (subdir_%): Remove.
4695 (glibc-targets): Remove.
4696 (lib): Remove.
4697 (stubs): Remove.
4698 ($(objpfx)stubs ../po/manual.pot): Remove.
4699 ($(objpfx)stamp%): Remove.
4700 (make-target-directory): Remove.
4701 (subdir_install): Remove.
4702 (routines): Remove.
4703 (aux): Remove.
4704 (sources): Remove.
4705 (objects): Remove.
4706 (headers): Remove.
4707
4708 [BZ #13750]
4709 * manual/.gitignore: Remove, it's not needed anymore.
4710 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4711 all files in it.
4712 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4713 directory.
4714 (texis): Renamed to $(objpfx)texis.
4715 (texis-path): New, contains path to generated files.
4716 (chapters.%): Use texis-path for complete path, add extra argument
4717 libc-texinfo.sh.
4718 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4719 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4720 (summary,texi, stamp-summary): Use complete path of
4721 files. Generate files in build dir.
4722 (dir-add.texi): Build in build dir.
4723 (libm-err.texi,stamp-libm-err): Likewise.
4724 (version.texi, stamp-version): Likewise.
4725 (.%c.texi): Likewise.
4726 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4727 (mostlyclean): Remove target.
4728 (realclean): Remove target.
4729 (generated): Add new variable with contents from mostlyclean and
4730 realclean, remove entries duplicated in common-mostlyclean, add
4731 stamp-libm-err and stamp-version.
4732 (generated-dirs): Add libc directory.
4733 ($(inst_infodir)/libc.info): Install files from build dir.
4734
4735 * manual/install.texi (Configuring and compiling): Adjust since
4736 the info files are not part of the tar ball anymore.
4737
4738 2012-05-14 Andreas Jaeger <aj@suse.de>
4739
4740 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4741 variable.
4742
4743 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4744
4745 [BZ #13717]
4746 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4747 to 2.2.0 where earlier.
4748 * sysdeps/unix/sysv/linux/configure: Regenerated.
4749 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4750 Remove conditional code.
4751 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4752 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4753 Remove conditional code.
4754 [!__NR_lchown]: Likewise.
4755 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4756 [__NR_lchown]: Likewise.
4757 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4758 comment referencing __ASSUME_LCHOWN_SYSCALL.
4759 * sysdeps/unix/sysv/linux/i386/sigaction.c
4760 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4761 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4762 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4763 Remove conditional code.
4764 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4765 (__protocol_available): Remove #if 0 code.
4766 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4767 conditional code.
4768 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4769 * sysdeps/unix/sysv/linux/kernel-features.h
4770 (__ASSUME_GETCWD_SYSCALL): Don't define.
4771 (__ASSUME_REALTIME_SIGNALS): Likewise.
4772 (__ASSUME_PREAD_SYSCALL): Likewise.
4773 (__ASSUME_PWRITE_SYSCALL): Likewise.
4774 (__ASSUME_POLL_SYSCALL): Likewise.
4775 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4776 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4777 non-SPARC.
4778 (__ASSUME_SIOCGIFNAME): Don't define.
4779 (__ASSUME_MSG_NOSIGNAL): Likewise.
4780 (__ASSUME_SENDFILE): Define unconditionally.
4781 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4782 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4783 conditional code.
4784 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4785 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4786 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4787 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4788 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4789 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4790 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4795 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4801 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4804 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4807 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4810 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4813 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4814 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4815 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4816 Remove conditional code.
4817 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4818 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4819 Remove conditional code.
4820 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4821 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4822 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4823 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4824 Remove conditional code.
4825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4826 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4827 Remove conditional code.
4828 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4829 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4830 Remove conditional code.
4831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4832 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4833 Remove conditional code.
4834 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4835 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4836 Remove conditional code.
4837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4838 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4839 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4840 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4841 * sysdeps/unix/sysv/linux/sigaction.c
4842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4844 * sysdeps/unix/sysv/linux/sigpending.c
4845 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4846 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4847 * sysdeps/unix/sysv/linux/sigprocmask.c
4848 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4849 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4850 * sysdeps/unix/sysv/linux/sigsuspend.c
4851 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4852 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4853 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4854 (__libc_missing_rt_sigs): Remove.
4855 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4856 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4857 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4858 Remove conditional code.
4859 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4860 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4861 return 1.
4862 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4863 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4864 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4865 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4866
4867 2012-05-14 Andreas Jaeger <aj@suse.de>
4868
4869 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4870 it's not used in glibc.
4871 (__coshm1): Likewise.
4872 (__acosh1p): Likewise.
4873 (__sgn): Likewise.
4874
4875 * manual/string.texi (Copying and Concatenation): Add missing
4876 variable in concat example.
4877 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4878
4879 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4880
4881 [BZ #14103]
4882 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4883 __builtin_clzl with __builtin_clzll.
4884
4885 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4886
4887 [BZ #14104]
4888 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4889 libc_freeres_ptr.
4890
4891 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4892
4893 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4894 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4895 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4896 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4897
4898 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4899
4900 * NEWS: Update ia64 info.
4901
4902 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4903
4904 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4905 used as bcopy.
4906
4907 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4908
4909 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4910 * sysdeps/unix/syscalls.list (dup3): Likewise.
4911 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4912 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4913
4914 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4915
4916 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4917 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4918
4919 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4920
4921 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4922 thread pointer.
4923 (TLS_IE): Use mov/add instead of movq/addq to load thread
4924 pointer.
4925 (TLS_GD_PREFIX): New.
4926 (TLS_GD): Use it.
4927
4928 2012-05-11 David S. Miller <davem@davemloft.net>
4929
4930 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4931 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4932 (_FPU_SETCW): Likewise.
4933
4934 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4935
4936 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4937 is 32-byte aligned.
4938
4939 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4940
4941 [BZ #11837]
4942 * iconvdata/gb18030.c: Update tables.
4943 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4944 characters specially.
4945 (BODY for TO_LOOP): Add encoding of missing ranges.
4946
4947 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4948
4949 [BZ #13673]
4950 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4951 * sysdeps/mach/hurd/dup3.c: Likewise.
4952 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4953 * sysdeps/powerpc/memmove.c:: Likewise.
4954
4955 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4956
4957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4958 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4959
4960 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4961
4962 * elf/elf.h (R_X86_64_RELATIVE64): New.
4963 (R_X86_64_NUM): Updated.
4964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4965 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4966 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4967 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4968 tst-quad1pie tst-quad2pie
4969 (modules-names): Add tst-quadmod1 tst-quadmod2.
4970 ($(objpfx)tst-quad1): New dependency.
4971 ($(objpfx)tst-quad2): Likewise.
4972 ($(objpfx)tst-quad1pie): Likewise.
4973 ($(objpfx)tst-quad2pie): Likewise.
4974 * sysdeps/x86_64/tst-quad1.c: New file.
4975 * sysdeps/x86_64/tst-quad1pie.c: New file.
4976 * sysdeps/x86_64/tst-quad2.c: Likewise.
4977 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4978 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4979 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4980 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4981 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4982
4983 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4984
4985 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4986 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4987 * streams/stropts.h (t_scalar_t): Define type.
4988
4989 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4990 (_PATH_PRESERVE): Set to "/var/lib".
4991 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4992
4993 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4994 instead of int.
4995
4996 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4997 if __dir_mkfile succeeded.
4998
4999 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5000 checking for _hurd_dtablesize. Unlock it right after having
5001 finished _hurd_dtable allocation.
5002
5003 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5004
5005 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5006 * sysdeps/mach/hurd/configure: Regenerated.
5007 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5008 special-casing to...
5009 * sysdeps/gnu/configure.in: ... this new file.
5010 * sysdeps/unix/sysv/linux/configure: Regenerated.
5011 * sysdeps/gnu/configure: New generated file.
5012
5013 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5014 for Linux: use nsec instead of usec, as well as:
5015 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5016 members of type struct timespec.
5017 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5018 New macros.
5019 (struct stat64): Likewise.
5020 (_STATBUF_ST_NSEC): New macro.
5021 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5022
5023 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5024 __strtoul_internal rather than strtoul.
5025
5026 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5027
5028 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5029 and reject them.
5030
5031 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5032
5033 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5034 which preserves existing values.
5035 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5036
5037 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5038
5039 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5040 TIMEOUT values. Return EINVAL for NFDS values either negative or
5041 greater than FD_SETSIZE.
5042
5043 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5044
5045 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5046 allocated, call __vm_protect to finish enabling the existing space, and
5047 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5048 allocate the remainder.
5049
5050 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5051
5052 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5053 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5054
5055 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5056
5057 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5058 sysdeps/mach/hurd/readlink.c.
5059
5060 * posix/tst-sysconf.c (posix_options): Only use
5061 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5062 _POSIX_SYNCHRONIZED_IO when they are defined
5063 * sysdeps/mach/hurd/bits/posix_opt.h:
5064 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5065 (_XOPEN_REALTIME): Undefine macro.
5066 (_XOPEN_REALTIME_THREADS): Undefine macro.
5067 (_XOPEN_SHM): Undefine macro.
5068 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5069 macro to -1.
5070 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5071 macro to -1.
5072 (_POSIX_ASYNC_IO): Undefine macro.
5073 (_POSIX_PRIORITIZED_IO): Undefine macro.
5074 (_POSIX_SPIN_LOCKS): Define macro to -1.
5075
5076 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5077 SA_NODEFER, SA_RESETHAND.
5078 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5079 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5080 F_DUPFD_CLOEXEC.
5081
5082 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5083
5084 * elf/Makefile (pldd-modules): Define unconditionally.
5085
5086 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5087
5088 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5089
5090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5091
5092 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5093 Return ENOENT when name is empty.
5094 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5095
5096 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5097
5098 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5099
5100 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5101
5102 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5103
5104 Fix mlock in all cases except non-readable pages.
5105 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5106 instead of VM_PROT_ALL as parameter to __vm_wire function.
5107
5108 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5109 (__mkdir): When path is `/', just fail with EEXIST.
5110 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5111
5112 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5113
5114 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5115 <sys/uio.h> (for writev).
5116 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5117 and <sys/param.h> (for MIN).
5118
5119 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5120
5121 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5122 REQUESTED_TIME. Properly set the remaining time and return EINTR
5123 if interrupted.
5124
5125 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5126
5127 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5128 Depend on against $(link-rpcuserlibs).
5129
5130 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5131
5132 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5133 (__libc_stack_end): Do not use attribute_relro.
5134 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5135 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5136 to libthread-provided value.
5137 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5138 attribute_relro.
5139
5140 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5141
5142 [BZ #3748]
5143 * bits/libc-lock.h (__libc_once_get): New macro.
5144 * sysdeps/mach/bits/libc-lock.h: Likewise.
5145 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5147 instead of using implementation details.
5148
5149 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5150 * libio/freopen.c: Likewise.
5151 * libio/freopen64.c: Likewise.
5152 * misc/syslog.c: Likewise.
5153 * nscd/connections.c: Likewise.
5154 * nscd/netgroupcache.c: Likewise.
5155 * sysdeps/posix/getcwd.c: Likewise.
5156
5157 2012-05-10 Roland McGrath <roland@hack.frob.com>
5158
5159 * math/w_ilogbf.c: Add #include <limits.h>.
5160
5161 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5162
5163 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5164 path instead of returning without unlocking.
5165
5166 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5167 immediate-write ioctls.
5168 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5169
5170 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5171
5172 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5173 __builtin_frame_address instead of making assumptions about the
5174 location of the return address relative to DATA. Force early load of
5175 the return address.
5176 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5177 __builtin_frame_address.
5178
5179 dup3 for GNU Hurd.
5180 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5181 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5182 implement dup3 and do some further code clean-ups.
5183 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5184 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5185
5186 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5187
5188 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5189
5190 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5191 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5192 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5193 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5194 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5195 d->port.lock.
5196
5197 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5198 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5199 when handler == SIG_ERR, not when handler != SIG_ERR.
5200
5201 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5202
5203 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5204 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5205 definitions.
5206
5207 accept4 for GNU Hurd.
5208 * include/sys/socket.h (__libc_accept4): New prototype.
5209 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5210 to implement __libc_accept4.
5211 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5212 __libc_accept4.
5213 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5214
5215 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5216 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5217 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5218 signal-defines.sym.
5219
5220 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5221
5222 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5223
5224 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5225
5226 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5227 assertion on O_CLOEXEC flag.
5228 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5229 * hurd/intern-fd.c: Likewise.
5230 * hurd/port2fd.c: Likewise.
5231
5232 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5233
5234 [BZ #3906]
5235 * bits/in.h (IPV6_PKTINFO): Define new macro.
5236 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5237
5238 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5239
5240 [BZ #13954]
5241 [BZ #13955]
5242 [BZ #13956]
5243 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5244 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5245 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5246 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5248 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5249 * math/libm-test.inc (logb_test) : Additional logb tests.
5250
5251 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5252 Andreas Jaeger <aj@suse.de>
5253
5254 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5255 * configure: Regenerated.
5256 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5257 * config.make.in (link-obsolete-rpc): New substituted variable.
5258 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5259 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5260 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5261 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5262 so that libc.a contains the symbols.
5263 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5264 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5265 * sunrpc/auth_none.c: Likewise.
5266 * sunrpc/auth_unix.c: Likewise.
5267 * sunrpc/authdes_prot.c: Likewise.
5268 * sunrpc/authuxprot.c: Likewise.
5269 * sunrpc/clnt_gen.c: Likewise.
5270 * sunrpc/clnt_perr.c: Likewise.
5271 * sunrpc/clnt_raw.c: Likewise.
5272 * sunrpc/clnt_simp.c: Likewise.
5273 * sunrpc/clnt_tcp.c: Likewise.
5274 * sunrpc/clnt_udp.c: Likewise.
5275 * sunrpc/clnt_unix.c: Likewise.
5276 * sunrpc/des_crypt.c: Likewise.
5277 * sunrpc/des_soft.c: Likewise.
5278 * sunrpc/get_myaddr.c: Likewise.
5279 * sunrpc/key_call.c: Likewise.
5280 * sunrpc/key_prot.c: Likewise.
5281 * sunrpc/netname.c: Likewise.
5282 * sunrpc/pm_getmaps.c: Likewise.
5283 * sunrpc/pm_getport.c: Likewise.
5284 * sunrpc/pmap_clnt.c: Likewise.
5285 * sunrpc/pmap_prot.c: Likewise.
5286 * sunrpc/pmap_prot2.c: Likewise.
5287 * sunrpc/pmap_rmt.c: Likewise.
5288 * sunrpc/publickey.c: Likewise.
5289 * sunrpc/rpc_cmsg.c: Likewise.
5290 * sunrpc/rpc_common.c: Likewise.
5291 * sunrpc/rpc_dtable.c: Likewise.
5292 * sunrpc/rpc_prot.c: Likewise.
5293 * sunrpc/rpc_thread.c: Likewise.
5294 * sunrpc/rtime.c: Likewise.
5295 * sunrpc/svc.c: Likewise.
5296 * sunrpc/svc_auth.c: Likewise.
5297 * sunrpc/svc_raw.c: Likewise.
5298 * sunrpc/svc_run.c: Likewise.
5299 * sunrpc/svc_tcp.c: Likewise.
5300 * sunrpc/svc_udp.c: Likewise.
5301 * sunrpc/svc_unix.c: Likewise.
5302 * sunrpc/svcauth_des.c: Likewise.
5303 * sunrpc/xcrypt.c: Likewise.
5304 * sunrpc/xdr.c: Likewise.
5305 * sunrpc/xdr_array.c: Likewise.
5306 * sunrpc/xdr_float.c: Likewise.
5307 * sunrpc/xdr_intXX_t.c: Likewise.
5308 * sunrpc/xdr_mem.c: Likewise.
5309 * sunrpc/xdr_rec.c: Likewise.
5310 * sunrpc/xdr_ref.c: Likewise.
5311 * sunrpc/xdr_sizeof.c: Likewise.
5312 * sunrpc/xdr_stdio.c: Likewise.
5313
5314 2012-05-10 Roland McGrath <roland@hack.frob.com>
5315
5316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5317 change. Update copyright years.
5318
5319 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5320
5321 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5322
5323 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5324 Joseph Myers <joseph@codesourcery.com>
5325 Paul Pluzhnikov <ppluzhnikov@google.com>
5326
5327 [BZ #14012]
5328 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5329 requiring rpcgen.
5330 [cross-compiling] (extra-libs): Likewise.
5331 [cross-compiling] (extra-libs-others): Likewise.
5332 [cross-compiling] (librpcsvc-routines): Likewise.
5333 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5334 [cross-compiling] (omit-deps): Likewise.
5335 (sunrpc-CPPFLAGS): New variable.
5336 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5337 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5338 (cross-rpcgen-objs): New variable.
5339 (extra-objs): Append $(cross-rpcgen-objs).
5340 ($(cross-rpcgen-objs)): New rule.
5341 ($(objpfx)cross-rpcgen): Likewise.
5342 (rpcgen-cmd): Define to use $(built-program-file). Expand
5343 comment.
5344 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5345 ($(objpfx)x%.stmp): Likewise.
5346 * sunrpc/proto.h [IS_IN_build] (_): Define.
5347 [IS_IN_build] (_libc_intl_domainname): Likewise.
5348
5349 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5350
5351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5352 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5353 and R_X86_64_TPOFF64.
5354
5355 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5356
5357 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5358 sysdeps/unix/sysv/syscalls.list.
5359 (stime): Likewise.
5360 (utime): Likewise.
5361 * sysdeps/unix/sysv/syscalls.list: Remove file.
5362
5363 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5364
5365 [BZ #3440]
5366 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5367 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5368 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5369 (__LC_IDENTIFICATION): Make these macros useful in #if
5370 expressions, as required by C99.
5371
5372 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5373
5374 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5375 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5376 after this.
5377
5378 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5379
5380 * stdlib/longlong.h: Updated from GCC.
5381
5382 2012-05-09 Andreas Jaeger <aj@suse.de>
5383
5384 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5385 default is first entry.
5386 (run_mode): Set type.
5387 (main): Remove informal message about syslog.
5388 (options): Fix typo.
5389
5390 [BZ #14053]
5391 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5392 to asm.
5393 (lrint): Likewise.
5394 (llrintf): Likewise.
5395 (llrint): Likewise.
5396 (rint): Likewise.
5397 (rintf): Likewise.
5398 (nearbyint): Likewise.
5399 (nearbyintf): Likewise.
5400
5401 2012-05-09 Andreas Jaeger <aj@suse.de>
5402 Pedro Alves <palves@redhat.com>
5403
5404 * nscd/nscd.c (run_mode): Use enum.
5405 (main): Cleanup coding style issue.
5406
5407 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5408 Andreas Jaeger <aj@suse.de>
5409
5410 * nscd/nscd.c (go_background): Replaced with...
5411 (run_mode): ... this.
5412 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5413 (options): Add -F --foreground.
5414 (main): Implement it.
5415 (parse_opt): Parse it.
5416
5417 2012-05-09 Andreas Jaeger <aj@suse.de>
5418
5419 [BZ #14083]
5420 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5421 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5422 -Wconversion warning.
5423 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5424 Likewise.
5425
5426 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5427
5428 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5429 == 0.
5430 (LC_ALL): Use macro-int-constant.
5431 (LC_COLLATE): Likewise.
5432 (LC_CTYPE): Likewise.
5433 (LC_MESSAGES): Likewise.
5434 (LC_MONETARY): Likewise.
5435 (LC_NUMERIC): Likewise.
5436 (LC_TIME): Likewise.
5437 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5438 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5439 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5440 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5441 Specify type.
5442 [C99-based standards] (float_t): Expect type.
5443 [C99-based standards] (double_t): Expect type.
5444 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5445 type.
5446 [C99-based standards] (HUGE_VALL): Likewise.
5447 [C99-based standards] (INFINITY): Likewise.
5448 [C99-based standards] (NAN): Likewise.
5449 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5450 [C99-based standards] (FP_NAN): Likewise.
5451 [C99-based standards] (FP_NORMAL): Likewise.
5452 [C99-based standards] (FP_SUBNORMAL): Likewise.
5453 [C99-based standards] (FP_ZERO): Likewise.
5454 [C99-based standards] (FP_FAST_FMA): Use
5455 optional-macro-int-constant. Specify type. Require == 1.
5456 [C99-based standards] (FP_FAST_FMAF): Likewise.
5457 [C99-based standards] (FP_FAST_FMAL): Likewise.
5458 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5459 [C99-based standards] (FP_ILOGBNAN): Likewise.
5460 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5461 Specify type.
5462 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5463 [C99-based standards] (math_errhandling): Specify type.
5464 [ISO99 || ISO11] (signgam): Do not allow.
5465 [non-C99-based standards] (copysignf): Do not allow.
5466 [non-C99-based standards] (exp2f): Likewise.
5467 [non-C99-based standards] (log2f): Likewise.
5468 [non-C99-based standards] (modff): Allow.
5469 [non-C99-based standards] (erff): Do not allow.
5470 [non-C99-based standards] (erfcf): Likewise.
5471 [non-C99-based standards] (gammaf): Likewise.
5472 [non-C99-based standards] (hypotf): Likewise.
5473 [non-C99-based standards] (j0f): Likewise.
5474 [non-C99-based standards] (j1f): Likewise.
5475 [non-C99-based standards] (jnf): Likewise.
5476 [non-C99-based standards] (lgammaf): Likewise.
5477 [non-C99-based standards] (tgammaf): Likewise.
5478 [non-C99-based standards] (y0f): Likewise.
5479 [non-C99-based standards] (y1f): Likewise.
5480 [non-C99-based standards] (ynf): Likewise.
5481 [non-C99-based standards] (isnanf): Likewise.
5482 [non-C99-based standards] (acoshf): Likewise.
5483 [non-C99-based standards] (asinhf): Likewise.
5484 [non-C99-based standards] (atanhf): Likewise.
5485 [non-C99-based standards] (cbrtf): Likewise.
5486 [non-C99-based standards] (expm1f): Likewise.
5487 [non-C99-based standards] (ilogbf): Likewise.
5488 [non-C99-based standards] (log1pf): Likewise.
5489 [non-C99-based standards] (logbf): Likewise.
5490 [non-C99-based standards] (nextafterf): Likewise.
5491 [non-C99-based standards] (remainderf): Likewise.
5492 [non-C99-based standards] (rintf): Likewise.
5493 [non-C99-based standards] (scalbf): Likewise.
5494 [non-C99-based standards] (copysignl): Likewise.
5495 [non-C99-based standards] (exp2l): Likewise.
5496 [non-C99-based standards] (log2l): Likewise.
5497 [non-C99-based standards] (modfl): Allow.
5498 [non-C99-based standards] (erfl): Do not allow.
5499 [non-C99-based standards] (erfcl): Likewise.
5500 [non-C99-based standards] (gammal): Likewise.
5501 [non-C99-based standards] (hypotl): Likewise.
5502 [non-C99-based standards] (j0l): Likewise.
5503 [non-C99-based standards] (j1l): Likewise.
5504 [non-C99-based standards] (jnl): Likewise.
5505 [non-C99-based standards] (lgammal): Likewise.
5506 [non-C99-based standards] (tgammal): Likewise.
5507 [non-C99-based standards] (y0l): Likewise.
5508 [non-C99-based standards] (y1l): Likewise.
5509 [non-C99-based standards] (ynl): Likewise.
5510 [non-C99-based standards] (isnanl): Likewise.
5511 [non-C99-based standards] (acoshl): Likewise.
5512 [non-C99-based standards] (asinhl): Likewise.
5513 [non-C99-based standards] (atanhl): Likewise.
5514 [non-C99-based standards] (cbrtl): Likewise.
5515 [non-C99-based standards] (expm1l): Likewise.
5516 [non-C99-based standards] (ilogbl): Likewise.
5517 [non-C99-based standards] (log1pl): Likewise.
5518 [non-C99-based standards] (logbl): Likewise.
5519 [non-C99-based standards] (nextafterl): Likewise.
5520 [non-C99-based standards] (remainderl): Likewise.
5521 [non-C99-based standards] (rintl): Likewise.
5522 [non-C99-based standards] (scalbl): Likewise.
5523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5524 [non-C99-based standards] (FP_*): Do not allow.
5525 [C99-based standards] (FP_*): Change to
5526 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5527 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5528 allow.
5529 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5530 (SIG_ERR): Likewise.
5531 [X/Open-based standards] (SIG_HOLD): Likewise.
5532 (SIG_IGN): Likewise.
5533 (SIGABRT): Use macro-int-constant. Specify type. Require
5534 positive value.
5535 (SIGFPE): Likewise.
5536 (SIGILL): Likewise.
5537 (SIGINT): Likewise.
5538 (SIGSEGV): Likewise.
5539 (SIGTER): Likewise.
5540 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5541 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5542 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5543 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5544 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5545 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5546 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5547 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5548 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5549 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5550 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5551 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5552 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5553 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5554 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5555 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5556 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5557 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5558 [X/Open-based standards] (SIGTRAP): Likewise.
5559 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5560 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5561 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5562 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5563 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5564 allow.
5565
5566 2012-05-08 Ian Wienand <ianw@vmware.com>
5567
5568 [BZ #14080]
5569 * time/tzset.c (__tzset_parse_tz): Update default rules for
5570 daylight time changes in the Energy Policy Act of 2005.
5571
5572 2012-05-09 Andreas Jaeger <aj@suse.de>
5573
5574 [BZ #13983]
5575 * elf/ldconfig.c (parse_conf): Change string to make clear that
5576 ldconfig only issued a warning if ld.so.conf does not exist.
5577
5578 2012-05-08 David S. Miller <davem@davemloft.net>
5579
5580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5581 movxtod instead of popping the value on the stack.
5582
5583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5584
5585 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5586
5587 * config.h.in: Add HAVE_ARM_PCS_VFP.
5588
5589 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5590
5591 [BZ #13979]
5592 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5593 checking but the checks are disabled for any reason.
5594
5595 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5596
5597 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5598 and ELF64_R_TYPE with ELFW(R_TYPE).
5599
5600 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5601
5602 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5603 (ulimit): Likewise.
5604
5605 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5606 (settimeofday): Likewise.
5607
5608 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5609
5610 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5611 a struct th_u2 inside the union, and move tu_block/tu_code into
5612 a new th_u3 union of tu_block/tu_code inside of that. Move
5613 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5614 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5615 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5616 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5617 (th_stuff): Change to th_u1.tu_stuff.
5618 (th_data): Define.
5619 (th_msg): Change to th_u1.th_u2.tu_data.
5620
5621 2012-05-07 David S. Miller <davem@davemloft.net>
5622
5623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5624
5625 [BZ #14074]
5626 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5627 (SETUP_PIC_REG): Use it.
5628 (SETUP_PIC_REG_LEAF): Use it.
5629
5630 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5631
5632 [BZ #13885]
5633 [BZ #13923]
5634 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5635 USE_AS_EXPM1L.
5636 (EXPL_FINITE): Likewise.
5637 (FLDLOG): Likewise.
5638 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5639 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5640 e_expl.S.
5641 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5642 USE_AS_EXPM1L.
5643 (EXPL_FINITE): Likewise.
5644 (FLDLOG): Likewise.
5645 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5646 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5647 e_expl.S.
5648 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5649 test of -max_value argument for long double.
5650 * sysdeps/i386/fpu/libm-test-ulps: Update.
5651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5652
5653 2012-05-06 David S. Miller <davem@davemloft.net>
5654
5655 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5656 quad soft-float symbols whose references which are compiler
5657 generated.
5658 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5659
5660 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5661
5662 [BZ #13884]
5663 [BZ #13914]
5664 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5665 USE_AS_EXP10L.
5666 (EXPL_FINITE): Likewise.
5667 (FLDLOG): Likewise.
5668 (c0): Likewise.
5669 (c1): Likewise.
5670 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5671 Adjust comments for base varying.
5672 (__expl_finite): Change alias to EXPL_FINITE.
5673 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5674 e_expl.S.
5675 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5676 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5677 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5678 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5679 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5680 USE_AS_EXP10L.
5681 (EXPL_FINITE): Likewise.
5682 (FLDLOG): Likewise.
5683 (c0): Likewise.
5684 (c1): Likewise.
5685 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5686 Adjust comments for base varying.
5687 (__expl_finite): Change alias to EXPL_FINITE.
5688 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5689 tests for bugs.
5690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5691
5692 [BZ #14064]
5693 * math/libm-test.inc (check_float_internal): Correct ulp
5694 calculation for subnormal expected results.
5695
5696 2012-05-06 Andreas Jaeger <aj@suse.de>
5697
5698 * Makeconfig (+math-flags): New, set to -frounding-math.
5699 (+cflags): Add +math-flags so that all of glibc gets compiled with
5700 it.
5701
5702 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5703
5704 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5705
5706 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5707 Disable one test.
5708
5709 [BZ #13787]
5710 [BZ #13922]
5711 [BZ #14036]
5712 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5713 (__ieee754_expl): Allow for and saturate large arguments.
5714 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5715 (u_threshold): Likewise.
5716 (__exp): Call __ieee754_exp before checking for overflow and
5717 underflow.
5718 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5719 (u_threshold): Likewise.
5720 (__expf): Call __ieee754_expf before checking for overflow and
5721 underflow.
5722 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5723 (u_threshold): Likewise.
5724 (__expl): Call __ieee754_expl before checking for overflow and
5725 underflow.
5726 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5727 (__ieee754_expl): Allow for and saturate large arguments.
5728 * math/libm-test.inc (exp_test): Add another test. Do not allow
5729 missing overflow exception on overflow.
5730 (expm1_test): Do not allow missing overflow exception on overflow.
5731
5732 * sysdeps/i386/fpu/e_expl.c: Move to ...
5733 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5734 rather than using inline asm.
5735 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5736 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5737 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5738
5739 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5740 (nice): Likewise.
5741 (poll): Likewise.
5742 (signal): Likewise.
5743 (time): Likewise.
5744 (times): Likewise.
5745
5746 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5747
5748 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5749 sysdeps/unix/common/syscalls.list.
5750 (fchmod): Likewise.
5751 (fchown): Likewise.
5752 (ftruncate): Likewise.
5753 (getrusage): Likewise.
5754 (gettimeofday): Likewise.
5755 (setpgid): Likewise.
5756 (setregid): Likewise.
5757 (setreuid): Likewise.
5758 (sigaction): Likewise.
5759 (truncate): Likewise.
5760 (vhangup): Likewise.
5761 * sysdeps/unix/common/syscalls.list: Remove file.
5762 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5763 * sysdeps/unix/sysv/linux/Implies: Likewise.
5764
5765 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5766
5767 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5769 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5770 Moved to ...
5771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5772 Here.
5773 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5774 to ...
5775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5776 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5777 to ...
5778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5779 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5780 to ...
5781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5782 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5783 to ...
5784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5785 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5786 to ...
5787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5788 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5789 to ...
5790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5791 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5792 to ...
5793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5794 Here.
5795 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5796 to ...
5797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5798 Here.
5799 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5800 to ...
5801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5802 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5803 Moved to ...
5804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5805 Here.
5806 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5807 to ...
5808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5809
5810 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5811
5812 * sysdeps/unix/common/bits/dirent.h: Remove file.
5813 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5814
5815 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5816 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5817 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5818 * sysdeps/unix/bsd/isatty.c: Likewise.
5819 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5820 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5821 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5822
5823 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5824
5825 [BZ #13563]
5826 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5827 long double comparison inaccuracies.
5828 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5830
5831 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5832
5833 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5835
5836 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5837
5838 [BZ #14049]
5839 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5840 nonzero digits before rounding a hex value.
5841 * stdlib/tst-strtod.c (tests): Add another test.
5842
5843 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5844
5845 * sysdeps/s390/fpu/libm-test-ulps: Update.
5846
5847 2012-05-03 Andreas Jaeger <aj@suse.de>
5848
5849 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5850 does not get optimized out.
5851 (malloc_opt_barrier): New.
5852
5853 2012-05-03 Andreas Jaeger <aj@suse.de>
5854 Roland McGrath <roland@hack.frob.com>
5855
5856 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5857 intermediate file deletion.
5858 (generated): Add .symlist files.
5859
5860 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5861
5862 [BZ #13775]
5863 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5864 Redirect under this condition.
5865 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5866 [__USE_GNU] (__dprintf_chk): Not under this condition.
5867 [__USE_GNU] (__vdprintf_chk): Likewise.
5868 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5869 under this condition.
5870 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5871 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5872 [__USE_XOPEN2K8] (vdprintf): Likewise.
5873 [__USE_GNU] (__dprintf_chk): Not under this condition.
5874 [__USE_GNU] (__vdprintf_chk): Likewise.
5875 [__USE_GNU] (dprintf): Likewise.
5876 [__USE_GNU] (vdprintf): Likewise.
5877
5878 2012-05-03 Roland McGrath <roland@hack.frob.com>
5879
5880 * elf/Makefile (common-generated): Set this instead of generated for
5881 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5882 $(all-built-dso)-derived lists.
5883
5884 2012-05-03 Andreas Jaeger <aj@suse.de>
5885
5886 * sysdeps/i386/fpu/libm-test-ulps: Update.
5887
5888 * FAQ: Removed.
5889 * FAQ.in: Likewise.
5890 * scripts/gen-FAQ.pl: Likewise.
5891 * manual/install.texi (Installation): Point to online location of
5892 FAQ.
5893 * Makefile (files-for-dist): Remove FAQ.
5894 (FAQ): Remove.
5895
5896 2012-05-02 Allan McRae <allan@archlinux.org>
5897
5898 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5899 (LDFLAGS-reldepmod5.so): Likewise.
5900 (LDFLAGS-reldep6mod1.so): Likewise.
5901 (LDFLAGS-reldep6mod4.so): Likewise.
5902 (LDFLAGS-reldep8mod3.so): Likewise.
5903 (LDFLAGS-unload4mod1.so): Likewise.
5904 (LDFLAGS-unload4mod2.so): Likewise.
5905 (LDFLAGS-tst-initorder): Likewise.
5906 (LDFLAGS-tst-initordera2.so): Likewise.
5907 (LDFLAGS-tst-initordera3.so): Likewise.
5908 (LDFLAGS-tst-initordera4.so): Likewise.
5909 (LDFLAGS-tst-initorderb2.so): Likewise.
5910 (LDFLAGS-noload): Likewise.
5911 (LDFLAGS-next): Likewise.
5912 (LDFLAGS-order2mod1.so): Likewise.
5913 (LDFLAGS-order2mod2.so): Likewise.
5914 (LDFLAGS-tst-initorder2): Likewise.
5915 (LDFLAGS-tst-initorder2a.so): Likewise.
5916 (LDFLAGS-tst-initorder2b.so): Likewise.
5917 (LDFLAGS-tst-initorder2c.so): Likewise.
5918 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5919
5920 2012-05-02 David S. Miller <davem@davemloft.net>
5921
5922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5923
5924 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5925
5926 [BZ #14055]
5927 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5928
5929 2012-05-02 Andreas Jaeger <aj@suse.de>
5930
5931 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5932 since we manipulate rounding mode.
5933 (CPPFLAGS-test-idouble.c): Likewise.
5934 (CPPFLAGS-test-ifloat.c): Likewise.
5935 (CFLAGS-test-ldouble.c): Likewise.
5936 (CFLAGS-test-double.c): Likewise.
5937 (CFLAGS-test-float.c): Likewise.
5938 (CFLAGS-test-misc.c): Likewise.
5939 (CFLAGS-test-test-fenv.c): Likewise.
5940
5941 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5942
5943 [BZ #2550]
5944 [BZ #2570]
5945 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5946 comparisons to determine direction to adjust input.
5947
5948 2012-05-01 Roland McGrath <roland@hack.frob.com>
5949
5950 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5951 output to the target.
5952
5953 * scripts/localplt.awk: New file.
5954 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5955 (check-localplt-CFLAGS): Variable removed.
5956 ($(all-built-dso:=.jmprel)): New static pattern rule.
5957 (generated): Add those targets.
5958 (localplt-built-dso): New variable.
5959 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5960
5961 * elf/check-localplt.c: File removed.
5962
5963 * scripts/check-execstack.awk: New file.
5964 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5965 (check-execstack-CFLAGS): Variable removed.
5966 ($(objpfx)check-execstack.h): Target removed.
5967 ($(objpfx)execstack-default): New target.
5968 (generated): Add that instead of check-execstack.h.
5969 ($(all-built-dso:=.phdr)): New static pattern rule.
5970 (generated): Add those targets.
5971 * elf/check-execstack.c: File removed.
5972
5973 * scripts/check-textrel.awk: New file.
5974 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5975 (check-textrel-CFLAGS): Variable removed.
5976 (all-built-dso): Use := to define.o
5977 ($(all-built-dso:=.dyn)): New static pattern rule.
5978 (generated): Add those targets.
5979 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5980 * config.make.in (READELF): New substituted variable.
5981 * elf/check-textrel.c: File removed.
5982
5983 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5984
5985 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5986 allow.
5987 * conform/data/ctype.h-data [C99-based standards] (isblank):
5988 Expect function.
5989 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5990 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5991 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5992 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5993 Specify type. Require positive value.
5994 (EILSEQ): Likewise.
5995 (ERANGE): Likewise.
5996 [ISO || POSIX] (EILSEQ): Do not expect.
5997 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5998 Specify type. Require positive value.
5999 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6000 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6001 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6002 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6003 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6004 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6005 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6006 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6007 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6008 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6009 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6010 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6011 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6012 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6013 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6014 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6015 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6016 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6017 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6018 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6019 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6020 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6021 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6022 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6023 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6024 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6025 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6026 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6027 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6028 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6029 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6030 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6031 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6032 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6033 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6034 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6035 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6036 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6037 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6038 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6039 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6040 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6041 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6042 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6043 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6044 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6045 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6046 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6047 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6048 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6049 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6050 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6051 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6052 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6053 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6054 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6055 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6056 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6057 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6058 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6059 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6060 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6061 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6062 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6063 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6064 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6065 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6066 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6067 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6068 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6069 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6070 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6071 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6072 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6073 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6074 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6075 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6076 Require >= 2.
6077 (FLT_ROUNDS): Expect as macro, not constant.
6078 (FLT_MANT_DIG): Use macro-int-constant.
6079 (DBL_MANT_DIG): Likewise.
6080 (LDBL_MANT_DIG): Likewise.
6081 (FLT_DIG): Likewise.
6082 (DBL_DIG): Likewise.
6083 (LDBL_DIG): Likewise.
6084 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6085 (DBL_MIN_EXP): Likewise.
6086 (LDBL_MIN_EXP): Likewise.
6087 (FLT_MAX_EXP): Use macro-int-constant.
6088 (DBL_MAX_EXP): Likewise.
6089 (LDBL_MAX_EXP): Likewise.
6090 (FLT_MAX_10_EXP): Likewise.
6091 (DBL_MAX_10_EXP): Likewise.
6092 (LDBL_MAX_10_EXP): Likewise.
6093 (FLT_MAX): Use macro-constant.
6094 (DBL_MAX): Likewise.
6095 (LDBL_MAX): Likewise.
6096 (FLT_EPSILON): Use macro-constant. Give upper bound.
6097 (DBL_EPSILON): Likewise.
6098 (LDBL_EPSILON): Likewise.
6099 (FLT_MIN): Likewise.
6100 (DBL_MIN): Likewise.
6101 (LDBL_MIN): Likewise.
6102 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6103 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6104 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6105 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6106 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6107 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6108 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6109 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6110 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6111 [ISO11] (FLT_TRUE_MIN): Likewise.
6112 [ISO11] (LDBL_TRUE_MIN): Likewise.
6113 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6114 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6115 (SCHAR_MIN): Use macro-int-constant. Specify type.
6116 (SCHAR_MAX): Likewise.
6117 (UCHAR_MAX): Likewise.
6118 (CHAR_MIN): Likewise.
6119 (CHAR_MAX): Likewise.
6120 (MB_LEN_MAX): Use macro-int-constant.
6121 (SHRT_MIN): Use macro-int-constant. Specify type.
6122 (SHRT_MAX): Likewise.
6123 (USHRT_MAX): Likewise.
6124 (INT_MAX): Likewise.
6125 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6126 bound negative.
6127 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6128 bound with "U".
6129 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6130 bound with "L".
6131 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6132 bound negative. Suffix upper bound with "L".
6133 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6134 bound with "UL".
6135 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6136 Specify type.
6137 [C99-based standards] (LLONG_MAX): Likewise.
6138 [C99-based standards] (ULLONG_MAX): Likewise.
6139 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6140 == 0.
6141 [ISO11] (max_align_t): Require type.
6142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6143
6144 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6145 from $CFLAGS, without defining away __attribute__ calls.
6146 (checknamespace): Use $CFLAGS_namespace.
6147
6148 * conform/conformtest.pl (@keywords): Only include C99 keywords
6149 for standards based on C99 or C11.
6150
6151 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6152 Disable tests.
6153 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6154 UNIX98]: Likewise.
6155
6156 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6157 usability of symbols in #if.
6158
6159 * conform/conformtest.pl: If macro or constant types start
6160 "promoted:", expect the symbol to be of the following type
6161 promoted by the integer promotions.
6162
6163 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6164 in one place. Also handle "macro-constant".
6165
6166 * conform/conformtest.pl: Only accept expected macro values with
6167 "==". Parse all "macro" lines in one place.
6168 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6169
6170 * conform/conformtest.pl: Handle braced types on "constant" lines
6171 instead of handling "typed-constant".
6172 * conform/data/signal.h-data: Use "constant" instead of
6173 "typed-constant".
6174
6175 * conform/conformtest.pl: Handle "optional-" at start of lines in
6176 one place rather than duplicating several cases. Handle each
6177 format of "macro" line with initial "optional-".
6178
6179 * conform/conformtest.pl: Only accept expected constant or
6180 optional-constant values with "==". Parse all "constant" lines in
6181 one place. Parse all "optional-constant" lines in one place.
6182 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6183 * conform/data/fmtmsg.h-data: Likewise.
6184 * conform/data/netinet/in.h-data: Likewise.
6185 * conform/data/tar.h-data: Likewise.
6186 * conform/data/limits.h-data: Use "==" form on "constant" and
6187 "optional-constant" lines.
6188
6189 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6190 Use -std=c99 for XOPEN2K.
6191 (@knownproblems): Remove.
6192 (newtoken): Don't check %isknown.
6193
6194 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6195 Do not expect macro.
6196 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6197 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6198 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6199 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6200 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6201 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6202 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6203 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6204 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6205 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6206 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6207 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6208 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6209 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6210 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6211 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6212 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6213 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6214 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6215 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6216 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6217 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6218 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6219 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6220 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6221 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6222 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6223 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6224 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6225 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6226 [XPG3] (acosh): Likewise.
6227 [XPG3] (asinh): Likewise.
6228 [XPG3] (atanh): Likewise.
6229 [XPG3] (cbrt): Likewise.
6230 [XPG3] (expm1): Likewise.
6231 [XPG3] (ilogb): Likewise.
6232 [XPG3] (log1p): Likewise.
6233 [XPG3] (logb): Likewise.
6234 [XPG3] (nextafter): Likewise.
6235 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6236 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6237 [XPG3] (remainder): Likewise.
6238 [XPG3] (rint): Likewise.
6239 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6240 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6241 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6242 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6243 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6244 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6245 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6246 [UNIX98 || XOPEN2K] (scalb): Expect.
6247 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6248 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6249 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6250 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6251 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6252 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6253 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6254 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6255 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6256 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6257 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6258 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6259 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6260 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6261 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6262 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6263 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6264 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6265 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6266 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6267 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6268 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6269 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6270 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6271 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6272 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6273 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6274 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6275 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6276 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6277 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6278 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6279 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6280 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6281 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6282 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6283 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6284 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6285 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6286 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6287 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6288 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6289 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6290 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6291 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6292 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6293 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6294 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6295 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6296 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6297 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6298 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6299 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6300 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6301 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6302 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6303 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6304 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6305 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6306 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6307 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6308 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6309 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6310 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6311 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6312 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6313 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6314 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6315 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6316 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6317 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6318 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6319 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6320 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6321 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6322 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6323 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6324 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6325 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6326 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6327 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6328 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6329 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6330 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6331 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6332 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6333 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6334 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6335 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6336 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6337 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6338 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6339 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6340 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6341 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6342 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6343 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6344 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6345 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6346 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6347 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6348 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6349 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6350 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6351 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6352 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6353 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6354 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6355 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6356 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6357 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6358 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6359 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6360 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6361 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6362 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6363 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6364 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6365 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6366 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6367 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6368 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6369 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6370 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6371 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6372 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6373 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6374 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6375 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6376 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6377 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6378 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6379 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6380 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6381 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6382 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6383 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6384
6385 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6386 _XOPEN_SOURCE_EXTENDED for XPG4.
6387
6388 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6389
6390 * Makeconfig (localtime): Remove variable.
6391 (inst_localtime-file): Likewise.
6392
6393 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6394
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6396 Update.
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6398 Update.
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6400 Update.
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6402 Update.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6404 Update.
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6406 Update.
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6408 Update.
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6410 Update.
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6412 Update.
6413
6414 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6415
6416 [BZ #2550]
6417 [BZ #2570]
6418 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6419 comparisons to determine direction to adjust input.
6420 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6421 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6422 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6423 Likewise.
6424 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6425 Likewise.
6426 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6427 Likewise.
6428 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6429 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6430 Likewise.
6431 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6432 Likewise.
6433 * math/libm-test.inc (nexttoward_test): Add more tests.
6434
6435 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6436
6437 [BZ #14040]
6438 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6439 in version GLIBC_2.1, not GLIBC_2.0.
6440 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6441 Likewise.
6442
6443 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6444
6445 [BZ #13942]
6446 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6447 (1 - x) * (1 + x).
6448 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6449 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6450 * math/libm-test.inc (acos_test): Add more tests.
6451 (asin_test): Likewise.
6452 * sysdeps/i386/fpu/libm-test-ulps: Update.
6453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6454
6455 [BZ #14034]
6456 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6457 of square root.
6458 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6459 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6460 * math/libm-test.inc (acos_test_tonearest): New function.
6461 (acos_test_towardzero): Likewise.
6462 (acos_test_downward): Likewise.
6463 (acos_test_upward): Likewise.
6464 (asin_test_tonearest): Likewise.
6465 (asin_test_towardzero): Likewise.
6466 (asin_test_downward): Likewise.
6467 (asin_test_upward): Likewise.
6468 (main): Call the new functions.
6469 * sysdeps/i386/fpu/libm-test-ulps: Update.
6470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6471
6472 [BZ #13884]
6473 [BZ #13924]
6474 * math/e_exp10.c: Include <float.h>.
6475 (__ieee754_exp10): Handle underflow here rather than multiplying
6476 large negative argument by M_LN10.
6477 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6478 of __ieee754_expf.
6479 * math/e_exp10l.c: Include <float.h>.
6480 (__ieee754_exp10l): Handle underflow here rather than multiplying
6481 large negative argument by M_LN10l.
6482 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6483 spurious overflow exception on underflow.
6484
6485 2012-04-29 Marek Polacek <polacek@redhat.com>
6486
6487 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6488 (__fortify_function): New macro.
6489 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6490 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6491 __extern_always_inline.
6492 * libio/bits/stdio2.h: Likewise.
6493 * libio/bits/stdio.h: Likewise.
6494 * string/string.h: Likewise.
6495 * string/bits/string3.h: Likewise.
6496 * include/stdio.h: Likewise.
6497 * stdlib/bits/stdlib.h: Likewise.
6498 * stdlib/stdlib.h: Likewise.
6499 * rt/bits/mqueue2.h: Likewise.
6500 * rt/mqueue.h: Likewise.
6501 * posix/bits/unistd.h: Likewise.
6502 * posix/unistd.h: Likewise.
6503 * io/bits/poll2.h: Likewise.
6504 * io/bits/fcntl2.h: Likewise.
6505 * io/fcntl.h: Likewise.
6506 * io/sys/poll.h: Likewise.
6507 * misc/bits/syslog.h: Likewise.
6508 * misc/bits/syslog-ldbl.h: Likewise.
6509 * misc/sys/syslog.h: Likewise.
6510 * socket/bits/socket2.h: Likewise.
6511 * socket/sys/socket.h: Likewise.
6512 * debug/tst-chk1.c: Likewise.
6513 * wcsmbs/bits/wchar2.h: Likewise.
6514 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6515 * wcsmbs/wchar.h: Likewise.
6516
6517 2012-04-29 Andreas Jaeger <aj@suse.de>
6518
6519 * Makerules (tests): Remove enable-check-abi protection.
6520 (check-abi-warn): Remove.
6521 (check-abi-%): Remove check-abi-warn usage.
6522
6523 * configure.in: Remove check-abi configure option.
6524 * configure: Regenerated.
6525 * config.make.in (enable-check-abi): Remove.
6526
6527 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6528
6529 [BZ #14033]
6530 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6531 double functions to double *_finite functions.
6532
6533 [BZ #13941]
6534 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6535 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6536 LDBL_MIN_EXP.
6537 * stdio-common/Makefile (tests): Add tst-sprintf3.
6538 * stdio-common/tst-sprintf3.c: New file.
6539
6540 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6541 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6542
6543 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6544
6545 * conform/conformtest.pl: Remove duplicate typed-constant
6546 handling.
6547
6548 2012-04-28 David S. Miller <davem@davemloft.net>
6549
6550 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6551 (check-abi-%): Remove AWK script prerequisite and explicit
6552 abilist directory.
6553 (check-abi): Rewrite to just diff the symlist with the abilist.
6554 (config-tls, config-abi-config): Delete, no longer used.
6555 (update-abi-%): Remove AWK script and explicit abilist directory.
6556 (update-abi): Rewrite to simply compare and conditionally copy the
6557 symlist and the sysdep abilist file. Remove update-abi-config
6558 checks.
6559 * abilist/ld.abilist: Remove.
6560 * abilist/libBrokenLocale.abilist: Remove.
6561 * abilist/libanl.abilist: Remove.
6562 * abilist/libcrypt.abilist: Remove.
6563 * abilist/libdl.abilist: Remove.
6564 * abilist/librt.abilist: Remove.
6565 * abilist/libthread_db.abilist: Remove.
6566 * abilist/libutil.abilist: Remove.
6567 * scripts/extract-abilist.awk: Remove.
6568 * scripts/merge-abilist.awk: Remove.
6569 * sysdeps/generic/libcidn.abilist: New file.
6570 * sysdeps/generic/libnss_compat.abilist: New file.
6571 * sysdeps/generic/libnss_db.abilist: New file.
6572 * sysdeps/generic/libnss_dns.abilist: New file.
6573 * sysdeps/generic/libnss_files.abilist: New file.
6574 * sysdeps/generic/libnss_hesiod.abilist: New file.
6575 * sysdeps/generic/libnss_nis.abilist: New file.
6576 * sysdeps/generic/libnss_nisplus.abilist: New file.
6577 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6578 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6579 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6580 file.
6581 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6582 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6583 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6584 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6585 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6586 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6587 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6588 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6589 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6590 file.
6591 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6592 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6593 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6594 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6595 file.
6596 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6597 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6598 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6599 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6600 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6601 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6602 file.
6603 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6604 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6605 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6606 file.
6607 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6609 New file.
6610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6611 New file.
6612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6613 New file.
6614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6615 New file.
6616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6617 New file.
6618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6619 New file.
6620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6621 New file.
6622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6623 New file.
6624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6625 New file.
6626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6627 New file.
6628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6629 New file.
6630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6631 New file.
6632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6633 New file.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6635 file.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6637 New file.
6638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6639 New file.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6641 file.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6643 New file.
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6645 New file.
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6647 file.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6649 New file.
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6651 New file.
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6653 New file.
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6655 New file.
6656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6657 New file.
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6659 New file.
6660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6662 file.
6663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6664 New file.
6665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6666 file.
6667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6668 file.
6669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6670 file.
6671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6672 file.
6673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6674 file.
6675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6676 New file.
6677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6678 file.
6679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6680 file.
6681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6682 New file.
6683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6684 file.
6685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6687 file.
6688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6689 New file.
6690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6691 file.
6692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6693 file.
6694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6695 file.
6696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6697 file.
6698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6699 file.
6700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6701 New file.
6702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6703 file.
6704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6705 file.
6706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6707 New file.
6708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6709 file.
6710 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6711 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6712 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6713 file.
6714 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6715 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6716 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6717 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6718 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6719 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6720 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6721 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6722 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6723 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6726 file.
6727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6728 New file.
6729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6730 file.
6731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6732 file.
6733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6734 file.
6735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6736 file.
6737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6738 file.
6739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6740 New file.
6741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6742 New file.
6743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6744 file.
6745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6746 New file.
6747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6748 file.
6749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6751 file.
6752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6753 New file.
6754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6755 file.
6756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6757 file.
6758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6759 file.
6760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6761 file.
6762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6763 file.
6764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6765 New file.
6766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6767 New file.
6768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6769 file.
6770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6771 New file.
6772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6773 file.
6774
6775 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6776
6777 * conform/conformtest.pl: Fix typo in handling typed-constant from
6778 allow-header.
6779
6780 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6781
6782 * README: Cut down references to pre-2.6 Linux kernels and
6783 Linuxthreads. Update lists of configurations in libc and ports
6784 and sort alphabetically. Say "or newer" with Linux kernel version
6785 requirements.
6786
6787 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6788
6789 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6790
6791 [BZ #887]
6792 * math/libm-test.inc (logb_test_downward): New test to expose
6793 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6794 rounding mode.
6795
6796 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6797
6798 [BZ #14027]
6799 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6800 to be done.
6801 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6802 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6803
6804 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6805
6806 * sysdeps/unix/i386/brk.S: Remove file.
6807 * sysdeps/unix/i386/dl-brk.S: Likewise.
6808 * sysdeps/unix/i386/pipe.S: Likewise.
6809 * sysdeps/unix/i386/sigreturn.S: Likewise.
6810 * sysdeps/unix/i386/syscall.S: Likewise.
6811 * sysdeps/unix/i386/vfork.S: Likewise.
6812 * sysdeps/unix/i386/wait.S: Likewise.
6813
6814 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6815 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6816
6817 * configure.in (arm*-none*): Do not allow without
6818 --enable-hacker-mode.
6819 (netbsd*): Remove case setting base_os.
6820 (386bsd*): Likewise.
6821 (freebsd*): Likewise.
6822 (bsdi*): Likewise.
6823 (osf*): Likewise.
6824 (sunos*): Likewise.
6825 (ultrix*): Likewise.
6826 (newsos*): Likewise.
6827 (dynix*): Likewise.
6828 (*bsd*): Likewise.
6829 (sysv*): Likewise.
6830 (isc*): Likewise.
6831 (esix*): Likewise.
6832 (sco*): Likewise.
6833 (minix*): Likewise.
6834 (irix4*): Likewise.
6835 (irix6*): Likewise.
6836 (solaris[2-9]*): Likewise.
6837 (none): Likewise.
6838 * configure: Regenerated.
6839
6840 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6841
6842 [BZ #11521]
6843 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6844 overflow or cancellation in calculating denominator.
6845 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6846 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6847 down expression to avoid unexpected rounding in newer GCCs.
6848 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6849
6850 2012-04-26 David S. Miller <davem@davemloft.net>
6851
6852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6853 long-double compat symbols.
6854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6867
6868 2012-04-25 David S. Miller <davem@davemloft.net>
6869
6870 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6871 HWCAP_* values only after the memory barriers have been defined.
6872 (atomic_full_barrier): Define.
6873 (atomic_read_barrier): Define.
6874 (atomic_write_barrier): Define.
6875
6876 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6877
6878 * shlib-versions: Add libgcc_s version information.
6879 * sysdeps/generic/libgcc_s.h: Remove.
6880 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6881 libgcc_s.h.
6882 * sysdeps/gnu/unwind-resume.c: Likewise.
6883 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6884
6885 2012-04-25 David S. Miller <davem@davemloft.net>
6886
6887 * sysdeps/unix/sparc/brk.S: Delete.
6888 * sysdeps/unix/sparc/dl-brk.S: Delete.
6889 * sysdeps/unix/sparc/pipe.S: Delete.
6890 * sysdeps/unix/sparc/sysdep.S: Delete.
6891 * sysdeps/unix/sparc/sysdep.h: Delete.
6892 * sysdeps/unix/sparc/vfork.S: Delete.
6893 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6894 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6896 ret_ERRVAL, r0, r1, MOVE): Define.
6897 (JUMPTARGET): Remove.
6898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6899 sysdeps/unix/sparc/sysdep.h
6900 (ENTRY, END): Remove.
6901 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6902
6903 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6904
6905 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6906 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6907 -DIS_IN_build.
6908
6909 * timezone/README: Update upstream location and email address for
6910 tzcode and tzdata.
6911 * timezone/zdump.c: Update from tzcode 2012b.
6912 * timezone/zic.c: Likewise.
6913
6914 * configure.in (libc_cv_as_needed): Remove test.
6915 * configure: Regenerated.
6916 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6917 conditional definition.
6918 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6919 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6920 * config.make.in (have-as-needed): Remove variable.
6921
6922 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6923 Paul Pluzhnikov <ppluzhnikov@google.com>
6924
6925 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6926 strings correctly.
6927
6928 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6929
6930 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6931 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6932 * sysdeps/sh/strlen.S: Likewise.
6933
6934 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6935
6936 * sysdeps/unix/fork.S: Remove file.
6937 * sysdeps/unix/i386/fork.S: Likewise.
6938 * sysdeps/unix/sparc/fork.S: Likewise.
6939
6940 * sysdeps/unix/system.c: Remove file.
6941 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6942
6943 * sysdeps/unix/getegid.S: Remove file.
6944 * sysdeps/unix/geteuid.S: Likewise.
6945
6946 2012-04-24 Roland McGrath <roland@hack.frob.com>
6947
6948 * scripts/check-localplt.awk: New file.
6949 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6950 of diff.
6951 * scripts/data/localplt-generic.data: Add a comment.
6952
6953 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6954 NODE when __dir_mkfile failed.
6955 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6956 Reported by Ludovic Courtès <ludo@gnu.org>.
6957
6958 2012-04-24 Andreas Jaeger <aj@suse.de>
6959
6960 * Makerules (common-clean): Also remove gen-as-const-headers
6961 files.
6962
6963 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6964
6965 * Makerules (native-compile): Do not change working directory for
6966 build. Use $(OUTPUT_OPTION) in command.
6967 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6968
6969 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6970
6971 [BZ #13886]
6972 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6973 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6974 * math/libm-test.inc (floor_test): Add more tests.
6975 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6976
6977 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6978
6979 * sysdeps/unix/getdents.c: Remove file.
6980 * sysdeps/unix/sysv/getdents.c: Likewise.
6981 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6982
6983 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6984 sysdeps/unix/mman/syscalls.list.
6985 (mmap): Likewise.
6986 (mprotect): Likewise.
6987 (msync): Likewise.
6988 (munmap): Likewise.
6989 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6990 * sysdeps/unix/mman/syscalls.list: Remove.
6991 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6992
6993 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6994 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6995 * configure: Regenerated.
6996 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6997 $(libgcc_s_suffix).
6998 * config.make.in (libgcc_s_suffix): Remove variable.
6999
7000 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7001
7002 * sysdeps/unix/sysv/gethostname.c: Move to ...
7003 * sysdeps/posix/gethostname.c: ... here.
7004
7005 * sysdeps/unix/execve.S: Remove file.
7006
7007 * sysdeps/unix/_exit.S: Remove file.
7008
7009 2012-04-23 Andreas Jaeger <aj@suse.de>
7010
7011 [BZ #13739]
7012 * manual/Makefile: Remove make dist support, there's no
7013 need for a stand-alone documentation tar ball.
7014 (TEXI2DVI): Define always, it's not in Makeconfig.
7015 (dist): Removed.
7016 (tar-it): Removed.
7017 (edition): Removed.
7018 (glibc-doc-$(edition).tar): Removed
7019 (%.Z): Removed.
7020 (%.gz): Removed.
7021 (%.uu): Removed.
7022 (ETAGS): Remove, it's in Makeconfig.
7023 (move-if-change): Remove, it's in Makeconfig.
7024
7025 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7026
7027 [BZ #13970]
7028 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7029 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7030 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7031 (strtod_l, strtof_l, strtold_l): Remove __wur.
7032 It is not necessarily an error to ignore strtol's return value.
7033 One can reliably look at the stored endptr to decide whether
7034 the number had valid syntax.
7035
7036 2012-04-21 Andreas Jaeger <aj@suse.de>
7037
7038 [BZ #13739]
7039 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7040
7041 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7042
7043 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7044 * sysdeps/unix/sysv/Versions: Remove file.
7045
7046 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7047
7048 [BZ #13927]
7049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7050
7051 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7052
7053 [BZ #7064]
7054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7055 version from __vm86.
7056
7057 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7058
7059 * sysdeps/unix/common/lxstat.c: Remove file.
7060 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7061
7062 * sysdeps/unix/sysv/Makefile: Remove file.
7063
7064 * sysdeps/unix/sysv/direct.h: Remove file.
7065
7066 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7067 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7068 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7069 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7070 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7071 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7072 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7073
7074 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7075
7076 * sysdeps/unix/xmknod.c: Remove file.
7077 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7078
7079 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7080
7081 * sysdeps/unix/sysv/i386/time.S: Remove file.
7082
7083 * sysdeps/unix/fxstat.c: Remove file.
7084 * sysdeps/unix/xstat.c: Likewise.
7085 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7086
7087 * sysdeps/unix/sysv/sigaction.c: Remove file.
7088
7089 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7090 (sysdep_headers): Remove variable.
7091 [termio.h not in sysdep_headers] (generated): Likewise.
7092 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7093 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7094 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7095 * sysdeps/unix/sysv/tcflow.c: Likewise.
7096 * sysdeps/unix/sysv/tcflush.c: Likewise.
7097 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7098 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7099 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7100 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7101 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7102
7103 * sysdeps/unix/siglist.c: Remove file.
7104
7105 * sysdeps/unix/getppid.S: Remove file.
7106
7107 * sysdeps/unix/mkdir.c: Remove file.
7108 * sysdeps/unix/rmdir.c: Likewise.
7109
7110 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7111
7112 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7113 ERR_MAX value.
7114 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7115 errlist-compat value.
7116
7117 2012-04-18 David S. Miller <davem@davemloft.net>
7118
7119 * sysdeps/generic/memcopy.h (reg_char): Delete.
7120 * debug/strcat_chk.c: Use char, not reg_char.
7121 * debug/strcpy_chk.c: Likewise.
7122 * debug/strncat_chk.c: Likewise.
7123 * debug/strncpy_chk.c: Likewise.
7124 * string/memchr.c: Likewise.
7125 * string/memrchr.c: Likewise.
7126 * string/rawmemchr.c: Likewise.
7127 * string/strcat.c: Likewise.
7128 * string/strchr.c: Likewise.
7129 * string/strchrnul.c: Likewise.
7130 * string/strcmp.c: Likewise.
7131 * string/strcpy.c: Likewise.
7132 * string/strncat.c: Likewise.
7133 * string/strncmp.c: Likewise.
7134 * string/strncpy.c: Likewise.
7135
7136 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7137
7138 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7139 __builtin_memcopy is called when src and dest ranges are known to not
7140 overlap.
7141
7142 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7143
7144 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7145 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7146 fwd_align_merge macro call.
7147 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7148 bwd_align_merge macro call.
7149 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7150
7151 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7152
7153 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7154 bwd_align_merge macros.
7155 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7156 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7157 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7158
7159 2012-04-18 David S. Miller <davem@davemloft.net>
7160
7161 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7162
7163 2012-04-18 Andreas Jaeger <aj@suse.de>
7164
7165 [BZ# 6794]
7166 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7167 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7168 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7169
7170 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7171 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7172 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7173
7174 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7175 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7176 Adjust for changed ldbl-128 files.
7177
7178 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7179 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7180 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7181
7182 2012-04-17 David S. Miller <davem@davemloft.net>
7183
7184 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7185
7186 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7187
7188 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7189 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7190 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7191 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7192 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7193 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7194
7195 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7196
7197 [BZ #6794]
7198 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7199 * math/libm-test.inc: Add ilogb errno and exception tests.
7200 * math/w_ilogb.c: New file: ilogb wrapper.
7201 * math/w_ilogbf.c: New file: ilogbf wrapper.
7202 * math/w_ilogbl.c: New file: ilogbl wrapper.
7203 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7204 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7205 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7206 exception being thrown with 0.0 as argument.
7207 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7208 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7209 exception being thrown with 0.0 as argument.
7210 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7211 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7212 exception being thrown with 0.0 as argument.
7213 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7214 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7215 exception being thrown with 0.0 as argument.
7216 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7217 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7218 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7219 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7221 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7222 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7223 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7224 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7225
7226 2012-04-17 Petr Baudis <pasky@ucw.cz>
7227
7228 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7229 with altivec.
7230
7231 2012-04-16 Marek Polacek <polacek@redhat.com>
7232
7233 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7234
7235 2012-04-16 Marek Polacek <polacek@redhat.com>
7236
7237 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7238 operands of fdivp instruction.
7239
7240 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7241
7242 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7243 * elf/tst-auditmod3b.c: Likewise.
7244 * elf/tst-auditmod4b.c: Likewise.
7245 * elf/tst-auditmod5b.c: Likewise.
7246 * elf/tst-auditmod6b.c: Likewise.
7247 * elf/tst-auditmod6c.c: Likewise.
7248 * elf/tst-auditmod7b.c: Likewise.
7249 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7250 * sysdeps/x86_64/preconfigure.in: Likewise.
7251 * sysdeps/x86_64/preconfigure: Regenerated.
7252
7253 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7254
7255 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7256 __ILP32__.
7257
7258 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7259
7260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7261 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7262
7263 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7264
7265 [BZ #13973]
7266 * locale/iso-639.def: Fix gl language name. Spotted by
7267 Yaron Shahrabani.
7268
7269 2012-04-12 Roland McGrath <roland@hack.frob.com>
7270
7271 [BZ #2074]
7272 * libio/libio.h (__io_write_fn): Update comment.
7273
7274 2012-04-12 Petr Baudis <pasky@ucw.cz>
7275
7276 [BZ #2074]
7277 * stdio.texi (Hook Functions): The user provided writer function
7278 is not allowed to return -1.
7279
7280 2012-04-11 David S. Miller <davem@davemloft.net>
7281
7282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7283
7284 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7285
7286 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7287 Add a leading slash to rtkaio.
7288
7289 2012-04-11 Jim Meyering <meyering@redhat.com>
7290
7291 [BZ #11959]
7292 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7293 It is not necessarily an error to ignore fwrite's return
7294 value. One can reliably use ferror to test for errors after
7295 the fact.
7296
7297 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7298
7299 * bits/types.h (__snseconds_t): New type.
7300 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7301
7302 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7304 (__SNSECONDS_T_TYPE): Likewise.
7305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7306 (__SNSECONDS_T_TYPE): Likewise.
7307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7308 (__SNSECONDS_T_TYPE): Likewise.
7309
7310 2012-04-10 Andreas Jaeger <aj@suse.de>
7311
7312 [BZ #2636]
7313 * manual/time.texi (Processor Time): Return type of times is
7314 elapsed real time since an arbitrary point in the past.
7315 (CPU Time): Move CLK_TCK from here...
7316 (Processor Time): ...to here. Correct description.
7317 * manual/conf.texi (Constants for Sysconf): Correct description of
7318 _SC_CLK_TCK.
7319
7320 2012-04-10 David S. Miller <davem@davemloft.net>
7321
7322 [BZ #13967]
7323 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7324 where the is a gap between DT_REL(A) and DT_JMPREL.
7325
7326 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7327
7328 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7329 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7330 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7331
7332 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7333
7334 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7335 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7336 (dl_main): Handle --inhibit-cache.
7337 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7338 _dl_inhibit_cache.
7339 * elf/dl-load.c (_dl_map_object): Use it.
7340 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7341
7342 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7343
7344 [BZ #13872]
7345 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7346 (__ieee754_powl): Saturate large exponents rather than testing for
7347 overflow of y*log2(x).
7348 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7349 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7350 exceptions.
7351
7352 [BZ #11521]
7353 * math/s_ctan.c: Include <float.h>.
7354 (__ctan): Avoid internal overflow or cancellation in calculating
7355 denominator.
7356 * math/s_ctanf.c: Likewise.
7357 * math/s_ctanl.c: Likewise.
7358 * math/s_ctanh.c: Likewise.
7359 * math/s_ctanhf.c: Likewise.
7360 * math/s_ctanhl.c: Likewise.
7361 * math/libm-test.inc (ctan_test): Add more tests.
7362 (ctanh_test): Likewise.
7363 * sysdeps/i386/fpu/libm-test-ulps: Update.
7364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7365
7366 2012-04-09 Andreas Jaeger <aj@suse.de>
7367
7368 [BZ #6894]
7369 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7370 is an optional BSD extension.
7371
7372 [BZ #10254]
7373 * manual/stdio.texi (Opening Streams): Document additional fopen
7374 parameters.
7375
7376 2012-04-09 Roland McGrath <roland@hack.frob.com>
7377
7378 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7379 %eax without telling the compiler.
7380
7381 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7382
7383 [BZ # 13963]
7384 * manual/install.texi: Use sourceware.org.
7385
7386 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7387
7388 [BZ #13873]
7389 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7390 (__ieee754_pow): Generate overflow and underflow using huge*huge
7391 and tiny*tiny rather than just returning constant infinity or zero
7392 for large exponents.
7393 * math/libm-test.inc (pow_test): Require overflow exceptions for
7394 applicable cases of large exponents.
7395
7396 [BZ #706]
7397 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7398 (__ieee754_pow): Use iterative multiplication algorithm only for
7399 integer exponents with absolute value below 1024. Check for odd
7400 integer exponents when using algorithm for real exponents.
7401 * math/libm-test.inc (pow_test): Add more tests.
7402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7403
7404 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7405
7406 [BZ #13705]
7407 * math/libm-test.inc (exp_test): Do not allow overflow exception
7408 on underflow test.
7409
7410 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7411
7412 [BZ #13705]
7413 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7414 instead of __kernel_standard_f.
7415
7416 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7417
7418 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7419 * sysdeps/x86_64/memset_chk.S: Likewise.
7420
7421 2012-04-08 Andreas Jaeger <aj@suse.de>
7422
7423 [BZ #10153]
7424 * manual/startup.texi (Environment Access): Describe return value
7425 for putenv and setenv.
7426
7427 [BZ #6895]
7428 * manual/filesys.texi (Directory Entries): Add description for
7429 DT_LNK.
7430
7431 [BZ #6890]
7432 * manual/filesys.texi (Directory Entries): Clarify that it's file
7433 system not operating system in the description of DT_UNKNOWN.
7434
7435 [BZ #6578]
7436 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7437
7438 2012-04-08 Stephen Compall <s11@member.fsf.org>
7439
7440 [BZ #6649]
7441 * manual/llio.texi (Opening and Closing Files): Add cross
7442 reference to explain mode argument.
7443
7444 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7445
7446 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7447 * sysdeps/x86_64/memset_chk.S: Likewise.
7448
7449 2012-04-07 David S. Miller <davem@davemloft.net>
7450
7451 * elf/elf.h (R_SPARC_WDISP10): Define.
7452 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7453 R_SPARC_SIZE32.
7454 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7455 R_SPARC_SIZE64 and R_SPARC_H34.
7456
7457 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7458
7459 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7460 conditions and remove no longer applicable assertion.
7461
7462 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7463
7464 * bits/byteswap.h: Include <features.h>.
7465 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7466 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7467
7468 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7469
7470 * bits/byteswap.h (__bswap_16): Removed.
7471 Include <bits/byteswap-16.h> to get __bswap_16.
7472 * sysdeps/i386/bits/byteswap.h: Likewise.
7473 * sysdeps/s390/bits/byteswap.h: Likewise.
7474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7475 * bits/byteswap-16.h: New file.
7476 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7477 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7478 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7479 * string/Makefile (headers): Add bits/byteswap-16.h.
7480
7481 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7482
7483 [BZ #13895]
7484 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7485 extra indirection.
7486 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7487 * nss/tst-nss-static.c: New.
7488
7489 2012-04-06 Robert Millan <rmh@gnu.org>
7490
7491 [BZ #6486]
7492 * manual/llio.texi (File Position Primitive): lseek
7493 refers to WHENCE when it really means OFFSET.
7494
7495 2012-04-06 Andreas Jaeger <aj@suse.de>
7496
7497 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7498 strncmp declarations.
7499
7500 * abilist/libc.abilist: Add __poll and __ppoll.
7501
7502 2012-04-05 David S. Miller <davem@davemloft.net>
7503
7504 * scripts/check-local-headers.sh: Accept a host triplet in the
7505 path matched by the exclude regexp.
7506
7507 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7508 definition.
7509 * sysdeps/powerpc/powerpc32/dl-machine.h
7510 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7511 * sysdeps/s390/s390-32/dl-machine.h
7512 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7513 * sysdeps/sparc/sparc32/dl-machine.h
7514 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7515 * sysdeps/sparc/sparc64/dl-machine.h
7516 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7517
7518 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7519 lazy binding.
7520 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7521 undefined symbol errors.
7522
7523 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7524 DT_NEEDED entries.
7525
7526 2012-04-05 Michael Matz <matz@suse.de>
7527
7528 [BZ #13592]
7529 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7530
7531 2012-04-05 Andreas Jaeger <aj@suse.de>
7532
7533 [BZ #13908]
7534 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7535 comment.
7536
7537 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7538
7539 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7540 which ROUND is no valid rounding mode.
7541
7542 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7543
7544 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7545 read again.
7546 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7547
7548 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7549
7550 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7551 an exception using FPU order intentionally.
7552
7553 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7554
7555 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7556 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7557 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7558 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7559
7560 2012-04-05 Simon Josefsson <simon@josefsson.org>
7561
7562 [BZ #12340]
7563 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7564 EINVAL when BUFLEN is too smal.
7565
7566 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7567
7568 [BZ #13553]
7569 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7570 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7571
7572 2012-04-03 Andreas Jaeger <aj@suse.de>
7573
7574 [BZ #13938]
7575 * manual/setjmp.texi (System V contexts): Fix sentence.
7576
7577 [BZ #13926]
7578 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7579 New macro for this case.
7580 [!__GNUC__] (__bswap_64): New inline function for this case.
7581 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7582 * bits/byteswap.h: Likewise.
7583 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7584 ull, guard with __GLIBC_HAVE_LONG_LONG.
7585
7586 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7587 __GLIBC_HAVE_LONG_LONG.
7588
7589 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7590 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7591
7592 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7593
7594 [BZ #13691]
7595 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7596 inptr and inend, rather than using last_ch.
7597
7598 2012-04-02 David S. Miller <davem@davemloft.net>
7599
7600 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7601 * stdio-common/printf-parse.h (read_int): Change return type to
7602 'int', return -1 on INT_MAX overflow.
7603 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7604 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7605 overflows INT_MAX. Check for overflow of in-format-string precision
7606 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7607 SIZE_MAX not INT_MAX for integer overflow test.
7608 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7609 skip the construct in the format string but do not record anything.
7610 * stdio-common/bug22.c: Adjust to test both width/prevision
7611 INT_MAX overflow as well as total length INT_MAX overflow. Check
7612 explicitly for proper errno values.
7613
7614 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7615
7616 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7617 CHAR_MAX.
7618 * string/test-strcmp.c [! WIDE]: Likewise.
7619 * time/tst-mktime2.c: Likewise for INT_MAX.
7620 * string/test-string.h: #include <sys/param.h> for MIN.
7621
7622 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7623 * sysdeps/i386/init-first.c (init): Likewise.
7624 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7625 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7626 * sysdeps/sh/init-first.c (init): Likewise.
7627
7628 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7629
7630 * po/ru.po: Update from translation team.
7631 * po/vi.po: Likewise.
7632
7633 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7634
7635 * resolv/nss_dns/dns-host.c: Merge copyright years.
7636
7637 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7638
7639 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7640 Optimize memcpy with prefetch if
7641 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7642 src, dst pointers have unequal 16 byte alignments.
7643
7644 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7645
7646 [BZ #13928]
7647 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7648 from a CNAME entry and return the minimum ttl for the query.
7649 (gaih_getanswer_slice): Likewise.
7650
7651 2012-03-30 Jeff Law <law@redhat.com>
7652
7653 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7654 due to long keys.
7655 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7656 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7657
7658 * resolv/nss_dns/dns-host.c: Update copyright year.
7659
7660 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7661
7662 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7663 requests to save a system call. Fix check that all bytes are sent.
7664
7665 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7666 comments for sendmmsg.
7667
7668 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7669
7670 [BZ #13691]
7671 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7672 with only 1 character between 0x0041 and 0x01b0.
7673 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7674 * wcsmbs/tst-mbsnrtowcs.c: New file.
7675
7676 2012-03-29 David S. Miller <davem@davemloft.net>
7677
7678 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7679 small copies by hand.
7680
7681 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7682
7683 [BZ #13761]
7684 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7685 _nss_compat_initgroups_dyn): Fall back to malloc/free
7686 for large group memberships.
7687
7688 2012-03-28 David S. Miller <davem@davemloft.net>
7689
7690 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7691 that branches into memcpy.
7692 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7695 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7696 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7697 bits.
7698 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7699 implementation too.
7700 * sysdeps/sparc/mempcpy.S: New file.
7701
7702 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7703 the IFUNC routine in the libc case.
7704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7705
7706 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7707 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7708 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7709 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7710 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7711 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7712 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7713 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7714
7715 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7716 loop to 256 bytes instead of 64 bytes and fix test signedness.
7717
7718 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7719 * sysdeps/sparc/sparc32/Makefile: rather than here...
7720 * sysdeps/sparc/sparc64/Makefile: and here.
7721
7722 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7723
7724 * malloc/mallocbug.c: Avoid warnings about unused variables.
7725
7726 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7727
7728 [BZ #13760]
7729 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7730 in the right place. Discard and retry query if response is
7731 larger than input buffer size.
7732
7733 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7734
7735 [BZ #369]
7736 [BZ #2678]
7737 [BZ #3866]
7738 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7739 x for large integer exponent.
7740 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7741 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7742 sign of result as needed afterwards.
7743 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7744 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7745 result for underflowing pow the same as for overflow.
7746 (__kernel_standard_l): Handle powl overflow and underflow here
7747 rather than calling __kernel_standard.
7748 * math/libm-test.inc (pow_test): Add more tests.
7749
7750 [BZ #3868]
7751 [BZ #13879]
7752 [BZ #13910]
7753 [BZ #13911]
7754 [BZ #13912]
7755 [BZ #13913]
7756 [BZ #13915]
7757 [BZ #13916]
7758 [BZ #13917]
7759 [BZ #13918]
7760 [BZ #13919]
7761 [BZ #13920]
7762 [BZ #13921]
7763 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7764 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7765 (__kernel_standard_l): New function.
7766 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7767 __kernel_standard.
7768 * math/w_acosl.c (__acosl): Likewise.
7769 * math/w_asinl.c (__asinl): Likewise.
7770 * math/w_atan2l.c (__atan2l): Likewise.
7771 * math/w_atanhl.c (__atanhl): Likewise.
7772 * math/w_coshl.c (__coshl): Likewise.
7773 * math/w_exp10l.c (__exp10l): Likewise.
7774 * math/w_exp2l.c (__exp2l): Likewise.
7775 * math/w_fmodl.c (__fmodl): Likewise.
7776 * math/w_hypotl.c (__hypotl): Likewise.
7777 * math/w_j0l.c (__j0l, __y0l): Likewise.
7778 * math/w_j1l.c (__j1l, __y1l): Likewise.
7779 * math/w_jnl.c (__jnl, __ynl): Likewise.
7780 * math/w_lgammal.c (__lgammal): Likewise.
7781 * math/w_log10l.c (__log10l): Likewise.
7782 * math/w_log2l.c (__log2l): Likewise.
7783 * math/w_logl.c (__logl): Likewise.
7784 * math/w_powl.c (__powl): Likewise.
7785 * math/w_remainderl.c (__remainderl): Likewise.
7786 * math/w_scalbl.c (sysv_scalbl): Likewise.
7787 * math/w_sinhl.c (__sinhl): Likewise.
7788 * math/w_sqrtl.c (__sqrtl): Likewise.
7789 * math/w_tgammal.c (__tgammal): Likewise.
7790 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7791 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7792 * math/libm-test.inc (acos_test): Add more tests.
7793 (acosh_test): Likewise.
7794 (asin_test): Likewise.
7795 (atanh_test): Likewise.
7796 (exp_test): Likewise.
7797 (exp10_test): Likewise.
7798 (exp2_test): Likewise.
7799 (expm1_test): Likewise.
7800 (lgamma_test): Likewise.
7801 (log_test): Likewise.
7802 (log10_test): Likewise.
7803 (log1p_test): Likewise.
7804 (log2_test): Likewise.
7805 (pow_test): Do not allow some spurious overflow exceptions.
7806 (sqrt_test): Add more tests.
7807 (tgamma_test): Likewise.
7808 (y0_test): Likewise.
7809 (y1_test): Likewise.
7810 (yn_test): Likewise.
7811
7812 2012-03-27 Anton Blanchard <anton@samba.org>
7813
7814 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7815 MAP_HUGETLB.
7816 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7817 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7818 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7819
7820 2012-03-27 David S. Miller <davem@davemloft.net>
7821
7822 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7823
7824 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7825 have-as-vis3 check.
7826
7827 2012-03-27 Andreas Jaeger <aj@suse.de>
7828
7829 * sysdeps/x86_64/elf/configure.in: Moved to ...
7830 * sysdeps/x86_64/configure.in: ... here.
7831 * sysdeps/x86_64/elf/start.S: Moved to ...
7832 * sysdeps/x86_64/start.S: ... here.
7833 * sysdeps/x86_64/elf/configure: Delete.
7834
7835 * sysdeps/x86_64/configure.in: Merge contents from
7836 sysdeps/i386/configure.in (without i686 check).
7837
7838 * sysdeps/i386/elf/Versions: Merge into ...
7839 * sysdeps/i386/Versions: ... this.
7840 * sysdeps/i386/elf/Versions: Delete file.
7841 * sysdeps/i386/elf/start.S: Moved to ...
7842 * sysdeps/i386/start.S: ...here.
7843 * sysdeps/i386/elf/configure.in: Merge into...
7844 * sysdeps/i386/configure.in: ...here.
7845 * sysdeps/i386/elf/configure.in: Delete file.
7846 * sysdeps/i386/elf/configure: Delete file.
7847
7848 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7849 * debug/backtracesyms.c: ... here.
7850 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7851 * debug/backtracesymsfd.c: ... here.
7852 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7853 * sysdeps/generic/ifunc-sel.h: ... here.
7854
7855 * sysdeps/unix/i386/start.c: Delete file.
7856 * sysdeps/unix/sparc/start.c: Delete file.
7857 * sysdeps/unix/start.c: Delete file.
7858
7859 * sysdeps/sh/elf/configure.in: Moved to ...
7860 * sysdeps/sh/configure.in: ... here.
7861 * sysdeps/sh/elf/start.S: Moved to ...
7862 * sysdeps/sh/start.S: ... here.
7863 * sysdeps/sh/elf/configure: Delete file.
7864
7865 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7866 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7867 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7868 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7869 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7870 * sysdeps/powerpc/powerpc64/start.S: here.
7871 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7872 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7873 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7874 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7875 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7876
7877 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7878 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7879 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7880 * sysdeps/powerpc/powerpc32/start.S: ... here.
7881 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7882 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7883 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7884
7885 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7886 * sysdeps/powerpc/ifunc-sel.h: ... here.
7887 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7888 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7889
7890 * sysdeps/sparc/elf/configure.in: Moved to ...
7891 * sysdeps/sparc/configure.in: ... here.
7892 * sysdeps/sparc/elf/configure: Delete file.
7893 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7894 * sysdeps/sparc/sparc32/start.S: ... here.
7895 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7896 * sysdeps/sparc/sparc64/start.S: ... here.
7897 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7898 * sysdeps/sparc/sparc32/Makefile: ... this.
7899 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7900 * sysdeps/sparc/sparc64/Makefile: ... this.
7901
7902 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7903 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7904 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7905 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7906 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7907 * sysdeps/s390/s390-32/setjmp.S: ... here.
7908 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7909 * sysdeps/s390/s390-32/configure.in: ... here.
7910 * sysdeps/s390/s390-32/elf/configure: Delete file.
7911 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7912 * sysdeps/s390/s390-32/start.S: ... here.
7913
7914 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7915 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7916 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7917 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7918 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7919 * sysdeps/s390/s390-64/setjmp.S: ... here.
7920 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7921 * sysdeps/s390/s390-64/configure.in: ... here
7922 * sysdeps/s390/s390-64/elf/configure: Delete file.
7923 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7924 * sysdeps/s390/s390-64/start.S: ... here.
7925 * sysdeps/s390/s390-64/elf/configure: Delete.
7926
7927 * configure.in: Remove support for elf directories in sysdeps.
7928
7929 * configure: Regenerated.
7930 * sysdeps/i386/configure: Regenerated.
7931 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7932 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7933 * sysdeps/s390/s390-32/configure: Regenerated.
7934 * sysdeps/s390/s390-64/configure: Regenerated.
7935 * sysdeps/sh/configure: Regenerated.
7936 * sysdeps/sparc/configure: Regenerated.
7937 * sysdeps/x86_64/configure: Regenerated.
7938
7939 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7940
7941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7942
7943 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7944 denormal result into account.
7945
7946 2012-03-25 Roland McGrath <roland@hack.frob.com>
7947
7948 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7949 Reported by Allan McRae <allan@archlinux.org>.
7950
7951 2012-03-23 Jeff Law <law@redhat.com>
7952
7953 * nss/getnssent.c (__nss_getent): Fix typo.
7954
7955 2012-03-23 David S. Miller <davem@davemloft.net>
7956
7957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7958
7959 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7960
7961 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7962 to pad to uint64_t for each field.
7963 (dl_tls_index): Replace unsigned long with uint64_t.
7964
7965 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7966 Paul Pluzhnikov <ppluzhnikov@google.com>
7967
7968 [BZ #6528]
7969 * grp/Makefile (otherlibs): Don't set it.
7970 * inet/Makefile (otherlibs): Likewise.
7971 * login/Makefile (otherlibs): Likewise.
7972 * nscd/Makefile (otherlibs): Likewise.
7973 * posix/Makefile (otherlibs): Likewise.
7974 * pwd/Makefile (otherlibs): Likewise.
7975 * rt/Makefile (otherlibs): Likewise.
7976 * sunrpc/Makefile (otherlibs): Likewise.
7977 * nss/Makefile (otherlibs): Likewise.
7978 Add libnss_files to routines and static-only-routines.
7979 ($(objpfx)getent): Remove rule.
7980 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7981 static-only-routines.
7982
7983 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7984
7985 [BZ #13892]
7986 * math/s_cexp.c: Include <float.h>.
7987 (__cexp): Handle exp result overflowing not necessarily
7988 overflowing both real and imaginary parts of result.
7989 * math/s_cexpf.c: Likewise.
7990 * math/s_cexpl.c: Likewise.
7991 * math/libm-test.inc (cexp_test): Add more tests.
7992 * sysdeps/i386/fpu/libm-test-ulps: Update.
7993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7994
7995 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7996
7997 * include/link.h (ELFW): New macro.
7998 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7999 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8000
8001 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8002
8003 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8004 with uint64_t.
8005
8006 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8007
8008 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8009 declaration.
8010 (struct La_x32_retval): Likewise.
8011
8012 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 * sysdeps/x86_64/preconfigure.in: New file.
8015 * sysdeps/x86_64/preconfigure: New generated file.
8016
8017 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8018
8019 [BZ #13824]
8020 * math/e_exp2l.c: Include <float.h>.
8021 (__ieee754_exp2l): Handle overflow and underflow cases
8022 separately. Only pass fractional part of argument to
8023 __ieee754_expl.
8024 * math/libm-test.inc (exp2_test): Add more tests.
8025
8026 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8027 negating x to take absolute value.
8028 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8029 Likewise.
8030 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8031 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8032 Likewise.
8033 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8034 computing low part if x was negated.
8035 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8036
8037 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8038
8039 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8040 la_x32_gnu_pltexit.
8041 (pltexit): Cast int_retval to ptrdiff_t.
8042 * elf/tst-auditmod3b.c: Likewise.
8043 * elf/tst-auditmod4b.c: Likewise.
8044 * elf/tst-auditmod5b.c: Likewise.
8045 * elf/tst-auditmod6b.c: Likewise.
8046 * elf/tst-auditmod6c.c: Likewise.
8047 * elf/tst-auditmod7b.c: Likewise.
8048
8049 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8050 and x32_gnu_pltexit.
8051
8052 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8053 __ELF_NATIVE_CLASS.
8054 (La_x32_regs): New macro.
8055 (La_x32_retval): Likewise.
8056 (la_x32_gnu_pltenter): New function prototype.
8057 (la_x32_gnu_pltexit): Likewise.
8058
8059 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8060
8061 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8062 exponent.
8063
8064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8065
8066 * configure.in (libc_cv_cc_nofma): Check for option to disable
8067 generation of FMA instructions.
8068 * configure: Regenerate.
8069 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8070 * sysdeps/ieee754/dbl-64/Makefile: New file.
8071 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8072 Remove brandred-fma4.
8073 (CFLAGS-brandred-fma4.c): Remove.
8074 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8075 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8076 define.
8077 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8078 define.
8079
8080 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8081
8082 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8083 LLONG_MAX != LONG_MAX.
8084 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8085 (_fitoa_word): Likewise.
8086 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8087 LLONG_MAX != LONG_MAX.
8088 * stdio-common/_itowa.h: Include <_itoa.h>.
8089 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8090 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8091 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8092 only if not defined.
8093 (_ITOA_WORD_TYPE): Likewise.
8094 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8095 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8096
8097 2012-03-21 David S. Miller <davem@davemloft.net>
8098
8099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8100
8101 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8102
8103 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8104 of x86_64 when setting libc_cv_slibdir, libdir and
8105 libc_cv_localedir.
8106 * sysdeps/unix/sysv/linux/configure: Regenerated.
8107
8108 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8109
8110 * manual/lang.texi (Old Varargs): Remove section.
8111 (How Variadic): Update menu.
8112 (va_start): Do not mention varargs.h.
8113
8114 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8115 Joseph Myers <joseph@codesourcery.com>
8116
8117 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8118 link test.
8119 * configure: Regenerated.
8120
8121 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8122
8123 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8124 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8125 conformtest.pl
8126
8127 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8128
8129 * NOTES: Remove.
8130 * Makefile (files-for-dist): Remove NOTES.
8131 (NOTES): Remove rule.
8132 * README: Don't refer to NOTES.
8133 * manual/creature.texi: Don't include macros.texi.
8134 * manual/intro.texi (creature.texi): Remove comment referring to
8135 NOTES.
8136
8137 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8138 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8139 * configure: Regenerated.
8140 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8141 LIBC_TRY_CC_OPTION.
8142 (libc_cv_as_i686): Likewise.
8143 (libc_cv_cc_avx): Likewise.
8144 (libc_cv_cc_sse2avx): Likewise.
8145 (libc_cv_cc_fma4): Likewise.
8146 (libc_cv_cc_novzeroupper): Likewise.
8147 * sysdeps/i386/configure: Regenerated.
8148
8149 [BZ #13883]
8150 * sysdeps/i386/fpu/s_cexp.S: Remove.
8151 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8152 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8153 * math/libm-test.inc (cexp_test): Add more tests.
8154 * sysdeps/i386/fpu/libm-test-ulps: Update.
8155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8156
8157 2012-03-21 Allan McRae <allan@archlinux.org>
8158
8159 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8160
8161 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8162
8163 [BZ #13871]
8164 * math/w_exp2.c: Do not include <float.h>.
8165 (o_threshold, u_threshold): Remove.
8166 (__exp2): Calculate result before checking finiteness and calling
8167 __kernel_standard.
8168 * math/w_exp2f.c: Likewise.
8169 * math/w_exp2l.c: Likewise.
8170 * math/libm-test.inc (exp2_test): Require overflow exception for
8171 1e6 input.
8172
8173 [BZ #3866]
8174 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8175 range of signed 64-bit integers before using fistpll. Remove
8176 checks for whether integers fit in mantissa bits.
8177 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8178 the range of signed 32-bit integers before using fistpl. Remove
8179 checks for whether integers fit in mantissa bits.
8180 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8181 (__ieee754_powl): Test for y outside the range of signed 64-bit
8182 integers before using fistpll. Reduce 64-bit values to 63-bit
8183 ones as needed.
8184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8185 divide-by-zero is raised for zero to large negative powers.
8186 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8187 (__ieee754_powl): Test for y outside the range of signed 64-bit
8188 integers before using fistpll. Reduce 64-bit values to 63-bit
8189 ones as needed.
8190 * math/libm-test.inc (pow_test): Add more tests.
8191
8192 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8193
8194 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8195 <stdio-common/_itoa.h>.
8196 * debug/segfault.c: Likewise.
8197 * elf/dl-cache.c: Likewise.
8198 * elf/dl-minimal.c: Likewise.
8199 * elf/dl-misc.c: Likewise.
8200 * elf/dl-sysdep.c: Likewise.
8201 * elf/dl-version.c: Likewise.
8202 * elf/rtld.c: Likewise.
8203 * hurd/hurdsock.c: Likewise.
8204 * hurd/lookup-retry.c: Likewise.
8205 * malloc/malloc.c: Likewise.
8206 * malloc/mtrace.c: Likewise.
8207 * nscd/nscd_getgr_r.c: Likewise.
8208 * nscd/nscd_getpw_r.c: Likewise.
8209 * nscd/nscd_getserv_r.c: Likewise.
8210 * posix/getopt_init.c: Likewise.
8211 * posix/wordexp.c: Likewise.
8212 * stdio-common/_itoa.c: Likewise.
8213 * stdio-common/printf_fphex.c: Likewise.
8214 * stdio-common/vfprintf.c: Likewise.
8215 * string/_strerror.c: Likewise.
8216 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8217 * sysdeps/i386/i686/hp-timing.h: Likewise.
8218 * sysdeps/mach/_strerror.c: Likewise.
8219 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8220 * sysdeps/mach/hurd/sethostid.c: Likewise.
8221 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8222 * sysdeps/mach/xpg-strerror.c: Likewise.
8223 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8224 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8225 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8226 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8227 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8228 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8229 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8230 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8231 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8232 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8233 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8234 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8235 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8236 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8237 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8238 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8239 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8240 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8241 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8242 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8243 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8244
8245 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8246
8247 * stdio-common/_itoa.h: Moved to ...
8248 * sysdeps/generic/_itoa.h: Here.
8249
8250 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8251
8252 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8253 instead of "_itoa.h" and "_itowa.h".
8254 * stdio-common/vfprintf.: Likewise.
8255
8256 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8257
8258 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8259 <bits/wordsize.h>.
8260 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8261 (__signbit): Likwise.
8262 (llrintf): Likwise.
8263 (llrint): Likwise.
8264
8265 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8266
8267 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8268 __WORDSIZE != 64.
8269
8270 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8271
8272 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8273 OVERFLOW_EXCEPTION_OK.
8274 * math/libm-test.inc ("Philosophy"): Update comment about
8275 exception testing.
8276 (OVERFLOW_EXCEPTION): Define.
8277 (OVERFLOW_EXCEPTION_OK): Likewise.
8278 (INVALID_EXCEPTION_OK): Renumber.
8279 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8280 (IGNORE_ZERO_INF_SIGN): Likewise.
8281 (test_exceptions): Handle FE_OVERFLOW.
8282 (exp10_test): Expect overflow exceptions.
8283 (exp2_test): Likewise.
8284 (expm1_test): Likewise.
8285 (nextafter_test): Likewise.
8286 (pow_test): Likewise.
8287 (scalbn_test): Likewise.
8288 (scalbln_test): Likewise.
8289
8290 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8291
8292 * sysdeps/x86_64/bits/atomic.h
8293 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8294 64bit integer.
8295 (atomic_exchange_acq): Likewise.
8296 (__arch_exchange_and_add_body): Likewise.
8297 (__arch_add_body): Likewise.
8298 (atomic_add_negative): Likewise.
8299 (atomic_add_zero): Likewise.
8300
8301 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8302
8303 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8304 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8305
8306 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8307
8308 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8309 Check __x86_64__ instead of __WORDSIZE.
8310
8311 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8312
8313 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8314
8315 2012-03-19 David S. Miller <davem@davemloft.net>
8316
8317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8318
8319 * sysdeps/sparc/fpu/fenv_private.h: New file.
8320 * sysdeps/sparc/fpu/math_private.h: Use it.
8321 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8322 Remove.
8323 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8324 (libc_feholdexcept_setroundl): Remove.
8325 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8326 Remove.
8327 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8328 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8329
8330 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8331
8332 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8333 int64_t instead of long int.
8334 (INSERT_WORDS64): Likwise.
8335
8336 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8337
8338 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8339 _Unwind_GetCFA return to _Unwind_Ptr first.
8340
8341 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8342
8343 [BZ #13629]
8344 * math/s_clog.c: Include <float.h>.
8345 (__clog): Scale large or subnormal inputs.
8346 * math/s_clogf.c: Likewise.
8347 * math/s_clogl.c: Likewise.
8348 * math/s_clog10.c: Include <float.h>.
8349 (M_LOG10_2): Define.
8350 (__clog10): Scale large or subnormal inputs.
8351 * math/s_clog10f.c: Likewise.
8352 * math/s_clog10l.c: Likewise.
8353 * math/libm-test.inc (clog_test): Add more tests.
8354 (clog10_test): Likewise.
8355 * sysdeps/i386/fpu/libm-test-ulps: Update.
8356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8357
8358 [BZ #11451]
8359 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8360 x and y.
8361 * math/libm-test.inc (atan2_test): Add another test.
8362
8363 * Makerules (common-objdir-compile): Remove.
8364 * sysdeps/unix/Makefile (config-generated): Do not add
8365 $(unix-generated) to variable.
8366 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8367 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8368 Remove rule.
8369 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8370 Likewise.
8371 [generic bits/local_lim.h] (before-compile): Do not append to
8372 variable.
8373 [generic bits/local_lim.h] (common-generated): Likewise.
8374 [generic sys/param.h] (before-compile): Do not append to variable.
8375 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8376 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8377 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8378 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8379 include.
8380 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8381 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8382 [generic sys/param.h] ($(addprefix
8383 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8384 [generic sys/param.h] (common-generated): Do not append to
8385 variable.
8386 [generic sys/param.h] (sysdep_headers): Likewise.
8387 [generic bits/errno.h] (before-compile): Do not append to
8388 variable.
8389 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8390 rule.
8391 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8392 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8393 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8394 [generic bits/errno.h] (common-generated): Do not append to
8395 variable.
8396 [generic bits/ioctls.h] (before-compile): Do not append to
8397 variable.
8398 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8399 rule.
8400 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8401 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8402 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8403 rule.
8404 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8405 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8406 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8407 [generic bits/ioctls.h] (common-generated): Do not append to
8408 variable.
8409 [generic sys/syscall.h] (syscall.h): Remove variable.
8410 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8411 rule.
8412 [generic sys/syscall.h] (before-compile): Do not append to
8413 variable.
8414 [generic sys/syscall.h] (common-generated): Likewise.
8415 * sysdeps/unix/errnos-tmpl.c: Remove file.
8416 * sysdeps/unix/errnos.awk: Likewise.
8417 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8418 * sysdeps/unix/ioctls.awk: Likewise.
8419 * sysdeps/unix/mk-local_lim.c: Likewise.
8420 * sysdeps/unix/snarf-ioctls: Likewise.
8421
8422 2012-03-19 Richard Henderson <rth@twiddle.net>
8423
8424 * sysdeps/i386/fpu/fenv_private.h: New file.
8425 * sysdeps/i386/fpu/math_private.h: Use it.
8426 (math_opt_barrier, math_force_eval): Remove.
8427 (libc_feholdexcept_setround_53bit): Remove.
8428 (libc_feupdateenv_53bit): Remove.
8429 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8430 (math_opt_barrier, math_force_eval): Remove.
8431 (libc_feholdexcept): Remove.
8432 (libc_feholdexcept_setround): Remove.
8433 (libc_fetestexcept, libc_fesetenv): Remove.
8434 (libc_feupdateenv_test): Remove.
8435 (libc_feupdateenv, libc_feholdsetround): Remove.
8436 (libc_feresetround): Remove.
8437
8438 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8439 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8440
8441 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8442 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8443 (libc_feupdateenv_testl): New.
8444 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8445 (libc_feupdateenv_testf): New.
8446 (libc_feupdateenv): Use libc_feupdateenv_test.
8447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8448 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8449
8450 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8451 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8452 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8453 (libc_feresetround_noex): New.
8454 (libc_feresetround_noexf): New.
8455 (libc_feresetround_noexl): New.
8456 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8457 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8458 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8459 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8460 SET_RESTORE_ROUND.
8461 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8463 (__cos): Likewise.
8464 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8465 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8466 SET_RESTORE_ROUND_NOEX.
8467 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8468 SET_RESTORE_ROUND_NOEXF.
8469 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8470 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8471 (libc_feholdsetroundf): New.
8472 (libc_feresetround, libc_feresetroundf): New.
8473
8474 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8475 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8476 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8477
8478 * sysdeps/generic/math_private.h: Include <fenv.h>.
8479 (default_libc_feholdexcept): New.
8480 (default_libc_feholdexcept_setround): New.
8481 (default_libc_fesetenv, default_libc_feupdateenv): New.
8482 (libc_feholdexcept): Only define if undefined.
8483 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8484 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8485 (libc_feholdexcept_setroundl): Likewise.
8486 (libc_feholdexcept_setround_53bit): Likewise.
8487 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8488 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8489 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8490 (libc_feupdateenv_53bit): Likewise.
8491 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8492 (libc_feholdexcept): Convert from macro to inline function.
8493 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8494 (libc_fesetenv, libc_feupdateenv): Likewise.
8495
8496 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8497 not previously defined.
8498 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8499 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8500 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8501 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8502 * sysdeps/ieee754/flt-32/math_private.h: New file.
8503 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8504 math_private.h below SET_FLOAT_WORD.
8505 (__isnan, __isinf_ns, __finite): Remove.
8506 (__isnanf, __isinf_nsf, __finitef): Remove.
8507
8508 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8509
8510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8511
8512 2012-03-17 David S. Miller <davem@davemloft.net>
8513
8514 [BZ #6471]
8515 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8516 for 2.16.
8517
8518 2012-03-16 David S. Miller <davem@davemloft.net>
8519
8520 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8521 warnings.
8522
8523 [BZ #6471]
8524 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8525 properly.
8526 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8527 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8528 sysdep_routines when subdir is sysvipc.
8529 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8530 __getshmlba helper.
8531
8532 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8533
8534 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8535
8536 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8537 [__LP64__].
8538
8539 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8540
8541 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8542 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8543 (__lround): Renamed to ...
8544 (__llround): This. Replace long int with long long int.
8545 Define lround functions as aliases of llround functions.
8546 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8547
8548 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8549
8550 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8551 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8552 adresses to uintptr_t. Replace "long int" and "unsigned long
8553 int" with "greg_t" on va_arg.
8554
8555 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8556
8557 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8558 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8559
8560 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8561 Move e_machine check before EI_CLASS check. Handle x32
8562 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8563 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8564 SKIP_EM_IA_64 and include
8565 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8566
8567 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8568 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8569 (add_system_dir): New macro.
8570
8571 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8572 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8573
8574 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8575
8576 [BZ #2551]
8577 [BZ #2552]
8578 [BZ #2553]
8579 [BZ #2554]
8580 [BZ #2562]
8581 [BZ #2563]
8582 [BZ #2565]
8583 [BZ #2566]
8584 [BZ #2576]
8585 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8586 (y0): Likewise.
8587 * math/w_j0f.c (j0f): Likewise.
8588 (y0f): Likewise.
8589 * math/w_j0l.c (__j0l): Likewise.
8590 (__y0l): Likewise.
8591 * math/w_j1.c (j1): Likewise.
8592 (y1): Likewise.
8593 * math/w_j1f.c (j1f): Likewise.
8594 (y1f): Likewise.
8595 * math/w_j1l.c (__j1l): Likewise.
8596 (__y1l): Likewise.
8597 * math/w_jn.c (jn): Likewise.
8598 (yn): Likewise.
8599 * math/w_jnf.c (jnf): Likewise.
8600 (ynf): Likewise.
8601 * math/w_jnl.c (__jnl): Likewise.
8602 (__ynl): Likewise.
8603 * math/libm-test.inc (j0_test): Add more tests.
8604 (j1_test): Likewise.
8605 (jn_test): Likewise. Add trailing semicolon to existing test.
8606 (y0_test): Likewise.
8607 (y1_test): Likewise.
8608 * sysdeps/i386/fpu/libm-test-ulps: Update.
8609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8610
8611 [BZ #13851]
8612 [BZ #13854]
8613 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8614 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8615 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8616 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8617 (__tanl): Set errno for infinite argument.
8618 * sysdeps/i386/fpu/mptan.c: Remove.
8619 * sysdeps/i386/fpu/s_tan.S: Likewise.
8620 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8621 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8622 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8623 * math/libm-test.inc (tan_test): Add more tests and enable more
8624 tests for double and long double.
8625 * sysdeps/i386/fpu/libm-test-ulps: Update.
8626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8627
8628 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8629
8630 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8631 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8632
8633 2012-03-16 Roland McGrath <roland@hack.frob.com>
8634
8635 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8636 * configure.in: Use it for both main tree and add-ons.
8637 * configure: Regenerated.
8638
8639 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8640
8641 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8642
8643 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8644
8645 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8646 in comment.
8647
8648 [BZ #13851]
8649 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8650 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8653 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8654 infinite argument.
8655 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8657 != 0 for prec == 2.
8658 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8659 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8660 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8661 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8662 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8663 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8664 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8665 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8666 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8667 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8668 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8669 * math/libm-test.inc (cos_test): Add more tests and enable more
8670 tests for long double.
8671 (sin_test): Likewise.
8672 (sincos_test): Likewise.
8673 * sysdeps/i386/fpu/libm-test-ulps: Update.
8674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8675
8676 2012-03-16 David S. Miller <davem@davemloft.net>
8677
8678 * sysdeps/sparc/fpu/math_private.h: New file.
8679
8680 2012-03-15 David S. Miller <davem@davemloft.net>
8681
8682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8683 file.
8684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8686 file.
8687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8693 sysdep routines.
8694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8695
8696 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8697 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8698
8699 * sysdeps/sparc/sparc-ifunc.h: New file.
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8701 sparc-ifunc.h
8702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8704 Likewise.
8705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8706 Likewise.
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8711 Likewise.
8712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8717 Likewise.
8718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8719 Likewise.
8720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8727 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8738 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8739 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8743 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8744
8745 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8746
8747 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8748 scaling.
8749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8750
8751 2012-03-15 Andreas Jaeger <aj@suse.de>
8752
8753 [BZ #13852]
8754 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8755 ieee754/flt-32 implementation for sin, cos and sincos.
8756 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8757 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8758 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8759 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8760 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8761 ieee754/flt-32 implementation for tan.
8762
8763 * math/libm-test.inc (cos_test): Enable some large input tests for
8764 float as well
8765 (sin_test): Likewise.
8766 (sincos_test): Likewise.
8767 (tan_test): Add tests for large input.
8768
8769 * sysdeps/i386/fpu/libm-test-ulps: Update.
8770
8771 2012-03-15 Andreas Jaeger <aj@suse.de>
8772
8773 [BZ #13658]
8774 * math/libm-test.inc (cos_test): Add more test cases.
8775 (sin_test): Likewise.
8776 (sincos_test): Likewise.
8777
8778 2012-03-15 Andreas Jaeger <aj@suse.de>
8779
8780 [BZ #13837]
8781 * math/libm-test.inc (cos_test): Add a test case for large input
8782 value.
8783 (sin_test): Likewise.
8784 (sincos_test): Likewise.
8785
8786 2012-03-15 Andreas Jaeger <aj@suse.de>,
8787 Joseph Myers <joseph@codesourcery.com>
8788
8789 [BZ #13658]
8790 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8791 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8792 * sysdeps/i386/fpu/branred.c: Likewise.
8793 * sysdeps/i386/fpu/dosincos.c: Likewise.
8794 * sysdeps/i386/fpu/mpa.c: Likewise.
8795 * sysdeps/i386/fpu/s_cos.S: Likewise.
8796 * sysdeps/i386/fpu/s_sin.S: Likewise.
8797 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8798 * sysdeps/i386/fpu/sincos32.c: Likewise.
8799
8800 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8801 Define.
8802 (libc_feupdateenv_53bit): Define.
8803 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8804 Define.
8805 (libc_feupdateenv_53bit): Define.
8806
8807 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8808 53 bit (without extend i386 double precision).
8809
8810 * math/libm-test.inc (sincos_test): Add tests for large input.
8811 (sin): Likewise.
8812 (cos): Likewise.
8813
8814 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8815
8816 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8817
8818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8819
8820 2012-03-15 David S. Miller <davem@davemloft.net>
8821
8822 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8823 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8824 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8825 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8838 file.
8839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8841 file.
8842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8844 file.
8845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8847 file.
8848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8850 fmin/fmax sysdep routines.
8851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8852
8853 2012-03-14 David S. Miller <davem@davemloft.net>
8854
8855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8861 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8862 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8878 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8881 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8882 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8884 routines.
8885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8886 file.
8887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8889 file.
8890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8892 file.
8893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8895 file.
8896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8898 file.
8899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8901 file.
8902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8903 file.
8904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8905 file.
8906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8907 file.
8908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8909 New file.
8910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8911 file.
8912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8913 file.
8914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8916 file.
8917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8919 file.
8920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8922 file.
8923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8925 VIS3 routines.
8926
8927 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8928 New file.
8929
8930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8931
8932 * sysdeps/sparc/configure.in: New file.
8933 * sysdeps/sparc/configure: Generate.
8934 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8935 * configure: Regenerate.
8936 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8937 * config.make.in (have-as-vis3): New.
8938 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8939 available use -Av9d instead of -Av9a.
8940 * sysdeps/sparc/sparc64/Makefile: Likewise.
8941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8943 New file.
8944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8945 file.
8946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8947 New file.
8948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8949 file.
8950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8953 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8954 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8955
8956 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8957 fzeros/fnegs to load 0x80000000 into a float register instead of
8958 using the stack.
8959 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8960
8961 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8962
8963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8964 bits/syscall.h.
8965 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8966 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8967 ($(inst_includedir)/bits/syscall.h): Remove rule.
8968 ($(objpfx)bits/syscall.d): Include instead of
8969 $(objpfx)syscall-list.d.
8970 (generated): Change syscall-list.h and syscall-list.d to
8971 bits/syscall.h and bits/syscall.d.
8972
8973 2012-03-14 Roland McGrath <roland@hack.frob.com>
8974
8975 [BZ #13846]
8976 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8977
8978 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8979
8980 [BZ #13841]
8981 * math/s_csqrt.c: Include <float.h>.
8982 (__csqrt): Scale large or subnormal inputs.
8983 * math/s_csqrtf.c: Likewise.
8984 * math/s_csqrtl.c: Likewise.
8985 * math/libm-test.inc (csqrt_test): Add more tests.
8986 * sysdeps/i386/fpu/libm-test-ulps: Update.
8987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8988
8989 [BZ #13840]
8990 * math/libm-test.inc (hypot_test): Add more tests.
8991
8992 2012-03-13 David S. Miller <davem@davemloft.net>
8993
8994 [BZ #13840]
8995 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8996 double-precision for the calculation instead of scaling.
8997
8998 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8999
9000 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9001 manipulate bits before adding and subtracting TWO52[sx].
9002 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9003 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9004 Likewise.
9005 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9006
9007 2012-03-13 David S. Miller <davem@davemloft.net>
9008
9009 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9010 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9011 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9012 rtld-global-offsets.h
9013 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9014
9015 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9016 large parameters.
9017
9018 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9019
9020 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9021 'err' in the ifdef scope in which it is actually used.
9022
9023 * nss/nss_db/db-init.c: Include string.h
9024
9025 2012-03-12 David S. Miller <davem@davemloft.net>
9026
9027 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9028 masking out of the most significant byte of random value used.
9029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9030 Fix coding style in previous change.
9031
9032 * sysdeps/unix/sysv/linux/kernel-features.h
9033 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9034 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9035 expression.
9036 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9037 later.
9038
9039 2012-03-11 David S. Miller <davem@davemloft.net>
9040
9041 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9042 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9043 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9044 for 'resultvar' otherwise things get truncated on 64-bit.
9045
9046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9047 Fix masking out of the most significant byte of random value used.
9048
9049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9050
9051 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9052
9053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9054
9055 2012-03-09 David S. Miller <davem@davemloft.net>
9056
9057 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9058 variables with appropriate CPP guards.
9059 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9060 frame pointer, not the stack pointer. Correct layout comments. Fix test
9061 on resulting framesize and the management of the outregs buffer for pltexit.
9062 Preserve floating point return values across _dl_call_pltexit call.
9063 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9064 framesize and the management of the outregs buffer for pltexit.
9065 Preserve floating point return values across _dl_call_pltexit
9066 call.
9067 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9068 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9069 (print_exit): Fix format string for return register value.
9070
9071 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9072
9073 * sunrpc/Makefile (others): Add rpcgen.
9074 ($(objpfx)rpcgen): Remove special build rule and dependency on
9075 libc.
9076 * sunrpc/rpcgen.c: New file.
9077
9078 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9079
9080 [BZ #13673]
9081 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9082 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9083 * sysdeps/i386/crti.S: Likewise.
9084 * sysdeps/i386/crtn.S: Likewise.
9085 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9086 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9087 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9088 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9089 * sysdeps/sh/crti.S: Likewise.
9090 * sysdeps/sh/crtn.S: Likewise.
9091 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9092
9093 [BZ #13673]
9094 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9095 with URL.
9096 * locale/programs/locfile-kw.gperf: Likewise.
9097 * locale/programs/charmap-kw.h: Regenerated.
9098 * locale/programs/locfile-kw.h: Likewise.
9099
9100 [BZ #13673]
9101 * intl/plural.y: Replace FSF snail mail address with URL.
9102 * intl/plural.c: Regenerated.
9103
9104 2012-03-09 Richard Henderson <rth@twiddle.net>
9105
9106 * include/math_private.h: Remove file.
9107 * math/math_private.h: Move file ...
9108 * sysdeps/generic/math_private.h: ... here.
9109
9110 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9111 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9112 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9113
9114 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9115 and <math_private.h>.
9116 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9117 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9118 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9119 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9120 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9178 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9180 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9186 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9188 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9189 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9190 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9193 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9194 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9195 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9196 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9197 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9201 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9202 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9204 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9205 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9206 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9207 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9208 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9209 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9210 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9211 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9212 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9213 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9214 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9215 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9216 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9217 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9218 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9219 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9220 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9221 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9222 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9223 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9224 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9225 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9226 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9227 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9228 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9229 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9230 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9231 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9232 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9233 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9234 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9235 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9236 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9237 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9238 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9239 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9240 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9241 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9242 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9243 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9244 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9245 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9246 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9247 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9248 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9249 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9250 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9251 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9252 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9253 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9254 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9255 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9256 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9257 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9258 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9259 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9260 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9261 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9262 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9263 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9264 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9265 * sysdeps/ieee754/k_standard.c: Likewise.
9266 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9270 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9275 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9276 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9278 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9279 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9283 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9289 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9290 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9293 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9294 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9301 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9302 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9303 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9333 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9357 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9362 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9363 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9364 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9365 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9369 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9370 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9371 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9372 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9373 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9374 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9375 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9376 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9377 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9378 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9379 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9380 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9381 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9382 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9383 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9385 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9386 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9387 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9388 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9389 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9390 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9391 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9392 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9393 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9394 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9395 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9396 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9397 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9398 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9399 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9400 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9401 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9402 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9403 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9404 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9405 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9406 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9411 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9412 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9413 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9414 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9415 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9416 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9417 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9418 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9419 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9420 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9421 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9422 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9423 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9424 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9425 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9426 * sysdeps/ieee754/s_lib_version.c: Likewise.
9427 * sysdeps/ieee754/s_matherr.c: Likewise.
9428 * sysdeps/ieee754/s_signgam.c: Likewise.
9429 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9430 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9431 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9432 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9433 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9434 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9435 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9436 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9437 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9438 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9439 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9440 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9441 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9442 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9443 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9444 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9445 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9446 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9447 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9448 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9449 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9450
9451 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9452
9453 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9454 * sunrpc/rpc_main.c: Likewise.
9455 * sunrpc/rpc_svcout.c: Likewise.
9456
9457 2012-03-09 David S. Miller <davem@davemloft.net>
9458
9459 * include/math_private.h: New file.
9460
9461 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9462
9463 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9464 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9465 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9466 from <bits/socket_type.h>.
9467 (enum __socket_type): Don't define here.
9468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9470 bits/socket_type.h.
9471
9472 [BZ #13566]
9473 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9474 checking __USE_GNU.
9475
9476 * Makerules ($(inst_includedir)/%.h): New rule.
9477 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9478 (install-others): Remove variable setting.
9479 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9480
9481 2012-03-08 Richard Henderson <rth@twiddle.net>
9482
9483 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9484 from macro to inline function; merge with the
9485 !__LIBC_INTERNAL_MATH_INLINES version.
9486 (__ieee754_sqrtf): Likewise.
9487
9488 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9489 to inline function.
9490 (__rintf, __floor, __floorf): Likewise.
9491
9492 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9493 macro to inline function.
9494 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9495
9496 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9497 not <math/math_private.h>.
9498
9499 2012-03-08 David S. Miller <davem@davemloft.net>
9500
9501 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9502 copyright year.
9503 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9504
9505 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9506
9507 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9508 normalization.
9509 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9510 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9511
9512 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9513
9514 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9515 be defined individually, they must be defined as a block. Define
9516 S for printing a string instead of hidint the different by using a
9517 macro for adding the 'l'.
9518 * stdio-common/tst-fphex-wide.c: Adjust.
9519
9520 2012-03-07 Marek Polacek <polacek@redhat.com>
9521
9522 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9523
9524 2012-03-08 Marek Polacek <polacek@redhat.com>
9525
9526 [BZ #13806]
9527 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9528 * stdio-common/tst-fphex.c: Define a few macros to make the
9529 test reusable. Use them.
9530 * stdio-common/tst-fphex-wide.c: New file.
9531
9532 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9533
9534 [BZ #6911]
9535 * manual/macros.texi (gnusystems): New macro.
9536 (nongnusystems): Likewise.
9537 (gnulinuxhurdsystems): Likewise.
9538 (gnuhurdsystems): Likewise..
9539 (gnulinuxsystems): Likewise.
9540 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9541 variants of the GNU system, not "GNU system".
9542 * manual/conf.texi: Likewise.
9543 * manual/errno.texi: Likewise. Update example of errno macro
9544 expansion.
9545 * manual/filesys.texi: Likewise.
9546 (getumask): Document as specific to GNU/Hurd.
9547 * manual/install.texi: Likewise. Reword some references to
9548 GNU/Linux.
9549 * manual/intro.texi: Likewise.
9550 * manual/io.texi: Likewise.
9551 (File Name Portability): Detail which constraints are inapplicable
9552 to all GNU systems and which are only inapplicable to GNU/Hurd.
9553 * manual/job.texi: Likewise.
9554 * manual/llio.texi: Likewise.
9555 (O_NOCTTY): Document as present on GNU/Linux.
9556 * manual/maint.texi: Likewise.
9557 * manual/memory.texi: Likewise.
9558 * manual/pattern.texi: Likewise.
9559 * manual/pipe.texi: Likewise.
9560 * manual/process.texi: Likewise.
9561 * manual/resource.texi: Likewise.
9562 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9563 child on GNU/Hurd.
9564 * manual/setjmp.texi: Likewise.
9565 * manual/signal.texi: Likewise.
9566 * manual/startup.texi: Likewise.
9567 * manual/stdio.texi: Likewise.
9568 * manual/terminal.texi: Likewise.
9569 (ONLCR): Document as POSIX.
9570 (OXTABS): Document availability on GNU/Linux as XTABS.
9571 (ONOEOT): Document availability separately from other bits.
9572 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9573 * manual/time.texi: Likewise.
9574 * manual/users.texi: Likewise.
9575 * INSTALL: Regenerated.
9576 * sysdeps/gnu/errlist.c: Regenerated.
9577
9578 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9579 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9580 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9581 puts.
9582 * configure: Regenerated.
9583
9584 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9585
9586 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9587 default includes instead of AC_HEADER_CHECK.
9588 * sysdeps/i386/configure: Regenerated.
9589
9590 [BZ #10716]
9591 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9592 * math/s_cacoshf.c (__cacoshf): Likewise.
9593 * math/s_cacoshl.c (__cacoshl): Likewise.
9594 * math/s_casinh.c (__casinh): Set signs of result from argument.
9595 * math/s_casinhf.c (__casinhf): Likewise.
9596 * math/s_casinhl.c (__casinhl): Likewise.
9597 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9598 (casinh_test): Add more tests.
9599 * sysdeps/i386/fpu/libm-test-ulps: Update.
9600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9601
9602 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9603
9604 * po/zh_TW.po: Update from translation team.
9605
9606 * login/Makefile (distribute): Remove variable.
9607 * catgets/Makefile: Likewise.
9608 * mach/Makefile: Likewise.
9609 * malloc/Makefile: Likewise.
9610 * misc/Makefile: Likewise.
9611 * iconv/Makefile: Likewise.
9612 * nscd/Makefile: Likewise.
9613 * hurd/Makefile: Likewise.
9614 * manual/Makefile: Likewise.
9615 * locale/Makefile: Likewise.
9616 * intl/Makefile: Likewise.
9617 * conform/Makefile: Likewise.
9618 * nss/Makefile: Likewise.
9619 * time/Makefile: Likewise.
9620 * soft-fp/Makefile: Likewise.
9621 * dirent/Makefile: Likewise.
9622 * gmon/Makefile: Likewise.
9623 * po/Makefile: Likewise.
9624 * rt/Makefile: Likewise.
9625 * socket/Makefile: Likewise.
9626 * math/Makefile: Likewise.
9627 * signal/Makefile: Likewise.
9628 * debug/Makefile: Likewise.
9629 * elf/Makefile: Likewise.
9630 * timezone/Makefile: Likewise.
9631 * stdlib/Makefile: Likewise.
9632 * iconvdata/Makefile: Likewise.
9633 * sunrpc/Makefile: Likewise.
9634 * io/Makefile: Likewise.
9635 * argp/Makefile: Likewise.
9636 * inet/Makefile: Likewise.
9637 * hesiod/Makefile: Likewise.
9638 * grp/Makefile: Likewise.
9639 * csu/Makefile: Likewise.
9640 * wctype/Makefile: Likewise.
9641 * crypt/Makefile: Likewise.
9642 * libio/Makefile: Likewise.
9643 * string/Makefile: Likewise.
9644 * nis/Makefile: Likewise.
9645 * resolv/Makefile: Likewise.
9646 * stdio-common/Makefile: Likewise.
9647 * wcsmbs/Makefile: Likewise.
9648 * dlfcn/Makefile: Likewise.
9649 * posix/Makefile: Likewise.
9650
9651 [BZ #6959]
9652 * timezone/Makefile: Don't install timezone files, just the programs
9653 and scripts.
9654
9655 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9656
9657 * nss/databases.def: Add missing gshadow entry.
9658
9659 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9660
9661 2012-03-06 Marek Polacek <polacek@redhat.com>
9662
9663 [BZ #13726]
9664 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9665 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9666 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9667 * stdio-common/tst-long-dbl-fphex.c: New file.
9668
9669 2012-03-06 David S. Miller <davem@davemloft.net>
9670
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9672 (set_obp_int): New function.
9673 (get_obp_int): New function.
9674 (__get_clockfreq_via_dev_openprom): Likewise.
9675 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9676 Avoid unused variable warnings on 'val' and use builtin_expect.
9677 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9678 __builtin_expect.
9679 (INLINE_CLONE_SYSCALL): Likewise.
9680
9681 2012-03-05 David S. Miller <davem@davemloft.net>
9682
9683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9684
9685 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9686
9687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9688
9689 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9690 only for |x| >= 40.
9691 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9692
9693 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9694
9695 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9696 Replace gettimeofday with __vdso_gettimeofday.
9697
9698 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9699 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9700 __vdso_clock_gettime and __vdso_getcpu.
9701
9702 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9703 time with __vdso_time.
9704
9705 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9706
9707 * manual/lang.texi (size_t): Note types to which size_t may be
9708 equivalent with the GNU C Library, but do not describe when
9709 differences between them are significant.
9710
9711 2012-03-05 Andreas Jaeger <aj@suse.de>
9712
9713 * sysdeps/i386/fpu/libm-test-ulps: Update.
9714
9715 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9716
9717 [BZ #3976]
9718 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9719 (__ieee754_pow): Save and restore rounding mode and use
9720 round-to-nearest for main computations.
9721 * math/libm-test.inc (pow_test_tonearest): New function.
9722 (pow_test_towardzero): Likewise.
9723 (pow_test_downward): Likewise.
9724 (pow_test_upward): Likewise.
9725 (main): Call the new functions.
9726 * sysdeps/i386/fpu/libm-test-ulps: Update.
9727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9728
9729 [BZ #3976]
9730 * math/libm-test.inc (cosh_test_tonearest): New function.
9731 (cosh_test_towardzero): Likewise.
9732 (cosh_test_downward): Likewise.
9733 (cosh_test_upward): Likewise.
9734 (sinh_test_tonearest): Likewise.
9735 (sinh_test_towardzero): Likewise.
9736 (sinh_test_downward): Likewise.
9737 (sinh_test_upward): Likewise.
9738 (main): Call the new functions.
9739 * sysdeps/i386/fpu/libm-test-ulps: Update.
9740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9741
9742 2012-03-05 Tom de Vries <tom@codesourcery.com>
9743
9744 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9745 default stack guard is set in last bytes.
9746 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9747
9748 2012-03-05 Kees Cook <keescook@chromium.org>
9749
9750 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9751
9752 [BZ #13656]
9753 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9754 possibly allocate from heap instead of stack.
9755 * stdio-common/bug-vfprintf-nargs.c: New file.
9756 * stdio-common/Makefile (tests): Add nargs overflow test.
9757
9758 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9759
9760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9761
9762 2012-03-03 Marek Polacek <polacek@redhat.com>
9763
9764 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9765 * math/math_private.h: Likewise.
9766 * stdlib/tst-strtod.c: Likewise.
9767 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9768 * sysdeps/x86_64/bits/atomic.h: Likewise.
9769
9770 2012-03-02 David S. Miller <davem@davemloft.net>
9771
9772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9776 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9777 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9778 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9779 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9780
9781 2012-03-02 Roland McGrath <roland@hack.frob.com>
9782
9783 [BZ #13792]
9784 * manual/examples/README: New file, says the example source files
9785 can be used under GPL>=2.
9786 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9787 line containing just "*/".
9788 * manual/examples/add.c: Add copyright header (GPL>=2).
9789 * manual/examples/argp-ex1.c: Likewise.
9790 * manual/examples/argp-ex2.c: Likewise.
9791 * manual/examples/argp-ex3.c: Likewise.
9792 * manual/examples/argp-ex4.c: Likewise.
9793 * manual/examples/atexit.c: Likewise.
9794 * manual/examples/db.c: Likewise.
9795 * manual/examples/dir.c: Likewise.
9796 * manual/examples/dir2.c: Likewise.
9797 * manual/examples/execinfo.c: Likewise.
9798 * manual/examples/filecli.c: Likewise.
9799 * manual/examples/filesrv.c: Likewise.
9800 * manual/examples/fmtmsgexpl.c: Likewise.
9801 * manual/examples/genpass.c: Likewise.
9802 * manual/examples/inetcli.c: Likewise.
9803 * manual/examples/inetsrv.c: Likewise.
9804 * manual/examples/isockad.c: Likewise.
9805 * manual/examples/longopt.c: Likewise.
9806 * manual/examples/memopen.c: Likewise.
9807 * manual/examples/memstrm.c: Likewise.
9808 * manual/examples/mkfsock.c: Likewise.
9809 * manual/examples/mkisock.c: Likewise.
9810 * manual/examples/mygetpass.c: Likewise.
9811 * manual/examples/pipe.c: Likewise.
9812 * manual/examples/popen.c: Likewise.
9813 * manual/examples/rprintf.c: Likewise.
9814 * manual/examples/search.c: Likewise.
9815 * manual/examples/select.c: Likewise.
9816 * manual/examples/setjmp.c: Likewise.
9817 * manual/examples/sigh1.c: Likewise.
9818 * manual/examples/sigusr.c: Likewise.
9819 * manual/examples/stpcpy.c: Likewise.
9820 * manual/examples/strdupa.c: Likewise.
9821 * manual/examples/strftim.c: Likewise.
9822 * manual/examples/strncat.c: Likewise.
9823 * manual/examples/subopt.c: Likewise.
9824 * manual/examples/swapcontext.c: Likewise.
9825 * manual/examples/termios.c: Likewise.
9826 * manual/examples/testopt.c: Likewise.
9827 * manual/examples/testpass.c: Likewise.
9828 * manual/examples/timeval_subtract.c: Likewise.
9829
9830 [BZ #13792]
9831 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9832 function to ...
9833 * manual/timeval_subtract.c.texi: ... here, new file.
9834
9835 2012-03-02 David S. Miller <davem@davemloft.net>
9836
9837 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9838
9839 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9840
9841 [BZ #3976]
9842 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9843 (__sin): Save and restore rounding mode and use round-to-nearest
9844 for all computations.
9845 (__cos): Save and restore rounding mode and use round-to-nearest
9846 for all computations.
9847 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9848 <fenv.h>.
9849 (tan): Save and restore rounding mode and use round-to-nearest for
9850 all computations.
9851 * math/libm-test.inc (cos_test_tonearest): New function.
9852 (cos_test_towardzero): Likewise.
9853 (cos_test_downward): Likewise.
9854 (cos_test_upward): Likewise.
9855 (sin_test_tonearest): Likewise.
9856 (sin_test_towardzero): Likewise.
9857 (sin_test_downward): Likewise.
9858 (sin_test_upward): Likewise.
9859 (tan_test_tonearest): Likewise.
9860 (tan_test_towardzero): Likewise.
9861 (tan_test_downward): Likewise.
9862 (tan_test_upward): Likewise.
9863 (main): Call the new functions.
9864 * sysdeps/i386/fpu/libm-test-ulps: Update.
9865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9866
9867 [BZ #10135]
9868 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9869 small n, then large n, before computing and testing k+n.
9870 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9871 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9872 Likewise.
9873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9874 Likewise.
9875 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9876 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9877 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9878 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9879 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9881 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9882 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9883 * math/libm-test.inc (scalbn_test): Add more tests.
9884 (scalbln_test): Likewise.
9885
9886 * manual/filesys.texi (mode_t): Describe constraints on size and
9887 signedness, not exact equivalence to a particular type.
9888 (ino_t): Likewise.
9889 (ino64_t): Likewise.
9890 (dev_t): Likewise.
9891 (nlink_t): Likewise.
9892 (blkcnt_t): Likewise.
9893 (blkcnt64_t): Likewise.
9894 * manual/llio.texi (off_t): Likewise.
9895
9896 [BZ #3976]
9897 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9898 (__ieee754_exp): Save and restore rounding mode and use
9899 round-to-nearest for all computations.
9900 * math/libm-test.inc (exp_test_tonearest): New function.
9901 (exp_test_towardzero): Likewise.
9902 (exp_test_downward): Likewise.
9903 (exp_test_upward): Likewise.
9904 (main): Call the new functions.
9905 * sysdeps/i386/fpu/libm-test-ulps: Update.
9906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9907
9908 2012-03-01 Chris Demetriou <cgd@google.com>
9909
9910 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9911 have predictable order.
9912
9913 2012-03-01 David S. Miller <davem@davemloft.net>
9914
9915 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9916
9917 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9918 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9919 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9920 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9921
9922 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9923 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9924 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9926 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9927 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9928 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9929 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9930 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9931
9932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9933
9934 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9935 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9936 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9937
9938 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9939 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9940 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9941 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9942 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9944 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9945 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9946 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9947 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9948 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9949 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9951 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9952 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9953 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9954 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9955 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9956 * sysdeps/sparc/elf/configure: Regenerated.
9957
9958 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9959
9960 * configure.in (AS, LD): Require binutils 2.20 or later.
9961 * configure: Regenerated.
9962 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9963 as required minimum version.
9964 * INSTALL: Regenerated.
9965
9966 [BZ #2541]
9967 [BZ #4108]
9968 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9969 before squaring exponent.
9970 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9971 bottom long double and 27 bits of top long double before squaring
9972 exponent.
9973 * math/libm-test.inc (erfc_test): Add more tests.
9974 * sysdeps/i386/fpu/libm-test-ulps: Update.
9975 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9977
9978 2012-03-01 Kai Tietz <ktietz@redhat.com>
9979
9980 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9981 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9982 containing bit-fields.
9983 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9984 * soft-fp/single.h (_FP_UNION_S): Likewise.
9985 * soft-fp/double.h (_FP_UNION_D): Likewise.
9986
9987 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9988
9989 [BZ #13786]
9990 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9991 not include ../strcmp.S.
9992 [USE_AS_STRNCASECMP_L]: Likewise.
9993 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9994 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9995 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9996 (__strncasecmp_l_ia32): Define as alias to
9997 __strncasecmp_l_nonascii.
9998
9999 [BZ #5794]
10000 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10001 * sysdeps/i386/fpu/libm-test-ulps: Update.
10002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10003
10004 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10006
10007 2012-02-29 Jeff Law <law@redhat.com>
10008
10009 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10010 out of bounds read.
10011
10012 2012-02-29 Marek Polacek <polacek@redhat.com>
10013
10014 [BZ #13706]
10015 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10016 * elf/Makefile: Add rules to run tst-unused-dep.out.
10017
10018 2012-02-28 David S. Miller <davem@davemloft.net>
10019
10020 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10021 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10023 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10024 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10025 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10026
10027 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10028
10029 * math/libm-test.inc (llround_test): Move one test from
10030 lround_test. Use TEST_f_L in moved test.
10031 (lround_test): Move misplaced test to llround_test. Add testcase
10032 from bug 2561.
10033
10034 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10035
10036 * sysdeps/x86_64/fpu/e_expf.S: New file.
10037 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10038
10039 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10040
10041 [BZ #13637]
10042 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10043 of remain_len that may cause incomplete multi-byte character and
10044 false match.
10045 * posix/bug-regex33.c: New file.
10046 * posix/Makefile (tests): Add bug-regex33.
10047
10048 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10049
10050 * manual/macros.texi: New file.
10051 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10052 * manual/libc.texinfo: Include macros.texi.
10053 * manual/creatute.texi: Likewise.
10054 * manual/install.texi: Likewise.
10055 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10056 @glibcadj{} in references to the GNU C Library.
10057 * manual/charset.texi: Likewise.
10058 * manual/conf.texi: Likewise.
10059 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10060 when not using those macros.
10061 * manual/creature.texi: Likewise.
10062 * manual/crypt.texi: Likewise.
10063 * manual/errno.texi: Likewise.
10064 * manual/filesys.texi: Likewise.
10065 * manual/header.texi: Likewise.
10066 * manual/install.texi: Likewise.
10067 * manual/intro.texi: Likewise.
10068 * manual/io.texi: Likewise.
10069 * manual/job.texi: Likewise.
10070 * manual/lang.texi: Likewise.
10071 * manual/libc.texiinfo: Likewise.
10072 * manual/llio.texi: Likewise.
10073 * manual/locale.texi: Likewise.
10074 * manual/maint.texi: Likewise.
10075 * manual/math.texi: Likewise.
10076 * manual/memory.texi: Likewise.
10077 * manual/message.texi: Likewise.
10078 * manual/nss.texi: Likewise.
10079 * manual/pattern.texi: Likewise.
10080 * manual/process.texi: Likewise.
10081 * manual/resource.texi: Likewise.
10082 * manual/search.texi: Likewise.
10083 * manual/setjmp.texi: Likewise.
10084 * manual/signal.texi: Likewise.
10085 * manual/socket.texi: Likewise.
10086 * manual/startup.texi: Likewise.
10087 * manual/stdio.texi: Likewise.
10088 * manual/string.texi: Likewise.
10089 * manual/sysinfo.texi: Likewise.
10090 * manual/syslog.texi: Likewise.
10091 * manual/terminal.texi: Likewise.
10092 * manual/time.texi: Likewise.
10093 * manual/users.texi: Likewise.
10094 * INSTALL: Regenerated.
10095 * NOTES: Regenerated.
10096 * sysdeps/gnu/errlist.c: Regenerated.
10097
10098 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10099
10100 * include/dirent.h: Include <dirstream.h> before
10101 <dirent/dirent.h>.
10102
10103 2012-02-28 David S. Miller <davem@davemloft.net>
10104
10105 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10106 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10107 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10108 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10109
10110 2012-02-27 David S. Miller <davem@davemloft.net>
10111
10112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10114 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10115 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10116
10117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10118 frame pointer instead of stack pointer relative arg slot.
10119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10120 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10121 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10122
10123 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10124
10125 [BZ #3992]
10126 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10127
10128 2012-02-27 David S. Miller <davem@davemloft.net>
10129
10130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10134 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10135 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10136 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10137 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10138
10139 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10140
10141 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10142 later. Allow versions 5-9.
10143 * configure: Regenerated.
10144 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10145 required minimum version and 4.6 as recommended version. Do not
10146 mention bugs in GCC 2.7 and 2.8.
10147 * INSTALL: Regenerated.
10148
10149 2012-02-27 David S. Miller <davem@davemloft.net>
10150
10151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10155 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10156 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10157 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10158 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10159
10160 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10161 manipulate bits before adding and subtracting TWO112[sx].
10162 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10163
10164 2012-02-27 Roland McGrath <roland@hack.frob.com>
10165
10166 [BZ #13775]
10167 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10168 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10169 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10170 being in POSIX, because they are in 1003.1-2008.
10171
10172 * rt/tst-aio.c: Include <fcntl.h>.
10173 * rt/tst-aio7.c: Likewise.
10174 * rt/tst-aio64.c: Likewise.
10175
10176 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10177
10178 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10179
10180 * manual/install.texi (--with-headers): Describe headers as
10181 interface headers, not private headers.
10182 (Specific advice for GNU/Linux systems): Describe use of headers
10183 from "make headers_install", not private headers from older
10184 kernels.
10185 * INSTALL: Regenerated.
10186 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10187 Change to 2.6.19.
10188 * sysdeps/unix/sysv/linux/configure: Regenerated.
10189
10190 * manual/llio.texi (fclean): Remove documentation.
10191
10192 * manual/Makefile (libc-texi-generated): New variable. Include
10193 version.texi.
10194 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10195 $(libc-texi-generated), not duplicated list of files.
10196 (version.texi, stamp-version): New rules.
10197 (realclean): Remove $(libc-texi-generated), not individual files
10198 from that list. Do not remove dir-add.texinfo.
10199 * manual/libc.texinfo: Comment out uses of edition numbers and
10200 references to printed manual. Remove last-updated dates.
10201 (EDITION): Comment out.
10202 (ISBN): Likewise.
10203 (VERSION, UPDATED): Remove.
10204 (version.texi): Include.
10205
10206 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10207
10208 * sysdeps/posix/spawni.c: Include <signal.h>.
10209 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10210 * sysdeps/pthread/aio_fsync.c: Likewise.
10211
10212 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10213
10214 * conform/Makefile (tests): Run only when not cross-compiling and
10215 when fast-check is not defined.
10216
10217 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10218 * conform/data/limits.h-data: Fixes for POSIX2008.
10219 * conform/run-conformtest.sh: Run all tests.
10220 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10221 headers.
10222 * include/bits/dlfcn.h: Likewise.
10223 * include/langinfo.h: Likewise.
10224 * include/monetary.h: Likewise.
10225 * include/sys/poll.h: Likewise.
10226
10227 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10228 for __USE_GNU.
10229 * posix/spawn.h: Define __need_sigset_t.
10230 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10231 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10232 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10233 to get sigevent_t only.
10234 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10235 only for __USE_GNU.
10236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10237 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10238 process_vm_writev only for __USE_GNU.
10239 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10240
10241 * conform/Makefile: For now ignore errors from run-conformtest.
10242 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10243 POSIX to avoid namespace pollution. Don't prepend headers.
10244 * conform/data/aio.h-data: Fixes for POSIX testing.
10245 * conform/data/fcntl.h-data: Likewise.
10246 * conform/data/glob.h-data: Likewise.
10247 * conform/data/grp.h-data: Likewise.
10248 * conform/data/pthread.h-data: Likewise.
10249 * conform/data/pwd.h-data: Likewise.
10250 * conform/data/signal.h-data: Likewise.
10251 * conform/data/spawn.h-data: Likewise.
10252 * conform/data/stdio.h-data: Likewise.
10253 * conform/data/stdlib.h-data: Likewise.
10254 * conform/data/stropts.h-data: Likewise.
10255 * conform/data/sys/mman.h-data: Likewise.
10256 * conform/data/sys/stat.h-data: Likewise.
10257 * conform/data/sys/types.h-data: Likewise.
10258 * conform/data/sys/wait.h-data: Likewise.
10259 * conform/data/time.h-data: Likewise.
10260 * conform/data/unistd.h-data: Likewise.
10261 * conform/data/utime.h-data: Likewise.
10262
10263 * io/sys/stat.h: fchmod was always in POSIX.
10264 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10265 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10266 * rt/aio.h: Define __need_timespec before including <time.h>.
10267 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10268 struct. Add forward declaration of pthread_attr_t and use it in
10269 sigevent.
10270 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10271 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10272 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10273 always remove CLK_TCK definition.
10274
10275 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10276
10277 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10278
10279 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10280
10281 * conform/run-conformtest.sh: New file.
10282 * conform/Makefile: Run run-conformtest for tests.
10283 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10284 support.
10285
10286 * conform/data/uchar.h-data: New file.
10287 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10288 * conform/data/arpa/inet.h-data: Likewise.
10289 * conform/data/assert.h-data: Likewise.
10290 * conform/data/complex.h-data: Likewise.
10291 * conform/data/cpio.h-data: Likewise.
10292 * conform/data/ctype.h-data: Likewise.
10293 * conform/data/dirent.h-data: Likewise.
10294 * conform/data/dlfcn.h-data: Likewise.
10295 * conform/data/errno.h-data: Likewise.
10296 * conform/data/fcntl.h-data: Likewise.
10297 * conform/data/float.h-data: Likewise.
10298 * conform/data/fmtmsg.h-data: Likewise.
10299 * conform/data/fnmatch.h-data: Likewise.
10300 * conform/data/ftw.h-data: Likewise.
10301 * conform/data/glob.h-data: Likewise.
10302 * conform/data/grp.h-data: Likewise.
10303 * conform/data/iconv.h-data: Likewise.
10304 * conform/data/inttypes.h-data: Likewise.
10305 * conform/data/langinfo.h-data: Likewise.
10306 * conform/data/libgen.h-data: Likewise.
10307 * conform/data/limits.h-data: Likewise.
10308 * conform/data/locale.h-data: Likewise.
10309 * conform/data/math.h-data: Likewise.
10310 * conform/data/monetary.h-data: Likewise.
10311 * conform/data/mqueue.h-data: Likewise.
10312 * conform/data/ndbm.h-data: Likewise.
10313 * conform/data/net/if.h-data: Likewise.
10314 * conform/data/netdb.h-data: Likewise.
10315 * conform/data/netinet/in.h-data: Likewise.
10316 * conform/data/nl_types.h-data: Likewise.
10317 * conform/data/poll.h-data: Likewise.
10318 * conform/data/pthread.h-data: Likewise.
10319 * conform/data/pwd.h-data: Likewise.
10320 * conform/data/regex.h-data: Likewise.
10321 * conform/data/sched.h-data: Likewise.
10322 * conform/data/search.h-data: Likewise.
10323 * conform/data/semaphore.h-data: Likewise.
10324 * conform/data/setjmp.h-data: Likewise.
10325 * conform/data/signal.h-data: Likewise.
10326 * conform/data/spawn.h-data: Likewise.
10327 * conform/data/stdarg.h-data: Likewise.
10328 * conform/data/stdio.h-data: Likewise.
10329 * conform/data/stdlib.h-data: Likewise.
10330 * conform/data/string.h-data: Likewise.
10331 * conform/data/strings.h-data: Likewise.
10332 * conform/data/stropts.h-data: Likewise.
10333 * conform/data/sys/ipc.h-data: Likewise.
10334 * conform/data/sys/mman.h-data: Likewise.
10335 * conform/data/sys/msg.h-data: Likewise.
10336 * conform/data/sys/resource.h-data: Likewise.
10337 * conform/data/sys/select.h-data: Likewise.
10338 * conform/data/sys/sem.h-data: Likewise.
10339 * conform/data/sys/shm.h-data: Likewise.
10340 * conform/data/sys/socket.h-data: Likewise.
10341 * conform/data/sys/stat.h-data: Likewise.
10342 * conform/data/sys/statvfs.h-data: Likewise.
10343 * conform/data/sys/time.h-data: Likewise.
10344 * conform/data/sys/timeb.h-data: Likewise.
10345 * conform/data/sys/times.h-data: Likewise.
10346 * conform/data/sys/types.h-data: Likewise.
10347 * conform/data/sys/uio.h-data: Likewise.
10348 * conform/data/sys/un.h-data: Likewise.
10349 * conform/data/sys/utsname.h-data: Likewise.
10350 * conform/data/sys/wait.h-data: Likewise.
10351 * conform/data/syslog.h-data: Likewise.
10352 * conform/data/tar.h-data: Likewise.
10353 * conform/data/termios.h-data: Likewise.
10354 * conform/data/utime.h-data: Likewise.
10355 * conform/data/utmpx.h-data: Likewise.
10356 * conform/data/varargs.h-data: Likewise.
10357 * conform/data/wchar.h-data: Likewise.
10358 * conform/data/wctype.h-data: Likewise.
10359 * conform/data/wordexp.h-data: Likewise.
10360
10361 * include/stropts.h: New file.
10362 * include/uchar.h: New file.
10363 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10364 * include/assert.h: Likewise.
10365 * include/ctype.h: Likewise.
10366 * include/dirent.h: Likewise.
10367 * include/dlfcn.h: Likewise.
10368 * include/fcntl.h: Likewise.
10369 * include/fnmatch.h: Likewise.
10370 * include/glob.h: Likewise.
10371 * include/grp.h: Likewise.
10372 * include/libio.h: Likewise.
10373 * include/locale.h: Likewise.
10374 * include/math.h: Likewise.
10375 * include/net/if.h: Likewise.
10376 * include/netdb.h: Likewise.
10377 * include/netinet/in.h: Likewise.
10378 * include/pthread.h: Likewise.
10379 * include/pwd.h: Likewise.
10380 * include/regex.h: Likewise.
10381 * include/sched.h: Likewise.
10382 * include/search.h: Likewise.
10383 * include/setjmp.h: Likewise.
10384 * include/signal.h: Likewise.
10385 * include/stdio.h: Likewise.
10386 * include/stdlib.h: Likewise.
10387 * include/string.h: Likewise.
10388 * include/sys/cdefs.h: Likewise.
10389 * include/sys/mman.h: Likewise.
10390 * include/sys/msg.h: Likewise.
10391 * include/sys/resource.h: Likewise.
10392 * include/sys/select.h: Likewise.
10393 * include/sys/socket.h: Likewise.
10394 * include/sys/stat.h: Likewise.
10395 * include/sys/statvfs.h: Likewise.
10396 * include/sys/time.h: Likewise.
10397 * include/sys/times.h: Likewise.
10398 * include/sys/uio.h: Likewise.
10399 * include/sys/utsname.h: Likewise.
10400 * include/sys/wait.h: Likewise.
10401 * include/termios.h: Likewise.
10402 * include/time.h: Likewise.
10403 * include/ulimit.h: Likewise.
10404 * include/unistd.h: Likewise.
10405 * include/utime.h: Likewise.
10406 * include/wchar.h: Likewise.
10407 * include/wctype.h: Likewise.
10408 * include/wordexp.h: Likewise.
10409
10410 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10411
10412 * time/time.h: TIME_UTC must be a macro.
10413 Make timespec_get available for ISO C11 only as well.
10414
10415 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10416
10417 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10418 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10419
10420 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10421
10422 * configure.in: Use -o not -a in test for unsupported multi-arch.
10423
10424 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10425
10426 * manual/texinfo.tex: Update to version 2012-01-19.16.
10427
10428 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10429
10430 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10431
10432 2012-02-24 Roland McGrath <roland@hack.frob.com>
10433
10434 [BZ #13738]
10435 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10436 * manual/fdl-1.3.texi: New file.
10437 * manual/fdl-1.1.texi: File removed.
10438
10439 [BZ #13738]
10440 * manual/libc.texinfo (FDL_VERSION): New @set.
10441 Use it for mention of FDL in cover text.
10442 (Documentation License): Use it in @include file name.
10443
10444 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10445 Roland McGrath <roland@hack.frob.com>
10446
10447 [BZ #5461]
10448 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10449 not LONG_LONG_MAX and LONG_LONG_MIN.
10450 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10451 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10452 name.
10453 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10454
10455 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10456
10457 [BZ #2547]
10458 [BZ #11365]
10459 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10460 manipulate bits before adding and subtracting TWO23[sx].
10461 * math/libm-test.inc (nearbyint_test): Add more tests.
10462
10463 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10464
10465 [BZ #2548]
10466 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10467 bits before adding and subtracting TWO23[sx].
10468 * math/libm-test.inc (rint_test): Add more tests.
10469 (rint_test_tonearest): Likewise.
10470 (rint_test_towardzero): Likewise.
10471 (rint_test_downward): Likewise.
10472 (rint_test_upward: Likewise.
10473
10474 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10475
10476 [BZ #10110]
10477 * include/stdc-predef.h: New file. Extracted from features.h.
10478 * include/features.h: Include stdc-predef.h.
10479 * Makefile (headers): Add stdc-predef.h.
10480 * CONFORMANCE (Compiler limitations): Update.
10481
10482 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10483
10484 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10485
10486 2012-02-21 David S. Miller <davem@davemloft.net>
10487
10488 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10489 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10490
10491 2012-02-20 David S. Miller <davem@davemloft.net>
10492
10493 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10494 using a normal save/restore sequence, rather than allocating a
10495 dummy stack frame just to store a frame pointer and restore.
10496 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10497
10498 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10499
10500 * manual/install.texi: Fix stray word in line-wrapped comment.
10501
10502 2012-02-20 David S. Miller <davem@davemloft.net>
10503
10504 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10505 both binutils and gcc support GOTDATA.
10506
10507 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10508 "rd %pc" in the PIC register setup sequences.
10509
10510 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10511 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10512 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10513 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10514 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10515 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10516 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10517 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10519 (SYSCALL_ERROR_HANDLER): Likewise.
10520 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10521 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10523 (SYSCALL_ERROR_HANDLER): Likewise.
10524
10525 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10526 (HAVE_GCC_GOTDATA): New.
10527 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10528 relocation support in both binutils and gcc.
10529 * sysdeps/sparc/elf/configure: Regenerate.
10530
10531 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10532 * sysdeps/sparc/sparc32/elf/configure: Delete.
10533 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10534 * sysdeps/sparc/sparc64/elf/configure: Delete.
10535 * sysdeps/sparc/elf/configure.in: New file.
10536 * sysdeps/sparc/elf/configure: Generate.
10537
10538 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10539 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10540 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10541 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10542 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10543
10544 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10545
10546 * manual/install.texi: Do not mention specific glibc version
10547 numbers.
10548 * manual/libc.texinfo (VERSION, UPDATED): Update.
10549 (@copying): Use @copyright{} and range of years.
10550
10551 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10552
10553 [BZ #13695]
10554 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10555 [crti.S not in sysdirs] (generated): Do not append.
10556 [crti.S not in sysdirs] (omit-deps): Likewise.
10557 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10558 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10559 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10560 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10561 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10562 Likewise.
10563 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10564 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10565 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10566 * csu/defs.awk: Remove file.
10567 * sysdeps/generic/initfini.c: Likewise.
10568 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10569 variable.
10570 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10571 Likewise.
10572
10573 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10574
10575 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10576 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10577 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10578 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10579 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10580 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10581 <bits/epoll.h>.
10582 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10583 (__EPOLL_PACKED): Define to empty if not defined by
10584 <bits/epoll.h>.
10585 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10587 bits/epoll.h.
10588
10589 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10590
10591 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10592 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10593 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10594 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10595 <bits/timerfd.h>.
10596 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10598 bits/timerfd.h.
10599
10600 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10601
10602 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10603 in C locale.
10604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10605 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10606 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10608
10609 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10610
10611 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10612 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10613
10614 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10615
10616 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10617 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10618 defined.
10619 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10620 Likewise.
10621 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10622 entry for 2.16.
10623
10624 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10625
10626 * math/w_acos.c: Use non-signaling floating-point comparisons.
10627 * math/w_acosf.c: Likewise.
10628 * math/w_acosh.c: Likewise.
10629 * math/w_acoshf.c: Likewise.
10630 * math/w_acoshl.c: Likewise.
10631 * math/w_acosl.c: Likewise.
10632 * math/w_asin.c: Likewise.
10633 * math/w_asinf.c: Likewise.
10634 * math/w_asinl.c: Likewise.
10635 * math/w_atanh.c: Likewise.
10636 * math/w_atanhf.c: Likewise.
10637 * math/w_atanhl.c: Likewise.
10638 * math/w_exp2.c: Likewise.
10639 * math/w_exp2f.c: Likewise.
10640 * math/w_exp2l.c: Likewise.
10641 * math/w_j0.c: Likewise.
10642 * math/w_j0f.c: Likewise.
10643 * math/w_j0l.c: Likewise.
10644 * math/w_j1.c: Likewise.
10645 * math/w_j1f.c: Likewise.
10646 * math/w_j1l.c: Likewise.
10647 * math/w_jn.c: Likewise.
10648 * math/w_jnf.c: Likewise.
10649 * math/w_log.c: Likewise.
10650 * math/w_log10.c: Likewise.
10651 * math/w_log10f.c: Likewise.
10652 * math/w_log10l.c: Likewise.
10653 * math/w_log2.c: Likewise.
10654 * math/w_log2f.c: Likewise.
10655 * math/w_log2l.c: Likewise.
10656 * math/w_logf.c: Likewise.
10657 * math/w_logl.c: Likewise.
10658 * math/w_sqrt.c: Likewise.
10659 * math/w_sqrtf.c: Likewise.
10660 * math/w_sqrtl.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10663 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10664 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10665 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10666
10667 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10668
10669 [BZ #9739]
10670 * manual/string.texi (strnlen): Use correct parameter name in
10671 equivalent expression.
10672
10673 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10674
10675 [BZ #11174]
10676 * manual/users.texi (seteuid): Consistently use neweuid for
10677 argument name.
10678
10679 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10680
10681 [BZ #13704]
10682 * manual/nss.texi (Services in the NSS configuration): Correct
10683 list of services in example configuration file.
10684
10685 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10686
10687 [BZ #11322]
10688 * manual/arith.texi: Remove statements about negative zero
10689 behaving identically to zero.
10690
10691 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10692
10693 [BZ #5993]
10694 * manual/install.texi: Do not document upgrading from libc5.
10695
10696 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10697
10698 [BZ #4596]
10699 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10700
10701 2012-02-18 David S. Miller <davem@davemloft.net>
10702
10703 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10704 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10705 %o7 across the call.
10706 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10707 instead.
10708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10709 SETUP_PIC_REG_LEAF.
10710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10711 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10712 * sysdeps/sparc/crtn.S: Likewise.
10713
10714 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10715
10716 * aout/Makefile: Remove.
10717
10718 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10719
10720 [BZ #13058]
10721 * manual/examples/argp-ex1.c (main): Format definition in GNU
10722 style.
10723 * manual/examples/argp-ex2.c (main): Likewise.
10724 * manual/examples/argp-ex3.c (main): Likewise.
10725 * manual/examples/argp-ex4.c (main): Likewise.
10726 * manual/examples/longopt.c (main): Use new-style prototype
10727 definition.
10728 * manual/examples/strncat.c (main): Specify return type and use
10729 (void) for arguments.
10730 * manual/examples/subopt.c (main): Use char **argv argument.
10731
10732 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10733
10734 [BZ #5077]
10735 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10736 rounding modes.
10737
10738 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10739
10740 [BZ #6907]
10741 * manual/string.texi (strchr): Change when strchrnul is
10742 recommended.
10743
10744 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10745
10746 [BZ #174]
10747 * manual/locale.texi (setlocale): Document LOCPATH.
10748
10749 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10750
10751 [BZ #10210]
10752 * manual/process.texi (execle): Move @dots{} before last argument.
10753
10754 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10755
10756 [BZ #12047]
10757 * manual/charset.texi (Generic Charset Conversion): Fix typo
10758 (LC_TYPE -> LC_CTYPE).
10759
10760 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10761
10762 [BZ #5805]
10763 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10764 (scalbnf): Likewise.
10765 (scalbnl): Likewise.
10766 (scalbln): Likewise.
10767 (scalblnf): Likewise.
10768 (scalblnl): Likewise.
10769 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10770 (vwarnx): Likewise.
10771 (verr): Likewise.
10772 (verrx): Likewise.
10773 * manual/filesys.texi (telldir): Use braces around return type.
10774 * manual/llio.texi (mmap): Add space after comma.
10775 (mmap64): Likewise.
10776 * manual/math.texi (jn): Use @var{} on parameter names.
10777 (jnf): Likewise.
10778 (jnl): Likewise.
10779 (yn): Likewise.
10780 (ynf): Likewise.
10781 (ynl): Likewise.
10782 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10783 line.
10784 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10785 "...".
10786 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10787 (sched_get_priority_max): Likewise.
10788 * manual/signal.texi (sigvec): Add space after comma.
10789 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10790 names.
10791 (if_indextoname): Likewise.
10792 (if_freenameindex): Likewise.
10793 (sendto): Use ',' instead of '.' in prototype.
10794 * manual/startup.texi (syscall): Use @dots{} instead of literal
10795 "...".
10796 * manual/stdio.texi (__fpending): Separate initial words of
10797 paragraph from @deftypefun line.
10798 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10799 "...".
10800 (vsyslog): Use @var{} on parameter names.
10801 * manual/terminal.texi (stty): Use @var{} on parameter names.
10802 * manual/users.texi (getutmp): Use @var{} on parameter names.
10803 (getutmpx): Likewise.
10804
10805 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10806
10807 [BZ #6884]
10808 * manual/stdio.texi (fopen): Fix typos in description of
10809 ",ccs=STRING".
10810
10811 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10812
10813 [BZ #4026]
10814 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10815 get clock_id definition.
10816
10817 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10818
10819 [BZ #4822]
10820 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10821 (madvise): Cast every argument to void on its own.
10822
10823 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10824
10825 [BZ #9902]
10826 * manual/startup.texi (Exit Status): Fix typo.
10827
10828 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10829
10830 [BZ #10140]
10831 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10832 * manual/examples/argp-ex2.c: Likewise.
10833 * manual/examples/argp-ex3.c: Likewise.
10834
10835 2012-02-16 Richard Henderson <rth@redhat.com>
10836
10837 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10838 * sysdeps/s390/s390-32/initfini.c: Remove.
10839 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10840 * sysdeps/s390/s390-64/initfini.c: Remove.
10841
10842 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10843
10844 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10845 compiler output for sysdeps/generic/initfini.c.
10846 * sysdeps/sh/elf/initfini.c: Remove file.
10847
10848 2012-02-16 David S. Miller <davem@davemloft.net>
10849
10850 [BZ #11494]
10851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10852
10853 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10854 * sysdeps/sparc/crti.S: New file.
10855 * sysdeps/sparc/crtn.S: New file.
10856 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10857 * sysdeps/sparc/sparc64/Makefile: Likewise.
10858
10859 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10860
10861 [BZ #3335]
10862 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10863
10864 2012-02-15 Roland McGrath <roland@hack.frob.com>
10865
10866 [BZ #4822]
10867 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10868
10869 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10870 (write, read, close): Likewise.
10871 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10872
10873 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10874
10875 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10876 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10877 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10878 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10879 <bits/signalfd.h>.
10880 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10882 bits/signalfd.h.
10883
10884 2012-02-14 Marek Polacek <polacek@redhat.com>
10885
10886 * sysdeps/x86_64/crti.S: New file.
10887 * sysdeps/x86_64/crtn.S: New file.
10888 * sysdeps/x86_64/elf/initfini.c: Remove file.
10889
10890 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10891
10892 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10893 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10894 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10895 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10896 <bits/inotify.h>.
10897 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10899 bits/inotify.h.
10900
10901 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10902
10903 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10904 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10905 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10906 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10907 <bits/eventfd.h>.
10908 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10910 bits/eventfd.h.
10911
10912 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10913
10914 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10915 __feraiseexcept instead of feraiseexcept.
10916
10917 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10918 nanosleep invocations.
10919 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10920 strings, and add error checking for a nanosleep invocations.
10921
10922 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10923
10924 Replace FSF snail mail address with URLs, as per GNU coding standards.
10925 Most of the snail mail addresses were wrong anyway, and omitting
10926 them makes the source code easier to maintain. Almost all of the
10927 changes are to license notices and to locale LC_IDENTIFICATION
10928 addresses, except for this one:
10929 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10930 not its snail mail address.
10931
10932 2012-02-09 Richard Henderson <rth@twiddle.net>
10933
10934 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10935 of kernel-features.h.
10936
10937 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10938
10939 2012-02-08 Marek Polacek <polacek@redhat.com>
10940
10941 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10942 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10943 * sysdeps/gnu/_G_config.h: Likewise.
10944 * sysdeps/generic/_G_config.h: Likewise.
10945
10946 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10947
10948 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10949 tests.
10950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10951
10952 * sysdeps/powerpc/powerpc32/crti.S: New file.
10953 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10954 * sysdeps/powerpc/powerpc64/crti.S: New file.
10955 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10956
10957 * Makeconfig (have-initfini): Don't set.
10958 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10959 * configure.in (nopic_initfini): Don't substitute.
10960 * config.h.in (HAVE_INITFINI): Don't #undef.
10961 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10962 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10963
10964 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10965
10966 Support crti.S and crtn.S provided directly by architectures.
10967 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10968 [crti.S in sysdirs] (omit-deps): Likewise.
10969 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10970 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10971 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10972 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10973 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10974 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10975 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10976 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10977 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10978 compiler output for sysdeps/generic/initfini.c.
10979 * sysdeps/i386/elf/Makefile: Remove file.
10980 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10981
10982 2012-02-07 Marek Polacek <polacek@redhat.com>
10983
10984 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10985 * sysdeps/gnu/_G_config.h: Likewise.
10986 * sysdeps/mach/hurd/_G_config.h: Likewise.
10987
10988 2012-02-07 Marek Polacek <polacek@redhat.com>
10989
10990 * math/Makefile (tests): Add tst-CMPLX2.
10991 * math/tst-CMPLX2.c: New file.
10992
10993 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10994
10995 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10996
10997 * math/libm-test.inc (jn_test): Add missing L suffix.
10998
10999 2012-02-06 Marek Polacek <polacek@redhat.com>
11000
11001 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11002 * sysdeps/i386/fpu/e_powf.S: Likewise.
11003 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11004 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11005 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11006 * sysdeps/i386/fpu/e_pow.S: Likewise.
11007 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11008 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11009 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11010 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11011 * sysdeps/i386/fpu/e_log2.S: Likewise.
11012 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11013 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11014 * sysdeps/i386/fpu/e_powl.S: Likewise.
11015 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11016 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11017 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11018 * sysdeps/i386/fpu/e_logl.S: Likewise.
11019 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11020 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11021 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11022 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11023 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11024 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11025 * sysdeps/i386/fpu/e_log.S: Likewise.
11026 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11027 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11028 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11029 * sysdeps/i386/fpu/e_logf.S: Likewise.
11030 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11031 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11032 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11033 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11034 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11035 * sysdeps/i386/fpu/e_log10.S: Likewise.
11036 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11037 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11038 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11039 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11040 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11041 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11042 * sysdeps/i386/asm-syntax.h: Likewise.
11043 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11044 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11045 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11046 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11047 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11048 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11049 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11050 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11051 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11052 * sysdeps/powerpc/sysdep.h: Likewise.
11053 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11054 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11055
11056 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11057
11058 [BZ #411]
11059 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11060
11061 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11062
11063 * sysdeps/i386/sysdep.h: Include <features.h>.
11064 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11065 version.
11066
11067 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11068
11069 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11070 Define.
11071 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11072 LOAD_PIC_REG_STR.
11073
11074 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11075
11076 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11077 (SETUP_PIC_REG): Use GET_PC_THUNK.
11078 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11079 macro.
11080
11081 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11082
11083 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11084 for non-PIC compilation.
11085 (SETUP_PIC_REG): Add .p2align directive.
11086 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11087 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11088 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11089 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11090 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11091 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11092 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11093 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11094 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11095 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11096 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11097 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11098 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11099 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11100 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11101 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11102 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11103 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11104 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11105 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11106 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11107 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11108 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11109 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11110 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11112 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11113 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11114 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11115 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11116 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11117 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11118 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11119 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11120 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11121 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11122 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11123 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11124 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11125 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11126 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11127
11128 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11129
11130 * math/tst-CMPLX.c: Include <stdio.h>.
11131
11132 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11133
11134 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11135 float.
11136 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11137 * sysdeps/sparc/bits/mathdef.h: Likewise.
11138
11139 2012-01-31 Marek Polacek <polacek@redhat.com>
11140
11141 * libio/libio.h: Don't define _PARAMS.
11142 * locale/programs/config.h: Don't define PARAMS.
11143 * stdlib/strtol_l.c: Likewise.
11144 (__strtol_l): Remove PARAMS from the prototype.
11145
11146 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11147
11148 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11149 names. Just use the correct names. Remove unnecessary wrapper
11150 functions.
11151 * malloc/arena.c: Likewise.
11152 * malloc/hooks.c: Likewise.
11153
11154 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11155 ARENA_TEST says not to. Simplify test for creation of a new arena.
11156 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11157
11158 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11159
11160 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11161 into tail calls.
11162 (update_get_addr): New function.
11163 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11164 GET_ADDR_MODULE parameter.
11165
11166 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11167
11168 * crypt/cert.c: Remove __STDC__ conditionals.
11169 * crypt/crypt-entry.c: Likewise.
11170 * crypt/crypt_util.c: Likewise.
11171 * libio/filedoalloc.c: Likewise.
11172 * libio/fileops.c: Likewise.
11173 * libio/genops.c: Likewise.
11174 * libio/iofclose.c: Likewise.
11175 * libio/iofdopen.c: Likewise.
11176 * libio/iofopen.c: Likewise.
11177 * libio/iofopen64.c: Likewise.
11178 * libio/iogetdelim.c: Likewise.
11179 * libio/iopopen.c: Likewise.
11180 * libio/obprintf.c: Likewise.
11181 * libio/oldfileops.c: Likewise.
11182 * libio/oldiofclose.c: Likewise.
11183 * libio/oldiofdopen.c: Likewise.
11184 * libio/oldiofopen.c: Likewise.
11185 * libio/oldiopopen.c: Likewise.
11186 * libio/wfiledoalloc.c: Likewise.
11187 * libio/wgenops.c: Likewise.
11188 * locale/programs/xmalloc.c: Likewise.
11189 * misc/syslog.c: Likewise.
11190 * stdio-common/xbug.c: Likewise.
11191 * string/memchr.c: Likewise.
11192 * string/memcmp.c: Likewise.
11193 * string/memrchr.c: Likewise.
11194 * string/rawmemchr.c: Likewise.
11195 * sysdeps/posix/getcwd.c: Likewise.
11196 * time/strftime_l.c: Likewise.
11197
11198 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11199
11200 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11201 * config.make.in (config-cflags-sse2avx): Define.
11202 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11203 Fix typo.
11204
11205 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11206
11207 * scripts/config.guess: Update from upstream config git repository.
11208 * scripts/config.sub: Likewise.
11209
11210 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11211
11212 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11213 (EM_NUM): Update.
11214 (R_TILEPRO_*, R_TILEGX_*): New macros.
11215
11216 * scripts/firstversions.awk: Fix bug in version range handling.
11217
11218 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11219
11220 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11221
11222 * include/sys/epoll.h: New file.
11223 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11224 libc_hidden_def.
11225
11226 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11227
11228 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11229 Avoid unnecessary __WORDSIZE == 64 test.
11230 (fmaxf): Use VEX format if possible.
11231 (fmax): Likewise.
11232 (fminf): Likewise.
11233 (fmin): Likewise.
11234
11235 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11236 * math/math_private.h: Remove libc_fegetround* and
11237 libc_fesetround*.
11238 * sysdeps/i386/configure.in: Check for -msse2avx.
11239 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11240 also if SSE2AVX is defined.
11241 Remove libc_fegetround* and libc_fesetround*.
11242 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11243 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11244 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11245 of HAS_YMM_USABLE.
11246 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11247 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11248 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11249 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11250 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11251
11252 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11253
11254 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11255
11256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11257 size is not set.
11258 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11259
11260 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11261
11262 [BZ #13618]
11263 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11264 relocation.
11265 * Makeconfig (libm): Define.
11266 * elf/Makefile: Add rules to build and run tst-relsort1.
11267 * elf/tst-relsort1.c: New file.
11268 * elf/tst-relsort1mod1.c: New file.
11269 * elf/tst-relsort1mod2.c: New file.
11270
11271 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11272
11273 * math/s_ldexp.c: Remove __STDC__ conditionals.
11274 * math/s_ldexpf.c: Likewise.
11275 * math/s_ldexpl.c: Likewise.
11276 * math/s_nextafter.c: Likewise.
11277 * math/s_nexttowardf.c: Likewise.
11278 * math/s_significand.c: Likewise.
11279 * math/s_significandf.c: Likewise.
11280 * math/s_significandl.c: Likewise.
11281 * math/w_jnl.c: Likewise.
11282 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11283 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11284 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11285 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11286 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11287 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11288 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11289 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11290 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11291 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11293 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11294 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11295 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11296 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11297 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11299 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11300 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11301 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11302 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11303 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11304 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11305 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11306 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11307 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11308 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11309 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11310 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11311 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11312 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11313 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11314 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11315 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11316 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11317 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11318 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11319 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11320 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11321 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11322 * sysdeps/ieee754/k_standard.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11332 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11333 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11341 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11342 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11375 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11378 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11379 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11381 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11383 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11384 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11385 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11386 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11387 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11388 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11389 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11391 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11392 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11394 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11395 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11397 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11398 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11399 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11400 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11401 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11402 * sysdeps/ieee754/s_matherr.c: Likewise.
11403 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11404 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11405 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11406 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11407
11408 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11409
11410 * crypt/md5.h: Remove __STDC__ conditionals.
11411 * libio/libioP.h: Likewise.
11412 * locale/programs/config.h: Likewise.
11413 * sysdeps/generic/sysdep.h: Likewise.
11414 * sysdeps/i386/asm-syntax.h: Likewise.
11415 * sysdeps/s390/asm-syntax.h: Likewise.
11416 * sysdeps/unix/sysdep.h: Likewise.
11417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11419
11420 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11421
11422 * libio/libio.h: Remove __STDC__ conditionals.
11423 * malloc/obstack.h: Likewise.
11424 * math/complex.h: Likewise.
11425 * math/math.h: Likewise.
11426 * sysdeps/generic/_G_config.h: Likewise.
11427 * sysdeps/gnu/_G_config.h: Likewise.
11428 * sysdeps/mach/hurd/_G_config.h: Likewise.
11429 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11430 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11431 * sysdeps/sparc/bits/mathdef.h: Likewise.
11432
11433 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11434
11435 [BZ #13583]
11436 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11437 Clean up HAS_* macros.
11438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11439 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11440 possible.
11441 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11442 HAS_AVX.
11443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11444 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11446 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11447 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11448
11449 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11450
11451 * elf/tst-unique3.cc (gets): Remove declaration.
11452 * elf/tst-unique3lib.cc (gets): Likewise.
11453 * elf/tst-unique3lib2.cc (gets): Likewise.
11454 * elf/tst-unique4.cc (gets): Likewise.
11455
11456 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11457
11458 * include/stdio.h: Add C++ protection. Add gets declarations and
11459 definitions.
11460 * debug/tst-chk1.c: Don't declare gets here.
11461 * stdio-common/tst-gets.c: Likewise.
11462
11463 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11464
11465 * posix/glob: Remove directory.
11466
11467 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11468
11469 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11470
11471 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11472
11473 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11474 of the non-standard EPFNOSUPPORT.
11475
11476 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11477
11478 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11479 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11480 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11481
11482 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11483
11484 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11485
11486 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11487
11488 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11489 transient errors.
11490 * nscd/grpcache.c (cache_addgr): Likewise.
11491 * nscd/hstcache.c (cache_addhst): Likewise.
11492 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11493 * nscd/pwdcache.c (cache_addpw): Likewise.
11494 * nscd/servicescache.c (cache_addserv): Likewise.
11495
11496 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11497
11498 * malloc/malloc.c: Various cleanups.
11499 * malloc/hooks.c: Likewise.
11500
11501 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11502 * stdlib/bug-fmtmsg1.c: New file.
11503
11504 * stdlib/fmtmsg.c (init): Add missing unlock.
11505 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11506
11507 2012-01-12 Marek Polacek <polacek@redhat.com>
11508
11509 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11510 and _GNU_SOURCE.
11511
11512 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11513
11514 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11515 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11516 macro to ensure uniqueness of label name.
11517 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11518 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11519
11520 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11521
11522 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11523
11524 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11525 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11526 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11528
11529 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11530
11531 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11532
11533 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11534 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11535 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11536
11537 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11538
11539 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11540 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11541 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11542 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11543
11544 * math/bits/math-finite.h: Add ldexp support.
11545
11546 2012-01-10 Marek Polacek <polacek@redhat.com>
11547
11548 * locale/programs/localedef.h (show_archive_content): Add noreturn
11549 attribute.
11550
11551 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11552
11553 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11554
11555 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11556
11557 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11558
11559 * io/Makefile (headers): Add bits/poll2.h.
11560
11561 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11562
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11564 typo #include statement.
11565
11566 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11567
11568 * include/sys/cdefs.h: Define __attribute_alloc_size.
11569 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11570 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11571 * elf/pldd.c: Likewise.
11572 * iconv/iconv_charmap.c: Likewise.
11573 * iconv/iconvconfig.c: Likewise.
11574 * iconv/strtab.c: Likewise.
11575 * locale/programs/locale.c: Likewise.
11576 * locale/programs/localedef.h: Likewise.
11577 * locale/programs/simple-hash.c: Likewise.
11578 * nscd/nscd.h: Likewise.
11579 * nss/makedb.c: Likewise.
11580 * sysdeps/generic/ldconfig.h: Likewise.
11581 * locale/programs/localedef.c: Remove xmalloc prototype.
11582 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11583
11584 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11585
11586 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11587 appropriate.
11588
11589 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11590
11591 * math/Makefile (tests): Add tst-CMPLX.
11592 * math/tst-CMPLX.c: New file.
11593
11594 * math/complex.h (CMPLXL): Fix typo.
11595
11596 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11597 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11598 GLIBC_2.16.
11599 * debug/tst-chk1.c: Add poll and ppoll tests.
11600 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11601 * include/sys/poll.h: Add hidden proto for ppoll.
11602 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11603 * sysdeps/mach/hurd/ppoll.c: Likewise.
11604 * io/ppoll.c: Likewise.
11605 * debug/poll_chk.c: New file.
11606 * debug/ppoll_chk.c: New file.
11607 * include/bits/poll2.h: New file.
11608 * io/bits/poll2.h: New file.
11609
11610 [BZ #1350]
11611 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11612
11613 * configure.in: static is always set to yes. Remove.
11614 * config.make.in: Don't set build-static.
11615 * Makeconfig: Remove use of build-static.
11616 * dlfcn/Makefile: Likewise.
11617 * elf/Makefile: Likewise.
11618 * math/Makefile: Likewise.
11619 * misc/Makefile: Likewise.
11620 * nptl/Makefile: Likewise.
11621 * sysdeps/mach/hurd/Makefile: Likewise.
11622
11623 * configure.in: PWD_P is not used anymore.
11624 * config.make.in: Remove PWD_P entry.
11625
11626 * configure.in: Remove last remnants of RANLIB.
11627 No need to check for signed size_t anymore.
11628 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11629 and IA-64.
11630 Remove __builtin_expect test because we require at least gcc 3.4.
11631 * aclocal.m4: Likewise.
11632
11633 * wcsmbs/mbrtoc16.c: Implement using towc function.
11634 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11635 * wcsmbs/wcsmbsload.c: Likewise.
11636 * iconv/gconv_simple.c: Likewise.
11637 * iconv/gconv_int.h: Likewise.
11638 * iconv/gconv_builtin.h: Likewise.
11639 * iconv/iconv_prog.c: Remove CHAR16 handling.
11640
11641 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11642
11643 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11644
11645 * configure.in: Remove --with-elf and --enable-bounded options.
11646 Dont set base_machine for ia64. More non-ELF conditions removed.
11647 Remove testing and setting of leading underscore information.
11648 * config.make.in (build-bounded): Set to no.
11649 * config.h.in: Remove NO_UNDERSCORES entry.
11650 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11651 them.
11652 * csu/start.c: Remove !NO_UNDERSCORE code.
11653 * locale/localeinfo.h: Likewise.
11654 * sysdeps/generic/machine-gmon.h: Likewise.
11655 * sysdeps/generic/sysdep.h: Likewise.
11656 * sysdeps/i386/sysdep.h: Likewise.
11657 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11658 * sysdeps/mach/sysdep.h: Likewise.
11659 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11660 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11661 * sysdeps/sh/sysdep.h: Likewise.
11662 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11663 * sysdeps/unix/i386/sysdep.S: Likewise.
11664 * sysdeps/unix/sparc/start.c: Likewise.
11665 * sysdeps/unix/sparc/sysdep.S: Likewise.
11666 * sysdeps/unix/sparc/sysdep.h: Likewise.
11667 * sysdeps/unix/start.c: Likewise.
11668 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11669 * sysdeps/x86_64/sysdep.h: Likewise.
11670
11671 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11672
11673 [BZ #13553]
11674 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11675 for non-gcc.
11676 * argp/argp-fmtstream.h: Use const instead __const.
11677 * argp/argp.h: Likewise.
11678 * assert/assert.h: Likewise.
11679 * bits/fenv.h: Likewise.
11680 * bits/sched.h: Likewise.
11681 * bits/sigset.h: Likewise.
11682 * bits/sigthread.h: Likewise.
11683 * catgets/nl_types.h: Likewise.
11684 * conform/data/pthread.h-data: Likewise.
11685 * crypt/crypt-private.h: Likewise.
11686 * crypt/crypt.h: Likewise.
11687 * crypt/crypt_util.c: Likewise.
11688 * ctype/ctype.h: Likewise.
11689 * debug/execinfo.h: Likewise.
11690 * debug/mbsnrtowcs_chk.c: Likewise.
11691 * debug/mbsrtowcs_chk.c: Likewise.
11692 * debug/wcsnrtombs_chk.c: Likewise.
11693 * debug/wcsrtombs_chk.c: Likewise.
11694 * debug/wcstombs_chk.c: Likewise.
11695 * dirent/dirent.h: Likewise.
11696 * dlfcn/dlfcn.h: Likewise.
11697 * elf/neededtest4.c: Likewise.
11698 * grp/grp.h: Likewise.
11699 * gshadow/gshadow.h: Likewise.
11700 * iconv/gconv.h: Likewise.
11701 * iconv/gconv_int.h: Likewise.
11702 * iconv/gconv_simple.c: Likewise.
11703 * iconv/iconv.h: Likewise.
11704 * iconv/loop.c: Likewise.
11705 * iconv/skeleton.c: Likewise.
11706 * include/aio.h: Likewise.
11707 * include/aliases.h: Likewise.
11708 * include/argz.h: Likewise.
11709 * include/arpa/inet.h: Likewise.
11710 * include/assert.h: Likewise.
11711 * include/dirent.h: Likewise.
11712 * include/dlfcn.h: Likewise.
11713 * include/execinfo.h: Likewise.
11714 * include/fcntl.h: Likewise.
11715 * include/fenv.h: Likewise.
11716 * include/glob.h: Likewise.
11717 * include/grp.h: Likewise.
11718 * include/libintl.h: Likewise.
11719 * include/mntent.h: Likewise.
11720 * include/netdb.h: Likewise.
11721 * include/pwd.h: Likewise.
11722 * include/rpc/netdb.h: Likewise.
11723 * include/sched.h: Likewise.
11724 * include/search.h: Likewise.
11725 * include/shadow.h: Likewise.
11726 * include/signal.h: Likewise.
11727 * include/stdio.h: Likewise.
11728 * include/stdlib.h: Likewise.
11729 * include/string.h: Likewise.
11730 * include/sys/socket.h: Likewise.
11731 * include/sys/stat.h: Likewise.
11732 * include/sys/statfs.h: Likewise.
11733 * include/sys/statvfs.h: Likewise.
11734 * include/sys/syslog.h: Likewise.
11735 * include/sys/time.h: Likewise.
11736 * include/sys/uio.h: Likewise.
11737 * include/time.h: Likewise.
11738 * include/unistd.h: Likewise.
11739 * include/utmp.h: Likewise.
11740 * include/wchar.h: Likewise.
11741 * include/wctype.h: Likewise.
11742 * inet/aliases.h: Likewise.
11743 * inet/arpa/inet.h: Likewise.
11744 * inet/netinet/ether.h: Likewise.
11745 * inet/netinet/in.h: Likewise.
11746 * intl/libintl.h: Likewise.
11747 * io/bits/fcntl2.h: Likewise.
11748 * io/fcntl.h: Likewise.
11749 * io/ftw.h: Likewise.
11750 * io/sys/poll.h: Likewise.
11751 * io/sys/stat.h: Likewise.
11752 * io/sys/statfs.h: Likewise.
11753 * io/sys/statvfs.h: Likewise.
11754 * io/utime.h: Likewise.
11755 * libio/bits/stdio.h: Likewise.
11756 * libio/bits/stdio2.h: Likewise.
11757 * libio/libio.h: Likewise.
11758 * libio/libioP.h: Likewise.
11759 * libio/stdio.h: Likewise.
11760 * locale/lc-ctype.c: Likewise.
11761 * locale/locale.h: Likewise.
11762 * login/utmp.h: Likewise.
11763 * malloc/arena.c: Likewise.
11764 * malloc/malloc.c: Likewise.
11765 * malloc/malloc.h: Likewise.
11766 * malloc/mcheck.c: Likewise.
11767 * malloc/mtrace.c: Likewise.
11768 * math/bits/mathcalls.h: Likewise.
11769 * math/fenv.h: Likewise.
11770 * math/math_private.h: Likewise.
11771 * misc/bits/error.h: Likewise.
11772 * misc/bits/syslog.h: Likewise.
11773 * misc/err.h: Likewise.
11774 * misc/error.h: Likewise.
11775 * misc/fstab.h: Likewise.
11776 * misc/mntent.h: Likewise.
11777 * misc/regexp.h: Likewise.
11778 * misc/search.h: Likewise.
11779 * misc/sgtty.h: Likewise.
11780 * misc/sys/mman.h: Likewise.
11781 * misc/sys/syslog.h: Likewise.
11782 * misc/sys/uio.h: Likewise.
11783 * misc/sys/xattr.h: Likewise.
11784 * misc/ttyent.h: Likewise.
11785 * nis/rpcsvc/ypclnt.h: Likewise.
11786 * nss/nss.h: Likewise.
11787 * posix/bits/unistd.h: Likewise.
11788 * posix/fnmatch.h: Likewise.
11789 * posix/glob.h: Likewise.
11790 * posix/sched.h: Likewise.
11791 * posix/spawn.h: Likewise.
11792 * posix/sys/wait.h: Likewise.
11793 * posix/unistd.h: Likewise.
11794 * posix/wordexp.h: Likewise.
11795 * pwd/pwd.h: Likewise.
11796 * resolv/netdb.h: Likewise.
11797 * resource/sys/resource.h: Likewise.
11798 * rt/aio.h: Likewise.
11799 * rt/bits/mqueue2.h: Likewise.
11800 * rt/mqueue.h: Likewise.
11801 * shadow/shadow.h: Likewise.
11802 * signal/signal.h: Likewise.
11803 * socket/send.c: Likewise.
11804 * socket/sendto.c: Likewise.
11805 * socket/sys/socket.h: Likewise.
11806 * stdio-common/printf.h: Likewise.
11807 * stdlib/bits/stdlib.h: Likewise.
11808 * stdlib/fmtmsg.h: Likewise.
11809 * stdlib/monetary.h: Likewise.
11810 * stdlib/stdlib.h: Likewise.
11811 * stdlib/ucontext.h: Likewise.
11812 * streams/stropts.h: Likewise.
11813 * string/argz.h: Likewise.
11814 * string/bits/string2.h: Likewise.
11815 * string/string.h: Likewise.
11816 * string/strings.h: Likewise.
11817 * sunrpc/rpc/auth.h: Likewise.
11818 * sunrpc/rpc/auth_des.h: Likewise.
11819 * sunrpc/rpc/clnt.h: Likewise.
11820 * sunrpc/rpc/netdb.h: Likewise.
11821 * sunrpc/rpc/pmap_clnt.h: Likewise.
11822 * sunrpc/rpc/xdr.h: Likewise.
11823 * sysdeps/generic/inttypes.h: Likewise.
11824 * sysdeps/generic/net/if.h: Likewise.
11825 * sysdeps/generic/sys/swap.h: Likewise.
11826 * sysdeps/gnu/net/if.h: Likewise.
11827 * sysdeps/gnu/utmpx.h: Likewise.
11828 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11829 * sysdeps/i386/i486/bits/string.h: Likewise.
11830 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11831 * sysdeps/s390/bits/string.h: Likewise.
11832 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11833 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11834 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11835 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11836 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11837 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11838 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11839 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11840 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11841 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11842 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11843 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11844 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11845 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11846 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11847 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11848 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11850 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11851 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11852 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11853 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11854 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11855 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11856 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11857 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11858 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11859 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11860 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11861 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11862 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11863 * sysvipc/sys/ipc.h: Likewise.
11864 * sysvipc/sys/msg.h: Likewise.
11865 * sysvipc/sys/sem.h: Likewise.
11866 * sysvipc/sys/shm.h: Likewise.
11867 * termios/termios.h: Likewise.
11868 * time/sys/time.h: Likewise.
11869 * time/time.h: Likewise.
11870 * wcsmbs/bits/wchar2.h: Likewise.
11871 * wcsmbs/uchar.h: Likewise.
11872 * wcsmbs/wchar.h: Likewise.
11873 * wctype/wctype.h: Likewise.
11874
11875 [BZ #13551]
11876 * Makeconfig: Remove all but ELF support including AIX support.
11877 * Makerules: Likewise.
11878 * config.h.in: Likewise.
11879 * config.make.in: Likewise.
11880 * configure: Likewise.
11881 * configure.in: Likewise.
11882 * csu/Makefile: Likewise.
11883 * csu/version.c: Likewise.
11884 * debug/Makefile: Likewise.
11885 * dlfcn/Makefile: Likewise.
11886 * elf/Makefile: Likewise.
11887 * extra-lib.mk: Likewise.
11888 * iconv/Makefile: Likewise.
11889 * include/libc-symbols.h: Likewise.
11890 * include/shlib-compat.h: Likewise.
11891 * resolv/Makefile: Likewise.
11892 * resolv/res_libc.c: Likewise.
11893 * rt/Makefile: Likewise.
11894 * sysdeps/i386/asm-syntax.h: Likewise.
11895 * sysdeps/i386/sysdep.h: Likewise.
11896 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11897 * sysdeps/mach/sysdep.h: Likewise.
11898 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11899 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11900 * sysdeps/s390/asm-syntax.h: Likewise.
11901 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11902 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11903 * sysdeps/sh/sysdep.h: Likewise.
11904 * sysdeps/unix/sparc/sysdep.h: Likewise.
11905 * sysdeps/wordsize-32/divdi3.c: Likewise.
11906 * sysdeps/x86_64/sysdep.h: Likewise.
11907
11908 * argp/Versions: Remove _argp_unlock_xxx.
11909
11910 [BZ #13559]
11911 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11912 * abilist/libBrokenLocale.abilist: Likewise.
11913 * abilist/libanl.abilist: Likewise.
11914 * abilist/libc.abilist: Likewise.
11915 * abilist/libcrypt.abilist: Likewise.
11916 * abilist/libdl.abilist: Likewise.
11917 * abilist/libm.abilist: Likewise.
11918 * abilist/libnsl.abilist: Likewise.
11919 * abilist/libpthread.abilist: Likewise.
11920 * abilist/libresolv.abilist: Likewise.
11921 * abilist/librt.abilist: Likewise.
11922 * abilist/libthread_db.abilist: Likewise.
11923 * abilist/libutil.abilist: Likewise.
11924 * abilist/libnss_db.abilist: New file.
11925
11926 * scripts/abilist.awk: Add support for indirect functions.
11927
11928 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11929
11930 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11931
11932 * shlib-versions: Remove entries for ports architectures.
11933
11934 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11935 files in ports.
11936 * elf/stackguard-macros.h: Remove support for IA-64.
11937 * elf/tst-auditmod1.c: Likewise.
11938 * sysdeps/generic/ldsodefs.h: Likewise.
11939
11940 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11941 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11942 configure files.
11943
11944 [BZ #13552]
11945 * configure.in: Remove --enable-omitfp support.
11946 * FAQ.in: Adjust.
11947 * config.make.in: Likewise.
11948 * Makeconfig: Likewise.
11949 * manual/install.texi: Likewise.
11950
11951 In case anyone cares, the IA-64 architecture could move to ports.
11952 * sysdeps/ia64/*: Removed.
11953 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11954 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11955
11956 [BZ #13555]
11957 * configure.in: Remove entries for unsupported architectures.
11958
11959 [BZ #13533]
11960 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11961 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11962 routines.
11963 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11964 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11965 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11966 fall back to using wcrtomb.
11967 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11968 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11969 renaming.
11970 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11971 * wcsmbs/tst-c16c32-1.c: New file.
11972
11973 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11974 local variable.
11975
11976 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11977
11978 * elf/tst-unique3.cc: Add explicit declaration of gets.
11979 * elf/tst-unique3lib.cc: Likewise.
11980 * elf/tst-unique3lib2.cc: Likewise.
11981 * elf/tst-unique4.cc: Likewise.
11982
11983 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11984
11985 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11986
11987 [BZ #13566]
11988 * assert/assert.h (static_assert): Don't define for C++.
11989 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11990 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11991
11992 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11993
11994 * iconv/loop.c (single loop): Fix assertion in storing of
11995 remaining bytes.
11996
11997 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11998
11999 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12000
12001 * posix/getconf.c: Update copyright year.
12002 * nss/getent.c: Likewise.
12003 * nss/makedb.c: Likewise.
12004 * iconv/iconvconfig.c: Likewise.
12005 * iconv/iconv_prog.c: Likewise.
12006 * elf/ldconfig.c: Likewise.
12007 * elf/pldd.c: Likewise.
12008 * elf/sotruss.ksh: Likewise.
12009 * catgets/gencat.c: Likewise.
12010 * csu/version.c: Likewise.
12011 * elf/ldd.bash.in: Likewise.
12012 * elf/sprof.c (print_version): Likewise.
12013 * locale/programs/locale.c: Likewise.
12014 * locale/programs/localedef.c: Likewise.
12015 * login/programs/pt_chown.c: Likewise.
12016 * nscd/nscd.c (print_version): Likewise.
12017 * debug/xtrace.sh: Likewise.
12018 * malloc/memusage.sh: Likewise.
12019 * malloc/mtrace.pl: Likewise.
12020 * debug/catchsegv.sh: Likewise.
12021
12022 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12023
12024 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12025 pure attribute.
12026
12027 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12028
12029 [BZ #13533]
12030 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12031 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12032 transformations.
12033 * iconv/gconv_int.h: Likewise.
12034 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12035 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12036 from libc for GLIBC_2.16.
12037 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12038 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12039 * wcsmbs/uchar.h: Really define mbstate_t.
12040 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12041 * wcsmbs/c16rtomb.c: New file.
12042 * wcsmbs/mbrtoc16.c: New file.
12043 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12044 for C/POSIX locale.
12045 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12046 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12047
12048 * wcsmbs/wchar.h: Add missing __restrict.
12049
12050 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12051
12052 [BZ #13532]
12053 * time/Makefile (routines): Add timespec_get.
12054 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12055 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12056 timespec for ISO C11.
12057 * time/timespec_get.c: New file.
12058 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12059 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12060
12061 [BZ #13531]
12062 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12063 * stdlib/stdlib.h: Declare aligned_alloc.
12064 * Versions.def: Add GLIBC_2.16 for libc.
12065 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12066
12067 [BZ 13527]
12068 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12069 ISO C11.
12070
12071 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12072 code.
12073
12074 [BZ #13528]
12075 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12076
12077 [BZ #13529]
12078 * assert/assert.h (static_assert): Define.
12079
12080 * version.h: Update for 2.16 development version.
12081
12082 [BZ #13526]
12083 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12084 _ISOC11_SOURCE.
12085
12086 * version.h (RELEASE): Bump for 2.15 release.
12087 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12088
12089 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12090 Patch by Marek Polacek <mpolacek@redhat.com>.
12091
12092 * bits/byteswap.h: Protect long long constants with __extension__.
12093 * sysdeps/i386/bits/byteswap.h: Likewise.
12094 * sysdeps/ia64/bits/byteswap.h: Likewise.
12095 * sysdeps/s390/bits/byteswap.h: Likewise.
12096 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12097
12098 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12099
12100 [BZ #13540]
12101 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12102 destination buffer.
12103 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12104
12105 2011-12-23 Marek Polacek <polacek@redhat.com>
12106
12107 * elf/dl-addr.c (determine_info): Add inline keyword.
12108 * elf/tst-auditmod4b.c (check_avx): Likewise.
12109 * elf/tst-auditmod6b.c (check_avx): Likewise.
12110 * elf/tst-auditmod6c.c (check_avx): Likewise.
12111 * elf/tst-auditmod7b.c (check_avx): Likewise.
12112
12113 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12114
12115 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12116 !__SSE_MATH__.
12117
12118 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12119
12120 [BZ #13540]
12121 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12122 processing for last bytes.
12123
12124 2011-08-06 Bruno Haible <bruno@clisp.org>
12125
12126 [BZ #13061]
12127 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12128 U+0385, not to U+1FEE.
12129
12130 [BZ #13062]
12131 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12132 entry for U+00A5 U+0301.
12133
12134 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12135
12136 [BZ #13166]
12137 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12138 buffer for the output is too small.
12139
12140 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12141 optimization.
12142
12143 [BZ #13185]
12144 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12145 SSE flags if possible.
12146
12147 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12148
12149 [BZ #13540]
12150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12151 processing for last bytes.
12152
12153 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12154
12155 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12156 (syscall-list-default-options, syscall-list-default-condition)
12157 (syscall-list-includes): Define.
12158 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12159 list of ABIs and options and #if conditions for each ABI. Do not
12160 handle common syscalls between ABIs specially.
12161 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12162 Remove.
12163 (syscall-list-variants, syscall-list-32bit-options)
12164 (syscall-list-32bit-condition, syscall-list-64bit-options)
12165 (syscall-list-64bit-condition): Define.
12166 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12167 (syscall-list-variants, syscall-list-32bit-options)
12168 (syscall-list-32bit-condition, syscall-list-64bit-options)
12169 (syscall-list-64bit-condition): Define.
12170 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12171 Remove.
12172 (syscall-list-variants, syscall-list-32bit-options)
12173 (syscall-list-32bit-condition, syscall-list-64bit-options)
12174 (syscall-list-64bit-condition): Define.
12175 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12176 Remove.
12177 (syscall-list-variants, syscall-list-32bit-options)
12178 (syscall-list-32bit-condition, syscall-list-64bit-options)
12179 (syscall-list-64bit-condition): Define.
12180
12181 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12182
12183 * locale/iso-639.def: Add brx entry.
12184
12185 [BZ #13328]
12186 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12187 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12188
12189 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12190 __feraiseexcept_renamed.
12191
12192 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12193
12194 [BZ #13538]
12195 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12196 EPOLLET with unsigned values.
12197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12198 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12199
12200 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12201 to large cancellation.
12202 * math/s_cacoshf.c: Likewise.
12203 * math/s_cacoshl.c: Likewise.
12204
12205 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12206
12207 [BZ #13305]
12208 [BZ #12786]
12209 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12210 * math/s_cacoshf.c: Likewise.
12211 * math/s_cacoshl.c: Likewise.
12212
12213 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12214
12215 [BZ #13439]
12216 * iconv/gconv.h: Define __GCONV_SWAP.
12217 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12218 * iconvdata/utf-16.c: Likewise.
12219 * iconvdata/utf-32.c: Likewise.
12220
12221 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12222
12223 [BZ #13524]
12224 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12225 numerator after shifting it by one limb.
12226
12227 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12228
12229 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12230 under [__USE_EXTERN_INLINES].
12231
12232 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12233
12234 [BZ #13446]
12235 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12236
12237 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12238
12239 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12240 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12241 optimized code.
12242 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12243 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12244 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12245 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12246 for strncasecmp/strncasecmp_l compilation.
12247 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12248 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12249
12250 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12251
12252 [BZ #13484]
12253 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12254 of __asm__.
12255
12256 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12257
12258 [BZ #13506]
12259 * time/tzfile.c (__tzfile_read): Check values from file header.
12260
12261 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12262
12263 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12264 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12265 * powerpc/powerpc32/dl-start.S: Likewise.
12266 * powerpc/powerpc32/elf/start.S: Likewise.
12267 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12268 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12269 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12270 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12271 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12272 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12273 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12274 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12275 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12276 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12277 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12278 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12279 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12280 * powerpc/powerpc32/memset.S: Likewise.
12281 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12282 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12283 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12284 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12285 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12286 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12287 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12288 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12289 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12290 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12291 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12292 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12293 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12294
12295 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12296
12297 * math/libm-test.inc: Added more nearbyint tests.
12298 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12299 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12301 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12302
12303 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12304
12305 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12306 FD_CLOEXEC.
12307
12308 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12309
12310 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12311 Add wcscpy-ssse3 wcscpy-c.
12312 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12313 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12314 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12315 * sysdeps/x86_64/wcschr.S: New file.
12316 * sysdeps/x86_64/wcsrchr.S: New file.
12317 * string/test-strcmp.c: Remove checking of wcscmp function for
12318 wrong alignments.
12319 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12320 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12321 wcsrchr-sse2 wcsrchr-c.
12322 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12323 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12324 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12325 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12326 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12327 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12328 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12329 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12330 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12331 * wcsmbc/wcschr.c (WCSCHR): New macro.
12332
12333 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12334
12335 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12336 * wcsmbs/test-wcsrchr.c: New file.
12337 * string/test-strrchr.c: Add wcsrchr support.
12338 (WIDE): New macro.
12339 * wcsmbs/test-wcscpy.c: New file.
12340 * string/test-strcpy.c: Add wcscpy support.
12341 (WIDE): New macro.
12342
12343 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12344
12345 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12346 the inner loop.
12347
12348 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12349
12350 [BZ #13472]
12351 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12352
12353 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12354
12355 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12356 Minor optimizations.
12357
12358 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12359 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12360 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12361
12362 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12363
12364 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12365 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12366 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12367 for gcc to avoid warnings.
12368 * inet/Makefile (tests): Add tst-checks.
12369 * inet/tst-checks.c: New file.
12370
12371 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12372 warning.
12373
12374 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12375 __wmemcmp_sse2.
12376
12377 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12378 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12379
12380 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12381
12382 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12383
12384 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12385 problem.
12386
12387 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12388
12389 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12390
12391 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12392 conditional on GCC version.
12393 (__arch_compare_and_exchange_val_8_acq)
12394 (__arch_compare_and_exchange_val_16_acq)
12395 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12396 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12397 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12398
12399 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12400
12401 * sysdeps/sh/backtrace.c: New file.
12402
12403 2011-12-02 Andreas Schwab <schwab@redhat.com>
12404
12405 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12406 parenthesis.
12407
12408 2011-12-01 Andreas Schwab <schwab@redhat.com>
12409
12410 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12411 falling back to utime.
12412
12413 2011-11-30 Andreas Schwab <schwab@redhat.com>
12414
12415 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12416 expectations for float.
12417
12418 2011-11-29 Andreas Schwab <schwab@redhat.com>
12419
12420 * locale/weight.h (findidx): Add parameter len.
12421 * locale/weightwc.h (findidx): Likewise.
12422 * posix/fnmatch_loop.c (FCT): Adjust caller.
12423 * posix/regcomp.c (build_equiv_class): Likewise.
12424 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12425 * posix/regexec.c (check_node_accept_bytes): Likewise.
12426 * string/strcoll_l.c (STRCOLL): Likewise.
12427 * string/strxfrm_l.c (STRXFRM): Likewise.
12428
12429 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12430
12431 * Makefile.in: Remove CVSOPT handling.
12432 * configure.in: Remove use of AC_REVISION.
12433 * iconvdata/Makefile (distribute): No need to filter out CVS.
12434 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12435 handling.
12436
12437 2011-11-16 Andreas Schwab <schwab@redhat.com>
12438
12439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12440 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12441 [USE_AS_STRNCASECMP_L]: Likewise.
12442 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12443 NO_TLS_DIRECT_SEG_REFS.
12444 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12445 Fix argument offsets for non-PIC.
12446 [USE_AS_STRNCASECMP_L]: Likewise.
12447 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12448 NO_TLS_DIRECT_SEG_REFS.
12449
12450 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12451
12452 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12453 O_CLOEXEC.
12454 * locale/loadlocale.c (_nl_load_locale): Likewise.
12455
12456 2011-11-15 Andreas Schwab <schwab@redhat.com>
12457
12458 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12459 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12460 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12461 (SYSCALL_GETTIME): Set errno on error.
12462
12463 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12464 count references to noai6ai_cached.
12465
12466 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12467
12468 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12469
12470 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12471 FD_CLOEXEC for /proc/self/maps.
12472
12473 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12474 FD_CLOEXEC for /proc/meminfo.
12475
12476 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12477 gai.conf.
12478
12479 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12480 FD_CLOEXEC for given file.
12481
12482 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12483
12484 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12485 FD_CLOEXEC for /etc/hosts.
12486 (_gethtent): Likewise.
12487
12488 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12489
12490 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12491 cancellation and set FD_CLOEXEC for /etc/netgroup.
12492
12493 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12494 reading /etc/publickey.
12495
12496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12497 allow cancellation when reading /etc/group.
12498
12499 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12500 cancellation.
12501 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12502
12503 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12504 when using data file.
12505
12506 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12507
12508 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12509 (write_nis_obj): Use "c" and "e" in fopen.
12510
12511 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12512
12513 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12514
12515 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12516
12517 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12518
12519 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12520 locale.alias.
12521
12522 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12523
12524 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12525
12526 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12527
12528 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12529 file parsing and set FD_CLOEXEC.
12530
12531 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12532
12533 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12534
12535 2011-11-14 Andreas Schwab <schwab@redhat.com>
12536
12537 * malloc/arena.c (arena_get2): Don't call reused_arena when
12538 _int_new_arena failed.
12539
12540 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12541
12542 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12543 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12544 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12545 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12546 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12547 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12548 to compile strcasecmp and strncasecmp.
12549 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12550 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12551
12552 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12553
12554 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12555
12556 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12557 locale-defines.sym to gen-as-const-headers.
12558 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12559 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12561 to compile strcasecmp and strncasecmp.
12562 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12563 strcasecmp_l and strncasecmp_l.
12564 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12565 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12566 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12567 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12568 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12569 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12570 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12571 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12572 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12573 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12574 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12575
12576 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12577
12578 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12579 result of SYSDEP_GETTIME_CPU to retval.
12580 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12581 parameter list to macro. Remove trailing semicolon. Adjust users.
12582
12583 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12584 variable.
12585
12586 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12587 mantissa words.
12588 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12589
12590 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12591 from unused variable.
12592
12593 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12594 DWARF definitions.
12595 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12596 for assembling.
12597
12598 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12599 over namespaces.
12600
12601 * sunrpc/rpc_prot.c (rejected): Fix case value.
12602
12603 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12604 unsigned long long int to avoid warnings in shift.
12605
12606 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12607 of use of trans.
12608 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12609 variable tmp.
12610
12611 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12612 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12613 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12614
12615 * nis/nis_table.c (nis_list): Use variable of correct type for
12616 result of __follow_path call.
12617
12618 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12619
12620 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12621 of math functions ceil, trunc, floor, round, and sqrt, when
12622 avaliable on the platform.
12623 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12624 name clash.
12625 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12626 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12627 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12628
12629 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12630
12631 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12632 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12633
12634 2011-11-11 Roland McGrath <roland@hack.frob.com>
12635
12636 * include/unistd.h: Fix __readlink return type.
12637 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12638
12639 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12640
12641 * stdlib/ucontext.h: Undo last change for makecontext.
12642
12643 2011-11-11 Andreas Schwab <schwab@redhat.com>
12644
12645 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12646
12647 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12648 * setjmp/setjmp.h: Mark functions as non-leaf.
12649 * setjmp/bits/setjmp2.h: Likewise.
12650 * stdlib/ucontext.h: Likewise.
12651
12652 2011-11-10 Andreas Schwab <schwab@redhat.com>
12653
12654 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12655 (reused_arena): Don't check arena limit.
12656 (arena_get2): Atomically check arena limit.
12657
12658 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12659
12660 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12661 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12662
12663 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12664 instructions.
12665
12666 2011-11-07 Andreas Schwab <schwab@redhat.com>
12667
12668 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12669 handler when locking.
12670
12671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12672 Fix size of allocated buffer.
12673
12674 2011-11-04 Andreas Schwab <schwab@redhat.com>
12675
12676 [BZ #10103]
12677 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12678 declarations for long double functions.
12679 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12680
12681 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12682
12683 2011-11-03 Andreas Schwab <schwab@redhat.com>
12684
12685 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12686 installed.
12687
12688 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12689 is disabled.
12690
12691 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12692
12693 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12694
12695 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12696
12697 * include/alloca.h (stackinfo_alloca_round): Define.
12698 (extend_alloca): Use it.
12699 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12700 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12701 here.
12702
12703 * scripts/check-local-headers.sh: Ignore libaudit.h.
12704
12705 * nscd/Makefile (extra-objs): Make recursively expanded.
12706
12707 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12708
12709 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12710 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12711
12712 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12713 * posix/tst-rfc3484-2.c: Likewise.
12714 * posix/tst-rfc3484-3.c: Likewise.
12715
12716 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12717 process_vm_writev.
12718 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12719 process_vm_writev.
12720 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12721 process_vm_writev from libc using GLIBC_2.15 version.
12722
12723 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12724
12725 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12726
12727 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12728 stack usage.
12729
12730 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12731
12732 [BZ #13367]
12733 * nss/getent.c (initgroups_keys): Show error message in case no group
12734 names are given.
12735
12736 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12737 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12738 __bump_nl_timestamp.
12739 * nscd/connections (nscd_init): When host database is served open
12740 netlink socket and request notification about configuration changes.
12741 (main_loop_poll): Track netlink file descriptor and bump timestamp
12742 in case data becomes available.
12743 (main_loop_epoll): Likewise.
12744 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12745 (database_pers_head): Add extra_data fileds.
12746 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12747 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12748 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12749 Adjust caller.
12750 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12751 in6ai data, call __free_in6ai.
12752 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12753 Add -DHAVE_NETLINK.
12754 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12755 interface information. Reuse previous data if netlink timestamp
12756 is not changed.
12757 (__bump_nl_timestamp): New function.
12758 (__free_in6ai): New function.
12759
12760 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12761
12762 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12763 close_not_cancel_no_status here.
12764 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12765
12766 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12767
12768 [BZ #13276]
12769 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12770 return value.
12771
12772 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12773 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12774 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12775
12776 2011-07-03 Andreas Jaeger <aj@suse.de>
12777
12778 [BZ #10709]
12779 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12780 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12781 * math/libm-test.inc (sin_test): Add test case.
12782
12783 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12784
12785 [BZ #13337]
12786 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12787 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12788
12789 * elf/chroot_canon.c (chroot_canon): Cleanups.
12790
12791 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12792
12793 [BZ #13335]
12794 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12795 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12796
12797 * string/test-strchr.c: Make usable for strchrnul testing.
12798 * string/test-strchrnul.c: New file.
12799 * string/Makefile (strop-tests): Add strchrnul.
12800
12801 * po/it.po: Update from translation team.
12802 * po/es.po: Likewise.
12803
12804 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12805
12806 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12807 the three constants needed as parameters. Drop the others.
12808 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12809 __m128i_strloadu_tolower.
12810 Create and initialize variable zero and use it in all the places
12811 where _mm_setzero_si128 was used.
12812
12813 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12814 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12815 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12816 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12817 anymore.
12818 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12819 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12820 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12821 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12822 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12823 __mpranred, __mptan.
12824 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12825 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12826 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12827 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12828 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12829 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12830 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12831 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12832 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12833
12834 2011-10-28 Andreas Schwab <schwab@redhat.com>
12835
12836 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12837 redefine if SHARED.
12838 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12839
12840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12841 wide char related routines to wcsmbs subdir.
12842
12843 2011-10-27 Andreas Schwab <schwab@redhat.com>
12844
12845 [BZ #13344]
12846 * misc/sys/cdefs.h (__THROWNL): Define.
12847 * posix/unistd.h: Use __THREADNL instead of __THREAD
12848 for memory synchronization functions.
12849
12850 2011-10-26 Roland McGrath <roland@hack.frob.com>
12851
12852 [BZ #13349]
12853 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12854 doesn't exist.
12855 * manual/stdio.texi (Obstack Streams): Node removed.
12856
12857 2011-10-26 Andreas Schwab <schwab@redhat.com>
12858
12859 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12860 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12861 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12862
12863 * math/math_private.h (math_force_eval): Allow non-addressable
12864 arguments.
12865 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12866
12867 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12868
12869 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12870 file is not needed.
12871
12872 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12873 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12874 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12875 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12876 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12877 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12878 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12879 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12880 Add AVX variants.
12881 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12882 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12883 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12884 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12885 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12886 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12887 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12888 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12889 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12890 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12891 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12892 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12893 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12894 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12895 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12896 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12897 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12898 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12899 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12900
12901 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12902 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12903
12904 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12905 place. Use VEX encoding when compiling for AVX.
12906
12907 2011-10-25 Andreas Schwab <schwab@redhat.com>
12908
12909 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12910 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12911
12912 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12913
12914 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12915
12916 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12917 useless if() expression.
12918 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12919 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12920 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12921 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12922 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12923 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12924 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12925 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12926 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12927 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12928 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12929 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12930 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12931 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12932 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12933 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12934 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12936 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12937
12938 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12939
12940 2011-10-25 Andreas Schwab <schwab@redhat.com>
12941
12942 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12943 condition.
12944 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12945
12946 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12947
12948 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12949 .text section. Avoid duplicate constants.
12950 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12952 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12954 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12957 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12958 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12959 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12960 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12961 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12962 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12963 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12964 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12965 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12966 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12967 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12968 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12969 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12970 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12971 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12972 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12973 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12974 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12975 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12976 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12977 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12978 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12979 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12980 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12981 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12982 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12983 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12984 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12985 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12986 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12987 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12988 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12989 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12990 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12991 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12992 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12993 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12994 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12995
12996 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12997
12998 * sysdeps/x86_64/dla.h: Move to ...
12999 * sysdeps/x86_64/fpu/dla.h: ...here.
13000 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13001 situations. Use __builtin_fma only for gcc 4.6 and up.
13002
13003 * config.make.in: Add have-mfma4 entry.
13004 * configure.in: Substitute libc_cv_cc_fma4.
13005 * math/Makefile (dbl-only-routines): Add sincostab.
13006 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13007 Use __sincostab not sincos.
13008 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13009 name is a macro.
13010 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13014 using __copysign.
13015 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13016 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13017 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13018 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13019 and __inv.
13020 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13021 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13022 __copysign.
13023 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13024 define aliases when function name is a macro.
13025 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13026 sysdeps/ieee754/dbl-64/sincos.tbl.
13027 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13028 fma4-enabled routines.
13029 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13030 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13031 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13032 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13033 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13034 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13036 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13037 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13038 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13039 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13040 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13041 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13042 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13043 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13044 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13045 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13046 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13047 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13048 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13049 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13050 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13051 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13052 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13053 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13054 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13055 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13056 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13057 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13058 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13059
13060 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13061 rename.
13062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13070
13071 2011-10-24 Andreas Schwab <schwab@redhat.com>
13072
13073 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13074
13075 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13076
13077 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13078
13079 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13080 prediction.
13081 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13082
13083 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13084 Remove unused variable magic_bits.
13085 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13086
13087 * string/strnlen.c: Define and use STRNLEN macro.
13088 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13089 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13090 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13091 * wcsmbs/wcslen.c: Define and use WCSLEN.
13092 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13093 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13094 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13095 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13096 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13097 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13098 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13099
13100 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13101
13102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13103 strnlen-sse2-no-bsf.
13104 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13106 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13107 Add strnlen support.
13108 (USE_AS_STRNLEN): New macro.
13109 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13110 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13111 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13112 * sysdeps/x86_64/wcslen.S: New file.
13113
13114 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13115
13116 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13117 XMM-moves are used for copying on small sizes.
13118
13119 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13120
13121 * wcsmbs/Makefile (strop-tests): Add wcschr.
13122 * wcsmbs/test-wcschr.c: New file.
13123 * string/test-strchr.c: Update.
13124 Add wcschr support.
13125 (WIDE): New macro.
13126
13127 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13128
13129 * wcsmbs/Makefile (strop-tests): Add wcslen.
13130 * wcsmbs/test-wcslen.c: New file.
13131 * string/test-strlen.c: Update.
13132 Add wcslen support.
13133 (WIDE): New macro.
13134
13135 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13136
13137 * po/it.po: Update from translation team.
13138
13139 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13140
13141 * sysdeps/x86_64/wcscmp.S: Update.
13142 Fix wrong comparison semantics.
13143 wcscmp shall use signed comparison not unsigned.
13144 Don't use substraction to avoid overflow bug.
13145 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13146 * wcsmbc/wcscmp.c: Likewise.
13147 * string/test-strcmp.c: Likewise.
13148 Add new tests to check cases with negative values.
13149
13150 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13151
13152 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13153 * sysdeps/x86_64/dla.h: ...here. New file.
13154 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13155 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13157 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13158 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13159 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13161 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13163
13164 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13165
13166 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13167 __ynl_finite aliases.
13168
13169 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13170
13171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13172
13173 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13174 define DLA_FMA.
13175 [DLA_FMA] (EMULV): Use DLA_FMA.
13176 [DLA_FMA] (MUL12): Use EMULV.
13177 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13178 that are not needed.
13179 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13180 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13186
13187 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13188
13189 * math/s_nan.c: Undef __nan.
13190 * math/s_nanf.c: Undef __nanf.
13191 * math/s_nanl.c: Undef __nanl.
13192 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13193 "math_private.h".
13194
13195 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13196
13197 * math/s_catan.c: Add branch predictions.
13198 * math/s_catanf.c: Likewise.
13199 * math/s_catanh.c: Likewise.
13200 * math/s_catanhf.c: Likewise.
13201 * math/s_catanhl.c: Likewise.
13202 * math/s_catanl.c: Likewise.
13203 * math/s_cexp.c: Likewise.
13204 * math/s_cexpf.c: Likewise.
13205 * math/s_cexpl.c: Likewise.
13206 * math/s_clog.c: Likewise.
13207 * math/s_clog10.c: Likewise.
13208 * math/s_clog10f.c: Likewise.
13209 * math/s_clog10l.c: Likewise.
13210 * math/s_clogf.c: Likewise.
13211 * math/s_clogl.c: Likewise.
13212 * math/s_csqrt.c: Likewise.
13213 * math/s_csqrtf.c: Likewise.
13214 * math/s_csqrtl.c: Likewise.
13215 * math/s_ctanf.c: Likewise.
13216 * math/s_ctanh.c: Likewise.
13217 * math/s_ctanhf.c: Likewise.
13218 * math/s_ctanhl.c: Likewise.
13219 * math/s_ctanl.c: Likewise.
13220
13221 * math/math_private.h: Define __nan, __nanf, __nanl.
13222 * math/s_cacosh.c: Include <math_private.h>.
13223 * math/s_cacoshl.c: Likewise.
13224 * math/s_casinh.c: Likewise.
13225 * math/s_casinhf.c: Likewise.
13226 * math/s_casinhl.c: Likewise.
13227 * math/s_ccos.c: Rely entire on ccosh.
13228 * math/s_ccosf.c: Rely entire on ccoshf.
13229 * math/s_ccosl.c: Rely entirely on ccoshl.
13230 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13231 Remove tests for FE_INVALID.
13232 * math/s_ccoshf.c: Likewise.
13233 * math/s_ccoshl.c: Likewise.
13234 * math/s_csin.c: Likewise.
13235 * math/s_csinf.c: Likewise.
13236 * math/s_csinh.c Likewise.
13237 * math/s_csinhf.c: Likewise.
13238 * math/s_csinhl.c: Likewise.
13239 * math/s_csinl.c: Likewise.
13240 * math/s_ctan.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13242 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13243 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13244
13245 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13246
13247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13248 compilation problems.
13249
13250 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13251 __builtin_expect.
13252
13253 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13254
13255 * sysdeps/i386/configure.in: Test for -mfma4 option.
13256 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13257 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13258 COMMON_CPUID_INDEX_80000001.
13259 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13260 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13261 use it if FMA3 is not supported.
13262 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13263
13264 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13265 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13266
13267 2011-10-20 Andreas Schwab <schwab@redhat.com>
13268
13269 [BZ #12892]
13270 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13271 it would create a cycle with a link time dependency.
13272
13273 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13274
13275 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13276 instruction.
13277 * string/Makefile (strop-tests): Add rawmemchr.
13278 * string/test-rawmemchr.c: New file.
13279
13280 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13281 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13282 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13283 when compiling str{,n}casecmp and when AVX is available. Hook up
13284 new optimized code in initializers.
13285
13286 2011-10-19 Andreas Schwab <schwab@redhat.com>
13287
13288 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13289 __feraiseexcept instead of feraiseexcept.
13290
13291 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13292
13293 * math/math_private.h: Define defaults for libc_fetestexcept and
13294 libc_feupdateenv.
13295 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13296 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13297 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13298 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13299 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13300 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13301 libc_fetestexcept and libc_feupdateenv.
13302
13303 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13304 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13305 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13306 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13307 libc_feholdexcept_setround.
13308
13309 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13310 Add s_nearbyint-c and s_nearbyintf-c.
13311 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13312 nearbyintf inlines.
13313 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13314 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13315 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13316 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13317
13318 * math/math_private.h: Define defaults for libc_fegetround,
13319 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13320 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13321 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13322 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13323 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13324 standard functions.
13325 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13326 Remove comments and hacks for old compiler versions.
13327 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13328 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13329 libc_feholdexceptl.
13330
13331 2011-10-18 Andreas Schwab <schwab@redhat.com>
13332
13333 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13334 (__feraiseexcept_renamed): Add __NTH.
13335 (feraiseexcept): Add __NTH. Rename local variables to fix
13336 namespace violations.
13337
13338 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13339
13340 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13341
13342 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13343
13344 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13345 recently added interfaces.
13346 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13347
13348 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13349 about macro parameter expansion.
13350
13351 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13352 __NO_MATH_INLINES is defined. Cleanups.
13353
13354 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13355 and __floorf is target has SSE4.1.
13356 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13357 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13358 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13359 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13360
13361 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13362 name.
13363 (floorf): Likewise.
13364
13365 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13366
13367 2011-10-17 Andreas Schwab <schwab@redhat.com>
13368
13369 * misc/sys/cdefs.h: Fix last change.
13370
13371 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13372 database lookup.
13373
13374 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13375
13376 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13377
13378 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13379 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13382 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13384 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13385 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13386 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13387 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13388 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13389 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13390 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13391 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13392 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13393 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13394 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13395 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13396 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13397 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13398 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13399 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13400
13401 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13402 ceil, ceilf, floor, floorf.
13403
13404 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13405 Perform IRELATIVE relocations last.
13406
13407 * elf/do-rel.h: Add another parameter nrelative, replacing the
13408 local variable with the same name. Change name of the function
13409 to end in Rel or Rela (uppercase).
13410 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13411 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13412 elf_dynamic_do_##reloc function.
13413
13414 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13415
13416 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13417 is sufficient, at least on modern CPUs.
13418
13419 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13420
13421 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13422 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13423
13424 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13425 __expl_finite.
13426 * math/bits/math-finite.h: Add entries for exp.
13427 * math/e_expl.c: Add __*_finite alias.
13428 * sysdeps/i386/fpu/e_exp.S: Likewise.
13429 * sysdeps/i386/fpu/e_expf.S: Likewise.
13430 * sysdeps/i386/fpu/e_expl.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13432 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13436 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13437 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13438
13439 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13440 is sufficient, at least on modern CPUs.
13441
13442 * ctype/ctype-info.c (__ctype_init): Define.
13443 * include/ctype.h (__ctype_init): Declare.
13444 (__ctype_b_loc): The variable is always initialized.
13445 (__ctype_toupper_loc): Likewise.
13446 (__ctype_tolower_loc): Likewise.
13447 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13448 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13449
13450 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13451
13452 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13453
13454 * configure.in: Also look in $cxxmachine/include for C++ system
13455 headers.
13456
13457 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13458
13459 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13460 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13461 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13462 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13463 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13464 (USE_AS_WMEMCMP): New macro.
13465 Fixing indents.
13466 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13467 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13468 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13469 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13471 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13472 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13473 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13474 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13475 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13476 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13477 (USE_AS_WMEMCMP): New macro.
13478 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13479 * sysdeps/string/test-memcmp.c: Update.
13480 Fix simple_wmemcmp.
13481 Add new tests.
13482 * wcsmbs/wmemcmp.c: Update.
13483 (WMEMCMP): New macro.
13484 Fix overflow bug.
13485
13486 2011-10-12 Andreas Jaeger <aj@suse.de>
13487
13488 [BZ #13268]
13489 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13490
13491 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13492
13493 * libio/iofwide.c (do_length): Avoid warning.
13494
13495 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13496
13497 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13498
13499 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13500
13501 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13502 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13503 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13504 * sysdeps/i386/i686/fpu/e_log.S: New file.
13505 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13506 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13507
13508 * ctype/ctype.h: Add support for inlined isXXX functions when
13509 compiling C++ code.
13510
13511 2011-10-14 Andreas Schwab <schwab@redhat.com>
13512
13513 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13514
13515 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13516
13517 2011-10-13 Roland McGrath <roland@hack.frob.com>
13518
13519 [BZ #13291]
13520 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13521
13522 2011-10-13 Andreas Schwab <schwab@redhat.com>
13523
13524 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13525 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13526 feraiseexcept.
13527
13528 * sysdeps/x86_64/memrchr.S: Check for zero size.
13529
13530 * string/stratcliff.c: Add memrchr tests.
13531
13532 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13533
13534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13535 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13536 rawmemchr-sse2 rawmemchr-sse2-bsf.
13537 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13538 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13539 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13540 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13541 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13542 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13543 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13544 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13545 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13546 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13547 * string/memrchr.c (MEMRCHR): New macro.
13548
13549 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13550
13551 Add integration with gcc's -ffinite-math-only and optimize wrapper
13552 functions in libm.
13553 * Versions.def: Define GLIBC_2.15 version for libm.
13554 * math/Makefile (headers): Add bits/math-finite.h.
13555 * math/bits/math-finite.h: New file.
13556 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13557 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13558 * math/e_acoshl.c: Add __*_finite alias.
13559 * math/e_acosl.c: Likewise.
13560 * math/e_asinl.c: Likewise.
13561 * math/e_atan2l.c: Likewise.
13562 * math/e_atanhl.c: Likewise.
13563 * math/e_coshl.c: Likewise.
13564 * math/e_exp10.c: Likewise.
13565 * math/e_exp10f.c: Likewise.
13566 * math/e_exp10l.c: Likewise.
13567 * math/e_exp2l.c: Likewise.
13568 * math/e_fmodl.c: Likewise.
13569 * math/e_gammal_r.c: Likewise.
13570 * math/e_hypotl.c: Likewise.
13571 * math/e_j0l.c: Likewise.
13572 * math/e_j1l.c: Likewise.
13573 * math/e_jnl.c: Likewise.
13574 * math/e_lgammal_r.c: Likewise.
13575 * math/e_log10l.c: Likewise.
13576 * math/e_log2l.c: Likewise.
13577 * math/e_logl.c: Likewise.
13578 * math/e_powl.c: Likewise.
13579 * math/e_sinhl.c: Likewise.
13580 * math/e_sqrtl.c: Likewise.
13581 * math/e_scalb.c: Completely rewritten and optimized.
13582 * math/e_scalbf.c: Likewise.
13583 * math/e_scalbl.c: Likewise.
13584 * math/w_acos.c: Likewise.
13585 * math/w_acosf.c: Likewise.
13586 * math/w_acosl.c: Likewise.
13587 * math/w_acosh.c: Likewise.
13588 * math/w_acoshf.c: Likewise.
13589 * math/w_acoshl.c: Likewise.
13590 * math/w_asin.c: Likewise.
13591 * math/w_asinf.c: Likewise.
13592 * math/w_asinl.c: Likewise.
13593 * math/w_atan2.c: Likewise.
13594 * math/w_atan2f.c: Likewise.
13595 * math/w_atan2l.c: Likewise.
13596 * math/w_atanh.c: Likewise.
13597 * math/w_atanhf.c: Likewise.
13598 * math/w_atanhl.c: Likewise.
13599 * math/w_exp10.c: Likewise.
13600 * math/w_exp10f.c: Likewise.
13601 * math/w_exp10l.c: Likewise.
13602 * math/w_fmod.c: Likewise.
13603 * math/w_fmodf.c: Likewise.
13604 * math/w_fmodl.c: Likewise.
13605 * math/w_j0.c: Likewise.
13606 * math/w_j0f.c: Likewise.
13607 * math/w_j0l.c: Likewise.
13608 * math/w_j1.c: Likewise.
13609 * math/w_j1f.c: Likewise.
13610 * math/w_j1l.c: Likewise.
13611 * math/w_jn.c: Likewise.
13612 * math/w_jnf.c: Likewise.
13613 * math/w_log.c: Likewise.
13614 * math/w_logf.c: Likewise.
13615 * math/w_logl.c: Likewise.
13616 * math/w_log10.c: Likewise.
13617 * math/w_log10f.c: Likewise.
13618 * math/w_log10l.c: Likewise.
13619 * math/w_log2.c: Likewise.
13620 * math/w_log2f.c: Likewise.
13621 * math/w_log2l.c: Likewise.
13622 * math/w_pow.c: Likewise.
13623 * math/w_powf.c: Likewise.
13624 * math/w_powl.c: Likewise.
13625 * math/w_remainder.c: Likewise.
13626 * math/w_remainderf.c: Likewise.
13627 * math/w_remainderl.c: Likewise.
13628 * math/w_scalb.c: Likewise.
13629 * math/w_scalbf.c: Likewise.
13630 * math/w_scalbl.c: Likewise.
13631 * math/w_sqrt.c: Likewise.
13632 * math/w_sqrtf.c: Likewise.
13633 * math/w_sqrtl.c: Likewise.
13634 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13635 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13636 used.
13637 * math/math_private.h: Declare __kernel_standard_f.
13638 * math/w_cosh.c: Remove cruft and optimize a bit.
13639 * math/w_coshf.c: Likewise.
13640 * math/w_coshl.c: Likewise.
13641 * math/w_exp2.c: Likewise.
13642 * math/w_exp2f.c: Likewise.
13643 * math/w_exp2l.c: Likewise.
13644 * math/w_hypot.c: Likewise.
13645 * math/w_hypotf.c: Likewise.
13646 * math/w_hypotl.c: Likewise.
13647 * math/w_lgamma.c: Likewise.
13648 * math/w_lgamma_r.c: Likewise.
13649 * math/w_lgammaf.c: Likewise.
13650 * math/w_lgammaf_r.c: Likewise.
13651 * math/w_lgammal.c: Likewise.
13652 * math/w_lgammal_r.c: Likewise.
13653 * math/w_sinh.c: Likewise.
13654 * math/w_sinhf.c: Likewise.
13655 * math/w_sinhl.c: Likewise.
13656 * math/w_tgamma.c: Likewise.
13657 * math/w_tgammaf.c: Likewise.
13658 * math/w_tgammal.c: Likewise.
13659 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13660 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13661 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13662 Minor optimizations. Pretty printing. Remove cruft.
13663 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13664 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13665 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13666 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13667 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13668 * sysdeps/i386/fpu/e_asin.S: Likewise.
13669 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13670 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13671 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13672 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13673 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13674 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13675 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13676 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13677 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13678 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13679 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13680 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13681 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13682 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13683 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13684 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13685 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13686 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13687 * sysdeps/i386/fpu/e_log.S: Likewise.
13688 * sysdeps/i386/fpu/e_log10.S: Likewise.
13689 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13690 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13691 * sysdeps/i386/fpu/e_log2.S: Likewise.
13692 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13693 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13694 * sysdeps/i386/fpu/e_logf.S: Likewise.
13695 * sysdeps/i386/fpu/e_logl.S: Likewise.
13696 * sysdeps/i386/fpu/e_pow.S: Likewise.
13697 * sysdeps/i386/fpu/e_powf.S: Likewise.
13698 * sysdeps/i386/fpu/e_powl.S: Likewise.
13699 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13700 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13701 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13702 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13703 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13704 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13705 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13706 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13707 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13708 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13709 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13711 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13712 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13713 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13714 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13729 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13730 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13731 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13732 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13733 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13734 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13735 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13736 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13737 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13738 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13739 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13740 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13741 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13742 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13743 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13744 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13745 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13746 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13747 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13748 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13749 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13791 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13793 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13794 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13796 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13799 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13800 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13801 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13802 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13803 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13804 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13805 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13806 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13807 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13808 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13809 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13810 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13811 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13812 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13813 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13814 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13815 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13816 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13817 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13818 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13819 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13820 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13821 (__isnanf): Likewise.
13822 (__isinf_ns): Likewise.
13823 (__isinf_nsf): Likewise.
13824 (__finite): Likewise.
13825 (__finitef): Likewise.
13826 (__ieee754_sqrt): Define as macro.
13827 (__ieee754_sqrtf): Define as macro.
13828 (__ieee754_sqrtl): Define as macro.
13829 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13830 inlined copy.
13831 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13832 __FINITE_MATH_ONLY__ consistent.
13833 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13834
13835 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13836
13837 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13838 of rawmemchr.
13839
13840 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13841
13842 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13843
13844 * po/ja.po: Update from translation team.
13845
13846 2011-10-08 Roland McGrath <roland@hack.frob.com>
13847
13848 * locale/programs/locarchive.c (prepare_address_space): New function.
13849 (create_archive, enlarge_archive, open_archive): Use it.
13850
13851 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13852 inside [SHARED], where it is used.
13853
13854 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13855
13856 * nss/getent.c (netgroup_keys): Remove unused variable.
13857 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13858
13859 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13860
13861 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13862 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13863 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13864 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13865 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13866 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13867 * math/Makefile (libm-calls): Add s_isinf_ns.
13868 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13869 * math/multc3.c: Likewise.
13870 * math/s_casin.c: Likewise.
13871 * math/s_casinf.c: Likewise.
13872 * math/s_casinl.c: Likewise.
13873 * math/s_ccos.c: Likewise.
13874 * math/s_ccosf.c: Likewise.
13875 * math/s_ccosl.c: Likewise.
13876 * math/s_ctan.c: Likewise.
13877 * math/s_ctanf.c: Likewise.
13878 * math/s_ctanh.c: Likewise.
13879 * math/s_ctanhf.c: Likewise.
13880 * math/s_ctanhl.c: Likewise.
13881 * math/s_ctanl.c: Likewise.
13882 * math/w_fmod.c: Likewise.
13883 * math/w_fmodf.c: Likewise.
13884 * math/w_fmodl.c: Likewise.
13885 * math/w_remainder.c: Likewise.
13886 * math/w_remainderf.c: Likewise.
13887 * math/w_remainderl.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13889 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13890 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13891 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13892 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13893 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13894 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13895 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13896
13897 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13898 of the number.
13899 * stdio-common/printf_fphex.c: Likewise.
13900 * stdio-common/printf_size.c: Likewise.
13901
13902 * math/e_exp10.c: Include math_private.h using <...> not "...".
13903 * math/e_exp10f.c: Likewise.
13904 * math/e_exp10l.c: Likewise.
13905 * math/e_exp2l.c: Likewise.
13906 * math/e_j0l.c: Likewise.
13907 * math/e_j1l.c: Likewise.
13908 * math/e_jnl.c: Likewise.
13909 * math/e_lgammal_r.c: Likewise.
13910 * math/e_rem_pio2l.c: Likewise.
13911 * math/e_scalb.c: Likewise.
13912 * math/e_scalbf.c: Likewise.
13913 * math/e_scalbl.c: Likewise.
13914 * math/k_cosl.c: Likewise.
13915 * math/k_sinl.c: Likewise.
13916 * math/k_tanl.c: Likewise.
13917 * math/s_cacoshf.c: Likewise.
13918 * math/s_catan.c: Likewise.
13919 * math/s_catanf.c: Likewise.
13920 * math/s_catanh.c: Likewise.
13921 * math/s_catanhf.c: Likewise.
13922 * math/s_catanhl.c: Likewise.
13923 * math/s_catanl.c: Likewise.
13924 * math/s_ccosh.c: Likewise.
13925 * math/s_ccoshf.c: Likewise.
13926 * math/s_ccoshl.c: Likewise.
13927 * math/s_cexp.c: Likewise.
13928 * math/s_cexpf.c: Likewise.
13929 * math/s_cexpl.c: Likewise.
13930 * math/s_clog.c: Likewise.
13931 * math/s_clog10.c: Likewise.
13932 * math/s_clog10f.c: Likewise.
13933 * math/s_clog10l.c: Likewise.
13934 * math/s_clogf.c: Likewise.
13935 * math/s_clogl.c: Likewise.
13936 * math/s_csin.c: Likewise.
13937 * math/s_csinf.c: Likewise.
13938 * math/s_csinh.c: Likewise.
13939 * math/s_csinhf.c: Likewise.
13940 * math/s_csinhl.c: Likewise.
13941 * math/s_csinl.c: Likewise.
13942 * math/s_csqrt.c: Likewise.
13943 * math/s_csqrtf.c: Likewise.
13944 * math/s_csqrtl.c: Likewise.
13945 * math/s_ctan.c: Likewise.
13946 * math/s_ctanf.c: Likewise.
13947 * math/s_ctanh.c: Likewise.
13948 * math/s_ctanhf.c: Likewise.
13949 * math/s_ctanhl.c: Likewise.
13950 * math/s_ctanl.c: Likewise.
13951 * math/s_ldexp.c: Likewise.
13952 * math/s_ldexpf.c: Likewise.
13953 * math/s_ldexpl.c: Likewise.
13954 * math/s_significand.c: Likewise.
13955 * math/s_significandf.c: Likewise.
13956 * math/s_significandl.c: Likewise.
13957 * math/w_acos.c: Likewise.
13958 * math/w_acosf.c: Likewise.
13959 * math/w_acosh.c: Likewise.
13960 * math/w_acoshf.c: Likewise.
13961 * math/w_acoshl.c: Likewise.
13962 * math/w_acosl.c: Likewise.
13963 * math/w_asin.c: Likewise.
13964 * math/w_asinf.c: Likewise.
13965 * math/w_asinl.c: Likewise.
13966 * math/w_atan2.c: Likewise.
13967 * math/w_atan2f.c: Likewise.
13968 * math/w_atan2l.c: Likewise.
13969 * math/w_atanh.c: Likewise.
13970 * math/w_atanhf.c: Likewise.
13971 * math/w_atanhl.c: Likewise.
13972 * math/w_cosh.c: Likewise.
13973 * math/w_coshf.c: Likewise.
13974 * math/w_coshl.c: Likewise.
13975 * math/w_dremf.c: Likewise.
13976 * math/w_exp10.c: Likewise.
13977 * math/w_exp10f.c: Likewise.
13978 * math/w_exp10l.c: Likewise.
13979 * math/w_exp2.c: Likewise.
13980 * math/w_exp2f.c: Likewise.
13981 * math/w_fmod.c: Likewise.
13982 * math/w_fmodf.c: Likewise.
13983 * math/w_fmodl.c: Likewise.
13984 * math/w_hypot.c: Likewise.
13985 * math/w_hypotf.c: Likewise.
13986 * math/w_hypotl.c: Likewise.
13987 * math/w_j0.c: Likewise.
13988 * math/w_j0f.c: Likewise.
13989 * math/w_j0l.c: Likewise.
13990 * math/w_j1.c: Likewise.
13991 * math/w_j1f.c: Likewise.
13992 * math/w_j1l.c: Likewise.
13993 * math/w_jn.c: Likewise.
13994 * math/w_jnf.c: Likewise.
13995 * math/w_jnl.c: Likewise.
13996 * math/w_lgamma.c: Likewise.
13997 * math/w_lgamma_r.c: Likewise.
13998 * math/w_lgammaf.c: Likewise.
13999 * math/w_lgammaf_r.c: Likewise.
14000 * math/w_lgammal.c: Likewise.
14001 * math/w_lgammal_r.c: Likewise.
14002 * math/w_log.c: Likewise.
14003 * math/w_log10.c: Likewise.
14004 * math/w_log10f.c: Likewise.
14005 * math/w_log10l.c: Likewise.
14006 * math/w_log2.c: Likewise.
14007 * math/w_log2f.c: Likewise.
14008 * math/w_log2l.c: Likewise.
14009 * math/w_logf.c: Likewise.
14010 * math/w_logl.c: Likewise.
14011 * math/w_pow.c: Likewise.
14012 * math/w_powf.c: Likewise.
14013 * math/w_powl.c: Likewise.
14014 * math/w_remainder.c: Likewise.
14015 * math/w_remainderf.c: Likewise.
14016 * math/w_remainderl.c: Likewise.
14017 * math/w_scalb.c: Likewise.
14018 * math/w_scalbf.c: Likewise.
14019 * math/w_scalbl.c: Likewise.
14020 * math/w_sinh.c: Likewise.
14021 * math/w_sinhf.c: Likewise.
14022 * math/w_sinhl.c: Likewise.
14023 * math/w_sqrt.c: Likewise.
14024 * math/w_sqrtf.c: Likewise.
14025 * math/w_sqrtl.c: Likewise.
14026 * math/w_tgamma.c: Likewise.
14027 * math/w_tgammaf.c: Likewise.
14028 * math/w_tgammal.c: Likewise.
14029
14030 * po/ja.po: Update from translation team.
14031
14032 2011-09-29 Andreas Jaeger <aj@suse.de>
14033
14034 [BZ #13179]
14035 * sunrpc/netname.c (netname2host): Fix logic.
14036
14037 [BZ #6779]
14038 [BZ #6783]
14039 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14040 correctly.
14041 * math/w_remainder.c (__remainder): Likewise.
14042 * math/w_remainderf.c (__remainderf): Likewise.
14043 * math/libm-test.inc (remainder_test): Add test cases.
14044
14045 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14046
14047 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14048 sdiv_qrnnd.
14049
14050 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14051
14052 * string/test-memcmp.c: Avoid unncessary #defines.
14053 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14054
14055 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14056
14057 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14058 Use new sse2 version for core i3 - i7 as it's faster
14059 than sse42 version.
14060 (bit_Prefer_PMINUB_for_stringop): New.
14061 * sysdeps/x86_64/rawmemchr.S: Update.
14062 Replace with faster SSE2 version.
14063 * sysdeps/x86_64/memrchr.S: New file.
14064 * sysdeps/x86_64/memchr.S: Update.
14065 Replace with faster SSE2 version.
14066
14067 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14068
14069 * elf/dl-load.c (lose): Add cast to avoid warning.
14070
14071 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14072
14073 * po/ca.po: Update from translation team.
14074
14075 * inet/getnetgrent_r.c: Hook up nscd.
14076 * nscd/Makefile (routines): Add nscd_netgroup.
14077 (nscd-modules): Add netgroupcache.
14078 (CFLAGS-netgroupcache.c): Define.
14079 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14080 (cache_search): Add const to second parameter.
14081 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14082 INNETGR.
14083 (dbs): Add netgrdb entry.
14084 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14085 (verify_persistent_db): Handle netgrdb.
14086 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14087 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14088 GETFDNETGR.
14089 (netgroup_response_header): Define.
14090 (innetgroup_response_header): Define.
14091 (datahead): Add netgroup_response_header and innetgroup_response_header
14092 elements.
14093 * nscd/nscd.conf: Add entries for netgroup cache.
14094 * nscd/nscd.h (dbtype): Add netgrdb.
14095 (_PATH_NSCD_NETGROUP_DB): Define.
14096 (netgroup_iov_disabled): Declare.
14097 (xmalloc, xcalloc, xrealloc): Move declarations here.
14098 (cache_search): Adjust prototype.
14099 Add netgroup-related prototypes.
14100 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14101 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14102 (__nscd_innetgr): Declare.
14103 * nscd/selinux.c (perms): Use access_vector_t as element type and
14104 add netgroup-related initializers.
14105 * nscd/netgroupcache.c: New file.
14106 * nscd/nscd_netgroup.c: New file.
14107 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14108 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14109 For four parameters use innetgr.
14110 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14111 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14112 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14113 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14114
14115 * nscd/connections.c (register_traced_file): Don't register file
14116 for disabled databases.
14117
14118 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14119
14120 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14121
14122 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14123 from tree and freeing node.
14124
14125 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14126
14127 * nss/nsswitch.c (__nss_database_lookup): Handle
14128 nss_parse_service_list out of memory case.
14129
14130 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14131
14132 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14133 out of memory case.
14134
14135 2011-10-04 Andreas Schwab <schwab@redhat.com>
14136
14137 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14138 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14139 pass it down.
14140 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14141 elf_machine_rela, elf_machine_lazy_rel.
14142 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14143 (ELF_DYNAMIC_DO_REL): Likewise.
14144 (ELF_DYNAMIC_DO_RELA): Likewise.
14145 (ELF_DYNAMIC_RELOCATE): Likewise.
14146 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14147 to ELF_DYNAMIC_DO_REL.
14148 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14149 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14150 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14151 elf_machine_rela.
14152 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14153 skip_ifunc, don't call ifunc function if non-zero.
14154 (elf_machine_rela): Likewise.
14155 (elf_machine_lazy_rel): Likewise.
14156 (elf_machine_lazy_rela): Likewise.
14157 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14158 (elf_machine_lazy_rel): Likewise.
14159 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14160 Likewise.
14161 (elf_machine_lazy_rel): Likewise.
14162 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14163 Likewise.
14164 (elf_machine_lazy_rel): Likewise.
14165 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14166 (elf_machine_lazy_rel): Likewise.
14167 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14168 (elf_machine_lazy_rel): Likewise.
14169 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14170 (elf_machine_lazy_rel): Likewise.
14171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14172 (elf_machine_lazy_rel): Likewise.
14173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14174 (elf_machine_lazy_rel): Likewise.
14175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14176 (elf_machine_lazy_rel): Likewise.
14177
14178 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14179
14180 * nss/nss_files/files-init.c (_nss_files_init): Use static
14181 initialization for all the *_traced_file variables.
14182
14183 2011-09-28 Andreas Schwab <schwab@redhat.com>
14184
14185 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14186
14187 2011-09-27 Roland McGrath <roland@hack.frob.com>
14188
14189 [BZ #13226]
14190 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14191
14192 2011-09-27 Andreas Schwab <schwab@redhat.com>
14193
14194 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14195 Reread the line before reparsing it.
14196
14197 2011-09-26 Andreas Schwab <schwab@redhat.com>
14198
14199 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14200
14201 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14202 Maxim Kuvyrkov <maxim@codesourcery.com>
14203 Joseph Myers <joseph@codesourcery.com>
14204
14205 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14206 if needed for __stack_chk_guard.
14207
14208 2011-09-19 Roland McGrath <roland@hack.frob.com>
14209
14210 * sysdeps/posix/spawni.c (script_execute): Always define it.
14211 It will be optimized away if unused.
14212 (maybe_script_execute): New function.
14213 (__spawni): Call it.
14214
14215 * Makerules: Don't include tls.make.
14216 (config-tls): Always set to thread.
14217 * tls.make.c: File removed.
14218
14219 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14220
14221 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14222 * config.make.in (CPPFLAGS-config): New substituted variable.
14223
14224 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14225
14226 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14227
14228 [BZ #13192]
14229 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14230 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14231
14232 2011-09-15 Roland McGrath <roland@hack.frob.com>
14233
14234 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14235 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14236 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14237 (CALL_FAIL): Likewise.
14238 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14239 (CALL_FAIL): Macro removed.
14240 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14241
14242 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14243
14244 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14245 for __FINITE_MATH_ONLY__ == 1.
14246
14247 2011-09-15 Andreas Schwab <schwab@redhat.com>
14248
14249 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14250 __ieee754_sqrt instead of sqrt.
14251 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14252 __ieee754_sqrtf instead of sqrtf.
14253 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14254 __floorf instead of floorf.
14255 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14256 __floorf, __truncf instead of floorf, truncf.
14257
14258 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14259
14260 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14261
14262 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14263 __extern_always_inline.
14264 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14265 32-bit.
14266
14267 2011-09-14 Andreas Schwab <schwab@redhat.com>
14268
14269 * elf/rtld.c (dl_main): Also relocate in dependency order when
14270 doing symbol dependency testing.
14271
14272 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14273
14274 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14275 Always define `refsym'.
14276
14277 2011-09-13 Andreas Schwab <schwab@redhat.com>
14278
14279 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14280 (__FD_ELT): Renamed from __FDELT.
14281 * misc/bits/select2.h (__FD_ELT): Likewise.
14282 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14283 __FD_MASK instead of __FDELT, __FDMASK.
14284 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14285 Likewise.
14286 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14287 Likewise.
14288
14289 * elf/Makefile (gen-ldd): Fix pattern.
14290
14291 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14292 (init_tls): Likewise.
14293
14294 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14295
14296 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14297
14298 2011-09-12 Andreas Schwab <schwab@redhat.com>
14299
14300 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14301 `struct cmsghdr *' instead of `void *'.
14302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14303 Likewise.
14304
14305 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14306
14307 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14308 if non-absolute.
14309 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14310 ldd_rewrite_script.
14311
14312 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14313
14314 * configure.in: Remove --with-tls option.
14315 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14316 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14317 out in case it is missing.
14318 * sysdeps/ia64/elf/configure.in: Likewise.
14319 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14320 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14321 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14322 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14323 * sysdeps/sh/elf/configure.in: Likewise.
14324 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14325 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14326 * sysdeps/x86_64/elf/configure.in: Likewise.
14327 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14328 * sysdeps/mach/hurd/tls.h: Likewise.
14329
14330 [BZ #13067]
14331 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14332
14333 [BZ #13090]
14334 * configure.in: Fix use of AC_INIT.
14335
14336 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14337
14338 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14339
14340 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14341 __set_errno.
14342 * malloc/hooks.c: Likewise.
14343
14344 [BZ #11929]
14345 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14346 variables statically.
14347 (narenas): Initialize.
14348 (list_lock): Initialize.
14349 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14350 initializtion of main_arena and list_lock. Small cleanups.
14351 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14352 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14353 Add initializers to main_arena and mp_.
14354 (malloc_state): Remove pagesize member. Change all users to use
14355 GLRO(dl_pagesize).
14356
14357 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14358 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14359 is always initialized.
14360
14361 * malloc/malloc.c: Removed unused configurations and dead code.
14362 * malloc/arena.c: Likewise.
14363 * malloc/hooks.c: Likewise.
14364 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14365
14366 * include/tls.h: Removed. USE___THREAD must always be defined.
14367 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14368 * elf/dl-libc.c: Likewise.
14369 * elf/dl-tsd.c: Likewise.
14370 * include/errno.h: Likewise.
14371 * include/netdb.h: Likewise.
14372 * include/resolv.h: Likewise.
14373 * inet/herrno-loc.c: Likewise.
14374 * inet/herrno.c: Likewise.
14375 * malloc/arena.c: Likewise.
14376 * malloc/hooks.c: Likewise.
14377 * malloc/malloc.c: Likewise.
14378 * resolv/res-state.c: Likewise.
14379 * resolv/res_libc.c: Likewise.
14380 * sysdeps/i386/dl-machine.h: Likewise.
14381 * sysdeps/ia64/dl-machine.h: Likewise.
14382 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14383 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14384 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14385 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14386 * sysdeps/sh/dl-machine.h: Likewise.
14387 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14388 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14389 * sysdeps/unix/i386/sysdep.S: Likewise.
14390 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14391 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14393 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14395 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14396 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14397 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14400 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14401 * sysdeps/x86_64/dl-machine.h: Likewise.
14402 * tls.make.c: Likewise.
14403
14404 * configure.in: Remove --with-__thread option. Make tests for
14405 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14406 tls_model attribute fail if no support is available. Remove
14407 USE_IN_LIBIO.
14408 * Makeconfig: Adjust for dropped configure option. All features are
14409 now mandatory.
14410 * Makerules: Likewise.
14411 * Versions.def: Likewise.
14412 * argp/argp-fmtstream.c: Likewise.
14413 * argp/argp-fmtstream.h: Likewise.
14414 * argp/argp-help.c: Likewise.
14415 * assert/assert.c: Likewise.
14416 * config.h.in: Likewise.
14417 * config.make.in: Likewise.
14418 * configure: Likewise.
14419 * configure.in: Likewise.
14420 * csu/Versions: Likewise.
14421 * csu/init.c: Likewise.
14422 * elf/tst-audit2.c: Likewise.
14423 * elf/tst-tls10.c: Likewise.
14424 * elf/tst-tls10.h: Likewise.
14425 * elf/tst-tls11.c: Likewise.
14426 * elf/tst-tls12.c: Likewise.
14427 * elf/tst-tls14.c: Likewise.
14428 * elf/tst-tlsmod11.c: Likewise.
14429 * elf/tst-tlsmod12.c: Likewise.
14430 * elf/tst-tlsmod13.c: Likewise.
14431 * elf/tst-tlsmod13a.c: Likewise.
14432 * elf/tst-tlsmod14a.c: Likewise.
14433 * elf/tst-tlsmod15b.c: Likewise.
14434 * elf/tst-tlsmod16a.c: Likewise.
14435 * elf/tst-tlsmod16b.c: Likewise.
14436 * elf/tst-tlsmod7.c: Likewise.
14437 * elf/tst-tlsmod8.c: Likewise.
14438 * elf/tst-tlsmod9.c: Likewise.
14439 * gmon/gmon.c: Likewise.
14440 * grp/fgetgrent_r.c: Likewise.
14441 * grp/putgrent.c: Likewise.
14442 * hurd/fopenport.c: Likewise.
14443 * include/libc-symbols.h: Likewise.
14444 * include/tls.h: Likewise.
14445 * intl/gettextP.h: Likewise.
14446 * intl/loadinfo.h: Likewise.
14447 * locale/global-locale.c: Likewise.
14448 * locale/localeinfo.h: Likewise.
14449 * mach/devstream.c: Likewise.
14450 * malloc/arena.c: Likewise.
14451 * malloc/set-freeres.c: Likewise.
14452 * misc/err.c: Likewise.
14453 * misc/getttyent.c: Likewise.
14454 * misc/mntent_r.c: Likewise.
14455 * posix/getopt.c: Likewise.
14456 * posix/wordexp.c: Likewise.
14457 * pwd/fgetpwent_r.c: Likewise.
14458 * resolv/Versions: Likewise.
14459 * resolv/res_hconf.c: Likewise.
14460 * shadow/fgetspent_r.c: Likewise.
14461 * shadow/putspent.c: Likewise.
14462 * stdio-common/printf_fphex.c: Likewise.
14463 * stdio-common/tmpfile.c: Likewise.
14464 * stdlib/abort.c: Likewise.
14465 * stdlib/fmtmsg.c: Likewise.
14466 * sunrpc/auth_unix.c: Likewise.
14467 * sunrpc/clnt_perr.c: Likewise.
14468 * sunrpc/clnt_tcp.c: Likewise.
14469 * sunrpc/clnt_udp.c: Likewise.
14470 * sunrpc/clnt_unix.c: Likewise.
14471 * sunrpc/openchild.c: Likewise.
14472 * sunrpc/svc_simple.c: Likewise.
14473 * sunrpc/svc_tcp.c: Likewise.
14474 * sunrpc/svc_udp.c: Likewise.
14475 * sunrpc/svc_unix.c: Likewise.
14476 * sunrpc/xdr.c: Likewise.
14477 * sunrpc/xdr_array.c: Likewise.
14478 * sunrpc/xdr_rec.c: Likewise.
14479 * sunrpc/xdr_ref.c: Likewise.
14480 * sunrpc/xdr_stdio.c: Likewise.
14481
14482 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14483
14484 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14485
14486 2011-07-03 Andreas Jaeger <aj@suse.de>
14487
14488 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14489 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14490 regenerate with gen-libm-tests.pl.
14491
14492 2010-05-12 Petr Baudis <pasky@suse.cz>
14493
14494 [BZ #11589]
14495 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14496 around j0() zero points by switching to j1().
14497 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14498 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14500 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14501
14502 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14503
14504 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14505 instead of 0.
14506 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14507 instead of 0. .
14508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14509 Patch in part by Pavel Roskin <proski@gnu.org>.
14510
14511 [BZ #13138]
14512 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14513 realloc.
14514 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14515 Free memory block if necessary.
14516
14517 [BZ #12847]
14518 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14519 be NULL. Don't lock in this case.
14520
14521 2011-09-09 Roland McGrath <roland@hack.frob.com>
14522
14523 * elf/elf.h (ELFOSABI_GNU): New macro.
14524 (ELFOSABI_LINUX): Define to that.
14525
14526 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14527
14528 * string/strncat.c (strncat): Undef the symbol in case it has been
14529 defined in bits/string.h.
14530
14531 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14532
14533 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14534
14535 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14536 link map.
14537
14538 2011-08-17 Andreas Jaeger <aj@suse.de>
14539
14540 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14541
14542 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14543 Ian Lance Taylor <iant@google.com>
14544
14545 * math/libm-test.inc (lround_test): New testcase.
14546 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14547
14548 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14549
14550 * Makefile: Remove support for automatic cvs check-ins.
14551 * Makerules: Likewise.
14552 * config.make.in: Likewise.
14553 * configure.in: Likewise.
14554 * intl/Makefile: Likewise.
14555 * locale/Makefile: Likewise.
14556 * po/Makefile: Likewise.
14557 * posix/Makefile: Likewise.
14558 * sysdeps/gnu/Makefile: Likewise.
14559 * sysdeps/mach/hurd/Makefile: Likewise.
14560 * sysdeps/sparc/sparc32/Makefile: Likewise.
14561
14562 [BZ #13118]
14563 * posix/Makefile (bug-regex32-ENV): Define.
14564 Patch by John Stanley <jpsinthemix@verizon.net>.
14565
14566 * misc/Makefile (headers): Add bits/select2.h.
14567 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14568 * misc/bits/select2.h: New file.
14569 * include/bits/select2.h: New file.
14570 * debug/Makefile (routines): Add fdelt_chk.
14571 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14572 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14573 FD_ISSET.
14574 * debug/fdelt_chk.c: New file.
14575
14576 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14577 * wcsmbs/test-wmemcmp.c: Likewise.
14578 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14579 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14580
14581 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14582
14583 * string/Makefile (strop-tests): Add memcmp.
14584 * string/test-wmemcmp.c: New file.
14585 * string/test-memcmp.c: Add wmemcmp support.
14586
14587 2011-09-08 Roland McGrath <roland@hack.frob.com>
14588
14589 [BZ #13153]
14590 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14591 2011-07-19 change.
14592
14593 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14594 garbage value in a __mach_port_mod_refs call in the cases of the
14595 task-self and thread-self ports.
14596
14597 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14598
14599 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14600
14601 2011-09-08 Andreas Schwab <schwab@redhat.com>
14602
14603 * elf/dl-load.c (lose): Check for non-null L.
14604
14605 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14606
14607 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14608
14609 * elf/dl-libc.c (dlerror_run): Pass back error code from
14610 dl_catch_error.
14611
14612 [BZ #13123]
14613 * elf/dl-load.c (lose): Free l_origin if it is valid.
14614
14615 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14616 names.
14617 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14618 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14619 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14620 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14621 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14622 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14623
14624 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14625
14626 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14627 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14628 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14629 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14630 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14631 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14632 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14633 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14634 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14635 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14636
14637 2011-08-15 Alan Modra <amodra@gmail.com>
14638
14639 [BZ #13092]
14640 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14641 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14642 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14643 ppc_mcount to static-only-routines.
14644 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14645 __mcount_internal.
14646 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14647 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14648
14649 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14650
14651 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14652 for finite and infinity parameters.
14653
14654 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14655
14656 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14657 and add nop instructions for throughput optimization.
14658 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14659
14660 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14661
14662 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14663 aligned copy for power7 with vector-scalar instructions.
14664 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14665
14666 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14667
14668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14669 AVX check.
14670
14671 2011-09-07 Andreas Schwab <schwab@redhat.com>
14672
14673 [BZ #13144]
14674 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14675 last change.
14676
14677 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14678
14679 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14680 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14681 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14682 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14683 clock_gettime.
14684
14685 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14686
14687 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14688 Forgot to demangle the pointer.
14689
14690 * sysdeps/i386/sysdep.h: Define atom_text_section.
14691 * sysdeps/x86_64/sysdep.h: Likewise.
14692 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14693 section with atom_text_section.
14694 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14695 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14696 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14698 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14699
14700 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14701 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14702 already be defined. Change to take two parameters and don't assign
14703 result to variable. Adjust all users.
14704 Define INTERNAL_GETTIME if not already defined.
14705 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14706 call.
14707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14708 HAVE_CLOCK_GETTIME_VSYSCALL.
14709 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14710
14711 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14712 gettimeofday vsyscall, just use time.
14713
14714 2011-09-06 Andreas Schwab <schwab@redhat.com>
14715
14716 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14717 <errno.h>.
14718
14719 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14720
14721 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14722 syscall on x86-64.
14723 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14724 syscall.
14725 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14726 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14727 syscall if possible.
14728
14729 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14730
14731 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14732 e_ident. Don't pass to find_mapsXX.
14733 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14734
14735 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14736
14737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14738 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14739 * sysdeps/x86_64/multiarch/strchr.S: Update.
14740 Check bit_slow_BSF bit.
14741 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14742 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14743 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14744
14745 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14746
14747 [BZ #13134]
14748 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14749 before glibc 2.15.
14750 (tryshell): Define.
14751 (__spawni): Change last parameter to be flag. Test
14752 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14753 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14754 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14755 * posix/spawni.c: Likewise.
14756 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14757 * posix/spawnp.c: Likewise. Change normal version to use
14758 SPAWN_XFLAGS_USE_PATH.
14759 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14760 SPAWN_XFLAGS_TRY_SHELL.
14761
14762 [BZ #13150]
14763 * posix/glob.h: Remove gcc 1.x support.
14764
14765 [BZ #13068]
14766 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14767
14768 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14769
14770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14771 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14772 strrchr-sse2-bsf
14773 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14774 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14775 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14776 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14777 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14778 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14779
14780 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14781
14782 * sysdeps/x86_64/wcscmp.S: New file.
14783
14784 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14785 wcscmp-c wcscmp-sse2
14786 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14787 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14788 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14789 * wcsmbs/wcscmp.c: Allow renaming.
14790
14791 2011-09-05 David S. Miller <davem@davemloft.net>
14792
14793 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14794 stack slot, rather than the struct return pointer slot.
14795 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14796 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14798 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14799
14800 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14801
14802 * po/ja.po: Update from translation team.
14803
14804 [BZ #13144]
14805 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14806 kernel in 64-bit binaries.
14807
14808 2011-09-01 David S. Miller <davem@davemloft.net>
14809
14810 * elf/elf.h (HWCAP_SPARC_*): Move to..
14811 * sysdeps/sparc/sysdep.h: this new file and add new values.
14812 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14813 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14814 _DL_HWCAP_COUNT to 24.
14815 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14816 entries.
14817 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14818 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14819 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14821 instead of magic constants.
14822 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14823
14824 2011-08-31 David S. Miller <davem@davemloft.net>
14825
14826 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14827 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14828 Reimplement to do errno handling inline.
14829 (SYSCALL_ERROR_HANDLER): New macro.
14830 (__SYSCALL_STRING): Do not do errno handling in asm.
14831 (__CLONE_SYSCALL_STRING): Delete.
14832 (__INTERNAL_SYSCALL_STRING): Delete.
14833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14834 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14835 (PSEUDO): Reimplement to do errno handling inline.
14836 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14837 (SYSCALL_ERROR_HANDLER): New macro.
14838 (__SYSCALL_STRING): Do not do errno handling in asm.
14839 (__CLONE_SYSCALL_STRING): Delete.
14840 (__INTERNAL_SYSCALL_STRING): Delete.
14841 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14842 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14843 i386.
14844 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14845 (inline_syscall*): Add 'err' argument.
14846 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14847 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14848 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14849 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14850
14851 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14852 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14853
14854 2011-08-30 Andreas Schwab <schwab@redhat.com>
14855
14856 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14857
14858 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14859
14860 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14861 directive.
14862
14863 2011-08-24 David S. Miller <davem@davemloft.net>
14864
14865 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14866
14867 2011-08-24 Andreas Schwab <schwab@redhat.com>
14868
14869 * elf/Makefile: Add rules to build and run unload8 test.
14870 * elf/unload8.c: New file.
14871 * elf/unload8mod1.c: New file.
14872 * elf/unload8mod1x.c: New file.
14873 * elf/unload8mod2.c: New file.
14874 * elf/unload8mod3.c: New file.
14875
14876 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14877 it wasn't used.
14878
14879 2011-08-23 David S. Miller <davem@davemloft.net>
14880
14881 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14882 subtract stack bias.
14883 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14884 %sp not %fp in calculations.
14885 (_JMPBUF_UNWINDS_ADJ): Likewise.
14886
14887 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14888 (aio_suspend): Call it to force an exception region around the
14889 AIO_MISC_WAIT() invocation.
14890
14891 2011-08-23 Andreas Schwab <schwab@redhat.com>
14892
14893 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14894 backslash.
14895
14896 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14897
14898 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14899 protection macro.
14900 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14901 and <dl-machine.h>.
14902 (Elf64_FuncDesc): Remove.
14903
14904 2011-08-22 David S. Miller <davem@davemloft.net>
14905
14906 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14907 sigaltstack check, add missing cfi directives.
14908 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14909 missing cfi directives, and sigaltstack handling.
14910
14911 2011-08-16 Andreas Schwab <schwab@redhat.com>
14912
14913 [BZ #11724]
14914 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14915 object is seen twice.
14916 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14917
14918 * elf/Makefile (distribute): Add tst-initorder2.c.
14919 (tests): Add tst-initorder2.
14920 (modules-names): Add tst-initorder2a tst-initorder2b
14921 tst-initorder2c tst-initorder2d. Add rules to build them.
14922 ($(objpfx)tst-initorder2.out): New rule.
14923 * elf/tst-initorder2.c: New file.
14924 * elf/tst-initorder2.exp: New file.
14925
14926 2011-08-22 Andreas Schwab <schwab@redhat.com>
14927
14928 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14929
14930 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14931 dependencies back to end of function.
14932
14933 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14934 $(elfobjdir)/ld.so.
14935
14936 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14937
14938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14939 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14940 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14941 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14942 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14943 of __vdso_gettimeofday.
14944 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14945 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14946 attribute_hidden.
14947 (_libc_vdso_platform_setup): Remove initialization of
14948 __vdso_gettimeofday and __vdso_time.
14949
14950 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14951
14952 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14953 and fgetc_unlocked.
14954 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14955 getc_unlocked.
14956
14957 * elf/dl-open.c (add_to_global): Report additions to the global scope
14958 for LD_DEBUG=scopes.
14959 (dl_open_worker): Also print scope of newly loaded dependencies.
14960 (_dl_show_scope): Indicate if there is no scope.
14961
14962 [BZ #13114]
14963 * stdio-common/Makefile (tests): Add bug24.
14964 * stdio-common/bug24.c: New file.
14965
14966 2011-08-19 Andreas Jaeger <aj@suse.de>
14967
14968 [BZ #13114]
14969 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14970 non-existant file when using close-on-exec mode.
14971
14972 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14973
14974 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14975 the very first instruction.
14976
14977 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14978 the CFI state in the end.
14979 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14980 inclusion of dl-trampoline.h.
14981 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14982
14983 2011-08-19 Andreas Schwab <schwab@redhat.com>
14984
14985 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14986 expectations for long double.
14987
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14989 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14990
14991 2011-08-14 David S. Miller <davem@davemloft.net>
14992
14993 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14994 artificual limit depends upon the system page size.
14995
14996 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14997
14998 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14999 * resolv/Makefile: Define CFLAGS-libresolv.
15000
15001 2011-08-17 Andreas Schwab <schwab@redhat.com>
15002
15003 * nss/makedb.c (compute_tables): Make variables used in nested
15004 function static.
15005
15006 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15007
15008 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15009 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15010 if buffer was too small.
15011
15012 * elf/pldd.c (main): Attach to all threads in the process.
15013 Rewrite /proc handling to use *at functions.
15014
15015 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15016
15017 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15018 specifies first scope to show.
15019 (dl_open_worker): Update callers. Move printing scope of new
15020 object to before the relocation.
15021 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15022 * sysdeps/generic/ldsodefs.h: Update declaration.
15023
15024 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15025 string for the scope number.
15026
15027 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15028
15029 * nscd/servicescache.c (cache_addserv): Make sure written is always
15030 initialized.
15031
15032 2011-08-14 Roland McGrath <roland@hack.frob.com>
15033
15034 * sysdeps/i386/i486/bits/atomic.h
15035 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15036 statement expression, so as to suppress "set but not used" warning.
15037 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15038
15039 * string/strncat.c (STRNCAT): Use prototype definition.
15040
15041 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15042 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15043 -Iprograms here.
15044 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15045 (localedef-modules): Add localedef.
15046 (locale-modules): Add locale.
15047
15048 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15049 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15050 to avoid a warning.
15051
15052 2011-08-14 David S. Miller <davem@davemloft.net>
15053
15054 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15055 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15056
15057 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15058
15059 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15060 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15061 * elf/rtld.c (dl_main): Set l_name of vDSO.
15062 Call _dl_show_scope when DL_DEBUG_SCOPES.
15063 (process_dl_debug): Recognize scopes flag and also set it for all.
15064 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15065 Declare _dl_show_scope.
15066
15067 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15068 (do_dlopen): Pass caller_dlopen to dl_open.
15069 (__libc_dlopen_mode): Initialize caller_dlopen.
15070
15071 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15072 of libc. Make tolower call locale-independent. Optimize a bit by
15073 using isdigit instead of isalnum.
15074 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15075
15076 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15077
15078 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15079 was a dependency or dynamically loaded.
15080
15081 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15082
15083 * intl/l10nflist.c: Allow architecture-specific pop function.
15084 * sysdeps/x86_64/l10nflist.c: New file.
15085
15086 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15087 classification.
15088
15089 2011-08-10 Andreas Schwab <schwab@redhat.com>
15090
15091 * include/dirent.h: Add libc_hidden_proto for scandirat and
15092 scandirat64. Don't declare __scandirat64.
15093 * dirent/scandirat.c: Add libc_hidden_def.
15094 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15095 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15096
15097 2011-08-10 David S. Miller <davem@davemloft.net>
15098
15099 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15100 enum.
15101 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15102 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15103 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15104
15105 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15106
15107 * Versions.def [libc]: Add GLIBC_2.15.
15108 * dirent/Makefile (routines): Add scandirat and scandirat64.
15109 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15110 GLIBC_2.15.
15111 * dirent/dirent.h: Declare scandirat and scandirat64.
15112 * dirent/scandirat.c: New file.
15113 * dirent/scandirat64.c: New file.
15114 * sysdeps/wordsize-64/scandirat.c: New file.
15115 * sysdeps/wordsize-64/scandirat64.c: New file.
15116 * dirent/opendir.c: Define opendirat.
15117 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15118 using scandirat.
15119 * dirent/scandir64.c: Adjust for scandir.c change.
15120 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15121 __scandirat64, and __scandir_cancel_handler.
15122 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15123 additional parameter and use openat instead of open (outside of ld.so).
15124 Add new __opendir as wrapper around __opendirat.
15125 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15126 here without requiring old scandirat implementation.
15127
15128 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15129
15130 * dirent/scandir.c (cancel_handler): Renamed to
15131 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15132 defined. Adjust users.
15133 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15134 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15135
15136 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15137
15138 * string/test-string.h (IMPL): Use __STRING to expand name and then
15139 stringify it.
15140
15141 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15142 of cleanups.
15143
15144 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15145
15146 * string/Makefile: Update.
15147 (strop-tests): Append strncat.
15148 * string/test-wcscmp.c: New file.
15149 New comprehensive test for wcscmp.
15150 * string/test-strcmp.c: Update.
15151 (WIDE): New define.
15152
15153 2011-07-22 Andreas Schwab <schwab@redhat.com>
15154
15155 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15156 line.
15157
15158 2011-07-26 Andreas Schwab <schwab@redhat.com>
15159
15160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15161 encoding to ACE if AI_IDN.
15162
15163 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15164
15165 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15166 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15167
15168 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15169
15170 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15171 Fix overflow bug in strncat.
15172 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15173
15174 * string/test-strncat.c: Update.
15175 Add new tests for checking overflow bugs.
15176
15177 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15178
15179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15180 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15181 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15182 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15183 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15184 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15185 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15186 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15187 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15188
15189 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15190 (USE_AS_STRCAT): Define.
15191 Add strcat and strncat support.
15192 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15193
15194 2011-07-25 Andreas Schwab <schwab@redhat.com>
15195
15196 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15197 __n bigger than INT_MAX+1.
15198 (__strncmp_g): Likewise.
15199
15200 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15201
15202 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15203 * libio/stido.h: Likewise.
15204
15205 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15206 (AF_NFC): Define.
15207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15208 (AF_NFC): Define.
15209
15210 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15212 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15213 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15214 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15215
15216 [BZ #13021]
15217 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15218 installed.
15219
15220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15221 typo.
15222 (_dl_x86_64_save_sse): Likewise.
15223
15224 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15225
15226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15227 OSXSAVE.
15228 (_dl_x86_64_save_sse): Likewise.
15229
15230 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15231
15232 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15233
15234 2011-07-21 Andreas Schwab <schwab@redhat.com>
15235
15236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15237 change.
15238 (_dl_x86_64_save_sse): Use correct AVX check.
15239
15240 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15241
15242 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15243 bug in strncpy/strncat.
15244 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15245
15246 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15247
15248 * string/tester.c (test_strcat): Add tests for different alignments
15249 of source and destination.
15250 (test_strncat): Likewise.
15251
15252 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15253
15254 [BZ #12852]
15255 * posix/glob.c (glob): Check passed in values before using them in
15256 expressions to avoid some overflows.
15257 (glob_in_dir): Likewise.
15258
15259 [BZ #13007]
15260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15261 check for AVX enablement so that we don't crash with old kernels and
15262 new hardware.
15263 * elf/tst-audit4.c: Add same checks here.
15264 * elf/tst-audit6.c: Likewise.
15265
15266 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15267
15268 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15269
15270 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15271
15272 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15273
15274 * po/cs.po: Update from translation team.
15275 * po/bg.po: Likewise.
15276
15277 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15278
15279 * misc/sys/cdefs.h: Add support for const attribute.
15280 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15281 to gnu_dev_{major,minor,makedev} functions.
15282
15283 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15284
15285 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15286
15287 2011-07-20 Andreas Schwab <schwab@redhat.com>
15288
15289 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15290 strlen results.
15291
15292 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15293
15294 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15295 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15296 register in order to avoid conflicts with the soft frame pointer
15297 being held in r11 when necessary.
15298 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15299 (INTERNAL_VSYSCALL_NCS): Likewise.
15300
15301 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15302
15303 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15304 * elf/dl-fini.c (_dl_fini): Adjust caller.
15305 * elf/dl-close.c (_dl_close_worker): Likewise.
15306 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15307
15308 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15309
15310 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15311 "aux_cache->nlibs < 0".
15312
15313 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15314 in the reload-count case.
15315
15316 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15317
15318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15319 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15320 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15321 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15322 * sysdeps/x86_64/multiarch/strcat.S: New file.
15323 * sysdeps/x86_64/multiarch/strncat.S: New file.
15324 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15325 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15326 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15327 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15328 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15329 (USE_AS_STRCAT): Define.
15330 Add strcat and strncat support.
15331 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15332 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15333 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15334 * string/strncat.c: Update.
15335 (USE_AS_STRNCAT): Define.
15336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15337 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15338 and i7.
15339 * sysdeps/x86_64/multiarch/init-arch.h
15340 (bit_Prefer_PMINUB_for_stringop): New.
15341 (index_Prefer_PMINUB_for_stringop): Likewise.
15342 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15343 bit_Prefer_PMINUB_for_stringop.
15344
15345 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15346
15347 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15348 buffer64.
15349 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15350 of casting of buffer.
15351 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15352 buffer32 and buffer64.
15353 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15354 writes instead of casting of buffer.
15355 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15356 buffer32.
15357 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15358 casting of buffer.
15359
15360 2011-07-19 Andreas Schwab <schwab@redhat.com>
15361
15362 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15363
15364 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15365
15366 * nscd/nscd.c (termination_handler): Don't do anything for a database
15367 if it has not yet been initialized.
15368
15369 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15370
15371 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15372
15373 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15374
15375 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15376
15377 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15378
15379 * po/nl.po: Update from translation team.
15380 * po/sv.po: Likewise.
15381
15382 2011-07-16 Roland McGrath <roland@hack.frob.com>
15383
15384 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15385 now disallowed by GCC.
15386
15387 * configure.in (use-default-link): Default to yes if a test -shared
15388 link meets our qualifications.
15389 * configure: Regenerated.
15390
15391 * config.make.in (output-format): New variable.
15392 * configure.in: Check for ld --print-output-format support.
15393 * configure: Regenerated.
15394 * Makerules ($(common-objpfx)format.lds)
15395 [$(output-format) != unknown]: Just use $(output-format),
15396 instead of the linker-script munging.
15397
15398 2011-07-14 Roland McGrath <roland@hack.frob.com>
15399
15400 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15401 of $(common-objpfx)shlib.lds.
15402 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15403
15404 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15405 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15406
15407 * configure.in (-z relro check): Adjust test code to add a large
15408 writable data section after it.
15409 * configure: Regenerated.
15410
15411 2011-07-11 Roland McGrath <roland@hack.frob.com>
15412
15413 * configure.in (-z relro check): Fix test code to make the variable
15414 truly const.
15415 * configure: Regenerated.
15416
15417 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15418
15419 * nscd/nscd.h (struct traced_file): Define.
15420 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15421 elements. Add traced_files.
15422 (inotify_fd): Declare.
15423 (register_traced_file): Declare.
15424 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15425 (inotify_fd): Export.
15426 (resolv_conf_descr): Remove.
15427 (nscd_init): Move inotify descriptor creation to main.
15428 Don't register files for notification here.
15429 (register_traced_file): New function.
15430 (invalidate_cache): Don't use reset_res to determine whether to call
15431 res_init, go through the list of registered files.
15432 (main_loop_poll): The inotify descriptors are now stored in the
15433 structures for the traced files.
15434 (main_loop_epoll): Likewise
15435 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15436 to __nss_disable_nscd.
15437 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15438 for a database anymore. Check the records for all the registered
15439 files instead.
15440 * nss/Makefile (libnss_files-routines): Add files-init.
15441 (libnss_db-routines): Add db-init.
15442 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15443 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15444 * nss/nss_db/db-init.c: New file.
15445 * nss/nss_files/files-init.c: New file.
15446 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15447 __nss_lookup_function.
15448 (__nss_lookup_function): Call nss_load_library.
15449 (nss_load_all_libraries): New function.
15450 (__nss_disable_nscd): Take parameter with callback function for files
15451 to register. Set is_nscd. Load all the DSOs for the NSS modules
15452 used for the cached services.
15453 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15454 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15455 options for features to all the files in nscd.
15456
15457 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15458
15459 2011-07-10 Roland McGrath <roland@hack.frob.com>
15460
15461 * csu/elf-init.c (__libc_csu_init): Comment typo.
15462
15463 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15464
15465 * po/pl.po: Update from translation team.
15466 * po/ja.po: Likewise.
15467 * po/ru.po: Likewise.
15468 * po/ko.po: Likewise.
15469 * po/fr.po: Likewise.
15470
15471 2011-07-09 Roland McGrath <roland@hack.frob.com>
15472
15473 * configure.in (.ctors/.dtors header and trailer check):
15474 Use an empirical test on a built program.
15475 * configure: Regenerated.
15476
15477 * configure.in (-z relro check): Use an empirical test on a built DSO.
15478 Detect, but do not require, on ia64.
15479 * configure: Regenerated.
15480
15481 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15482 Update tests that use readelf to use $READELF instead.
15483 * configure: Regenerated.
15484
15485 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15486
15487 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15488 if the result is not used.
15489
15490 2011-07-05 Andreas Jaeger <aj@suse.de>
15491
15492 [BZ#9696]
15493 * stdlib/tst-strtod.c: Add testcase.
15494
15495 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15496
15497 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15498 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15499 The latter has a higher limit. Take additional parameter to pass to
15500 the new function.
15501 (__pathconf): Pass file to __statfs_link_max.
15502 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15503 __statfs_link_max.
15504 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15505 __statfs_link_max.
15506
15507 [BZ #12868]
15508 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15509 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15510 Handle Lustre.
15511 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15512 (__statfs_filesize_max): Likewise.
15513 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15514
15515 2011-07-05 Andreas Jaeger <aj@suse.de>
15516
15517 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15518
15519 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15520
15521 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15522 `status' variable.
15523 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15524 Likewise.
15525
15526 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15527
15528 * Makefile (strop-tests): Add strncat.
15529 * string/test-strncat.c: New file.
15530
15531 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15532
15533 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15534
15535 2011-06-21 Andreas Jaeger <aj@suse.de>
15536
15537 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15538 Copy rule from iconvdata/Makefile.
15539
15540 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15541
15542 [BZ #12922]
15543 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15544 but no long options are defined, just return 'W'.
15545
15546 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15547
15548 [BZ #9696]
15549 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15550
15551 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15552
15553 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15554 netgroups to read.
15555 (innetgr): Likewise.
15556
15557 2011-07-05 Roland McGrath <roland@hack.frob.com>
15558
15559 * config.make.in (install_root): Default to $(DESTDIR).
15560
15561 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15562
15563 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15564
15565 2011-07-02 Roland McGrath <roland@hack.frob.com>
15566
15567 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15568
15569 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15570 containing directory rather than embedding absolute directory names.
15571
15572 * scripts/check-local-headers.sh: Rewritten using awk.
15573 Match by word, not by line. Print error messages for matches.
15574 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15575
15576 * Makerules [shlib-lds-flags empty]:
15577 ($(common-objpfx)libc_pic.opts): New target.
15578 ($(common-objpfx)libc_pic.os.clean): New target.
15579 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15580
15581 * config.make.in (OBJCOPY): New variable.
15582 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15583 * configure: Regenerated.
15584
15585 * config.make.in (use-default-link): New variable.
15586 * configure.in (use_default_link): Grok --with-default-link to set it.
15587 * configure: Regenerated.
15588 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15589 (shlib-lds, shlib-lds-flags): Define to empty.
15590
15591 * Makerules (shlib-lds): New variable.
15592 (shlib-lds-flags): New variable.
15593 (build-shlib, build-moduile, build-module-asneeded): Use it.
15594 ($(common-objpfx)libc.so): Use $(shlib-lds).
15595 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15596 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15597
15598 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15599 DT_FLAGS/DT_FLAGS_1 with zero flags.
15600
15601 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15602 linker script munging.
15603
15604 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15605
15606 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15607 as 128-bit value.
15608 * crypt/sha512.c (sha512_process_block): Perform total addition using
15609 128-bit if possible.
15610 (__sha512_finish_ctx): Likewise.
15611 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15612 as 64-bit value.
15613 * crypt/sha256.c (SWAP64): Define.
15614 (sha256_process_block): Perform total addition using 64-bit if
15615 possible.
15616 (__sha256_finish_ctx): Likewise.
15617
15618 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15619
15620 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15621 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15622 * nscd/hstcache.c (cache_addhst): Likewise.
15623 * nscd/grpcache.c (cache_addgr): Likewise.
15624 * nscd/aicache.c (addhstaiX): Likewise
15625 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15626
15627 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15628
15629 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15630 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15631 * nscd/hstcache.c (cache_addhst): Likewise.
15632 * nscd/grpcache.c (cache_addgr): Likewise.
15633 * nscd/aicache.c (addhstaiX): Likewise
15634
15635 2011-07-01 Andreas Schwab <schwab@redhat.com>
15636
15637 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15638 domain only when needed.
15639
15640 2011-06-30 Andreas Schwab <schwab@redhat.com>
15641
15642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15643 is always restored.
15644
15645 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15646
15647 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15648 are re-adding the entry.
15649 * nscd/servicescache.c (cache_addserv): Likewise.
15650
15651 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15652
15653 * sysdeps/generic/dl-irel.h: fix protection against multiple
15654 inclusions.
15655 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15656
15657 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15658
15659 [BZ #12935]
15660 * malloc/memusage.sh: Fix quoting in message.
15661 * debug/xtrace.sh: Likewise.
15662
15663 * configure.in: Remove support for --experimental-malloc option, make
15664 it the default.
15665 * config.make.in: Likewise.
15666 * malloc/Makefile: Likewise.
15667
15668 2011-06-27 Andreas Schwab <schwab@redhat.com>
15669
15670 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15671 two-byte characters.
15672
15673 2011-06-27 Roland McGrath <roland@hack.frob.com>
15674
15675 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15676 AC_CACHE_CHECK invocation.
15677 * configure: Regenerated.
15678
15679 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15680
15681 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15682
15683 [BZ #12350]
15684 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15685 bit from old_res_options.
15686
15687 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15688
15689 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15690 value type for setfct.
15691
15692 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15693
15694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15695 __gettimeofday instead of gettimeofday.
15696
15697 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15698
15699 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15700
15701 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15702
15703 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15704
15705 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15706 info.
15707
15708 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15709
15710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15711 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15712 strcpy-sse2-unaligned strncpy-sse2-unaligned
15713 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15714 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15715 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15716 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15717 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15718 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15720 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15721 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15722 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15723 (STRCPY): Support SSE2 and SSSE3 versions.
15724
15725 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15726
15727 [BZ #12874]
15728 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15729 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15730 kernels which artificially limit size of requests.
15731
15732 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15733
15734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15735 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15736 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15737 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15738 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15739 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15740 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15741 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15742 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15743 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15744 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15745 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15746 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15747 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15748 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15750 Enable unaligned load optimization for Intel Core i3, i5 and i7
15751 processors.
15752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15753 Define.
15754 (index_Fast_Unaligned_Load): Define.
15755 (HAS_FAST_UNALIGNED_LOAD): Define.
15756
15757 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15758
15759 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15760
15761 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15762
15763 [BZ #12907]
15764 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15765 until it is clear that the information is realy needed.
15766 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15767
15768 2011-06-22 Andreas Schwab <schwab@redhat.com>
15769
15770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15771
15772 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15773
15774 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15775 /sys/devices/system/cpu/online if it is usable.
15776
15777 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15778 reading the information from the /proc filesystem to once a second.
15779
15780 2011-06-21 Andreas Jaeger <aj@suse.de>
15781
15782 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15783 NULL after inclusion of kernel headers.
15784
15785 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15786
15787 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15788 calls to internal_setent.
15789
15790 [BZ #12885]
15791 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15792 addresses using gethostbyname4_r ignore IPv4 addresses.
15793
15794 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15795 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15796
15797 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15798
15799 2011-06-20 David S. Miller <davem@davemloft.net>
15800
15801 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15802 inclusions.
15803 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15804
15805 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15806 (elf_irel): Use it.
15807 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15808 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15809 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15810 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15811 * sysdeps/x86_64/dl-irel.h: Likewise.
15812
15813 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15814 * elf/dl-sym.c: Likewise.
15815
15816 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15817
15818 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15819 need to dereference resplen2.
15820
15821 2011-06-14 Andreas Schwab <schwab@redhat.com>
15822
15823 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15824
15825 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15826
15827 * Makeconfig: Define vardbdir and inst_vardbdir.
15828 * nss/Makefile: Add rules to install db-Makefile.
15829
15830 * nss/nss_db/db-XXX.c: Cleanup.
15831
15832 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15833 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15834 GLIBC_PRIVATE.
15835 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15836 * nss/makedb.c: Implement -g option to specify that value strings
15837 are generated and should not be added to table iterated over for
15838 get*ent calls.
15839 * nss/nss_db/db-initgroups.c: New file.
15840
15841 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15842 interface.
15843
15844 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15845 (internal_getgrouplist): Adjust to name change.
15846 Update use_initgroups_entry if this is not the first call.
15847 * nss/databases.def: Add initgroups entry.
15848
15849 * nss/makedb.c (compute_tables): Check result of multiple hash table
15850 sizes to minimize maximum chain length.
15851
15852 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15853
15854 * Versions.def: Add entry for libnss_db.
15855 * shlib-versions: Likewise.
15856 * nss/Makefile: Add rules to build libnss_db.
15857 * nss/Versions: Add libnss_db information. Organize libnss_files
15858 entries better.
15859 * nss/db-Makefile: Add gshadow support. Change rules for the new
15860 makedb progra. Some minor improvements to generate smaller files.
15861 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15862 here from...
15863 * nss/makedb.c: ...here.
15864 Improve database format to be smaller and require less memory at
15865 runtime.
15866 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15867 db anymore.
15868 * nss/nss_db/db-netgrp.c: Likewise.
15869 * nss/nss_db/db-open.c: Likewise.
15870 * nss/nss_files/flies-XXX.x: Adjust comments.
15871 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15872 * nss/nss_files/files-grp.c: Likewise.
15873 * nss/nss_files/files-hosts.c: Likewise.
15874 * nss/nss_files/files-network.c: Likewise.
15875 * nss/nss_files/files-proto.c: Likewise.
15876 * nss/nss_files/files-pwd.c: Likewise.
15877 * nss/nss_files/files-rpc.c: Likewise.
15878 * nss/nss_files/files-service.c: Likewise.
15879 * nss/nss_files/files-sgrp.c: Likewise.
15880 * nss/nss_files/files-spwd.c: Likewise.
15881 * nss/nss_db/db-alias.c: Removed.
15882 * nss/nss_db/dummy-db.h: Removed.
15883
15884 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15885
15886 * nss/makedb.c: Rewritten to not use database library.
15887 * nss/Makefile: Update to build new makedb program.
15888
15889 2011-06-14 Andreas Jaeger <aj@suse.de>
15890
15891 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15892 memset declaration.
15893
15894 2011-06-10 Andreas Schwab <schwab@redhat.com>
15895
15896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15897 tmpbuf.
15898
15899 2011-06-10 Roland McGrath <roland@hack.frob.com>
15900
15901 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15902 * elf/Makefile ($(objpfx)ld.so): Likewise.
15903
15904 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15905 Don't list ld.so twice in dependencies.
15906
15907 * posix/bug-regex31.c: Include <stdlib.h>.
15908
15909 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15910
15911 * nis/nss_compat/compat-spwd.c
15912 (getspent_next_nss_netgr): Remove unused variable.
15913 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15914
15915 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15916 nonmembers" output to use the right array.
15917
15918 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15919
15920 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15921
15922 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15923 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15924 * catgets/gencat.c (read_input_file): Likewise.
15925 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15926
15927 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15928 variable definition inside #if's controlling its use.
15929
15930 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15931
15932 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15933
15934 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15935
15936 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15937 unreachable code.
15938
15939 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15940
15941 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15942 * configure: Regenerated.
15943
15944 * Makerules: Revert last change.
15945 * elf/Makefile: Likewise.
15946
15947 2011-06-09 Roland McGrath <roland@hack.frob.com>
15948
15949 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15950 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15951 (reloc-link): Likewise.
15952
15953 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15954
15955 * elf/Makefile: Add rules to build pldd.
15956 * elf/pldd.c: New file.
15957 * elf/pldd-xx.c: New file.
15958
15959 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15960
15961 * version.h: Update for 2.15 development version.
15962
15963 2011-06-07 David S. Miller <davem@davemloft.net>
15964
15965 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15966 ifuncs.
15967 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15968 elf_machine_lazy_rel): Likewise.
15969 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15970 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15971 elf_machine_lazy_rel): Likewise.
15972 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15973 dl_hwcap via passed in argument.
15974 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15975 Likewise.
15976
15977 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15978
15979 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15980
15981 2011-06-06 Roland McGrath <roland@hack.frob.com>
15982
15983 [BZ #12849]
15984 * manual/fdl-1.1.texi: New file, verbatim from:
15985 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15986 * manual/lgpl-2.1.texi: New file, verbatim from:
15987 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15988 * manual/Makefile (licenses): New variable, list those new file names.
15989 (texis): Use it.
15990 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15991
15992 * manual/fdl.texi: File removed.
15993 * manual/lesser.texi: File removed.
15994 * manual/libc.texinfo (Copying, Documentation License):
15995 Use new @include file names, put @appendix directive before @include.
15996
15997 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15998
15999 [BZ #12841]
16000 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16001 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16002 (mq_open): Add __NTH.
16003
16004 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16005
16006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16007 Assume Intel Core i3/i5/i7 processor if AVX is available.
16008
16009 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16010
16011 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16012 typo.
16013
16014 2011-05-31 Andreas Schwab <schwab@redhat.com>
16015
16016 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16017 memory. Use alloca_account. Fix memory leak when retrying.
16018
16019 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16020
16021 * version.h (RELEASE): Bump for 2.14 release.
16022 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16023
16024 * config.make.in (RANLIB): Remove entry.
16025
16026 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16027
16028 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16029 (libc.pot): Work around missing support for .ksh extension in xgettext.
16030
16031 [BZ #12684]
16032 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16033 if both request failed.
16034 (send_dg): In case of server errors clear resplen or *resplen2.
16035
16036 [BZ #12454]
16037 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16038 when there are multiple maps.
16039 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16040 (_dl_fini): Remove test here.
16041
16042 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16043
16044 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16045
16046 [BZ #12350]
16047 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16048 bit from old_res_options.
16049 (gaih_inet): Likewise.
16050
16051 [BZ #11099]
16052 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16053 as signed.
16054
16055 * resolv/res_init.c (res_setoptions): Make the code more compact.
16056
16057 [BZ #11558]
16058 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16059 set RES_USEVC.
16060
16061 [BZ #11634]
16062 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16063
16064 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16065
16066 [BZ #11781]
16067 * malloc/malloc.h: Declare malloc hook variables as volatile.
16068
16069 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16070 in last patch.
16071
16072 [BZ #11799]
16073 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16074 raise in the comment.
16075 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16076 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16077 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16078
16079 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16080
16081 [BZ #12811]
16082 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16083 grow the buffers more if it already has to be sufficient.
16084 (build_wcs_upper_buffer): Likewise.
16085 * posix/regexec.c (check_matching): Likewise.
16086 (clean_state_log_if_needed): Likewise.
16087 (extend_buffers): Don't enlarge buffers beyond size of the input
16088 buffer.
16089 Patches mostly by Emil Wojak <emil@wojak.eu>.
16090 * posix/bug-regex32.c: New file.
16091 * posix/Makefile (tests): Add bug-regex32.
16092
16093 * locale/findlocale.c (_nl_find_locale): Return right away if
16094 _nl_explode_name failed.
16095 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16096
16097 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16098
16099 * debug/xtrace.sh: Unify messages.
16100 * malloc/memusage.sh: Likewise.
16101
16102 [BZ #12813]
16103 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16104 time symbol from vDSO. Substitute with vsyscall if not available.
16105 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16106 __vdso_time.
16107
16108 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16109 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16110 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16111 Add sendmmsg and internal_sendmmsg.
16112 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16113 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16114 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16115
16116 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16117 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16118 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16119
16120 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16121
16122 [BZ #12813]
16123 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16124 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16125 available.
16126 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16127 __vdso_getcpu.
16128
16129 [BZ #12814]
16130 * iconvdata/Makefile (tests): Add bug-iconv9.
16131 * iconvdata/bug-iconv9.c: New file.
16132
16133 2011-05-27 Andreas Schwab <schwab@redhat.com>
16134
16135 [BZ #12814]
16136 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16137
16138 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16139
16140 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16141 (struct user_regs_struct): Change intcs field back to cs.
16142
16143 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16144
16145 * po/ja.po: Update from translation team.
16146
16147 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16148
16149 [BZ #12795]
16150 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16151 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16152
16153 2011-05-20 Andreas Schwab <schwab@redhat.com>
16154
16155 * stdlib/longlong.h: Update from GCC.
16156
16157 2011-05-23 Andreas Schwab <schwab@redhat.com>
16158
16159 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16160 parameter name.
16161 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16162 Add parameter name.
16163 (__sysconf): Pass it down.
16164
16165 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16166
16167 [BZ #12671]
16168 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16169 some situations.
16170 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16171 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16172 add in in __libc_use_alloca calls. Adjust callers.
16173 (glob): Use malloc in some situations.
16174
16175 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16176 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16177 pltexit.
16178
16179 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16180
16181 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16182 and CLOCK_BOOTTIME_ALARM.
16183
16184 [BZ #12782]
16185 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16186 is returned.
16187
16188 * string/_strerror.c (__strerror_r): Print negative errors as signed
16189 numbers.
16190
16191 [BZ #12777]
16192 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16193 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16194 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16195
16196 * configure.in: Fix typo in redirection and correct removal of test
16197 files in two cases.
16198
16199 [BZ #12788]
16200 * locale/setlocale.c (new_composite_name): Fix test to check for
16201 identical name of all categories.
16202
16203 [BZ #12792]
16204 * libio/filedoalloc.c (local_isatty): New function.
16205 (_IO_file_doallocate): Use local_isatty.
16206 * stdio-common/perror.c (perror): In case a new stream is used
16207 forward the stream error.
16208 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16209 error flag.
16210
16211 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16212
16213 [BZ #11869]
16214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16215 alloca.
16216 * include/alloca.h (extend_alloca_account): Define.
16217
16218 [BZ #11857]
16219 * posix/regex.h: Fix comments with documentation of user-accessible
16220 fields after compilation and describe correct free'ing of pattern
16221 after re_compile_pattern.
16222 Patch by Reuben Thomas <rrt@sc3d.org>.
16223
16224 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16225
16226 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16227 and -mno-altivec to prevent the compiler from using Altivec and/or
16228 VSX instructions when the corresponding registers are not available.
16229
16230 2011-05-19 Andreas Schwab <schwab@redhat.com>
16231
16232 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16233
16234 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16235
16236 * libio/freopen.c (freopen): Use __dup2, not dup2.
16237 * libio/freopen64.c (freopen64): Likewise.
16238
16239 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16240
16241 [BZ #12775]
16242 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16243 * math/Makefile (tests): Add test-powl.
16244 (CFLAGS-test-powl.c): Define.
16245 * math/test-powl.c: New file.
16246
16247 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16248
16249 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16250
16251 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16252
16253 [BZ #11837]
16254 * iconvdata/gb18030.c: Update to GB18020-2005.
16255
16256 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16257
16258 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16259 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16260 Patch by Aharon Robbins <arnold@skeeve.com>.
16261
16262 [BZ #11892]
16263 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16264 on the stack.
16265
16266 [BZ #11895]
16267 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16268 through underflows.
16269
16270 [BZ #12766]
16271 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16272 point to strings before performing equality test for error_one_per_line
16273 mode.
16274
16275 [BZ #11697]
16276 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16277
16278 [BZ #11820]
16279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16280 (struct user_fpregs_struct): Avoid __uint*_t types.
16281
16282 [BZ #6420]
16283 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16284 symbol info. Use it instead of calling _dl_addr locally.
16285 (lock_and_info): New function.
16286 (tr_freehook): Call lock_and_info and pass symbol info as additional
16287 parameter to tr_where.
16288 (tr_mallochook): Likewise.
16289 (tr_reallochook): Likewise.
16290 (tr_memalignhook): Likewise.
16291
16292 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16293 used and couldn't be at all thread-safe.
16294
16295 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16296
16297 * libio/freopen.c (freopen): Don't close old file descriptor
16298 before the new one is opened. Instead dup the new file descriptor
16299 to the old one after the new stream is created.
16300 * libio/freopen64.c (freopen64): Likewise.
16301 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16302 * libio/fileops.c (_IO_new_file_close_it): Handle new
16303 _IO_FLAGS2_NOCLOSE flag.
16304 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16305 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16306 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16307 _IO_FLAGS2_NOCLOSE flag.
16308 * include/unistd.h: Add hidden_proto for dup3.
16309 Define __have_dup3.
16310 * io/dup3.c: Define hidden symbol.
16311 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16312
16313 [BZ #7101]
16314 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16315 when an incomplete long option is used.
16316 * posix/tst-getopt_long1.c: New file.
16317 * posix/Makefile (tests): Add tst-getopt_long1.
16318
16319 [BZ #10138]
16320 * scripts/config.guess: Update from autoconf-2.68.
16321 * scripts/config.sub: Likewise.
16322
16323 [BZ #10157]
16324 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16325 tests into ...
16326 (has_cpuclock): ...this. New function.
16327 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16328 macro here based on has_cpuclock code.
16329
16330 [BZ #10149]
16331 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16332 First byte (not low byte) is now always NUL.
16333 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16334
16335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16336 Use non-cancelable interfaces.
16337
16338 [BZ #9809]
16339 * locale/iso-639.def: Add entry for Sorani.
16340
16341 [BZ #11901]
16342 * include/stdlib.h: Move include protection to the right place.
16343 Define abort_msg_s. Declare __abort_msg with it.
16344 * stdlib/abort.c (__abort_msg): Adjust type.
16345 * assert/assert.c (__assert_fail_base): New function. Majority
16346 of code from __assert_fail. Allocate memory for __abort_msg with
16347 mmap.
16348 (__assert_fail): Now call __assert_fail_base.
16349 * assert/assert-perr.c: Remove bulk of implementation. Use
16350 __assert_fail_base.
16351 * include/assert.hL Declare __assert_fail_base.
16352 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16353 mmap.
16354 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16355
16356 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16357
16358 [BZ #11952]
16359 [BZ #12453]
16360 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16361 until all modules are registered in the DTV.
16362 * elf/Makefile: Add rules to build and run tst-tls19.
16363 * elf/tst-tls19.c: New file.
16364 * elf/tst-tls19mod1.c: New file.
16365 * elf/tst-tls19mod2.c: New file.
16366 * elf/tst-tls19mod3.c: New file.
16367 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16368
16369 [BZ #12083]
16370 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16371 correctly.
16372
16373 [BZ #12601]
16374 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16375 two-byte sequence errors.
16376 * iconvdata/Makefile (tests): Add bug-iconv8.
16377 * iconvdata/bug-iconv8.c: New file.
16378
16379 [BZ #12626]
16380 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16381 buf2 definition.
16382
16383 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16384
16385 [BZ #12432]
16386 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16387 (dummy_getcfa): New function.
16388 (init): Get _Unwind_GetCFA address, use dummy if not found.
16389 (backtrace_helper): In recursion check, also check whether CFA changes.
16390 (__backtrace): Completely initialize arg.
16391
16392 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16393 storing incomplete byte sequence in state object. Avoid testing for
16394 guaranteed too small input if we know there is enough data available.
16395
16396 2011-05-11 Andreas Schwab <schwab@redhat.com>
16397
16398 * Makeconfig (+link-pie): Indent.
16399 * Rules (binaries-pie): Define if $(have-fpie) and
16400 $(build-shared).
16401 (binaries-shared): Also filter out $(binaries-pie).
16402 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16403 * nscd/Makefile (others-pie): Add nscd.
16404 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16405 ($(objpfx)nscd): Remove command override.
16406 * login/Makefile (others-pie): Add pt_chown.
16407 ($(objpfx)pt_chown): Remove command override.
16408 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16409 remove command overrides.
16410
16411 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16412
16413 * libio/tst_putwc.c: Fix error messages.
16414
16415 [BZ #12724]
16416 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16417 currently writing and seek to current position when not.
16418 * libio/Makefile (tests): Add bug-fclose1.
16419 * libio/bug-fclose1.c: New file.
16420
16421 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16422
16423 [BZ #12511]
16424 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16425 don't set DF_1_NODELETE here.
16426 (do_lookup_x): When entering new entry test for copy relocation
16427 and if necessary set DF_1_NODELETE flag.
16428 * elf/tst-unique4.cc: New file.
16429 * elf/tst-unique4.h: New file.
16430 * elf/tst-unique4lib.cc: New file.
16431 * elf/Makefile: Add rules to build and run tst-unique4.
16432 Patch by Piotr Bury <pbury@goahead.com>.
16433
16434 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16435
16436 [BZ #12052]
16437 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16438
16439 [BZ #12625]
16440 * misc/mntent_r.c (addmntent): Flush the stream after the output
16441
16442 [BZ #12393]
16443 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16444 (is_trusted_path_normalize): Skip initial colon. Append slash
16445 to empty buffer. Duplicate is_trusted_path code but allow
16446 constructed patch to be prefix.
16447 (is_dst): Allow $ORIGIN followed by /.
16448 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16449 Correct testing of result of is_trusted_path_normalize
16450 (decompose_rpath): Fix warning.
16451
16452 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16453
16454 [BZ #11257]
16455 * grp/initgroups.c (internal_getgrouplist): When we found the service
16456 list through the initgroups entry in nsswitch.conf do not always
16457 continue on a successful lookup. Don't always use the
16458 __nss_group_database value if it is set.
16459 * nss/nsswitch.conf (initgroups): Change action for successful db
16460 lookup to continue for compatibility.
16461
16462 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16463
16464 [BZ #11532]
16465 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16466 and CP774 modules.
16467 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16468 and CP774 modules.
16469 * iconvdata/tst-tables.sh: Likewise.
16470 * iconvdata/cp770.c: New file.
16471 * iconvdata/cp771.c: New file.
16472 * iconvdata/cp772.c: New file.
16473 * iconvdata/cp773.c: New file.
16474 * iconvdata/cp774.c: New file.
16475 * iconvdata/testdata/CP770: New file.
16476 * iconvdata/testdata/CP770..UTF8: New file.
16477 * iconvdata/testdata/CP771: New file.
16478 * iconvdata/testdata/CP771..UTF8: New file.
16479 * iconvdata/testdata/CP772: New file.
16480 * iconvdata/testdata/CP772..UTF8: New file.
16481 * iconvdata/testdata/CP773: New file.
16482 * iconvdata/testdata/CP773..UTF8: New file.
16483 * iconvdata/testdata/CP774: New file.
16484 * iconvdata/testdata/CP774..UTF8: New file.
16485
16486 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16487 END CHARMAP line.
16488 * iconvdata/gen-8bit-gap.sh: Likewise.
16489 * iconvdata/gen-8bit.sh: Likewise.
16490
16491 * locale/iso-639.def: Add ary entry.
16492
16493 [BZ #11258]
16494 * locale/C-translit.h.in: Add U20A1 transliteration.
16495
16496 [BZ #12178]
16497 * locale/iso-639.def: Add wae entry.
16498 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16499
16500 [BZ #12545]
16501 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16502 for n.
16503
16504 [BZ #12711]
16505 * locale/C-translit.h.in: Add entry for U20B9.
16506 Patch by pravin.d.s@gmail.com.
16507
16508 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16509
16510 [BZ #12713]
16511 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16512 ENAMETOOLONG use generic getcwd.
16513 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16514 in rtld. Use *stat64.
16515 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16516 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16517 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16518 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16519 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16520 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16521 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16522 __fstatat64 macros.
16523 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16524 * dirent/rewinddir.c: Add libc_hidden_def.
16525 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16526 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16527
16528 * include/dirent.h (__alloc_dir): Add flags parameter.
16529 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16530 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16531 __alloc_dir.
16532 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16533 from fdopendir if O_CLOEXEC is already set.
16534
16535 2011-03-15 Alan Modra <amodra@gmail.com>
16536
16537 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16538 l_tls_firstbyte_offset non-zero. Save padding offset in
16539 l_tls_firstbyte_offset for later use.
16540 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16541 freeing static tls block.
16542
16543 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16544
16545 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16546 where #ifdef was intended. The intent is to prevent ARG_MAX from
16547 being defined by the kernel headers.
16548
16549 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16550
16551 [BZ #12734]
16552 * resolv/resolv.h: Define RES_NOTLDQUERY.
16553 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16554 no-tld-query and set RES_NOTLDQUERY.
16555 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16556 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16557 modern BIND to search name as TLD unless forbidden.
16558
16559 2011-05-07 Petr Baudis <pasky@suse.cz>
16560 Ulrich Drepper <drepper@gmail.com>
16561
16562 [BZ #12393]
16563 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16564 (is_trusted_path): ...to here.
16565 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16566 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16567 using is_trusted_path_normalize() in setuid scripts.
16568
16569 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16570
16571 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16572 __BEGIN/__END_DECLS.
16573
16574 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16575
16576 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16577 NSS_STATUS_NOTFOUND if no record was found.
16578
16579 2011-05-05 Andreas Schwab <schwab@redhat.com>
16580
16581 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16582 (headers-not-in-tirpc): Remove rpc/netdb.h
16583 * resolv/netdb.h: Revert last change.
16584
16585 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16586
16587 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16588 circular dependency between libgcc.a and libc.a.
16589
16590 2011-05-05 Andreas Schwab <schwab@redhat.com>
16591
16592 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16593 * nis/Makefile: Don't install rpcsvc/*.
16594 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16595 instead of <rpc/types.h>.
16596 (MAXHOSTNAMELEN): Define.
16597
16598 2011-05-03 Andreas Schwab <schwab@redhat.com>
16599
16600 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16601
16602 2011-04-28 Maciej Babinski <mbabinski@google.com>
16603
16604 [BZ #12714]
16605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16606 gethostbyname4_r when IPv6 results are possible.
16607
16608 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16609
16610 [BZ #12723]
16611 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16612 _PC_PIPE_BUF handling.
16613
16614 2011-04-30 Bruno Haible <bruno@clisp.org>
16615
16616 [BZ #12717]
16617 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16618 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16619 to 'int'.
16620 * inet/getnameinfo.c (getnameinfo): Likewise.
16621
16622 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16623
16624 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16625 to groups setting in database lookup.
16626 * nss/nsswitch.conf: Add initgroups entry.
16627
16628 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16629
16630 [BZ #12685]
16631 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16632 mode string.
16633 Patch by Eric Blake <eblake@redhat.com>.
16634
16635 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16636
16637 * sunrpc/Makefile (need-export-routines): Add svc_run.
16638 (routines): Remove svc_run.
16639 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16640 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16641 * sunrpc/svc_run.c (svc_run): Likewise.
16642 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16643
16644 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16645
16646 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16647 problem in reallocation in last patch.
16648
16649 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16650
16651 * sunrpc/Makefile: Move inclusion of Rules.
16652
16653 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16654
16655 * nss/nss_files/files-initgroups.c: New file.
16656 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16657 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16658 _nss_files_initgroups_dyn.
16659
16660 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16661
16662 * elf/elf.h (R_ARM_IRELATIVE): Define.
16663
16664 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16665
16666 * po/ru.po: Update from translation team.
16667
16668 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16669
16670 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16671 dependencies.
16672
16673 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16674
16675 [BZ #12653]
16676 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16677 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16678 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16679 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16680 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16681
16682 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16683
16684 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16685 differing bytes.
16686 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16687 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16688 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16689
16690 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16691
16692 [BZ #12420]
16693 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16694 storing it.
16695 * stdlib/bug-getcontext.c: New file.
16696 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16697
16698 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16699
16700 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16701 instructions into .machine "z9-109".
16702 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16703 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16704
16705 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16706
16707 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16708 between environment variables and auxiliary vector.
16709
16710 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16711
16712 * Makefile: Add rules to build linkobj/libc.so.
16713 * include/libc-symbols.h: Define libc_hidden_nolink.
16714 * include/rpc/auth.h: Mark functions which are to be hidden.
16715 * include/rpc/auth_des.h: Likewise.
16716 * include/rpc/auth_unix.h: Likewise.
16717 * include/rpc/clnt.h: Likewise.
16718 * include/rpc/des_crypt.h: Likewise.
16719 * include/rpc/key_prot.h: Likewise.
16720 * include/rpc/pmap_clnt.h: Likewise.
16721 * include/rpc/pmap_prot.h: Likewise.
16722 * include/rpc/pmap_rmt.h: Likewise.
16723 * include/rpc/rpc_msg.h: Likewise.
16724 * include/rpc/svc.h: Likewise.
16725 * include/rpc/svc_auth.h: Likewise.
16726 * include/rpc/xdr.h: Likewise.
16727 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16728 * nss/Makefile: Likewise.
16729 * sunrpc/Makefile: Don't install headers. Build library with normal
16730 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16731 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16732 for the compat linking library. Remove use of INTDEF/INTUSE.
16733 * sunrpc/auth_none.c: Likewise.
16734 * sunrpc/auth_unix.c: Likewise.
16735 * sunrpc/authdes_prot.c: Likewise.
16736 * sunrpc/authuxprot.c: Likewise.
16737 * sunrpc/clnt_gen.c: Likewise.
16738 * sunrpc/clnt_perr.c: Likewise.
16739 * sunrpc/clnt_raw.c: Likewise.
16740 * sunrpc/clnt_simp.c: Likewise.
16741 * sunrpc/clnt_tcp.c: Likewise.
16742 * sunrpc/clnt_udp.c: Likewise.
16743 * sunrpc/clnt_unix.c: Likewise.
16744 * sunrpc/des_crypt.c: Likewise.
16745 * sunrpc/des_soft.c: Likewise.
16746 * sunrpc/get_myaddr.c: Likewise.
16747 * sunrpc/key_call.c: Likewise.
16748 * sunrpc/key_prot.c: Likewise.
16749 * sunrpc/netname.c: Likewise.
16750 * sunrpc/pm_getmaps.c: Likewise.
16751 * sunrpc/pm_getport.c: Likewise.
16752 * sunrpc/pmap_clnt.c: Likewise.
16753 * sunrpc/pmap_prot.c: Likewise.
16754 * sunrpc/pmap_prot2.c: Likewise.
16755 * sunrpc/pmap_rmt.c: Likewise.
16756 * sunrpc/publickey.c: Likewise.
16757 * sunrpc/rpc_cmsg.c: Likewise.
16758 * sunrpc/rpc_common.c: Likewise.
16759 * sunrpc/rpc_dtable.c: Likewise.
16760 * sunrpc/rpc_prot.c: Likewise.
16761 * sunrpc/rpc_thread.c: Likewise.
16762 * sunrpc/rtime.c: Likewise.
16763 * sunrpc/svc.c: Likewise.
16764 * sunrpc/svc_auth.c: Likewise.
16765 * sunrpc/svc_authux.c: Likewise.
16766 * sunrpc/svc_raw.c: Likewise.
16767 * sunrpc/svc_run.c: Likewise.
16768 * sunrpc/svc_simple.c: Likewise.
16769 * sunrpc/svc_tcp.c: Likewise.
16770 * sunrpc/svc_udp.c: Likewise.
16771 * sunrpc/svc_unix.c: Likewise.
16772 * sunrpc/svcauth_des.c: Likewise.
16773 * sunrpc/xcrypt.c: Likewise.
16774 * sunrpc/xdr.c: Likewise.
16775 * sunrpc/xdr_array.c: Likewise.
16776 * sunrpc/xdr_float.c: Likewise.
16777 * sunrpc/xdr_intXX_t.c: Likewise.
16778 * sunrpc/xdr_mem.c: Likewise.
16779 * sunrpc/xdr_rec.c: Likewise.
16780 * sunrpc/xdr_ref.c: Likewise.
16781 * sunrpc/xdr_sizeof.c: Likewise.
16782 * sunrpc/xdr_stdio.c: Likewise.
16783
16784 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16785
16786 [BZ #12650]
16787 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16788 * sysdeps/ia64/dl-tls.h: Likewise.
16789 * sysdeps/powerpc/dl-tls.h: Likewise.
16790 * sysdeps/s390/dl-tls.h: Likewise.
16791 * sysdeps/sh/dl-tls.h: Likewise.
16792 * sysdeps/sparc/dl-tls.h: Likewise.
16793 * sysdeps/x86_64/dl-tls.h: Likewise.
16794 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16795
16796 2011-03-14 Andreas Schwab <schwab@redhat.com>
16797
16798 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16799 rpath element also skip the following colon.
16800 (expand_dynamic_string_token): Add is_path parameter and pass
16801 down to DL_DST_REQUIRED and _dl_dst_substitute.
16802 (decompose_rpath): Call expand_dynamic_string_token with
16803 non-zero is_path. Ignore empty rpaths.
16804 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16805 with zero is_path.
16806
16807 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16808
16809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16810 Make cancelable.
16811
16812 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16813
16814 [BZ #12655]
16815 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16816 Patch by Filipe David Manana <fdmanana@apache.org>.
16817
16818 2011-04-07 Andreas Schwab <schwab@redhat.com>
16819
16820 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16821 Maintain aligned stack.
16822 (CHECK_RSP): Remove unused macro.
16823
16824 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16825
16826 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16827 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16828
16829 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16830
16831 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16832
16833 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16834
16835 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16836
16837 [BZ #12518]
16838 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16839 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16840 * sysdeps/x86_64/memmove.c: New file.
16841 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16842 (memcpy): Renamed to ...
16843 (__new_memcpy): This.
16844 (memcpy): Provide GLIBC_2_14 memcpy.
16845 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16846 (memcpy): Provide GLIBC_2_2_5 memcpy.
16847
16848 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16849
16850 [BZ #12631]
16851 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16852
16853 2011-03-30 Andreas Schwab <schwab@redhat.com>
16854
16855 * misc/syncfs.c: New file.
16856 * misc/Makefile (routines): Add syncfs.
16857 * posix/unistd.h: Declare syncfs.
16858 * sysdeps/unix/syscalls.list: Add syncfs.
16859
16860 2011-04-01 Andreas Schwab <schwab@redhat.com>
16861
16862 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16863 open_by_handle_at.
16864 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16865 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16866 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16867 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16868 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16869 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16870 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16871
16872 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16873
16874 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16875 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16876 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16877 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16878 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16880 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16881
16882 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16883 sync_file_range.c with -fexceptions.
16884 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16885 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16886 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16887 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16888 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16889 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16890 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16891 sync_file_range as cancellation point
16892 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16893 now a wrapper around __call_sync_file_range with cancellation handling.
16894 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16895 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16896 function name to __call_sync_file_range.
16897 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16898 Add call_sync_file_range.
16899
16900 2011-04-01 Andreas Schwab <schwab@redhat.com>
16901
16902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16903 bits/timex.h.
16904
16905 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16906
16907 * iconv/iconv.h: Fix typo in comment.
16908 * io/fcntl.h: Likewise.
16909 * libio/stdio.h: Likewise.
16910 * posix/spawn.h: Likewise.
16911 * posix/unistd.h: Likewise.
16912 * stdlib/stdlib.h: Likewise.
16913 * time/time.h: Likewise.
16914 * wcsmbs/wchar.h: Likewise.
16915
16916 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16917 open_by_handle): Add.
16918 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16919 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16920 Augment a few comments.
16921 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16922 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16923 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16925 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16926 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16927 open_by_handle.
16928
16929 * io/fcntl.h (AT_EMPTY_PATH): Define.
16930
16931 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16932
16933 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16934 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16935 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16936 to...
16937 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16938 * Versions.def: Add GLIBC_2.14.
16939 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16940 Export.
16941
16942 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16943
16944 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16945 round counter.
16946 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16947
16948 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16949
16950 [BZ #12597]
16951 * string/test-strncmp.c (do_page_test): New function.
16952 (check2): Likewise.
16953 (test_main): Call check2.
16954 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16955
16956 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16957
16958 [BZ #12587]
16959 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16960 Handle cache information in CPU leaf 4.
16961 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16962
16963 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16964
16965 [BZ #12583]
16966 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16967 character representation.
16968 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16969
16970 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16971
16972 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16973 END(__isnan) to END(__isnanf) to match function entry point/label
16974 EALIGN(__isnanf,...).
16975
16976 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16977
16978 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16979
16980 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16981
16982 [BZ #12510]
16983 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16984 copy from the symbol referenced in the relocation to initialize the
16985 used variable.
16986 Patch by Piotr Bury <pbury@goahead.com>.
16987 * elf/Makefile: Add rules to build and tst-unique3.
16988 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16989 * elf/tst-unique3.cc: New file.
16990 * elf/tst-unique3.h: New file.
16991 * elf/tst-unique3lib.cc: New file.
16992 * elf/tst-unique3lib2.cc: New file.
16993
16994 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16995
16996 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16997
16998 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16999 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17000 to _start.
17001
17002 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17003
17004 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17005 to-be-loaded object along a path to loader is ld.so.
17006
17007 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17008 Ulrich Drepper <drepper@gmail.com>
17009
17010 * sysdeps/x86_64/memset.S: After aligning destination, code
17011 branches to different locations depending on the value of
17012 misalignment, when multiarch is enabled. Fix this.
17013
17014 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17015
17016 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17017 Set _x86_64_preferred_memory_instruction for AMD processsors.
17018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17019 Set bit_Prefer_SSE_for_memop for AMD processors.
17020
17021 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17022
17023 * libio/fmemopen.c (fmemopen): Optimize a bit.
17024
17025 2011-03-03 Andreas Schwab <schwab@redhat.com>
17026
17027 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17028
17029 2011-03-03 Roland McGrath <roland@redhat.com>
17030
17031 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17032
17033 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17034
17035 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17036 __bzero_ultra1 instead of __memset_ultra1.
17037
17038 2011-02-23 Andreas Schwab <schwab@redhat.com>
17039 Ulrich Drepper <drepper@gmail.com>
17040
17041 [BZ #12509]
17042 * include/link.h (struct link_map): Add l_orig_initfini.
17043 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17044 returning unsuccessfully.
17045 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17046 close of a file loaded at startup, restore the original l_initfini
17047 list.
17048 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17049 list, store the pointer.
17050 * elf/Makefile ($(objpfx)noload-mem): New rule.
17051 (noload-ENV): Define.
17052 (tests): Add $(objpfx)noload-mem.
17053 * elf/noload.c: Include <memcheck.h>.
17054 (main): Call mtrace. Close all opened handles.
17055
17056 2011-02-17 Andreas Schwab <schwab@redhat.com>
17057
17058 [BZ #12454]
17059 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17060 dependencies are missing.
17061
17062 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17063
17064 Fix __if_freereq crash: Unlike the generic version which uses free,
17065 Hurd needs munmap.
17066 * sysdeps/mach/hurd/ifreq.h: New file.
17067
17068 2011-01-27 Petr Baudis <pasky@suse.cz>
17069 Ulrich Drepper <drepper@gmail.com>
17070
17071 [BZ 12445]#
17072 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17073 to extend_alloca().
17074 * stdio-common/bug23.c: New file.
17075 * stdio-common/Makefile (tests): Add bug23.
17076
17077 2010-09-28 Andreas Schwab <schwab@redhat.com>
17078 Ulrich Drepper <drepper@gmail.com>
17079
17080 [BZ #12489]
17081 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17082 before performing relro protection. At old place add assertion
17083 to make sure nothing changed.
17084
17085 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17086 Glauber de Oliveira Costa <glommer@gmail.com>
17087
17088 * elf/elf.h: Add new ARM TLS relocs.
17089
17090 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17091
17092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17093 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17094 cast from r3.
17095 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17096 'tests' variable.
17097 * sysdeps/wordsize-64/tst-writev.c: New file.
17098
17099 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17100
17101 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17102 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17103 insns in _dl_start to prevent a TOC reference before relocs are
17104 resolved.
17105
17106 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17107
17108 [BZ #12469]
17109 * Makeconfig: Remove RANLIB definition.
17110 * Makerules: Don't use RANLIB.
17111 * aclocal.m4: Remove ranlib test.
17112 * configure.in: No need to check for ranlib.
17113 * elf/rtld-Rules: Don't use RANLIB.
17114
17115 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17116
17117 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17118 protection macro.
17119 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17120 inclusion protection macro.
17121
17122 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17123 SIGRTMIN and SIGRTMAX and print information in that case only when
17124 SIGRTMIN is defined.
17125
17126 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17127
17128 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17129 arginfo fn returning -1.
17130
17131 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17132 and thousands string is zero terminated.
17133
17134 2011-02-03 Andreas Schwab <schwab@redhat.com>
17135
17136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17137 sysdeps/unix/sysv/linux/bits/socket.h.
17138
17139 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17140
17141 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17142 (__CPU_COUNT): Remove old macros.
17143 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17144 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17145 (__CPU_ALLOC, __CPU_FREE): Add macros.
17146 (__sched_cpualloc, __sched_cpufree): Add declarations.
17147
17148 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17149
17150 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17151 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17152 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17153 (readdhstai): Return value of addhstaiX call.
17154 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17155 (addgrbyX): Return value returned by cache_addgr.
17156 (readdgrbyname): Return value returned by addgrbyX.
17157 (readdgrbygid): Likewise.
17158 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17159 (addpwbyX): Return value returned by cache_addpw.
17160 (readdpwbyname): Return value returned by addhstbyX.
17161 (readdpwbyuid): Likewise.
17162 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17163 (addservbyX): Return value returned by cache_addserv.
17164 (readdservbyname): Return value returned by addservbyX:
17165 (readdservbyport): Likewise.
17166 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17167 (addhstbyX): Return value returned by cache_addhst.
17168 (readdhstbyname): Return value returned by addhstbyX.
17169 (readdhstbyaddr): Likewise.
17170 (readdhstbynamev6): Likewise.
17171 (readdhstbyaddrv6): Likewise.
17172 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17173 (readdinitgroups): Return value returned by addinitgroupsX.
17174 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17175 (prune_cache): Keep track of timeout value of re-added entries.
17176 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17177 * nscd/nscd.h: Adjust prototypes of readd* functions.
17178
17179 2011-02-04 Roland McGrath <roland@redhat.com>
17180
17181 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17182 (nis_stats): Likewise.
17183 * nis/nis_modify.c (nis_modify): Likewise.
17184 * nis/nis_remove.c (nis_remove): Likewise.
17185 * nis/nis_add.c (nis_add): Likewise.
17186
17187 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17188
17189 * posix/fnmatch_loop.c: Add some consts.
17190
17191 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17192
17193 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17194
17195 [BZ #12460]
17196 * config.make.in (config-cflags-novzeroupper): Define.
17197 * configure.in: Substitute libc_cv_cc_novzeroupper.
17198 * elf/Makefile (AVX-CFLAGS): Define.
17199 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17200 (CFLAGS-tst-auditmod4a.c): Likewise.
17201 (CFLAGS-tst-auditmod4b.c): Likewise.
17202 (CFLAGS-tst-auditmod6b.c): Likewise.
17203 (CFLAGS-tst-auditmod6c.c): Likewise.
17204 (CFLAGS-tst-auditmod7b.c): Likewise.
17205 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17206
17207 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17208
17209 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17210 function to the callback.
17211 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17212
17213 2011-02-02 Andreas Schwab <schwab@redhat.com>
17214
17215 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17216 of errno.
17217
17218 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17219
17220 [BZ #11724]
17221 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17222 of constructors.
17223 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17224 of destructors.
17225 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17226
17227 [BZ #11724]
17228 * elf/Makefile: Add rules to build and run new test.
17229 * elf/tst-initorder.c: New file.
17230 * elf/tst-initorder.exp: New file.
17231 * elf/tst-initordera1.c: New file.
17232 * elf/tst-initordera2.c: New file.
17233 * elf/tst-initordera3.c: New file.
17234 * elf/tst-initordera4.c: New file.
17235 * elf/tst-initorderb1.c: New file.
17236 * elf/tst-initorderb2.c: New file.
17237 * elf/tst-order-a1.c: New file.
17238 * elf/tst-order-a2.c: New file.
17239 * elf/tst-order-a3.c: New file.
17240 * elf/tst-order-a4.c: New file.
17241 * elf/tst-order-b1.c: New file.
17242 * elf/tst-order-b2.c: New file.
17243 * elf/tst-order-main.c: New file.
17244 New test case by George Gensure <werkt0@gmail.com>.
17245
17246 2010-10-01 Andreas Schwab <schwab@redhat.com>
17247
17248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17249 decoding ACE if AI_CANONIDN.
17250
17251 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17252
17253 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17254
17255 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17256
17257 * version.h (RELEASE): Bump for 2.13 release.
17258 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17259
17260 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17261
17262 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17263 MADV_NOHUGEPAGE.
17264 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17265 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17266 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17267 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17268 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17269 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17270
17271 * posix/getconf.c: Update copyright year.
17272 * catgets/gencat.c: Likewise.
17273 * csu/version.c: Likewise.
17274 * debug/catchsegv.sh: Likewise.
17275 * debug/xtrace.sh: Likewise.
17276 * elf/ldconfig.c: Likewise.
17277 * elf/ldd.bash.in: Likewise.
17278 * elf/sprof.c (print_version): Likewise.
17279 * iconv/iconv_prog.c: Likewise.
17280 * iconv/iconvconfig.c: Likewise.
17281 * locale/programs/locale.c: Likewise.
17282 * locale/programs/localedef.c: Likewise.
17283 * malloc/memusage.sh: Likewise.
17284 * malloc/mtrace.pl: Likewise.
17285 * nscd/nscd.c (print_version): Likewise.
17286 * nss/getent.c: Likewise.
17287
17288 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17289 PF_CAIF, and PF_ALG.
17290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17291
17292 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17293
17294 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17295 (modules-names): Use them.
17296 (ifunc-test-modules, ifunc-pie-tests): Define.
17297 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17298 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17299 (test-extras): Likewise.
17300 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17301 $(compile-command.c).
17302 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17303 (all-built-dso): Define.
17304 (check-textrel.out, check-execstack.out): Depend on it.
17305
17306 * configure.in: Don't override --enable-multi-arch.
17307
17308 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17309
17310 [BZ #6812]
17311 * nscd/hstcache.c (tryagain): Define.
17312 (cache_addhst): Return tryagain not notfound for temporary errors.
17313 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17314 failed.
17315
17316 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17317
17318 [BZ #10563]
17319 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17320 to make the syscall.
17321 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17322
17323 [BZ #12378]
17324 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17325 and fall back to matching as normal character if the string ends before
17326 the matching ']' is found. This is what POSIX requires.
17327 * posix/testfnm.c: Adjust test result.
17328 * posix/globtest.sh: Adjust test result. Add new test.
17329 * posix/tst-fnmatch.input: Likewise.
17330 * posix/tst-fnmatch2.c: Add new test.
17331
17332 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17333
17334 * elf/Makefile (check-execstack): Revert last change. Depend on
17335 check-execstack.h.
17336 (check-execstack.h): New target.
17337 (generated): Add check-execstack.h.
17338 * elf/check-execstack.c: Include "check-execstack.h".
17339 (main): Revert last change.
17340 (handle_file): Return zero if GNU_STACK is absent and
17341 DEFAULT_STACK_PERMS doesn't include PF_X.
17342
17343 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17344
17345 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17346 in child fails because the descriptor is already closed.
17347 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17348 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17349 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17350
17351 [BZ #12397]
17352 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17353 syscall.
17354
17355 [BZ #10484]
17356 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17357 temporary buffer used to handle multi lookups locally.
17358 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17359
17360 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17361
17362 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17363 loader is ld.so.
17364
17365 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17366
17367 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17368 alignment for SSE2.
17369
17370 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17371
17372 [BZ #12394]
17373 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17374 characters. When rounding increased number of integer digits recompute
17375 number of groups.
17376 * stdio-common/tst-grouping.c: New file.
17377 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17378
17379 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17380
17381 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17382 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17383
17384 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17385 void.
17386 * bits/select.h: Likewise.
17387
17388 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17389
17390 * po/ja.po: Update from translation team.
17391
17392 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17393
17394 [BZ #11155]
17395 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17396 implementation just like for lxstat, fxstatat, et al.
17397
17398 2010-12-27 Jim Meyering <meyering@redhat.com>
17399
17400 [BZ #12348]
17401 * posix/regexec.c (build_trtable): Return failure indication upon
17402 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17403
17404 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17405
17406 [BZ #12201]
17407 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17408 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17409 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17410 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17411
17412 [BZ #12207]
17413 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17414
17415 [BZ #12204]
17416 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17417 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17418
17419 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17420
17421 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17422 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17423 script has SORT_BY_INIT_PRIORITY.
17424 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17425 NO_CTORS_DTORS_SECTIONS is defined.
17426 * elf/soinit.c: Likewise.
17427 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17428 NO_CTORS_DTORS_SECTIONS is defined.
17429 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17430 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17431 * sysdeps/sh/init-first.c: Likewise.
17432 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17433
17434 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17435
17436 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17437 always use the slow path.
17438
17439 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17440
17441 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17442 similar rule which adds the sysdep directories to the header search in
17443 order to pick up the correct platform stackinfo.h.
17444 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17445 perform test if it is, otherwise return successfully without testing.
17446 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17447 DEFAULT_STACK_PERMS define in stackinfo.h.
17448 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17449 defined in stackinfo.h.
17450 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17451 DEFAULT_STACK_PERMS defined in stackinfo.h.
17452 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17453 * sysdeps/ia64/stackinfo.h: Likewise.
17454 * sysdeps/s390/stackinfo.h: Likewise.
17455 * sysdeps/sh/stackinfo.h: Likewise.
17456 * sysdeps/sparc/stackinfo.h: Likewise.
17457 * sysdeps/x86_64/stackinfo.h: Likewise.
17458 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17459 PF_X for powerpc64. Retain PF_X for powerpc32.
17460
17461 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17462
17463 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17464 accurately.
17465 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17466 GETDENTS_64BIT_ALIGNED.
17467
17468 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17469
17470 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17471
17472 2010-12-10 Andreas Schwab <schwab@redhat.com>
17473
17474 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17475 _GNU_SOURCE.
17476
17477 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17478 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17479 Remove __restrict.
17480 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17481 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17482
17483 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17484
17485 [BZ #11655]
17486 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17487 are initialized.
17488
17489 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17490
17491 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17492
17493 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17494
17495 * po/it.po: Update from translation team.
17496
17497 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17498
17499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17500 unused codes.
17501
17502 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17503
17504 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17505
17506 2010-11-24 Andreas Schwab <schwab@redhat.com>
17507
17508 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17509 specially.
17510 (gaih_getanswer_slice): Likewise.
17511
17512 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17513
17514 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17515
17516 2010-05-31 Petr Baudis <pasky@suse.cz>
17517
17518 [BZ #11149]
17519 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17520 silently even in the chroot mode.
17521
17522 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17523
17524 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17525 last patch a bit. Pretty printing
17526
17527 2010-05-31 Petr Baudis <pasky@suse.cz>
17528
17529 [BZ #10085]
17530 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17531 initialization of skip_initgroups_dyn.
17532
17533 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17534
17535 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17536 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17537
17538 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17539
17540 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17541
17542 2010-11-11 Andreas Schwab <schwab@redhat.com>
17543
17544 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17545 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17546 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17547 ($(objpfx)tst-fnmatch-mem): New rule.
17548 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17549 * posix/tst-fnmatch.c (main): Call mtrace.
17550
17551 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17552
17553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17554 Support Intel processor model 6 and model 0x2c.
17555
17556 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17557
17558 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17559 signed comparison.
17560
17561 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17562
17563 [BZ #12205]
17564 * string/test-strncasecmp.c (check_result): New function.
17565 (do_one_test): Use it.
17566 (check1): New function.
17567 (test_main): Use it.
17568 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17569 Support strcasecmp and strncasecmp.
17570
17571 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17572
17573 [BZ #12194]
17574 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17575 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17576
17577 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17578
17579 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17580 IFUNC support.
17581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17582 memset-x86-64.
17583 * sysdeps/x86_64/multiarch/bzero.S: New file.
17584 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17585 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17586 * sysdeps/x86_64/multiarch/memset.S: New file.
17587 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17589 Set bit_Prefer_SSE_for_memop for Intel processors.
17590 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17591 Define.
17592 (index_Prefer_SSE_for_memop): Define.
17593 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17594
17595 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17596
17597 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17598 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17599
17600 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17601
17602 [BZ #12191]
17603 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17604 (__x86_64_raw_data_cache_size_half): Likewise.
17605 (__x86_64_raw_shared_cache_size): Likewise.
17606 (__x86_64_raw_shared_cache_size_half): Likewise.
17607
17608 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17609 (__x86_64_raw_data_cache_size_half): Likewise.
17610 (__x86_64_raw_shared_cache_size): Likewise.
17611 (__x86_64_raw_shared_cache_size_half): Likewise.
17612 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17613 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17614 and __x86_64_raw_shared_cache_size_half. Round
17615 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17616 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17617 to multiple of 256 bytes.
17618
17619 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17620
17621 [BZ #12167]
17622 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17623 of inacessible symlinks. Verify result of symlink before returning it.
17624 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17625 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17626
17627 2010-10-28 Erich Ritz <erichritz@gmail.com>
17628
17629 * math/math.h (isinf): Fix typo in comment.
17630
17631 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17632
17633 * po/da.po: Update from translation team.
17634
17635 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17636
17637 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17638 is added to the list.
17639
17640 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17641 Ulrich Drepper <drepper@gmail.com>
17642
17643 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17644 the global list here. Move code to...
17645 (_dl_add_to_namespace_list): ...here. New function.
17646 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17647 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17648 * elf/dl-load.c (lose): Don't remove the element from the list.
17649 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17650 (_dl_map_object): Likewise.
17651
17652 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17653
17654 [BZ #12159]
17655 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17656 into all bytes of SSE register.
17657 Patch by Richard Li <richardpku@gmail.com>.
17658
17659 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17660
17661 [BZ #12140]
17662 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17663 perturbing.
17664
17665 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17666
17667 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17668 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17669 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17670 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17672 submachine.
17673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17674
17675 2010-10-22 Andreas Schwab <schwab@redhat.com>
17676
17677 * include/dlfcn.h (__RTLD_SECURE): Define.
17678 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17679 mode & __RTLD_SECURE instead.
17680 (open_path): Rename preloaded parameter to secure.
17681 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17682 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17683 * elf/dl-deps.c (openaux): Likewise.
17684 * elf/rtld.c (struct map_args): Remove is_preloaded.
17685 (map_doit): Don't use it.
17686 (dl_main): Likewise.
17687 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17688 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17689
17690 2010-09-09 Andreas Schwab <schwab@redhat.com>
17691
17692 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17693 (sysd-rules-targets): Remove duplicates.
17694 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17695 rtld-%.$o dependency.
17696
17697 2010-10-18 Andreas Schwab <schwab@redhat.com>
17698
17699 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17700 _dl_map_object do it.
17701
17702 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17703
17704 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17705 fast fma builtins, define the macros in the C99 standard.
17706 (FP_FAST_FMAF): Likewise.
17707 (FP_FAST_FMAL): Likewise.
17708 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17709
17710 * bits/mathdef.h: Update copyright year.
17711 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17712
17713 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17714
17715 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17716 builtins, define the macros in the C99 standard.
17717 (FP_FAST_FMAF): Likewise.
17718 (FP_FAST_FMAL): Likewise.
17719 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17720 multiply/add.
17721 (FP_FAST_FMAF): Likewise.
17722
17723 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17724
17725 [BZ #3268]
17726 * math/libm-test.inc (fma_test): Some new testcases.
17727 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17728 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17729 y and infinite z. Do multiplication by C already in long double.
17730 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17732 y and infinite z. Do bitwise or of inexact bit into u.d.
17733 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17734 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17735 * sysdeps/i386/fpu/s_fma.S: Removed.
17736 * sysdeps/i386/fpu/s_fmal.S: Removed.
17737
17738 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17739
17740 [BZ #3268]
17741 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17743 computation is not scheduled after fetestexcept. Fix value
17744 of minimum denormal long double.
17745
17746 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17747
17748 [BZ #3268]
17749 * math/libm-test.inc (fma_test): Add some more tests.
17750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17751 correctly.
17752
17753 2010-10-15 Andreas Schwab <schwab@redhat.com>
17754
17755 * scripts/data/localplt-s390-linux-gnu.data: New file.
17756 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17757
17758 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17759
17760 [BZ #3268]
17761 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17762 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17763 instead of dbl-64.
17764 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17765 inlines.
17766 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17768 if one of x and y is very large and the other is subnormal.
17769 * sysdeps/s390/fpu/s_fmaf.c: New file.
17770 * sysdeps/s390/fpu/s_fma.c: New file.
17771 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17772 * sysdeps/powerpc/fpu/s_fma.S: New file.
17773 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17774 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17775 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17776
17777 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17778
17779 [BZ #3268]
17780 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17781 fma tests.
17782 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17783 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17784 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17785 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17786 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17787 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17789
17790 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17791
17792 [BZ #12078]
17793 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17794 * posix/bug-regex31.input: Add test case.
17795
17796 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17797
17798 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17799 * posix/bug-regex31.input: New file.
17800
17801 [BZ #12078]
17802 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17803 (parse_sub_exp): Fix last change, use postorder.
17804
17805 * posix/bug-regex31.c: New file.
17806 * posix/Makefile: Add rules to build and run bug-regex31.
17807
17808 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17809
17810 [BZ #12078]
17811 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17812
17813 [BZ #12108]
17814 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17815 to have entries in sys_siglist.
17816
17817 [BZ #12093]
17818 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17819 be NULL.
17820
17821 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17822
17823 [BZ #3268]
17824 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17825 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17826 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17827 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17828 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17829 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17830 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17831 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17832 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17833 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17834 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17835 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17836 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17837 * math/ftestexcept.c (fetestexcept): Likewise.
17838 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17839 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17840 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17841 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17842 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17843 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17844 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17845
17846 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17847
17848 [BZ #12107]
17849 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17850 newline.
17851
17852 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17853
17854 * string/bug-strstr1.c: New file.
17855 * string/Makefile: Add rules to build and run bug-strstr1.
17856
17857 2010-10-05 Eric Blake <eblake@redhat.com>
17858
17859 [BZ #12092]
17860 * string/str-two-way.h (two_way_long_needle): Always clear memory
17861 when skipping input due to the shift table.
17862
17863 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17864
17865 [BZ #12005]
17866 * malloc/mcheck.c: Handle large requests.
17867
17868 [BZ #12077]
17869 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17870 for strncmp and strncasecmp.
17871 * string/stratcliff.c: Add tests for strcmp and strncmp.
17872 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17873
17874 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17875
17876 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17877 __set_fpscr.
17878
17879 2010-09-30 Andreas Jaeger <aj@suse.de>
17880
17881 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17882 (CGROUP_SUPER_MAGIC): Define.
17883 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17884 Handle btrfs and cgroup file systems.
17885 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17886 Likewise.
17887
17888 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17889
17890 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17891 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17892
17893 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17894
17895 [BZ #12067]
17896 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17897 trying to locate the ELF header.
17898
17899 2010-09-27 Andreas Schwab <schwab@redhat.com>
17900
17901 [BZ #11611]
17902 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17903 Mask out sign-bit copies when constructing f_fsid.
17904
17905 2010-09-24 Petr Baudis <pasky@suse.cz>
17906
17907 * debug/stack_chk_fail_local.c: Add missing licence exception.
17908 * debug/warning-nop.c: Likewise.
17909
17910 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17911
17912 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17913 implementing getdents64 using getdents syscall, set d_type if
17914 __ASSUME_GETDENTS32_D_TYPE.
17915
17916 2010-09-16 Andreas Schwab <schwab@redhat.com>
17917
17918 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17919 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17920
17921 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17922
17923 [BZ #12037]
17924 * posix/unistd.h: Undo change of feature selection for ftruncate from
17925 2010-01-11.
17926
17927 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17928
17929 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17930 detection.
17931
17932 2010-09-20 Andreas Schwab <schwab@redhat.com>
17933
17934 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17935 fanotify_mark.
17936 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17937
17938 2010-09-14 Andreas Schwab <schwab@redhat.com>
17939
17940 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17941 variables after CHECK_SP call.
17942 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17943
17944 2010-09-13 Andreas Schwab <schwab@redhat.com>
17945 Ulrich Drepper <drepper@redhat.com>
17946
17947 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17948 re-relocationg ld.so.
17949 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17950 _dl_init_paths call.
17951 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17952 here anymore.
17953
17954 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17955
17956 * resolv/res_init.c (__res_vinit): Count the default server we added.
17957
17958 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17959 Ulrich Drepper <drepper@redhat.com>
17960
17961 [BZ #11968]
17962 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17963 (____longjmp_chk): Use %ebx for saving value across system call.
17964 Add unwind info.
17965
17966 2010-09-06 Andreas Schwab <schwab@redhat.com>
17967
17968 * manual/Makefile: Don't mix pattern rules with normal rules.
17969
17970 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17971
17972 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17973 operation.
17974 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17975 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17976 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17977 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17978 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17979 Likewise.
17980
17981 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17982
17983 [BZ #11979]
17984 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17985 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17986
17987 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17988
17989 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17990 * sysdeps/x86_64/addmul_1.S: Likewise.
17991 * sysdeps/x86_64/lshift.S: Likewise.
17992 * sysdeps/x86_64/mul_1.S: Likewise.
17993 * sysdeps/x86_64/rshift.S: Likewise.
17994 * sysdeps/x86_64/sub_n.S: Likewise.
17995 * sysdeps/x86_64/submul_1.S: Likewise.
17996
17997 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17998
17999 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18000 Define __sched_param instead of SCHED_* and sched_param when
18001 <bits/sched.h> is included with __need_schedparam defined.
18002 * bits/sched.h [__need_schedparam]
18003 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18004 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18005 (__defined_schedparam): Define to 1.
18006 (__sched_param): New structure, identical to sched_param.
18007 (__need_schedparam): Undefine.
18008
18009 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18010
18011 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18012 (epoll_create1): Declare.
18013
18014 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18015
18016 2010-08-31 Andreas Schwab <schwab@redhat.com>
18017
18018 [BZ #7066]
18019 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18020 shifting retval into place.
18021
18022 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18023
18024 * nis/rpcsvc/nis.h: Update copyright notice.
18025 * nis/rpcsvc/nis.x: Likewise.
18026 * nis/rpcsvc/nis_callback.h: Likewise.
18027 * nis/rpcsvc/nis_callback.x: Likewise.
18028 * nis/rpcsvc/nis_object.x: Likewise.
18029 * nis/rpcsvc/nis_tags.h: Likewise.
18030 * nis/rpcsvc/yp.h: Likewise.
18031 * nis/rpcsvc/yp.x: Likewise.
18032 * nis/rpcsvc/ypupd.h: Likewise.
18033 * nis/yp_xdr.c: Likewise.
18034 * nis/ypupdate_xdr.c: Likewise.
18035
18036 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18037 mainly the body of pmap_getport. Add parameters to specify timeouts.
18038 (pmap_getport): Use __libc_rpc_getport.
18039 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18040 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18041 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18042
18043 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18044
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18046 fanotify_mark.
18047
18048 2010-08-27 Roland McGrath <roland@redhat.com>
18049
18050 * sysdeps/i386/i686/multiarch/Makefile
18051 (CFLAGS-varshift.c): New variable.
18052
18053 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18054
18055 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18056 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18057
18058 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18059
18060 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18061
18062 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18063
18064 * sysdeps/x86_64/strlen.S: Unroll the loop.
18065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18066 strlen-sse2 strlen-sse2-bsf.
18067 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18068 __strlen_no_bsf if bit_Slow_BSF is set.
18069 (__strlen_sse42): Removed.
18070 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18071 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18072
18073 2010-08-25 Roland McGrath <roland@redhat.com>
18074
18075 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18076 * sysdeps/x86_64/multiarch/varshift.c: New file.
18077 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18078 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18079 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18080 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18081
18082 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18083
18084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18085 strlen-sse2 strlen-sse2-bsf.
18086 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18087 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18088 (__strlen_sse2): Removed.
18089 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18090 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18092 bit_Slow_BSF for Atom.
18093 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18094 (index_Slow_BSF): Define.
18095 (HAS_SLOW_BSF): Define.
18096
18097 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18098
18099 [BZ #10851]
18100 * resolv/res_init.c (__res_vinit): When no server address at all
18101 is given default to loopback.
18102
18103 2010-08-24 Roland McGrath <roland@redhat.com>
18104
18105 * configure.in: Remove config-name.h generation.
18106 * configure: Regenerated.
18107 * config-name.in: File removed.
18108 * scripts/config-uname.sh: New file.
18109 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18110 ($(objdir)config-name.h): New target.
18111
18112 * sunrpc/rpc_parse.h: Avoid nested comment.
18113
18114 2010-08-24 Richard Henderson <rth@redhat.com>
18115 Ulrich Drepper <drepper@redhat.com>
18116 H.J. Lu <hongjiu.lu@intel.com>
18117
18118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18120 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18121 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18122 _mm_alignr_epi8 with _mm_loadu_si128.
18123 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18124 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18125 (__m128i_shift_right): Removed.
18126 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18127 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18128 * sysdeps/x86_64/multiarch/varshift.h: New file.
18129 * sysdeps/x86_64/multiarch/varshift.S: New file.
18130
18131 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18132
18133 * configure.in: Move assembler checks to before sysdep dir checking.
18134
18135 2010-08-20 Petr Baudis <pasky@suse.cz>
18136
18137 * LICENSES: Sync the sunrpc license.
18138
18139 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18140
18141 * sunrpc/auth_des.c: Update copyright notice once again.
18142 * sunrpc/auth_none.c: Likewise.
18143 * sunrpc/auth_unix.c: Likewise.
18144 * sunrpc/authdes_prot.c: Likewise.
18145 * sunrpc/authuxprot.c: Likewise.
18146 * sunrpc/bindrsvprt.c: Likewise.
18147 * sunrpc/clnt_gen.c: Likewise.
18148 * sunrpc/clnt_perr.c: Likewise.
18149 * sunrpc/clnt_raw.c: Likewise.
18150 * sunrpc/clnt_simp.c: Likewise.
18151 * sunrpc/clnt_tcp.c: Likewise.
18152 * sunrpc/clnt_udp.c: Likewise.
18153 * sunrpc/clnt_unix.c: Likewise.
18154 * sunrpc/des_crypt.c: Likewise.
18155 * sunrpc/des_soft.c: Likewise.
18156 * sunrpc/get_myaddr.c: Likewise.
18157 * sunrpc/getrpcport.c: Likewise.
18158 * sunrpc/key_call.c: Likewise.
18159 * sunrpc/key_prot.c: Likewise.
18160 * sunrpc/openchild.c: Likewise.
18161 * sunrpc/pm_getmaps.c: Likewise.
18162 * sunrpc/pm_getport.c: Likewise.
18163 * sunrpc/pmap_clnt.c: Likewise.
18164 * sunrpc/pmap_prot.c: Likewise.
18165 * sunrpc/pmap_prot2.c: Likewise.
18166 * sunrpc/pmap_rmt.c: Likewise.
18167 * sunrpc/rpc/auth.h: Likewise.
18168 * sunrpc/rpc/auth_unix.h: Likewise.
18169 * sunrpc/rpc/clnt.h: Likewise.
18170 * sunrpc/rpc/des_crypt.h: Likewise.
18171 * sunrpc/rpc/key_prot.h: Likewise.
18172 * sunrpc/rpc/netdb.h: Likewise.
18173 * sunrpc/rpc/pmap_clnt.h: Likewise.
18174 * sunrpc/rpc/pmap_prot.h: Likewise.
18175 * sunrpc/rpc/pmap_rmt.h: Likewise.
18176 * sunrpc/rpc/rpc.h: Likewise.
18177 * sunrpc/rpc/rpc_des.h: Likewise.
18178 * sunrpc/rpc/rpc_msg.h: Likewise.
18179 * sunrpc/rpc/svc.h: Likewise.
18180 * sunrpc/rpc/svc_auth.h: Likewise.
18181 * sunrpc/rpc/types.h: Likewise.
18182 * sunrpc/rpc/xdr.h: Likewise.
18183 * sunrpc/rpc_clntout.c: Likewise.
18184 * sunrpc/rpc_cmsg.c: Likewise.
18185 * sunrpc/rpc_common.c: Likewise.
18186 * sunrpc/rpc_cout.c: Likewise.
18187 * sunrpc/rpc_dtable.c: Likewise.
18188 * sunrpc/rpc_hout.c: Likewise.
18189 * sunrpc/rpc_main.c: Likewise.
18190 * sunrpc/rpc_parse.c: Likewise.
18191 * sunrpc/rpc_parse.h: Likewise.
18192 * sunrpc/rpc_prot.c: Likewise.
18193 * sunrpc/rpc_sample.c: Likewise.
18194 * sunrpc/rpc_scan.c: Likewise.
18195 * sunrpc/rpc_scan.h: Likewise.
18196 * sunrpc/rpc_svcout.c: Likewise.
18197 * sunrpc/rpc_tblout.c: Likewise.
18198 * sunrpc/rpc_util.c: Likewise.
18199 * sunrpc/rpc_util.h: Likewise.
18200 * sunrpc/rpcinfo.c: Likewise.
18201 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18202 * sunrpc/rpcsvc/key_prot.x: Likewise.
18203 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18204 * sunrpc/rpcsvc/mount.x: Likewise.
18205 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18206 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18207 * sunrpc/rpcsvc/rex.x: Likewise.
18208 * sunrpc/rpcsvc/rstat.x: Likewise.
18209 * sunrpc/rpcsvc/rusers.x: Likewise.
18210 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18211 * sunrpc/rpcsvc/spray.x: Likewise.
18212 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18213 * sunrpc/rtime.c: Likewise.
18214 * sunrpc/svc.c: Likewise.
18215 * sunrpc/svc_auth.c: Likewise.
18216 * sunrpc/svc_authux.c: Likewise.
18217 * sunrpc/svc_raw.c: Likewise.
18218 * sunrpc/svc_run.c: Likewise.
18219 * sunrpc/svc_simple.c: Likewise.
18220 * sunrpc/svc_tcp.c: Likewise.
18221 * sunrpc/svc_udp.c: Likewise.
18222 * sunrpc/svc_unix.c: Likewise.
18223 * sunrpc/svcauth_des.c: Likewise.
18224 * sunrpc/xcrypt.c: Likewise.
18225 * sunrpc/xdr.c: Likewise.
18226 * sunrpc/xdr_array.c: Likewise.
18227 * sunrpc/xdr_float.c: Likewise.
18228 * sunrpc/xdr_mem.c: Likewise.
18229 * sunrpc/xdr_rec.c: Likewise.
18230 * sunrpc/xdr_ref.c: Likewise.
18231 * sunrpc/xdr_sizeof.c: Likewise.
18232 * sunrpc/xdr_stdio.c: Likewise.
18233
18234 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18235 handling.
18236
18237 2010-08-19 Andreas Schwab <schwab@redhat.com>
18238
18239 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18240
18241 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18242
18243 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18244 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18245 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18246 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18247 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18248 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18249 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18250 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18251 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18252 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18253 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18254 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18255 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18256 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18257
18258 2010-07-26 Anton Blanchard <anton@samba.org>
18259
18260 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18261 * malloc/arena.c (heap_trim): Likewise.
18262
18263 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18264
18265 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18266 here. Not...
18267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18268 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18269
18270 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18271
18272 * sysdeps/i386/elf/Makefile: New file.
18273
18274 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18275
18276 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18277 from fanotify_init.
18278 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18280
18281 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18282
18283 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18284 of strncasecmp_l.
18285 * sysdeps/multiarch/strcmp.S: Likewise.
18286
18287 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18288
18289 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18290 strncase_l-nonascii.
18291 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18292 Add strncase_l-ssse3.
18293 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18294 * sysdeps/x86_64/strcmp.S: Likewise.
18295 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18296 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18297 * sysdeps/x86_64/strncase.S: New file.
18298 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18299 * sysdeps/x86_64/strncase_l.S: New file.
18300 * string/Makefile (strop-tests): Add strncasecmp.
18301 * string/test-strncasecmp.c: New file.
18302
18303 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18304 warning.
18305
18306 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18307 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18308
18309 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18310
18311 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18312
18313 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18314
18315 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18316 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18317 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18318
18319 2010-05-01 Alan Modra <amodra@gmail.com>
18320
18321 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18322 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18323 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18324 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18325 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18326 tidying. Don't tail-call __sigjmp_save for static lib.
18327 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18328 save location.
18329 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18330 (CALL_MCOUNT): Add eh info, and nop after bl.
18331 (TAIL_CALL_SYSCALL_ERROR): New macro.
18332 (PSEUDO_RET): Use it.
18333 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18334 Correct save location of integer regs and cr.
18335 (_dl_profile_resolve): Correct cr save location. Delete nops
18336 after bl when SHARED. Reduce cfi size a little by better
18337 placement of cfi directives.
18338 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18339 make a stack frame. Instead use parm save area as a temp.
18340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18341 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18343 Don't make a stack frame for parent, use parm save area.
18344 Increase child stack frame to 112 bytes. Don't save unused reg,
18345 and adjust reg usage. Set up cfi on error recovery and
18346 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18348 (__makecontext): Add dummy nop after jump to exit.
18349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18350 Use correct parm save area and cr save, reduce stack frame.
18351 Correct cfi for possible PSEUDO_RET frame setup.
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18353 Branch to local label emitted by PSEUDO_RET rather than
18354 __syscall_error.
18355
18356 2010-08-12 Andreas Schwab <schwab@redhat.com>
18357
18358 [BZ #11904]
18359 * locale/programs/locale.c (print_assignment): New function.
18360 (show_locale_vars): Use it.
18361
18362 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18363
18364 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18365 field.
18366 (struct statfs64): Likewise.
18367 (_STATFS_F_FLAGS): Define.
18368 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18369 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18370 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18371 (ST_VALID): Define locally.
18372 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18373 __statvfs_getflags, use the provided value.
18374 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18375 __ASSUME_STATFS_F_FLAGS.
18376
18377 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18378
18379 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18380 Add sys/fanotify.h.
18381 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18382 fanotify_mask for GLIBC_2.13.
18383 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18384 fanotify_init and fanotify_mark.
18385 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18386 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18387
18388 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18389 Add prlimit.
18390 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18391 prlimit64 for GLIBC_2.13.
18392 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18393 prlimit64.
18394 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18395 syscall.
18396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18397 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18398 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18399 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18400 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18401 add prlimit alias.
18402 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18403
18404 [BZ #11903]
18405 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18406 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18407
18408 * nss/Makefile: Add rules to build and run tst-nss-test1.
18409 * shlib-versions: Add entry for libnss_test1.
18410 * nss/nss_test1.c: New file.
18411 * nss/tst-nss-test1.c: New file.
18412
18413 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18414 (__nss_configure_lookup): Set appropriate entry in
18415 __nss_configure_lookup to true.
18416 * nss/nsswitch.h: Define enum with indeces of databases in
18417 databases and __nss_database_custom arrays. Declare
18418 __nss_database_custom.
18419 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18420 to avoid using nscd when custom rules are installed.
18421 * nss/getXXbyYY_r.c: Likewise.
18422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18423
18424 * nss/nss_files/files-parse.c: Whitespace fixes.
18425
18426 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18427
18428 [BZ #11883]
18429 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18430 * posix/fnmatch_loop.c: Likewise.
18431
18432 2010-07-17 Andi Kleen <ak@linux.intel.com>
18433
18434 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18435 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18436 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18437 * Versions.def [GLIBC_2.13]: Add.
18438
18439 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18440
18441 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18442 Also fail if tpwd after pwuid call is NULL.
18443
18444 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18445
18446 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18447 when converting to ms.
18448
18449 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18450
18451 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18452 EOPNOTSUPP errors with ENOTTY.
18453 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18454 EOPNOTSUPP errors with ENOTTY.
18455
18456 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18457
18458 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18459 Add strcasecmp_l-ssse3.
18460 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18461 strcasecmp.
18462 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18463 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18464 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18465
18466 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18467
18468 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18469
18470 * string/Makefile (strop-tests): Add strcasecmp.
18471 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18472 strcasecmp_l-nonascii.
18473 (gen-as-const-headers): Add locale-defines.sym.
18474 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18475 * sysdeps/x86_64/strcasecmp.S: New file.
18476 * sysdeps/x86_64/strcasecmp_l.S: New file.
18477 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18478 * sysdeps/x86_64/locale-defines.sym: New file.
18479 * string/test-strcasecmp.c: New file.
18480
18481 * string/test-strcasestr.c: Test both ends of the range of characters.
18482 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18483
18484 2010-07-29 Roland McGrath <roland@redhat.com>
18485
18486 [BZ #11856]
18487 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18488
18489 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18490
18491 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18492 for ld.so.
18493
18494 2010-07-27 Andreas Schwab <schwab@redhat.com>
18495
18496 * manual/memory.texi (Malloc Tunable Parameters): Document
18497 M_PERTURB.
18498
18499 2010-07-26 Roland McGrath <roland@redhat.com>
18500
18501 [BZ #11840]
18502 * configure.in (-fgnu89-inline check): Set and substitute
18503 gnu89_inline, not libc_cv_gnu89_inline.
18504 * configure: Regenerated.
18505 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18506
18507 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18508
18509 * string/test-strnlen.c: New file.
18510 * string/Makefile (strop-tests): Add strnlen.
18511 * string/tester.c (test_strnlen): Add a few more test cases.
18512 * string/tst-strlen.c: Better error reporting.
18513
18514 * sysdeps/x86_64/strnlen.S: New file.
18515
18516 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18517
18518 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18519 lower-latency instructions.
18520
18521 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18522
18523 * string/test-strcasestr.c: New file.
18524 * string/test-strstr.c: New file.
18525 * string/Makefile (strop-tests): Add strstr and strcasestr.
18526 * string/str-two-way.h: Don't undefine MAX.
18527 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18528
18529 2010-07-21 Andreas Schwab <schwab@redhat.com>
18530
18531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18532 strcasestr-nonascii.
18533 (CFLAGS-strcasestr-nonascii.c): Define.
18534 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18535 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18536 Remove unused attribute.
18537
18538 2010-07-20 Roland McGrath <roland@redhat.com>
18539
18540 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18541 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18542 ld.so.cache was broken. With it, there is no way to disable dsocaps
18543 like LD_HWCAP_MASK can disable hwcaps.
18544
18545 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18546
18547 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18548
18549 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18550
18551 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18552 call in strcasestr.
18553 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18554 __strcasestr_sse42_nonascii.
18555 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18556 strcasestr-nonascii.c.
18557 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18558
18559 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18560
18561 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18562 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18563 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18564 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18565
18566 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18567
18568 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18569 fcntl.
18570
18571 2010-07-06 Andreas Schwab <schwab@redhat.com>
18572
18573 [BZ #11577]
18574 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18575 dl_signal_cerror.
18576
18577 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18578
18579 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18580 _PC_PIPE_BUF using F_GETPIPE_SZ.
18581
18582 2010-07-05 Roland McGrath <roland@redhat.com>
18583
18584 * manual/arith.texi (Rounding Functions): Fix rint description
18585 implicit in round description.
18586
18587 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18588
18589 * elf/Makefile: Fix linking for a few tests to make recent linker
18590 happy.
18591
18592 2010-06-30 Andreas Schwab <schwab@redhat.com>
18593
18594 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18595 $(common-objpfx)libc_nonshared.a.
18596
18597 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18598
18599 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18600 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18601 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18602 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18603 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18604 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18605 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18606 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18621 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18622 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18623 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18624 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18625 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18626 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18627 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18628 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18629 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18630 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18631 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18632 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18647
18648 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18649
18650 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18651 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18652 * string/memmove.c (memmove): Renamed to ...
18653 (MEMMOVE): ...this. Default to memmove.
18654 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18655 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18656 (END_CHK): Define.
18657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18658 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18659 mempcpy-ssse3-back memmove-ssse3-back.
18660 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18661 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18662 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18663 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18664 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18665 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18666 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18667 * sysdeps/x86_64/multiarch/memmove.c: New file.
18668 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18669 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18670 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18671 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18672 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18673 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18674 Define.
18675 (index_Fast_Copy_Backward): Define.
18676 (HAS_ARCH_FEATURE): Define.
18677 (HAS_FAST_REP_STRING): Define.
18678 (HAS_FAST_COPY_BACKWARD): Define.
18679
18680 2010-06-21 Andreas Schwab <schwab@redhat.com>
18681
18682 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18683 Restore proper fallback handling.
18684
18685 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18686
18687 [BZ #11701]
18688 * posix/group_member.c (__group_member): Correct checking loop.
18689
18690 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18691 OOM in getpwuid_r correctly. Return error number when the caller
18692 should return, otherwise -1.
18693 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18694 call returning > 0 value.
18695 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18696
18697 2010-06-07 Andreas Schwab <schwab@redhat.com>
18698
18699 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18700 libc_nonshared.a from targets in modules-names.
18701
18702 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18703
18704 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18705 requires it.
18706
18707 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18708
18709 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18710 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18711 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18712 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18713
18714 2010-06-02 Andreas Schwab <schwab@redhat.com>
18715
18716 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18717
18718 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18719
18720 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18721 and F_GETPIPE_SZ.
18722 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18723 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18727 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18728
18729 2010-06-14 Roland McGrath <roland@redhat.com>
18730
18731 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18732
18733 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18734
18735 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18736 __REDIRECT followed by __THROW.
18737 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18738 * posix/getopt.h (getopt): Likewise.
18739
18740 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18741
18742 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18743 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18744 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18745 in AT_FLAGS.
18746 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18747 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18748
18749 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18750
18751 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18752
18753 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18754
18755 [BZ #11640]
18756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18757 Properly check family and model.
18758
18759 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18760
18761 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18762
18763 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18764
18765 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18766
18767 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18768
18769 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18770 symbol reference.
18771
18772 2010-05-19 Andreas Schwab <schwab@redhat.com>
18773
18774 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18775 symbol reference.
18776
18777 2010-05-21 Andreas Schwab <schwab@redhat.com>
18778
18779 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18780 and internal_recvmmsg.
18781 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18782 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18783 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18784 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18785
18786 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18787 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18788 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18789
18790 2010-05-20 Andreas Schwab <schwab@redhat.com>
18791
18792 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18793
18794 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18795
18796 POWER7 optimizations.
18797 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18798 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18799
18800 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18801
18802 * version.h: Update for 2.13 development version.
18803
18804 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18805
18806 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18807 exceptions. Return 0.
18808
18809 2010-05-07 Roland McGrath <roland@redhat.com>
18810
18811 * elf/ldconfig.c (main): Add a const.
18812
18813 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18814
18815 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18816 (args_options): Add no-idn option.
18817 (ahosts_keys_int): Add idn_flags to ai_flags.
18818 (parse_option): Handle 'i' option to clear idn_flags.
18819
18820 * malloc/malloc.c (_int_free): Possible race in the most recently
18821 added check. Only act on the data if no current modification
18822 happened.
18823
18824 See ChangeLog.17 for earlier changes.