]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
* manual/stdio.texi (snprintf): Clarify handling of the trailing
[thirdparty/glibc.git] / ChangeLog
1 2012-08-13 Jeff Law <law@redhat.com>
2
3 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4 null byte in the output string.
5
6 2012-08-10 Joseph Myers <joseph@codesourcery.com>
7
8 * sysdeps/unix/sysv/linux/kernel-features.h
9 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16
17 2012-08-09 Jeff Law <law@redhat.com>
18
19 [BZ #13939]
20 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21 When avoid_arena is set, don't retry in the that arena. Pick the
22 next one, whatever it might be.
23 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24 (arena_lock): Pass in new parameter to arena_get2.
25 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26 arena_get2.
27 (__libc_malloc): Unify retrying after main arena failure with
28 __libc_memalign version.
29 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30
31 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32
33 [BZ #14166]
34 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35 to __redirect_strstr.
36 (__strstr_sse42): Use typeof __redirect_strstr.
37 (__strstr_ia32): Likewise.
38 (__libc_strstr): New prototype.
39 (strstr): Renamed to ...
40 (__libc_strstr): This.
41 (strstr): New strong alias of __libc_strstr.
42 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44 __redirect_time.
45 Include <time.h>.
46 (__libc_time): New prototype.
47 (time_ifunc): Replace time with __libc_time.
48 (time): New strong alias and hidden definition of __libc_time.
49 (__GI_time): Remove strong alias.
50 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
51 Include <stddef.h>.
52 (memmove): Redefined to __redirect_memmove.
53 (__memmove_sse2): Use typeof __redirect_memmove.
54 (__memmove_ssse3): Likewise.
55 (__memmove_ssse3_back): Likewise.
56 (__libc_memmove): New prototype.
57 (memmove): Renamed to ...
58 (__libc_memmove): This.
59 (memmove): New strong alias of __libc_memmove.
60
61 2012-08-08 Mark Salter <msalter@redhat.com>
62
63 * elf/elf.h
64 (R_MN10300_TLS_GD): Define.
65 (R_MN10300_TLS_LD): Likewise.
66 (R_MN10300_TLS_LDO): Likewise.
67 (R_MN10300_TLS_GOTIE): Likewise.
68 (R_MN10300_TLS_IE): Likewise.
69 (R_MN10300_TLS_LE): Likewise.
70 (R_MN10300_TLS_DTPMOD): Likewise.
71 (R_MN10300_TLS_DTPOFF): Likewise.
72 (R_MN10300_TLS_TPOFF): Likewise.
73 (R_MN10300_SYM_DIFF): Likewise.
74 (R_MN10300_ALIGN): Likewise.
75 (R_MN10300_NUM): Update.
76
77 2012-08-08 Joseph Myers <joseph@codesourcery.com>
78
79 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
80 Remove.
81
82 2012-08-08 Roland McGrath <roland@hack.frob.com>
83
84 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
85
86 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
87 sysdeps/unix -> sysdeps/posix move.
88 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
89
90 2012-08-07 Allan McRae <allan@archlinux.org>
91
92 [BZ #14303]
93 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
94 (SUNOS_CPP): Likewise.
95 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
96 not found.
97 (open_input): Call CPP using execvp.
98
99 2012-08-07 Joseph Myers <joseph@codesourcery.com>
100
101 * sysdeps/unix/sysv/linux/kernel-features.h
102 (__ASSUME_PROT_GROWSUPDOWN): Remove.
103 (__ASSUME_NO_CLONE_DETACHED): Likewise.
104 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
105 (__ASSUME_WAITID_SYSCALL): Likewise.
106 * sysdeps/unix/sysv/linux/dl-execstack.c
107 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
108 code unconditional.
109 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
110 conditional code.
111 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
112 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
113 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
114 code.
115 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
116 unconditional.
117 [__ASSUME_WAITID_SYSCALL]: Likewise.
118 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
119
120 2012-08-07 Roland McGrath <roland@hack.frob.com>
121
122 * sysdeps/unix/closedir.c: Renamed to ...
123 * sysdeps/posix/closedir.c: ... here.
124 * sysdeps/unix/dirfd.c: Renamed to ...
125 * sysdeps/posix/dirfd.c: ... here.
126 * sysdeps/unix/dirstream.h: Renamed to ...
127 * sysdeps/posix/dirstream.h: ... here.
128 * sysdeps/unix/fdopendir.c: Renamed to ...
129 * sysdeps/posix/fdopendir.c: ... here.
130 * sysdeps/unix/opendir.c: Renamed to ...
131 * sysdeps/posix/opendir.c: ... here.
132 * sysdeps/unix/readdir.c: Renamed to ...
133 * sysdeps/posix/readdir.c: ... here.
134 * sysdeps/unix/readdir_r.c: Renamed to ...
135 * sysdeps/posix/readdir_r.c: ... here.
136 * sysdeps/unix/rewinddir.c: Renamed to ...
137 * sysdeps/posix/rewinddir.c: ... here.
138 * sysdeps/unix/seekdir.c: Renamed to ...
139 * sysdeps/posix/seekdir.c: ... here.
140 * sysdeps/unix/telldir.c: Renamed to ...
141 * sysdeps/posix/telldir.c: ... here.
142 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
143 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
144 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
145 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
146
147 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
148 * bits/fcntl.h: ... here.
149
150 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
151 not 0.
152 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
153 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
154 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
155 (struct flock): Move l_start, l_len to the beginning.
156 Use __pid_t for l_pid.
157 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
158 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
159 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
160 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
161 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
162 [__USE_LARGEFILE64] (struct flock64): New type.
163 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
164
165 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
166 * bits/dirent.h: ... here.
167
168 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
169 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
170
171 2012-08-07 Joseph Myers <joseph@codesourcery.com>
172
173 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
174 Change from 2.6.0 to 2.6.16.
175 * sysdeps/unix/sysv/linux/configure: Regenerated.
176 * sysdeps/unix/sysv/linux/kernel-features.h
177 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
178 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
179 version.
180 (__ASSUME_UTIMES): Likewise.
181 (__ASSUME_CLONE_STOPPED): Remove.
182 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
183 architectures, not kernel version.
184 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
185 (__ASSUME_NO_CLONE_DETACHED): Likewise.
186 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
187 (__ASSUME_WAITID_SYSCALL): Likewise.
188 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
189 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
190 * README: State 2.6.16 as minimum Linux kernel version. Do not
191 refer to older versions.
192
193 2012-08-06 Roland McGrath <roland@hack.frob.com>
194
195 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
196 Define alphasort64 as an alias.
197 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
198 Define versionsort64 as an alias.
199 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
200 Define scandir64 as an alias.
201 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
202 Define scandirat64 as an alias.
203 * dirent/alphasort64.c (alphasort64):
204 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
205 * dirent/versionsort64.c: Likewise.
206 * dirent/scandir64.c: Likewise.
207 * dirent/scandirat64.c: Likewise.
208 * sysdeps/wordsize-64/alphasort.c: File removed.
209 * sysdeps/wordsize-64/alphasort64.c: File removed.
210 * sysdeps/wordsize-64/scandir.c: File removed.
211 * sysdeps/wordsize-64/scandir64.c: File removed.
212 * sysdeps/wordsize-64/scandirat.c: File removed.
213 * sysdeps/wordsize-64/scandirat64.c: File removed.
214 * sysdeps/wordsize-64/versionsort.c: File removed.
215 * sysdeps/wordsize-64/versionsort64.c: File removed.
216 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
217 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
218 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
219 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
220 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
221 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
222 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
223 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
224
225 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
226 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
227 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
228 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
229 [defined __arch64__ || defined __sparcv9]
230 (__INO_T_MATCHES_INO64_T): New macro.
231 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
232 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
233 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
234 * sysdeps/unix/sysv/linux/bits/dirent.h
235 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
236 (_DIRENT_MATCHES_DIRENT64): New macro.
237
238 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
239 Define lockf64 as an alias.
240 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
241 Define fseeko64 as an alias.
242 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
243 Define ftello64 as an alias.
244 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
245 Define _IO_fgetpos64 and fgetpos64 as aliases.
246 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
247 Define _IO_fsetpos64 and fsetpos64 as aliases.
248 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
249 Conditionalize body on this.
250 * libio/fseeko64.c: Likewise.
251 * libio/ftello64.c: Likewise.
252 * libio/iofgetpos64.c: Likewise.
253 * libio/iofsetpos64.c: Likewise.
254 * sysdeps/wordsize-64/lockf.c: File removed.
255 * sysdeps/wordsize-64/lockf64.c: File removed.
256 * sysdeps/wordsize-64/fseeko.c: File removed.
257 * sysdeps/wordsize-64/fseeko64.c: File removed.
258 * sysdeps/wordsize-64/ftello.c: File removed.
259 * sysdeps/wordsize-64/ftello64.c: File removed.
260 * sysdeps/wordsize-64/iofgetpos.c: File removed.
261 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
262 * sysdeps/wordsize-64/iofsetpos.c: File removed.
263 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
264 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
265 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
266 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
267 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
268 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
269 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
270 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
271 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
272 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
273 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
274
275 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
277 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
279 [defined __arch64__ || defined __sparcv9]
280 (__OFF_T_MATCHES_OFF64_T): New macro.
281 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
282 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
284 (__OFF_T_MATCHES_OFF64_T): New macro.
285
286 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
287
288 * stdlib/secure-getenv.c (__secure_getenv): Replace
289 GLIBC_2_16 with GLIBC_2_17.
290
291 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
292
293 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
294 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
295
296 2012-08-03 David S. Miller <davem@davemloft.net>
297
298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
299
300 2012-08-03 Joseph Myers <joseph@codesourcery.com>
301
302 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
303 Remove.
304 (__ASSUME_CORRECT_SI_PID): Likewise.
305 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
306 (__ASSUME_TMPFS_NAME): Likewise.
307 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
308 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
309 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
310 (HAVE_AUX_SECURE): Make definition unconditional.
311 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
312 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
313
314 2012-08-03 Roland McGrath <roland@hack.frob.com>
315
316 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
317 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
318 * sysdeps/mach/hurd/eloop-threshold.h: New file.
319 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
320 __eloop_threshold instead of SYMLOOP_MAX.
321
322 * sysdeps/generic/eloop-threshold.h: New file.
323 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
324 of MAXSYMLINKS.
325 * elf/chroot_canon.c (chroot_canon): Likewise.
326
327 2012-08-03 Joseph Myers <joseph@codesourcery.com>
328
329 [BZ #13717]
330 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
331 Change to 2.6.0 everywhere.
332 * sysdeps/unix/sysv/linux/configure: Regenerated.
333 * sysdeps/unix/sysv/linux/kernel-features.h
334 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
335 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
336 kernel versions.
337 (__ASSUME_POSIX_TIMERS): Define unconditionally.
338 (__ASSUME_FUTEX_REQUEUE): Remove.
339 (__ASSUME_STATFS64): Define unconditionally.
340 (__ASSUME_AT_SECURE): Likewise.
341 (__ASSUME_CORRECT_SI_PID): Likewise.
342 (__ASSUME_TGKILL): Define without depending on kernel version for
343 i386.
344 (__ASSUME_UTIMES): Likewise.
345 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
346 kernel version.
347 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
348 (__ASSUME_TMPFS_NAME): Likewise.
349 * README: Update reference to Linux kernel versions.
350
351 2012-08-02 Marek Polacek <polacek@redhat.com>
352
353 [BZ#14150]
354 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
355 libc_cv_asm_type_prefix with %.
356 * configure: Regenerated.
357 * include/libc-symbols.h: Remove comment about
358 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
359 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
360 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
361 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
362 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
363 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
364 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
365 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
366 * elf/tst-unique2mod1.c: Likewise.
367 * elf/tst-unique1mod2.c: Likewise.
368 * elf/tst-unique1mod1.c: Likewise.
369 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
370 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
371 Replace ASM_TYPE_DIRECTIVE with .type.
372 * sysdeps/s390/s390-64/sysdep.h: Likewise.
373 * sysdeps/i386/sysdep.h: Likewise.
374 * sysdeps/x86_64/sysdep.h: Likewise.
375 * sysdeps/sh/sysdep.h: Likewise.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
377 Do not define ASM_TYPE_DIRECTIVE.
378 * sysdeps/powerpc/sysdep.h: Likewise.
379 * sysdeps/powerpc/powerpc32/sysdep.h:
380 Replace ASM_TYPE_DIRECTIVE with .type.
381 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
382 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
383 * sysdeps/i386/fpu/e_powf.S: Likewise.
384 * sysdeps/i386/fpu/e_expl.S: Likewise.
385 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
386 * sysdeps/i386/fpu/e_acosh.S: Likewise.
387 * sysdeps/i386/fpu/e_pow.S: Likewise.
388 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
389 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
390 * sysdeps/i386/fpu/s_expm1.S: Likewise.
391 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
392 * sysdeps/i386/fpu/e_log2.S: Likewise.
393 * sysdeps/i386/fpu/e_log2l.S: Likewise.
394 * sysdeps/i386/fpu/e_scalb.S: Likewise.
395 * sysdeps/i386/fpu/e_powl.S: Likewise.
396 * sysdeps/i386/fpu/e_log10f.S: Likewise.
397 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
398 * sysdeps/i386/fpu/e_logl.S: Likewise.
399 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
400 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
401 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
402 * sysdeps/i386/fpu/e_log2f.S: Likewise.
403 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
404 * sysdeps/i386/fpu/e_log.S: Likewise.
405 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
406 * sysdeps/i386/fpu/e_logf.S: Likewise.
407 * sysdeps/i386/fpu/e_log10l.S: Likewise.
408 * sysdeps/i386/fpu/e_atanh.S: Likewise.
409 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
410 * sysdeps/i386/fpu/e_log10.S: Likewise.
411 * sysdeps/i386/fpu/s_frexp.S: Likewise.
412 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
413 * sysdeps/i386/fpu/s_asinh.S: Likewise.
414 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
415 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
416 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
417 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
418 * sysdeps/i386/i686/strtok.S: Likewise.
419 * sysdeps/i386/i386-mcount.S: Likewise.
420 * sysdeps/i386/strtok.S: Likewise.
421 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
422 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
423 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
424 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
425 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
426 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
427 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
428 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
429 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
430 * sysdeps/x86_64/_mcount.S: Likewise.
431 * sysdeps/x86_64/strtok.S: Likewise.
432 * sysdeps/sh/_mcount.S: Likewise.
433
434 2012-08-01 Roland McGrath <roland@hack.frob.com>
435
436 * libio/iofopen.c: Include <fcntl.h>.
437 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
438 (_IO_fopen64, fopen64): Define as aliases.
439 * libio/iofopen64.c: Include <fcntl.h>.
440 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
441 Conditionalize body on this.
442 * sysdeps/wordsize-64/iofopen.c: File removed.
443 * sysdeps/wordsize-64/iofopen64.c: File removed.
444
445 2012-08-01 Marek Polacek <polacek@redhat.com>
446
447 * libc/Makeconfig: Use elf in place of binfmt-subdir.
448 Use dlfcn directly instead of a variable.
449 (binfmt-subdir): Do not define.
450 (dlfcn): Likewise.
451
452 2012-08-01 Joseph Myers <joseph@codesourcery.com>
453
454 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
455 Remove all definitions.
456 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
457 <kernel-features.h>.
458 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
459 (miss_F_GETOWN_EX): Remove all definitions.
460 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
461 macro definition.
462 [!__ASSUME_FCNTL64]: Remove conditional code.
463 [__ASSUME_FCNTL64]: Make code unconditional.
464 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
465 <kernel-features.h>.
466 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
467 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
468 (lockf64) [__NR_fcntl64]: Make code unconditional.
469 (lockf64) [__ASSUME_FCNTL64]: Likewise.
470
471 * sysdeps/unix/sysv/linux/kernel-features.h
472 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
473 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
474 Make code unconditional.
475 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
476 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
478 [__NR_vfork]: Make code unconditional.
479 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
480 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
482 [__NR_vfork]: Make code unconditional.
483 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
484 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
485
486 2012-08-01 Roland McGrath <roland@hack.frob.com>
487
488 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
489 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
490
491 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
492 Define mkstemp64 as an alias.
493 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
494 Define mkstemps64 as an alias.
495 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
496 Define mkostemp64 as an alias.
497 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
498 Define mkostemps64 as an alias.
499 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
500 Conditionalize body on this.
501 * misc/mkostemp64.c: Likewise.
502 * misc/mkostemps64.c: Likewise.
503 * misc/mkstemps64.c: Likewise.
504 * sysdeps/wordsize-64/mkstemp64.c: File removed.
505 * sysdeps/wordsize-64/mkostemp64.c: File removed.
506 * sysdeps/wordsize-64/mkostemp.c: File removed.
507 * sysdeps/wordsize-64/mkstemp.c: File removed.
508 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
509 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
510 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
511 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
512
513 [BZ #14138]
514 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
515 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
516 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
517 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
518
519 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
520 compat_symbol macros from <shlib-compat.h> rather than the underlying
521 default_symbol_version and symbol_version macros, so that DEFAULT
522 lines in shlib-versions are respected.
523 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
524
525 2012-08-01 Florian Weimer <fweimer@redhat.com>
526
527 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
528 Declare with warn_unused_result.
529 (setgid, setregid, setegid, setresgid): Likewise.
530 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
531 Likewise.
532 * WUR-REPORT: Remove set*id functions.
533
534 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
535
536 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
537
538 2012-07-31 Roland McGrath <roland@hack.frob.com>
539
540 * include/sys/socket.h (__libc_accept, __libc_accept4):
541 Add attribute_hidden.
542 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
543
544 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
545 use of PTR_MANGLE.
546 * inet/getnetgrent_r.c (setup): Likewise.
547
548 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
549
550 2012-07-31 David S. Miller <davem@davemloft.net>
551
552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
553
554 2012-07-31 Joseph Myers <joseph@codesourcery.com>
555
556 [BZ #13629]
557 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
558 value between 1.0 and 2.0 and smaller part has absolute value less
559 than 1.0.
560 * math/s_clog10.c (__clog10): Likewise.
561 * math/s_clog10f.c (__clog10f): Likewise.
562 * math/s_clog10l.c (__clog10l): Likewise.
563 * math/s_clogf.c (__clogf): Likewise.
564 * math/s_clogl.c (__clogl): Likewise.
565 * math/libm-test.inc (clog_test): Add more tests.
566 (clog10_test): Likewise.
567 * sysdeps/i386/fpu/libm-test-ulps: Update.
568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
569
570 2012-07-31 Florian Weimer <fweimer@redhat.com>
571
572 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
573 Exit with zero in case no suitable GID is found, and write a
574 message to standard error.
575
576 2012-07-30 Roland McGrath <roland@hack.frob.com>
577
578 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
579 rather than to 1.
580 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
581 (MAXPATHLEN): Removed.
582 (NOGROUP, NODEV): New macros.
583 (setbit, clrbit, isset, isclr): New macros.
584 (howmany, roundup, powerof2): New macros.
585 (DEV_BSIZE): New macro.
586
587 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
588 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
589
590 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
591 definition on [!__NO_LONG_DOUBLE_MATH].
592
593 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
594 PTR_MANGLE and PTR_DEMANGLE.
595
596 * socket/accept4.c (accept4): Rename to __libc_accept4.
597 Define accept4 as a weak alias.
598
599 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
600 on [_DIRENT_HAVE_D_TYPE].
601 * io/ftw.c (ftw_dir): Likewise.
602
603 * io/xmknod.c (__xmknod): Don't check PATH for being null.
604
605 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
606
607 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
608 Use the BSD numbers rather than the arbitrary ones we had.
609 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
610 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
611 (SIGXCPU, SIGXFSZ): New macros.
612 (_NSIG): Now 32.
613
614 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
615 initializer on [_LIBC_REENTRANT].
616
617 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
618 definitions inside [_POSIX_MAPPED_FILES].
619
620 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
621
622 * dirent/opendir.c: Include <fcntl.h>.
623
624 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
625 (__libc_getspecific): Likewise.
626 (__libc_key_create): Likewise.
627
628 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
629 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
630 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
631 (tmpfile64): Define as alias.
632 * sysdeps/wordsize-64/tmpfile.c: File removed.
633 * sysdeps/wordsize-64/tmpfile64.c: File removed.
634 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
635 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
636
637 * stdio-common/vfscanf.c: Include <stdbool.h>.
638 * nss/makedb.c: Likewise.
639 * stdio-common/_i18n_number.h: Likewise.
640 * argp/argp-help.c: Likewise.
641 * posix/wordexp.c: Likewise.
642 * sysdeps/posix/spawni.c: Likewise.
643 * nss/nss_files/files-initgroups.c: Likewise.
644 * stdio-common/reg-modifier.c: Include <stdlib.h>.
645 * nss/nss_files/files-initgroups.c: Likewise.
646 * nss/nss_db/db-netgrp.c: Likewise.
647 * nss/nss_db/db-initgroups.c: Likewise.
648 * io/fchmodat.c: Include <sys/stat.h>.
649
650 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
651 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
652
653 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
654 [HAVE_MMAP].
655
656 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
657 Add multiple inclusion protection.
658
659 2012-07-27 David S. Miller <davem@davemloft.net>
660
661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
662
663 2012-07-27 Gary Benson <gbenson@redhat.com>
664
665 [BZ #14298]
666 * elf/rtld.c: Include <stap-probe.h>.
667 (dl_main): Added static probes "init_start" and "init_complete".
668 * elf/dl-load.c: Include <stap-probe.h>.
669 (lose): Take new parameter "nsid".
670 Added static probe "map_failed".
671 (_dl_map_object_from_fd): Pass namespace id to lose.
672 Added static probe "map_start".
673 (open_verify): Pass namespace id to lose.
674 * elf/dl-open.c: Include <stap-probe.h>.
675 (dl_open_worker) Added static probes "map_complete", "reloc_start"
676 and "reloc_complete".
677 * elf/dl-close.c: Include <stap-probe.h>.
678 (_dl_close_worker): Added static probes "unmap_start" and
679 "unmap_complete".
680 * elf/rtld-debugger-interface.txt: New file documenting the above.
681
682 2012-07-26 Roland McGrath <roland@hack.frob.com>
683
684 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
685 rather than a string variable.
686 * sunrpc/rpc_main.c (h_output): Likewise.
687 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
688
689 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
690
691 * inet/check_native.c: New file.
692
693 2012-07-26 Joseph Myers <joseph@codesourcery.com>
694
695 [BZ #13629]
696 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
697 if larger part has absolute value 1.0.
698 * math/s_clog10.c (__clog10): Likewise.
699 * math/s_clog10f.c (__clog10f): Likewise.
700 * math/s_clog10l.c (__clog10l): Likewise.
701 * math/s_clogf.c (__clogf): Likewise.
702 * math/s_clogl.c (__clogl): Likewise.
703 * math/libm-test.inc (clog_test): Add more tests.
704 (clog10_test): Likewise.
705 * sysdeps/i386/fpu/libm-test-ulps: Update.
706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
707
708 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
709 (pltexit): Likewise.
710 (La_regs): Likewise.
711 (La_retval): Likewise.
712 (int_retval): Likewise.
713 Update #error for removed macros to refer only to definitions in
714 tst-audit.h.
715 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
716 macro.
717 (pltexit): Likewise.
718 (La_regs): Likewise.
719 (La_retval): Likewise.
720 (int_retval): Likewise.
721 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
722 macro.
723 (pltexit): Likewise.
724 (La_regs): Likewise.
725 (La_retval): Likewise.
726 (int_retval): Likewise.
727 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
728 macro.
729 (pltexit): Likewise.
730 (La_regs): Likewise.
731 (La_retval): Likewise.
732 (int_retval): Likewise.
733 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
734 macro.
735 (pltexit): Likewise.
736 (La_regs): Likewise.
737 (La_retval): Likewise.
738 (int_retval): Likewise.
739 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
740 macro.
741 (pltexit): Likewise.
742 (La_regs): Likewise.
743 (La_retval): Likewise.
744 (int_retval): Likewise.
745 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
746 macro.
747 (pltexit): Likewise.
748 (La_regs): Likewise.
749 (La_retval): Likewise.
750 (int_retval): Likewise.
751 * sysdeps/generic/tst-audit.h: Update comment to refer only to
752 macro definitions in tst-audit.h.
753 * sysdeps/i386/tst-audit.h: New file.
754 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
755 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
756 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
757 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
758 * sysdeps/sh/tst-audit.h: Likewise.
759 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
760 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
761 * sysdeps/x86_64/tst-audit.h: Likewise.
762
763 2012-07-26 Andreas Jaeger <aj@suse.de>
764
765 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
766 ptrace.
767
768 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
769 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
770 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
771 PTRACE_O_MASK.
772 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
773 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
774 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
775
776 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
777 value.
778
779 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
780 _sigsys.
781 (si_call_addr, si_syscall, si_arch): Define new macro.
782 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
783 _sigsys.
784 (si_call_addr, si_syscall, si_arch): Define new marcro.
785 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
786 _sigsys.
787 (si_call_addr, si_syscall, si_arch): Define new macro.
788 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
789 _sigsys.
790 (si_call_addr, si_syscall, si_arch): Define new macro.
791
792 2012-07-25 Joseph Myers <joseph@codesourcery.com>
793
794 [BZ #13717]
795 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
796 Change to 2.4.21 where previously 2.4.1.
797 * sysdeps/unix/sysv/linux/configure: Regenerated.
798 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
799 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
800 Linux kernel version.
801 (__ASSUME_STD_AUXV): Remove.
802 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
803 kernel version.
804 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
805 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
806 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
807 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
808 (__ASSUME_NETLINK_SUPPORT): Likewise.
809 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
810 (__no_netlink_support): Remove conditional definition.
811 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
812 Remove.
813 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
814 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
815 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
816 (if_nameindex_ioctl): Remove.
817 (if_nameindex_netlink): Do not handle __no_netlink_support.
818 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
819 code.
820 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
821 Remove conditional code.
822 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
823 code.
824 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
825 unconditional.
826 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
827 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
828 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
829 Remove.
830 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
831 [!__ASSUME_STD_AUXV]: Remove conditional code.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
833 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
834 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
836 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
837 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
838 code.
839 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
841 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
842 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
843 conditional code.
844 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
846 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
847 code.
848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
849 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
850 conditional code.
851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
852 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
853 code unconditional.
854 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
855 conditional code.
856 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
857 unconditional.
858 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
859 conditional code.
860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
861 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
862 unconditional.
863 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
864 conditional code.
865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
866 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
867 code unconditional.
868 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
869 conditional code.
870 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
871 unconditional.
872 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
873 conditional code.
874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
875 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
876 code unconditional.
877 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
878 conditional code.
879 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
880 unconditional.
881 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
882 conditional code.
883
884 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
885
886 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
887 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
888 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
889 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
890 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
891 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
892 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
893 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
894 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
895 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
896 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
897 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
898 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
899 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
900 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
901 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
902 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
903 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
904 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
906 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
907 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
908 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
909
910 2012-07-25 Florian Weimer <fweimer@redhat.com>
911
912 * Versions.def: Add GLIBC_2.17.
913 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
914 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
915 Introduce __libc_secure_getenv.
916 * stdlib/Versions (2.17): Add secure_getenv
917 (GLIBC_PRIVATE): Add __libc_secure_getenv.
918 * stdlib/secure-getenv.c: Rename __secure_getenv to
919 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
920 symbol __secure_getenv for GLIBC_2.0.
921 * stdlib/tst-secure-getenv.c: New.
922 * stdlib/Makefile (tests): Add testcase.
923 * manual/startup.texi (Environment Access): Document
924 secure_getenv.
925 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
926 __libc_secure_getenv.
927 * inet/ruserpass.c (ruserpass): Likewise.
928 * malloc/mtrace.c (mtrace): Likewise.
929 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
930 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
931 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
932 * sysdeps/posix/tempname.c: Likewise. Evaluate
933 HAVE_SECURE_GETENV.
934 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
935 __secure_getenv to __libc_secure_getenv.
936 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
938 Likewise.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
940 Likewise.
941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
943 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
948
949 2012-07-25 Joseph Myers <joseph@codesourcery.com>
950
951 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
952 (struct La_i86_retval): Likewise.
953 (struct La_x86_64_regs): Likewise.
954 (struct La_x86_64_retval): Likewise.
955 (struct La_x32_regs): Likewise.
956 (struct La_x32_retval): Likewise.
957 (struct La_ppc32_regs): Likewise.
958 (struct La_ppc32_retval): Likewise.
959 (struct La_ppc64_regs): Likewise.
960 (struct La_ppc64_retval): Likewise.
961 (struct La_sh_regs): Likewise.
962 (struct La_sh_retval): Likewise.
963 (struct La_s390_32_regs): Likewise.
964 (struct La_s390_32_retval): Likewise.
965 (struct La_s390_64_regs): Likewise.
966 (struct La_s390_64_retval): Likewise.
967 (struct La_sparc32_regs): Likewise.
968 (struct La_sparc32_retval): Likewise.
969 (struct La_sparc64_regs): Likewise.
970 (struct La_sparc64_retval): Likewise.
971 (struct audit_ifaces): Remove architecture-specific pltenter and
972 pltexit members.
973 * sysdeps/i386/ldsodefs.h: New file.
974 * sysdeps/powerpc/ldsodefs.h: Likewise.
975 * sysdeps/s390/ldsodefs.h: Likewise.
976 * sysdeps/sh/ldsodefs.h: Likewise.
977 * sysdeps/sparc/ldsodefs.h: Likewise.
978 * sysdeps/x86_64/ldsodefs.h: Likewise.
979
980 2012-07-25 Marek Polacek <polacek@redhat.com>
981
982 [BZ #6808]
983 * math/libm-test.inc (yn_test): Add another test.
984 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
985 to ERANGE when the result is +-Inf.
986 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
987 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
988 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
989 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
990
991 2012-07-24 Joseph Myers <joseph@codesourcery.com>
992
993 * conform/data/time.h-data (NULL): Use macro-constant. Require
994 equal to 0.
995 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
996 clock_t.
997 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
998
999 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1000
1001 * configure.in <sysdeps resolving>: Correct printing
1002 Implies_before.
1003 * configure: Regenerate.
1004
1005 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1006
1007 * math/w_ilogb.c: Include <limits.h>.
1008 * math/w_ilogbl.c: Likewise.
1009
1010 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1011
1012 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1013 va_copy. Document allowing for unavailable va_copy only as
1014 pre-C99 compatibility.
1015 * manual/string.texi (Copying and Concatenation): Use va_copy
1016 instead of __va_copy in concat example.
1017
1018 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1019
1020 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1021 (__sendto): Use create_address_port. Initialize APORT and deallocate
1022 it if not null.
1023
1024 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1025 with O_NOLINK passed to __file_name_lookup.
1026
1027 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1028 with O_NOLINK passed to __file_name_lookup.
1029
1030 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1031 negative N or less than NGIDS.
1032
1033 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1034 type to string_t. Set ERANGE as errno and return it if NAME is not big
1035 enough. Use memcpy instead of strncpy.
1036
1037 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1038
1039 * elf/Makefile (check-data): Remove.
1040 (localplt.data): New vpath directive.
1041 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1042 instead of $(check-data).
1043 * scripts/data/localplt-generic.data: Move to ...
1044 * sysdeps/generic/localplt.data: ... here.
1045 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1046 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1047 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1049 ... here.
1050 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1052 ... here.
1053 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1055 ... here.
1056 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1058 ... here.
1059 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1061 ... here.
1062 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1064 ... here.
1065
1066 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1067
1068 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1069 PPC32 and PPC64 files.
1070 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1071 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1072
1073 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1074
1075 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1076 __makecontext_ret to ...
1077 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1078 ... here and call exit if uc_link is NULL. New file.
1079 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1080 __makecontext_ret.S.
1081 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1082 __makecontext_ret to ...
1083 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1084 ... here and call exit if uc_link is NULL. New file.
1085 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1086 __makecontext_ret.S.
1087
1088 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1089
1090 * elf/elf.h (R_390_IRELATIVE): New definition.
1091 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1092 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1093 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1094 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1095 (elf_machine_lazy_rel): Likewise.
1096 * sysdeps/s390/dl-irel.h: New file.
1097 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1098 * sysdeps/s390/s390-64/memset.S: New asm code.
1099 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1100 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1101 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1102 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1103 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1104 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1105 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1106 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1107 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1108 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1109 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1110 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1111 * sysdeps/s390/s390-32/memset.S: New asm code.
1112 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1113
1114 2012-07-17 Marek Polacek <polacek@redhat.com>
1115
1116 [BZ #14349]
1117 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1118 * sysdeps/s390/s390-64/configure.in: Likewise.
1119 * sysdeps/sparc/configure.in: Likewise.
1120 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1121 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1122 * sysdeps/i386/configure.in: Likewise.
1123 * sysdeps/x86_64/configure.in: Likewise.
1124 * sysdeps/sh/configure.in: Likewise.
1125 * sysdeps/s390/s390-32/configure: Regenerated.
1126 * sysdeps/s390/s390-64/configure: Likewise.
1127 * sysdeps/x86_64/configure: Likewise.
1128 * sysdeps/sh/configure: Likewise.
1129 * sysdeps/powerpc/powerpc64/configure: Likewise.
1130 * sysdeps/powerpc/powerpc32/configure: Likewise.
1131 * sysdeps/sparc/configure: Likwise.
1132 * sysdeps/i386/configure: Likewise.
1133
1134 * elf/dl-open.c: Comment fixes.
1135
1136 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1137
1138 * Makefile [CXX] (check-data): Remove.
1139 [CXX] (c++-types.data): New vpath directive.
1140 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1141 vpath. Do not allow for C++ type data being missing.
1142 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1143 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1144 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1145 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1146 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1147 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1148 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1150 ... here.
1151 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1153 ... here.
1154 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1156 ... here.
1157 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1159 ... here.
1160 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1162 ... here.
1163 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1165 ... here.
1166 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1168 ... here.
1169 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1171
1172 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1173 definitions to architecture-specific files.
1174 (TLS_IE): Likewise.
1175 (TLS_LD): Likewise.
1176 (TLS_GD): Likewise.
1177 * sysdeps/i386/tls-macros.h: New file.
1178 * sysdeps/powerpc/tls-macros.h: Likewise.
1179 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1180 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1181 * sysdeps/sh/tls-macros.h: Likewise.
1182 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1183 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1184 * sysdeps/x86_64/tls-macros.h: Likewise.
1185
1186 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1187
1188 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1189 zero value for regular exit case.
1190
1191 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1192 (__start_context): Preserve zero value for regular exit case.
1193
1194 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1195 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1196
1197 * manual/setjmp.texi (setcontext): Clarify normal process
1198 termination when uc_link is the null pointer.
1199 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1200 exit call.
1201
1202 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1203
1204 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1205 preprocessor. Test for each exception mask separately.
1206
1207 2012-07-16 Andreas Jaeger <aj@suse.de>
1208
1209 * po/ru.po: Update from translation team.
1210
1211 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1212
1213 * conform/data/string.h-data (NULL): Use macro-constant. Require
1214 equal to 0.
1215 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1216 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1217 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1218 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1219 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1220
1221 2012-07-13 Andreas Jaeger <aj@suse.de>
1222
1223 * po/fr.po: Update from translation team.
1224
1225 2012-07-12 Marek Polacek <polacek@redhat.com>
1226
1227 [BZ #14173]
1228 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1229 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1230 loop condition.
1231
1232 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1233
1234 [BZ #13717]
1235 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1236 Change to 2.4.1 where previously 2.4.0.
1237 * sysdeps/unix/sysv/linux/configure: Regenerated.
1238 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1239 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1240 version.
1241 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1242 (__ASSUME_AT_CLKTCK): Remove.
1243 (__ASSUME_AT_PAGESIZE): Likewise.
1244 (__ASSUME_AT_XID): Likewise.
1245 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1246 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1247 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1248 unconditionally.
1249 (HAVE_AUX_PAGESIZE): Likewise.
1250 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1251 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1252 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1253
1254 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1255
1256 [BZ #14307]
1257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1258 the temporary buffer used to invoke __gethostbyname2_r,
1259 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1260 host_data / struct gaih_addrtuple.
1261 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1262 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1263 header file nss/nsswitch.h.
1264 * nss/nsswitch.h (global scope): Add definition of implementation
1265 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1266 resolv/nss_dns/dns-host.c).
1267
1268 2012-07-11 Andreas Jaeger <aj@suse.de>
1269
1270 * po/fr.po: Update from translation team.
1271
1272 * po/sv.po: Update from translation team
1273 * po/fr.po: Another update from translation team.
1274
1275 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1276
1277 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1278 for subnormals or multiply small sinh result by itself.
1279 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1281
1282 2012-07-11 David S. Miller <davem@davemloft.net>
1283
1284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1285
1286 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1287
1288 [BZ #14347]
1289 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1290 (INTERNAL_MARK): Shift it here.
1291
1292 2012-07-10 Marek Polacek <polacek@redhat.com>
1293
1294 [BZ #14151]
1295 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1296 libc_cv_asm_global_directive with .globl.
1297 * configure: Regenerated.
1298 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1299 with .globl.
1300 * sysdeps/i386/configure: Regenerated.
1301 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1302 with .globl.
1303 * sysdeps/x86_64/configure: Regenerated.
1304 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1305 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1306 * elf/tst-unique2mod2.c: Likewise.
1307 * elf/tst-unique2mod1.c: Likewise.
1308 * elf/tst-unique1mod2.c: Likewise.
1309 * elf/tst-unique1mod1.c: Likewise.
1310 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1311 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1312 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1313 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1314 * sysdeps/mach/sysdep.h: Likewise.
1315 * sysdeps/i386/sysdep.h: Likewise.
1316 * sysdeps/i386/i386-mcount.S: Likewise.
1317 * sysdeps/x86_64/_mcount.S: Likewise.
1318 * sysdeps/x86_64/sysdep.h: Likewise.
1319 * sysdeps/sh/_mcount.S: Likewise.
1320 * sysdeps/sh/sysdep.h: Likewise.
1321 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1322 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1323 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1324 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1325 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1326 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1327 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1328 * locale/localeinfo.h: Likewise.
1329 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1330 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1331
1332 2012-07-09 Roland McGrath <roland@hack.frob.com>
1333
1334 [BZ #14336]
1335 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1336 system".
1337 * manual/message.texi (The Uniforum approach): Likewise.
1338 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1339 (glibc iconv Implementation): Likewise.
1340
1341 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1342
1343 [BZ #14337]
1344 * math/s_clog.c (__clog): Avoid scaling a value down where that
1345 could result in underflow.
1346 * math/s_clog10.c (__clog10): Likewise.
1347 * math/s_clog10f.c (__clog10f): Likewise.
1348 * math/s_clog10l.c (__clog10l): Likewise.
1349 * math/s_clogf.c (__clogf): Likewise.
1350 * math/s_clogl.c (__clogl): Likewise.
1351 * math/libm-test.inc (clog_test): Add more tests.
1352 (clog10_test): Likewise.
1353 * sysdeps/i386/fpu/libm-test-ulps: Update.
1354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1355
1356 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1357
1358 [BZ #14283]
1359 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1360 by 7 not 8 to examine high bit of fractional part.
1361
1362 [BZ #14042]
1363 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1364 for call to __mcount_internal.
1365 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1366 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1367 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1368
1369 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1370
1371 [BZ #14154]
1372 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1373 approximation for values within 0x1p-13f of an odd multiple of
1374 pi/4.
1375 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1376 exception. Add more tests.
1377 * sysdeps/i386/fpu/libm-test-ulps: Update.
1378
1379 [BZ #6778]
1380 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1381 inputs and return -1 for them. Do not check for +Inf in case not
1382 reachable for +Inf.
1383 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1384 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1385 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1386 and return -1 for them. Do not check for +Inf in case not
1387 reachable for +Inf.
1388 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1389 define.
1390 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1391 and return -1 for them. Do not check for +Inf in case not
1392 reachable for +Inf.
1393 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1394 spurious underflow.
1395 * sysdeps/i386/fpu/libm-test-ulps: Update.
1396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1397
1398 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1399
1400 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1401
1402 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1403
1404 [BZ #14157]
1405 [BZ #14331]
1406 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1407 could result in spurious underflow. Scale down values above
1408 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1409 * math/s_csqrtf.c (__csqrtf): Likewise.
1410 * math/s_csqrtl.c (__csqrtl): Likewise.
1411 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1412 spurious underflow.
1413 * sysdeps/i386/fpu/libm-test-ulps: Update.
1414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1415
1416 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1417
1418 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1419 xopen-msg.sed.
1420 * catgets/xopen-msg.awk: New file.
1421 * catgets/xopen-msg.sed: Removed.
1422
1423 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1424 po2text.sed.
1425 * intl/po2test.awk: New file.
1426 * intl/po2test.sed: Removed.
1427
1428 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1429
1430 [BZ #14328]
1431 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1432 or multiply small sinh result by itself.
1433 * math/s_ctanf.c (__ctanf): Likewise.
1434 * math/s_ctanh.c (__ctanh): Likewise.
1435 * math/s_ctanhf.c (__ctanhf): Likewise.
1436 * math/s_ctanhl.c (__ctanhl): Likewise.
1437 * math/s_ctanl.c (__ctanl): Likewise.
1438 * math/libm-test.inc (ctan_test_tonearest): New function.
1439 (ctan_test_towardzero): Likewise.
1440 (ctan_test_downward): Likewise.
1441 (ctan_test_upward): Likewise.
1442 (ctanh_test_tonearest): Likewise.
1443 (ctanh_test_towardzero): Likewise.
1444 (ctanh_test_downward): Likewise.
1445 (ctanh_test_upward): Likewise.
1446 (main): Call these new functions.
1447 * sysdeps/i386/fpu/libm-test-ulps: Update.
1448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1449
1450 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1451
1452 * .gitignore: Delete /ports entry.
1453
1454 2012-07-03 Andreas Jaeger <aj@suse.de>
1455
1456 * po/bg.po: Update from translation team.
1457 * po/cs.po: Likewise.
1458 * po/de.po: Likewise.
1459 * po/hr.po: Likewise.
1460 * po/nl.pl: Likewise.
1461 * po/pl.po: Likewise.
1462 * po/vi.po: Likewise.
1463
1464 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1465
1466 * Makeconfig [!+link] (+link-before-libc): New variable.
1467 [!+link] (+link-after-libc): Likewise.
1468 [!+link] (+link-tests): Likewise.
1469 [!+link] (+link): Define in terms of $(+link-before-libc) and
1470 $(+link-after-libc).
1471 [!+link-static] (+link-static-before-libc): New variable.
1472 [!+link-static] (+link-static-after-libc): Likewise.
1473 [!+link-static] (+link-static-tests): Likewise.
1474 [!+link-static] (+link-static): Define in terms of
1475 $(+link-static-before-libc) and $(+link-static-after-libc).
1476 [build-shared] (link-libc-before-gnulib): New variable.
1477 [build-shared] (link-libc-tests): Likewise.
1478 [build-shared] (link-libc): Define in terms of
1479 $(link-libc-before-gnulib).
1480 [!build-shared] (link-libc-tests): New variable.
1481 (link-libc-static-tests): New variable.
1482 [!gnulib] (gnulib-arch): New variable.
1483 [!gnulib] (gnulib-tests): Likewise.
1484 [!gnulib] (static-gnulib-arch): Likewise.
1485 [!gnulib] (static-gnulib-tests): Likewise.
1486 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1487 Define with "=" instead of ":=".
1488 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1489 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1490 * Rules (binaries-all-notests): New variable.
1491 (binaries-all-tests): Likewise.
1492 (binaries-static-notests): Likewise.
1493 (binaries-static-tests): Likewise.
1494 (binaries-all): Define using $(binaries-all-notests) and
1495 $(binaries-all-tests).
1496 (binaries-static): Define using $(binaries-static-notests) and
1497 $(binaries-static-tests).
1498 (binaries-shared-tests): New variable.
1499 (binaries-shared-notests): Likewise.
1500 (binaries-shared): Remove variable.
1501 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1502 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1503 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1504 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1505 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1506 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1507 * elf/Makefile (sln-modules): New variable.
1508 (extra-objs): Add $(sln-modules:=.o).
1509 (ldconfig-modules): Add static-stubs.
1510 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1511 * elf/static-stubs.c: New file.
1512
1513 [BZ #14283]
1514 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1515 by 7 not 8 to examine high bit of fractional part. Use volatile
1516 variables when splitting into final array of floats if
1517 __FLT_EVAL_METHOD__ != 0.
1518 * math/libm-test.inc (cos_test): Add another test.
1519 (sin_test): Likewise.
1520 * sysdeps/i386/fpu/libm-test-ulps: Update.
1521
1522 [BZ #14273]
1523 * math/libm-test.inc (cosh_test): Add more tests.
1524
1525 * version.h (RELEASE): Set to "development".
1526 (VERSION): Set to "2.16.90".
1527
1528 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1529
1530 * NEWS: Update copyright. Remove last-updated date.
1531 Mention math library bug fixes and timezone data changes.
1532 * README: Mention GNU/Hurd, x32, and HPPA support status.
1533
1534 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1535
1536 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1537
1538 2012-06-27 Andreas Jaeger <aj@suse.de>
1539
1540 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1541
1542 2012-06-25 Andreas Jaeger <aj@suse.de>
1543
1544 * sysdeps/s390/fpu/libm-test-ulps: Update.
1545
1546 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1547 Thomas Schwinge <thomas@codesourcery.com>
1548
1549 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1550 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1551 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1552 fanotify_mark.
1553
1554 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1555
1556 * sysdeps/mach/start.c: Remove file.
1557 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1558 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1559 * sysdeps/sh/init-first.c: Likewise.
1560
1561 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1562 registers for frame unwinding purposes, add CFI directives.
1563 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1564 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1565 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1566 Likewise.
1567
1568 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1569 __fortify_fail returning.
1570 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1571
1572 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1573 sysdeps/sh/____longjmp_chk.S.
1574 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1575 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1576 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1577 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1578
1579 * sysdeps/sh/abort-instr.h: New file.
1580 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1581 process in case exit returns.
1582
1583 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1584 initialize the GOT register before use.
1585
1586 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1587 calculation of ARGC > 4.
1588
1589 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1590 meaningful names to some local labels.
1591
1592 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1593 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1594
1595 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1596 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1597 (__arch_compare_and_exchange_val_16_acq): Likewise.
1598 (__arch_compare_and_exchange_val_32_acq): Likewise.
1599 (atomic_exchange_and_add): Fix gUSA sequence.
1600 (atomic_add): Likewise.
1601 (atomic_add_negative): Likewise.
1602 (atomic_add_zero): Likewise.
1603 (atomic_bit_test_set): Likewise.
1604
1605 2012-06-22 Andreas Schwab <schwab@redhat.com>
1606
1607 [BZ #13579]
1608 * include/link.h (struct link_map): Add l_free_initfini.
1609 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1610 l_initfini.
1611 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1612 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1613 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1614 set.
1615
1616 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1617
1618 * configure.in: Use AC_LANG_SOURCE.
1619 * configure: Regenerate.
1620
1621 2012-06-22 Roland McGrath <roland@hack.frob.com>
1622
1623 * configure.in (libc_cv_localstatedir): New substituted variable.
1624 * configure: Regenerated.
1625 * config.make.in (localstatedir): New variable, substituted from
1626 libc_cv_localstatedir.
1627 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1628 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1629 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1630 * sysdeps/gnu/configure: Regenerated.
1631
1632 2012-06-21 Jeff Law <law@redhat.com>
1633
1634 [BZ #14277]
1635 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1636 free. Simplify list management for _LIBC case.
1637
1638 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1639
1640 [BZ #14273]
1641 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1642 Clear sign bit of 64-bit integer value before comparing against
1643 overflow value.
1644
1645 * sysdeps/mach/configure: Regenerated.
1646
1647 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1648
1649 [BZ #14278]
1650 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1651
1652 2012-06-21 Jeff Law <law@redhat.com>
1653
1654 [BZ #13882]
1655 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1656 uint16_t for elements in the "seen" array to avoid char overflows.
1657 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1658 * elf/dl-open.c (dl_open_worker): Likewise.
1659
1660 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1661
1662 * scripts/list-sources.sh: Scan PORTS for translations.
1663 * po/libc.pot: Regenerated.
1664
1665 2012-06-21 Andreas Jaeger <aj@suse.de>
1666
1667 [BZ #12194]
1668 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1669 warning.
1670 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1671 * bits/byteswap-16.h (__bswap_16): Likewise.
1672 * bits/byteswap.h (__bswap_constant_16): Likewise.
1673
1674 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1675
1676 [BZ #14117]
1677 * sysdeps/i386/fpu_control.h: Removed.
1678 * sysdeps/x86_64/fpu_control.h: Moved to ...
1679 * sysdeps/x86/fpu_control.h: Here.
1680
1681 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1682 (_FPU_SETCW): Likewise.
1683
1684 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1685
1686 [BZ #14117]
1687 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1688 * sysdeps/x86/fpu/bits/mathinline.h: This.
1689 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1690
1691 [BZ #14050]
1692 [BZ #14117]
1693 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1694 functions if __x86_64__ is defined.
1695
1696 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1697
1698 * string/endian.h: Add !__ASSEMBLER__ condition for including
1699 conversion interfaces.
1700
1701 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1702
1703 [BZ #14241]
1704 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1705 of ABS(x) in calculating zero to negative powers other than odd
1706 integers.
1707 * math/libm-test.inc (pow_test): Add more tests.
1708
1709 2012-06-15 Andreas Jaeger <aj@suse.de>
1710
1711 * manual/contrib.texi (Contributors): Update entry of Liubov
1712 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1713 Machado Filho.
1714
1715 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1716
1717 * string/string.h: Add __wur to GNU version of strerror_r.
1718
1719 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1720
1721 [BZ #14229]
1722 * string/Makefile (tests): Add tst-strtok_r.
1723 * string/tst-strtok_r.c: New file.
1724 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1725 RAX_LP/RDX_LP on SAVE_PTR.
1726
1727 2012-06-14 Roland McGrath <roland@hack.frob.com>
1728
1729 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1730
1731 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1732
1733 * libm_test.inc (csqrt_test): Allow more spurious underflow
1734 exceptions.
1735 (j0_test): Likewise.
1736 (j1_test): Likewise.
1737 (y0_test): Likewise.
1738 (y1_test): Likewise.
1739
1740 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1741
1742 * po/Makefile (libc.pot): Use UTF-8 charset.
1743
1744 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1745
1746 [BZ #14210]
1747 Suppress sign-conversion warning from FD_SET.
1748 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1749 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1750 not unsigned long int.
1751 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1752
1753 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1754
1755 [BZ #14050]
1756 [BZ #14117]
1757 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1758 __extern_always_inline instead of __extern_inline.
1759 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1760 (__signbit): Likewise.
1761 (__signbitl): Support C++ namespace.
1762 (lrintf): New inline function.
1763 (lrint): Likewise.
1764 (llrintf): Likewise.
1765 (llrint): Likewise.
1766 (fmaxf): Likewise.
1767 (fmax): Likewise.
1768 (fminf): Likewise.
1769 (fmin): Likewise.
1770 (rint): Likewise.
1771 (rintf): Likewise.
1772 (ceil): Likewise.
1773 (ceilf): Likewise.
1774 (floor): Likewise.
1775 (floorf): Likewise.
1776 (nearbyint): Likewise.
1777 (nearbyintf): Likewise.
1778
1779 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1780
1781 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1782 non-default versions.
1783
1784 2012-06-11 Roland McGrath <roland@hack.frob.com>
1785
1786 [BZ #14218]
1787 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1788
1789 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1790
1791 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1792 (FE_UPWARD, FE_DOWNWARD): Don't define.
1793 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1794 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1795
1796 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1797 reading it.
1798 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1799 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1800
1801 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1802
1803 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1804 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1805 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1806 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1807
1808 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1809
1810 [BZ #14117]
1811 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1812 * sysdeps/i386/fpu/Implies: New file.
1813 * sysdeps/x86_64/fpu/Implies: Likewise.
1814 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1815 * sysdeps/x86/fpu/bits/fenv.h: This.
1816
1817 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1818 __SSE_MATH__.
1819
1820 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1821
1822 [BZ #14134]
1823 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1824 character 0xffff that matches the last element of the
1825 conversion table.
1826
1827 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1828
1829 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1830 fmodl commit.
1831
1832 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1833
1834 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1835 values higher than 25.6283.
1836
1837 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1838
1839 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1840 subnormal exponent extraction and add some __builtin_expect.
1841 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1842 Fix for subnormal mantissa calculation.
1843
1844 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1845
1846 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1847 cpu2 is -1 and errno is not ENOSYS.
1848
1849 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1850
1851 [BZ #14117]
1852 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1853 * sysdeps/x86/bits/string.h: This.
1854 * sysdeps/x86_64/bits/string.h: Removed.
1855
1856 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1857 if not compiling for x86-64, but compiling for >= i486.
1858
1859 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1860 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1861
1862 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1863 New macro from Linux kernel 3.4.0.
1864 (FP_XSTATE_MAGIC2): Likewise.
1865 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1866 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1867 (struct _fpx_sw_bytes): New struct.
1868 (struct _xsave_hdr): Likewise.
1869 (struct _ymmh_state): Likewise.
1870 (struct _xstate): Likewise.
1871
1872 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1873 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1874 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1875 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1876 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1877 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1878
1879 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1880 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1881 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1882 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1883 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1884 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1885
1886 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1887
1888 [BZ #13743]
1889 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1890 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1891 (sysdep_headers): Include sys/platform/ppc.h.
1892 * sysdeps/powerpc/test-gettimebase.c: Test for
1893 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1894 * manual/Makefile (appendices): Include platform.texi.
1895 * manual/contrib.texi (Contributors): Update @node pointers.
1896 * manual/maint.texi (Maintenance): Likewise.
1897 (Platform): New node.
1898 * manual/platform.texi: New file. Document the new features.
1899
1900 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1901 Jakub Jelinek <jakub@redhat.com>
1902
1903 [BZ #14188]
1904 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1905 where __builtin_expect is unavailable.
1906
1907 2012-06-03 David S. Miller <davem@davemloft.net>
1908
1909 * stdlib/longlong.h: Updated from GCC.
1910
1911 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1912
1913 [BZ #14042]
1914 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1915 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1916 __mcount_internal.
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1918 (GLIBC_2.16): Likewise.
1919
1920 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1921
1922 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1923
1924 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1925
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1927 (default-abi): New variable.
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1929 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1930 variable.
1931 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1932 Likewise.
1933 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1934 Likewise.
1935 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1936 Likewise.
1937
1938 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1939 definition. Document in comment.
1940
1941 2012-06-01 David S. Miller <davem@davemloft.net>
1942
1943 * stdlib/longlong.h: Updated from GCC.
1944
1945 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1946
1947 [BZ #14117]
1948 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1949 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1950 sys/debugreg.h sys/io.h here.
1951 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1952 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1953 sys/io.h.
1954 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1955 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1956 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1957 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1958 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1959 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1960
1961 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1962 Define only if __x86_64__ is defined.
1963
1964 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1965
1966 [BZ #14048]
1967 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1968 Use int64_t for variable i.
1969 * math/libm-test.inc (fmod_test): Add more tests.
1970
1971 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1972 z computation is not scheduled after fetestexcept.
1973 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1974 Use math_force_eval instead of asm to ensure calculation scheduled
1975 before exception test.
1976 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1977 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1978
1979 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1980
1981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1982 computation is not scheduled after fetestexcept.
1983
1984 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1985
1986 [BZ #14117]
1987 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1988 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1989
1990 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1991
1992 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1993 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1994
1995 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1996
1997 [BZ #14117]
1998 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1999 <bits/wordsize.h>.
2000 (__WCHAR_MIN): Support __WORDSIZE == 64.
2001 (__WCHAR_MAX): Likewise.
2002
2003 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2004 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2005
2006 [BZ #14183]
2007 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2008 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2009
2010 [BZ #14117]
2011 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2012 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2013
2014 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2015 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2016
2017 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2018 Defined to 1 if __x86_64__ isn't defined.
2019 (_STAT_VER_LINUX_OLD): New.
2020 (st_atime): Remove duplicate.
2021 (st_mtime): Likewise.
2022 (st_ctime): Likewise.
2023
2024 2012-05-31 David S. Miller <davem@davemloft.net>
2025
2026 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2027 entries.
2028
2029 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2030
2031 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2032 gen-libm-test.pl.
2033
2034 [BZ #14132]
2035 * elf/dl-reloc.c: Include <_itoa.h>.
2036 (_dl_reloc_bad_type): Remove use of INTUSE.
2037 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2038 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2039 * stdio-common/psiginfo.c (psiginfo): Likewise.
2040 * stdio-common/psignal.c (psignal): Likewise.
2041 * string/strsignal.c (strsignal): Likewise.
2042 * include/signal.h (_sys_siglist): Declare hidden proto.
2043 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2044 INTVARDEF with libc_hidden_data_def.
2045 * stdio-common/itoa-udigits.c: Likewise.
2046 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2047 (_itoa_lower_digits_internal): Remove declaration.
2048 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2049 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2050 (_sys_sigabbrev_internal): Remove aliases.
2051 (_sys_siglist): Define hidden alias.
2052
2053 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2054
2055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2056 bits/sysctl.h.
2057
2058 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2059
2060 [BZ #14117]
2061 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2062 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2063
2064 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2065 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2066 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2067 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2068 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2069 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2070
2071 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2072 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2073 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2074
2075 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2076 with __addr.
2077 (insw): Likewise.
2078 (insl): Likewise.
2079 (outsb): Likewise.
2080 (outsw): Likewise.
2081 (outsl): Likewise.
2082
2083 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2084 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2085 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2086
2087 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2088 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2089 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2090 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2091 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2092 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2093
2094 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2095 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2096
2097 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2098 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2099
2100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2102 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2103
2104 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2105 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2106 to ...
2107 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2108
2109 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2110 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2111 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2112
2113 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2114 for x86-64.
2115 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2116
2117 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2118
2119 * math/math.h (M_El): Use two more decimal places.
2120 (M_LOG2El): Likewise.
2121 (M_LOG10El): Likewise.
2122 (M_LN2l): Likewise.
2123 (M_LN10l): Likewise.
2124 (M_PIl): Likewise.
2125 (M_PI_2l): Likewise.
2126 (M_PI_4l): Likewise.
2127 (M_1_PIl): Likewise.
2128 (M_2_PIl): Likewise.
2129 (M_2_SQRTPIl): Likewise.
2130 (M_SQRT2l): Likewise.
2131 (M_SQRT1_2l): Likewise.
2132
2133 2012-05-31 David S. Miller <davem@davemloft.net>
2134
2135 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2136 values between float registers.
2137 * sysdeps/sparc/sparc64/memset.S: Likewise.
2138 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2139
2140 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2141
2142 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2143 -D_FORTIFY_SOURCE=1.
2144 (CPPFLAGS-tst-longjmp_chk.c): Define.
2145 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2146 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2147 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2148 CFLAGS-tst-wchar-h.c.
2149
2150 2012-05-31 Marek Polacek <polacek@redhat.com>
2151
2152 [BZ #14132]
2153 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2154 __endmntent_internal): Remove declaration.
2155 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2156 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2157 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2158
2159 2012-05-30 David S. Miller <davem@davemloft.net>
2160
2161 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2162 (___Q_simulate_exceptions): Use real FP ops rather than writing
2163 into the %fsr.
2164 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2165 Likewise.
2166
2167 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2168
2169 [BZ #14117]
2170 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2171 * sysdeps/x86/bits/xtitypes.h: This.
2172
2173 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2174 * sysdeps/x86/bits/wordsize.h: This.
2175
2176 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2177 * sysdeps/x86/bits/huge_vall.h: This.
2178
2179 * sysdeps/i386/bits/select.h: Removed.
2180 * sysdeps/x86_64/bits/select.h: Renamed to ...
2181 * sysdeps/x86/bits/select.h: This.
2182
2183 * sysdeps/i386/bits/setjmp.h: Removed.
2184 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2185 * sysdeps/x86/bits/setjmp.h: This.
2186
2187 * sysdeps/i386/bits/mathdef.h: Removed.
2188 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2189 * sysdeps/x86/bits/mathdef.h: This.
2190
2191 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2192
2193 [BZ #14132]
2194 * include/sys/socket.h (__connect_internal)
2195 (__libc_sa_len_internal): Remove declaration.
2196 (__connect, __libc_sa_len): Declare hidden_proto.
2197 (SA_LEN): Remove use of INTUSE.
2198 * socket/connect.c: Add libc_hidden_def.
2199 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2200 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2201 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2202 alias.
2203 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2204 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2205 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2206 of adding _internal alias.
2207
2208 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2209
2210 [BZ #14117]
2211 * sysdeps/i386/bits/link.h: Removed.
2212 * sysdeps/i386/bits/linkmap.h: Likewise.
2213 * sysdeps/x86_64/bits/link.h: Renamed to ...
2214 * sysdeps/x86/bits/link.h: This.
2215 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2216 * sysdeps/x86/bits/linkmap.h: This.
2217
2218 * sysdeps/i386/bits/endian.h: Removed.
2219 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2220 * sysdeps/x86/bits/endian.h: This.
2221
2222 * sysdeps/i386/bits/byteswap.h: Removed.
2223 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2224 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2225 * sysdeps/x86/bits/byteswap.h: This.
2226 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2227 * sysdeps/x86/bits/byteswap-16.h: This.
2228 * sysdeps/i386/Implies: Add x86.
2229 * sysdeps/x86_64/Implies: Likewise.
2230
2231 2012-05-30 David S. Miller <davem@davemloft.net>
2232
2233 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2234 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2235 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2236 (FP_TRAPPING_EXCEPTIONS): Define.
2237 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2238 (FP_TRAPPING_EXCEPTIONS): Define.
2239 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2240 subnormals only when inexact has been signalled or underflow
2241 exceptions are enabled.
2242 (_FP_PACK_CANONICAL): Likewise.
2243
2244 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2245
2246 [BZ #14183]
2247 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2248 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2249
2250 2012-05-30 Richard Henderson <rth@twiddle.net>
2251
2252 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2253 with #ifndef NOT_IN_libc.
2254
2255 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2256 marked to avoid plt entry.
2257
2258 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2259
2260 [BZ #14112]
2261 * Makeconfig (default-abi): New macro.
2262 (abi-includes): Likewise.
2263 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2264 $(abi-$(default-abi)-lib-soname) for soname if defined.
2265 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2266 abi-variants.
2267 * Makefile (installed-stubs): Likewise.
2268 * include/stubs-biarch.h: Removed.
2269 * scripts/lib-names.awk: Only handle one library at a time.
2270 * scripts/soversions.awk: Remove WORDSIZE support.
2271 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2272 entries.
2273 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2274 Removed.
2275 (syscall-list-default-condition): Likewise.
2276 (syscall-list-default-condition): Likewise.
2277 (syscall-list-includes): Likewise.
2278 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2279 syscall-list-* with abi-*. Handle undefined abi-variants.
2280 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2281 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2282 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2283 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2284 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2285 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2286 Removed.
2287 (syscall-list-32-options): Likewise.
2288 (syscall-list-32-condition): Likewise.
2289 (syscall-list-64-options): Likewise.
2290 (syscall-list-64-condition): Likewise.
2291 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2292 macro.
2293 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2294 Renamed to ...
2295 (abi-*): This.
2296 (abi-64-ld-soname): New macro.
2297 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2298 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2299 Renamed to ...
2300 (abi-*): This.
2301 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2302 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2303
2304 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2305
2306 * sysdeps/unix/sysv/linux/kernel-features.h
2307 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2308 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2309 include <kernel-features.h>.
2310 [!__NR_ftruncate64]: Remove conditional code.
2311 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2312 [__NR_ftruncate64]: Make code unconditional.
2313 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2314 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2315 include <kernel-features.h>.
2316 [!__NR_ftruncate64]: Remove conditional code.
2317 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2318 [__NR_ftruncate64]: Make code unconditional.
2319 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2321 include <kernel-features.h>.
2322 [!__NR_ftruncate64]: Remove conditional code.
2323 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2324 [__NR_ftruncate64]: Make code unconditional.
2325 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2327 include <kernel-features.h>.
2328 [!__NR_ftruncate64]: Remove conditional code.
2329 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2330 [__NR_ftruncate64]: Make code unconditional.
2331 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2332
2333 * configure.in (libc_cv_fpie): Weaken to a compile test using
2334 LIBC_TRY_CC_OPTION.
2335 * configure: Regenerated.
2336
2337 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2338
2339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2343 Refreshed.
2344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2350 Refreshed.
2351
2352 2012-05-27 David S. Miller <davem@davemloft.net>
2353
2354 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2355 (___Q_zero): New.
2356 (__Q_simulate_exceptions): Return void. Change to simulate
2357 exceptions by writing into the %fsr.
2358 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2359 (__Qp_handle_exceptions): Likewise.
2360 (numbers): Delete.
2361 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2362 __Qp_handle_exceptions.
2363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2364 __Qp_handle_exceptions.
2365 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2366 as unused and give dummy FP_RND_NEAREST initializer.
2367 (FP_INHIBIT_RESULTS): Define.
2368 (___Q_simulate_exceptions): Update declaration.
2369 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2370 formatting.
2371 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2372 as unused and give dummy FP_RND_NEAREST initializer.
2373 (__Qp_handle_exceptions): Update declaration.
2374 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2375 formatting.
2376
2377 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2378
2379 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2380 the temporary FPU control word.
2381 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2382 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2383 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2384 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2385 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2386 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2387 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2388 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2389 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2390 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2391 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2392
2393 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2394
2395 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2396 fields.
2397
2398 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2399
2400 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2401 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2402 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2403 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2404 Likewise.
2405 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2406 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2407 Likewise.
2408
2409 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2410
2411 * po/h.po: Update from translation team.
2412
2413 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2414
2415 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2416
2417 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2418 handling of denormals.
2419 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2420 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2421 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2422 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2423 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2424 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2425 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2426 Likewise.
2427
2428 2012-05-26 Marek Polacek <polacek@redhat.com>
2429
2430 [BZ #14152]
2431 * math/libm-test.inc (fma_test): Don't always expect underflow
2432 exception.
2433
2434 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2435
2436 [BZ #12416]
2437 * elf/tst-execstack.c: Include stackinfo.h.
2438 (do_test): Adjust test case to ensure that pthread_getattr_np
2439 behaviour remains the same after marking stack executable.
2440
2441 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2442
2443 * sysdeps/unix/sysv/linux/kernel-features.h
2444 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2445 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2446 kernel-features.h.
2447 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2448 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2449 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2450 kernel-features.h.
2451 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2452 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2453
2454 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2455
2456 * configure.in: Define the default includes to being none.
2457 * configure: Regenerated.
2458
2459 2012-05-25 Roland McGrath <roland@hack.frob.com>
2460
2461 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2462 * sysdeps/x86_64/setjmp.S: Likewise.
2463 * sysdeps/i386/bsd-setjmp.S: Likewise.
2464 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2465 * sysdeps/i386/setjmp.S: Likewise.
2466 * sysdeps/i386/__longjmp.S: Likewise.
2467 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2468 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2469
2470 * include/stap-probe.h: New file.
2471 * configure.in: Handle --enable-systemtap.
2472 * configure: Regenerated.
2473 * config.h.in (USE_STAP_PROBE): New #undef.
2474 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2475 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2476 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2477
2478 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2479
2480 [BZ #13717]
2481 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2482 to 2.4.0 where earlier.
2483 * sysdeps/unix/sysv/linux/configure: Regenerated.
2484 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2485 <kernel-features.h>.
2486 [__ASSUME_32BITUIDS]: Make code unconditional.
2487 [!__ASSUME_32BITUIDS]: Remove conditional code.
2488 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2489 <kernel-features.h>.
2490 [__ASSUME_32BITUIDS]: Make code unconditional.
2491 [!__ASSUME_32BITUIDS]: Remove conditional code.
2492 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2493 [__ASSUME_32BITUIDS]: Make code unconditional.
2494 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2495 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2496 <kernel-features.h>.
2497 [__ASSUME_32BITUIDS]: Make code unconditional.
2498 [!__ASSUME_32BITUIDS]: Remove conditional code.
2499 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2500 <kernel-features.h>.
2501 [__ASSUME_32BITUIDS]: Make code unconditional.
2502 [!__ASSUME_32BITUIDS]: Remove conditional code.
2503 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2504 <kernel-features.h>.
2505 [__ASSUME_32BITUIDS]: Make code unconditional.
2506 [!__ASSUME_32BITUIDS]: Remove conditional code.
2507 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2508 <kernel-features.h>.
2509 [__ASSUME_32BITUIDS]: Make code unconditional.
2510 [!__ASSUME_32BITUIDS]: Remove conditional code.
2511 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2512 <kernel-features.h>.
2513 [__ASSUME_32BITUIDS]: Make code unconditional.
2514 [!__ASSUME_32BITUIDS]: Remove conditional code.
2515 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2516 <kernel-features.h>.
2517 [__ASSUME_32BITUIDS]: Make code unconditional.
2518 [!__ASSUME_32BITUIDS]: Remove conditional code.
2519 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2520 <kernel-features.h>.
2521 [__ASSUME_32BITUIDS]: Make code unconditional.
2522 [!__ASSUME_32BITUIDS]: Remove conditional code.
2523 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2524 <kernel-features.h>.
2525 [__ASSUME_32BITUIDS]: Make code unconditional.
2526 [!__ASSUME_32BITUIDS]: Remove conditional code.
2527 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2528 <kernel-features.h>.
2529 [__ASSUME_32BITUIDS]: Make code unconditional.
2530 [!__ASSUME_32BITUIDS]: Remove conditional code.
2531 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2532 <kernel-features.h>.
2533 [__ASSUME_32BITUIDS]: Make code unconditional.
2534 [!__ASSUME_32BITUIDS]: Remove conditional code.
2535 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2536 <kernel-features.h>.
2537 [__NR_setresgid] (__setresgid): Do not declare.
2538 [__ASSUME_32BITUIDS]: Make code unconditional.
2539 [!__ASSUME_32BITUIDS]: Remove conditional code.
2540 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2541 <kernel-features.h>.
2542 [__NR_setresuid] (__setresuid): Do not declare.
2543 [__ASSUME_32BITUIDS]: Make code unconditional.
2544 [!__ASSUME_32BITUIDS]: Remove conditional code.
2545 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2546 <kernel-features.h>.
2547 [__ASSUME_32BITUIDS]: Make code unconditional.
2548 [!__ASSUME_32BITUIDS]: Remove conditional code.
2549 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2550 <kernel-features.h>.
2551 [__ASSUME_32BITUIDS]: Make code unconditional.
2552 [!__ASSUME_32BITUIDS]: Remove conditional code.
2553 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2554 <kernel-features.h>.
2555 [__ASSUME_32BITUIDS]: Make code unconditional.
2556 [!__ASSUME_32BITUIDS]: Remove conditional code.
2557 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2558 <kernel-features.h>.
2559 [__ASSUME_32BITUIDS]: Make code unconditional.
2560 [!__ASSUME_32BITUIDS]: Remove conditional code.
2561 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2562 <kernel-features.h>.
2563 [__ASSUME_32BITUIDS]: Make code unconditional.
2564 [!__ASSUME_32BITUIDS]: Remove conditional code.
2565 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2566 <kernel-features.h>.
2567 [__ASSUME_32BITUIDS]: Make code unconditional.
2568 [!__ASSUME_32BITUIDS]: Remove conditional code.
2569 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2570 <kernel-features.h>.
2571 [__ASSUME_32BITUIDS]: Make code unconditional.
2572 [!__ASSUME_32BITUIDS]: Remove conditional code.
2573 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2574 <kernel-features.h>.
2575 [__ASSUME_32BITUIDS]: Make code unconditional.
2576 [!__ASSUME_32BITUIDS]: Remove conditional code.
2577 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2578 <kernel-features.h>.
2579 [__ASSUME_32BITUIDS]: Make code unconditional.
2580 [!__ASSUME_32BITUIDS]: Remove conditional code.
2581 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2582 <kernel-features.h>.
2583 [__ASSUME_32BITUIDS]: Make code unconditional.
2584 [!__ASSUME_32BITUIDS]: Remove conditional code.
2585 * sysdeps/unix/sysv/linux/kernel-features.h
2586 (__ASSUME_SETRESUID_SYSCALL): Remove.
2587 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2588 (__ASSUME_32BITUIDS): Likewise.
2589 (__ASSUME_LDT_WORKS): Likewise.
2590 (__ASSUME_O_DIRECTORY): Likewise.
2591 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2592 architecture but not kernel version.
2593 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2594 (__ASSUME_MMAP2_SYSCALL): Likewise.
2595 (__ASSUME_STAT64_SYSCALL): Likewise.
2596 (__ASSUME_IPC64): Likewise.
2597 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2598 <kernel-features.h>.
2599 [__ASSUME_32BITUIDS]: Make code unconditional.
2600 [!__ASSUME_32BITUIDS]: Remove conditional code.
2601 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2602 <kernel-features.h>.
2603 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2604 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2605 132096]: Remove conditional code.
2606 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2607 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2608 <kernel-features.h>.
2609 [__ASSUME_32BITUIDS]: Make code unconditional.
2610 [!__ASSUME_32BITUIDS]: Remove conditional code.
2611 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2612 <kernel-features.h>.
2613 [__ASSUME_32BITUIDS]: Make code unconditional.
2614 [!__ASSUME_32BITUIDS]: Remove conditional code.
2615 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2616 <kernel-features.h>.
2617 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2618 unconditional.
2619 (__setresgid): Do not declare.
2620 [__ASSUME_32BITUIDS]: Make code unconditional.
2621 [!__ASSUME_32BITUIDS]: Remove conditional code.
2622 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2623 <kernel-features.h>.
2624 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2625 unconditional.
2626 (__setresuid): Do not declare.
2627 [__ASSUME_32BITUIDS]: Make code unconditional.
2628 [!__ASSUME_32BITUIDS]: Remove conditional code.
2629 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2630 <kernel-features.h>.
2631 [__ASSUME_32BITUIDS]: Make code unconditional.
2632 [!__ASSUME_32BITUIDS]: Remove conditional code.
2633 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2634 <kernel-features.h>.
2635 [__ASSUME_32BITUIDS]: Make code unconditional.
2636 [!__ASSUME_32BITUIDS]: Remove conditional code.
2637
2638 2012-05-25 Richard Henderson <rth@twiddle.net>
2639
2640 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2641 dl_hwcap to ifunc resolver.
2642 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2643 elf_ifunc_invoke.
2644 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2645 dl_hwcap to ifunc resolver.
2646 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2647
2648 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2649
2650 [BZ #14153]
2651 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2652 for |x| <= 2**-26, not 2**-57.
2653 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2654 exception.
2655
2656 2012-05-24 Jeff Law <law@redhat.com>
2657
2658 * stdio-common/Makefile (tests): Add bug25.
2659 * stdio-common/bug25.c: New test.
2660
2661 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2662
2663 [BZ #13576]
2664 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2665 multiple of MALLOC_ALIGNMENT in size.
2666 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2667
2668 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2669
2670 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2671 Require >= 256.
2672 (FILENAME_MAX): Use macro-int-constant.
2673 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2674 (_IOFBF): Use macro-int-constant.
2675 (_IOLBF): Likewise.
2676 (_IONBF): Likewise.
2677 (SEEK_CUR): Likewise.
2678 (SEEK_END): Likewise.
2679 (SEEK_SET): Likewise.
2680 (TMP_MAX): Likewise.
2681 (EOF): Use macro-int-constant. Require < 0.
2682 (NULL): Use macro-constant. Require == 0.
2683 (stdin): Require type to be FILE *.
2684 (stdout): Likewise.
2685 (stderr): Likewise.
2686 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2687 macro-int-constant.
2688 (EXIT_SUCCESS): Likewise.
2689 (NULL): Use macro-constant. Require == 0.
2690 (RAND_MAX): Use macro-int-constant.
2691 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2692 [C99-based standards] (strtof): Require function.
2693 [C99-based standards] (strtold): Likewise.
2694 [C99-based standards] (strtoll): Likewise.
2695 [C99-based standards] (strtoull): Likewise.
2696 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2697 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2698 [ISO || ISO99 || ISO11] (math.h): Likewise.
2699 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2700 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2702
2703 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2704
2705 [BZ #14132]
2706 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2707 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2708 * intl/dgettext.c (DCGETTEXT): Likewise.
2709 * intl/gettext.c (DCGETTEXT): Likewise.
2710 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2711 * posix/regex_internal.h (gettext): Likewise.
2712 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2713 Remove declaration.
2714 * include/argz.h (__argz_count_internal)
2715 (__argz_stringify_internal): Remove declaration.
2716 (__argz_count, __argz_stringify): Declare hidden proto.
2717 * intl/dcgettext.c: Remove use of INTDEF.
2718 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2719 * string/argz-stringify.c: Likewise.
2720 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2721 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2722 Declare hidden proto.
2723 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2724 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2725 Declare hidden proto.
2726 * include/stdio.h (__asprintf_internal): Don't declare.
2727 (__asprintf): Don't define as macro. Declare hidden proto.
2728 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2729 (__fsetlocking): Declare hidden proto.
2730 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2731 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2732 hidden proto.
2733 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2734 (_IO_setlinebuf): Remove use of INTUSE.
2735 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2736 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2737 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2738 Remove declaration.
2739 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2740 (_IO_do_flush): Remove use of INTUSE.
2741 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2742 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2743 (_IO_adjust_column, _IO_least_wmarker)
2744 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2745 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2746 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2747 (_IO_default_doallocate, _IO_wdefault_doallocate)
2748 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2749 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2750 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2751 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2752 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2753 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2754 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2755 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2756 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2757 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2758 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2759 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2760 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2761 proto.
2762 (_IO_flush_all_internal, _IO_adjust_column_internal)
2763 (_IO_default_uflow_internal, _IO_default_finish_internal)
2764 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2765 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2766 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2767 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2768 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2769 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2770 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2771 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2772 (_IO_file_close_internal, _IO_file_close_it_internal)
2773 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2774 (_IO_file_init_internal, _IO_file_attach_internal)
2775 (_IO_file_fopen_internal, _IO_file_read_internal)
2776 (_IO_file_sync_internal, _IO_file_seek_internal)
2777 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2778 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2779 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2780 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2781 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2782 (_IO_list_all_internal, _IO_link_in_internal)
2783 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2784 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2785 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2786 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2787 (_IO_do_write_internal, _IO_padn_internal)
2788 (_IO_getline_info_internal, _IO_getline_internal)
2789 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2790 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2791 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2792 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2793 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2794 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2795 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2796 with libc_hidden_ver, remove use of INTUSE.
2797 * libio/genops.c: Likewise.
2798 * libio/freopen.c: Likewise.
2799 * libio/freopen64.c: Likewise.
2800 * libio/iofclose.c: Likewise.
2801 * libio/iofdopen.c: Likewise.
2802 * libio/iofflush.c: Likewise.
2803 * libio/iofflush_u.c: Likewise.
2804 * libio/iofgets.c: Likewise.
2805 * libio/iofgets_u.c: Likewise.
2806 * libio/iofopen.c: Likewise.
2807 * libio/iofopncook.c: Likewise.
2808 * libio/iofread.c: Likewise.
2809 * libio/iofread_u.c: Likewise.
2810 * libio/ioftell.c: Likewise.
2811 * libio/iofwrite.c: Likewise.
2812 * libio/iogetline.c: Likewise.
2813 * libio/iogets.c: Likewise.
2814 * libio/iogetwline.c: Likewise.
2815 * libio/iopadn.c: Likewise.
2816 * libio/iopopen.c: Likewise.
2817 * libio/ioseekoff.c: Likewise.
2818 * libio/ioseekpos.c: Likewise.
2819 * libio/iosetbuffer.c: Likewise.
2820 * libio/iosetvbuf.c: Likewise.
2821 * libio/ioungetc.c: Likewise.
2822 * libio/ioungetwc.c: Likewise.
2823 * libio/iovdprintf.c: Likewise.
2824 * libio/iovsprintf.c: Likewise.
2825 * libio/iovsscanf.c: Likewise.
2826 * libio/memstream.c: Likewise.
2827 * libio/obprintf.c: Likewise.
2828 * libio/oldfileops.c: Likewise.
2829 * libio/oldiofclose.c: Likewise.
2830 * libio/oldiofdopen.c: Likewise.
2831 * libio/oldiofopen.c: Likewise.
2832 * libio/oldiopopen.c: Likewise.
2833 * libio/oldstdfiles.c: Likewise.
2834 * libio/putc.c: Likewise.
2835 * libio/setbuf.c: Likewise.
2836 * libio/setlinebuf.c: Likewise.
2837 * libio/stdfiles.c: Likewise.
2838 * libio/strops.c: Likewise.
2839 * libio/vasprintf.c: Likewise.
2840 * libio/vscanf.c: Likewise.
2841 * libio/vsnprintf.c: Likewise.
2842 * libio/vswprintf.c: Likewise.
2843 * libio/wfiledoalloc.c: Likewise.
2844 * libio/wfileops.c: Likewise.
2845 * libio/wgenops.c: Likewise.
2846 * libio/wmemstream.c: Likewise.
2847 * libio/wstrops.c: Likewise.
2848 * libio/__fpurge.c: Likewise.
2849 * libio/__fsetlocking.c: Likewise.
2850 * assert/assert.c: Likewise.
2851 * debug/fgets_chk.c: Likewise.
2852 * debug/fgets_u_chk.c: Likewise.
2853 * debug/fread_chk.c: Likewise.
2854 * debug/fread_u_chk.c: Likewise.
2855 * debug/gets_chk.c: Likewise.
2856 * debug/obprintf_chk.c: Likewise.
2857 * debug/vasprintf_chk.c: Likewise.
2858 * debug/vdprintf_chk.c: Likewise.
2859 * debug/vsnprintf_chk.c: Likewise.
2860 * debug/vsprintf_chk.c: Likewise.
2861 * malloc/mtrace.c: Likewise.
2862 * misc/error.c: Likewise.
2863 * misc/syslog.c: Likewise.
2864 * stdio-common/asprintf.c: Likewise.
2865 * stdio-common/fxprintf.c: Likewise.
2866 * stdio-common/getw.c: Likewise.
2867 * stdio-common/isoc99_fscanf.c: Likewise.
2868 * stdio-common/isoc99_scanf.c: Likewise.
2869 * stdio-common/isoc99_vfscanf.c: Likewise.
2870 * stdio-common/isoc99_vscanf.c: Likewise.
2871 * stdio-common/isoc99_vsscanf.c: Likewise.
2872 * stdio-common/printf-prs.c: Likewise.
2873 * stdio-common/printf_fp.c: Likewise.
2874 * stdio-common/printf_fphex.c: Likewise.
2875 * stdio-common/printf_size.c: Likewise.
2876 * stdio-common/putw.c: Likewise.
2877 * stdio-common/scanf.c: Likewise.
2878 * stdio-common/sprintf.c: Likewise.
2879 * stdio-common/tmpfile.c: Likewise.
2880 * stdio-common/vfprintf.c: Likewise.
2881 * stdio-common/vfscanf.c: Likewise.
2882 * stdlib/strfmon_l.c: Likewise.
2883 * sunrpc/openchild.c: Likewise.
2884 * sunrpc/xdr_stdio.c: Likewise.
2885 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2886 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2887
2888 2012-05-24 Roland McGrath <roland@hack.frob.com>
2889
2890 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2891
2892 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2893 in the third column, to generate for the shared library an IFUNC
2894 that uses _dl_vdso_vsym.
2895 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2896 * Makeconfig (object-suffixes-noshared): New variable.
2897
2898 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2899 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2900 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2901 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2902
2903 [BZ #14132]
2904 * include/sys/time.h (__gettimeofday): Remove macro.
2905 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2906 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2907 Remove INTDEF.
2908 (__gettimeofday): Add libc_hidden_def.
2909 (gettimeofday): Add libc_hidden_weak.
2910 * sysdeps/mach/gettimeofday.c: Likewise.
2911 * sysdeps/posix/gettimeofday.c: Likewise.
2912 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2913 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2914 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2915 (__gettimeofday_internal): Remove strong_alias.
2916 (__gettimeofday): Add libc_hidden_def.
2917 (gettimeofday): Add libc_hidden_weak.
2918 * sysdeps/unix/syscalls.list (gettimeofday):
2919 Remove __gettimeofday_internal alias.
2920
2921 2012-05-24 Daniel Jacobowitz <drow@false.org>
2922 H.J. Lu <hongjiu.lu@intel.com>
2923
2924 [BZ #12495]
2925 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2926 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2927 (largebin_index_32_big): New.
2928 (largebin_index): Use it for 16-byte alignment.
2929 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2930 correction with front_misalign.
2931
2932 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2933
2934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2936 Likewise.
2937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2938 Likewise.
2939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2940 Likewise.
2941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2942 Likewise.
2943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2944 Likewise.
2945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2946 Likewise.
2947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2948 Likewise.
2949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2950 Likewise.
2951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2952 Likewise.
2953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2954 Likewise.
2955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2956 Likewise.
2957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2958 Likewise.
2959
2960 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2961 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2962
2963 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2964
2965 [BZ #10846]
2966 [BZ #14036]
2967 * math/libm-test.inc (exp_test): Add test from bug 14036.
2968 (pow_test): Add test from bug 10846.
2969
2970 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2971 and other flags.
2972 (special_function): Do not include flags in test name.
2973 (parse_args): Likewise.
2974 * sysdeps/i386/fpu/libm-test-ulps: Update.
2975 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2976 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2977 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2979
2980 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2981 exceptions.
2982 * math/libm-test.inc ("Philosophy"): Update comment about
2983 exception testing.
2984 (UNDERFLOW_EXCEPTION): New macro.
2985 (UNDERFLOW_EXCEPTION_OK): Likewise.
2986 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2987 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2988 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2989 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2990 (INVALID_EXCEPTION_OK): Update value.
2991 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2992 (OVERFLOW_EXCEPTION_OK): Likewise.
2993 (IGNORE_ZERO_INF_SIGN): Likewise.
2994 (test_exceptions): Handle underflow exceptions.
2995 (acos_test): Update for underflow exception expectations.
2996 (cexp_test): Likewise.
2997 (clog_test): Likewise.
2998 (clog10_test): Likewise.
2999 (csqrt_test): Likewise.
3000 (ctan_test): Likewise.
3001 (ctanh_test): Likewise.
3002 (exp_test): Likewise.
3003 (exp10_test): Likewise.
3004 (exp2_test): Likewise.
3005 (expm1_test): Likewise.
3006 (fma_test): Likewise.
3007 (j0_test): Likewise.
3008 (jn_test): Likewise.
3009 (nexttoward_test): Likewise.
3010 (pow_test): Likewise.
3011 (scalbn_test): Likewise.
3012 (scalbln_test): Likewise.
3013 (tan_test): Likewise.
3014 (y1_test): Likewise.
3015 * sysdeps/i386/fpu/libm-test-ulps: Update.
3016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3017
3018 2012-05-23 David S. Miller <davem@davemloft.net>
3019
3020 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3021 (__libc_sigaction): Remove unused local variables.
3022
3023 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3024
3025 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3026
3027 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3028
3029 mktime: avoid signed integer overflow
3030 * time/mktime.c (__mktime_internal): Do not mishandle the case
3031 where diff == INT_MIN.
3032
3033 mktime: simplify computation of average
3034 * time/mktime.c (ranged_convert): Use new time_t_avg function
3035 instead of rolling our own (probably-slower) code.
3036
3037 mktime: do not assume signed right shift propagates sign bit
3038 * time/mktime.c (isdst_differ): New static function.
3039 (__mktime_internal): No need to normalize tm_isdst now.
3040 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3041 tm_isdst values.
3042
3043 mktime: merge another wrapv change from gnulib
3044 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3045 from some compilers.
3046
3047 mktime: remove incorrect attempt at unusual arithmetics
3048 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3049 The code didn't really work on such machines anyway.
3050 (TYPE_MINIMUM): Assume two's complement.
3051 (twos_complement_arithmetic): Verify that long_int and time_t
3052 are two's complement (or unsigned, in the latter case).
3053
3054 mktime: check signed shifts on long_int and time_t, too
3055 * time/mktime.c (SHR): Check that shifts work as desired
3056 on the types long_int and time_t too, as SHR is used on
3057 such types.
3058
3059 mktime: do not assume 'long' is wide enough
3060 * time/mktime.c (verify): Move decl up.
3061 (long_int): New type.
3062 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3063 to remove assumption in the code that 'long' is wide enough to
3064 store year values. This assumption is not true on x32 and on
3065 some non-glibc platforms.
3066
3067 mktime: merge wrapv change from gnulib
3068 * time/mktime.c (WRAPV): New macro.
3069 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3070 (guess_time_tm, __mktime_internal): Do not assume that signed
3071 integer overflow wraps around; modern compilers generate code
3072 where this assumption is no longer valid.
3073
3074 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3075
3076 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3077 Replace "jmp L(pseudo_end)" with "ret".
3078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3079 Likewise.
3080
3081 2012-05-23 Andreas Jaeger <aj@suse.de>
3082
3083 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3084 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3085
3086 2012-05-23 Andreas Jaeger <aj@suse.de>
3087 Maximilian Attems <max@stro.at>
3088
3089 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3090 New macros.
3091
3092 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3093
3094 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3095 code so that pseudo_end is just ret and the stack pointer is
3096 correct also for static library in error case.
3097
3098 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3099
3100 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3101 move to syscalls.list.
3102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3106
3107 * manual/install.texi (Running make install): Do not mention Linux
3108 kernel version for which pt_chown is not needed.
3109 (Linux): Do not mention problems with nscd with 2.0 kernels.
3110 * INSTALL: Regenerated.
3111
3112 2012-05-23 Andreas Jaeger <aj@suse.de>
3113
3114 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3115 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3116 macro.
3117 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3118 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3119 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3120 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3121 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3122 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3123 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3124 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3125 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3126 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3127 * sysdeps/unix/sysv/linux/bits/in.h
3128 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3129
3130 2012-05-22 Roland McGrath <roland@hack.frob.com>
3131
3132 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3133 (PREPARE_VERSION): Just use assert instead, it will be elided
3134 under [NDEBUG] anyway.
3135
3136 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3137
3138 * sysdeps/unix/sysv/linux/Makefile: Include
3139 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3140 (sysdep_routines): Remove sysctl.
3141 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3142 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3143 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3144 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3145 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3146
3147 2012-05-22 Andreas Jaeger <aj@suse.de>
3148
3149 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3150 that pseudo_end is just ret and the stack pointer is correct also
3151 for static library in error case.
3152
3153 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3154
3155 [BZ #14122]
3156 * nss/nsswitch.c (defconfig_entries): New variable.
3157 (__nss_database_lookup): Don't leak defconfig entries.
3158 (nss_parse_service_list): Don't leak on error paths.
3159 (free_database_entries): New function.
3160 (free_defconfig): New function.
3161 (free_mem): Move common code to free_database_entries.
3162
3163 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3164
3165 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3166 Add arch_prctl.
3167 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3168
3169 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3170 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3172 New macro.
3173 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3174 (INTERNAL_SYSCALL_TYPES): Likewise.
3175 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3176 (LOAD_REGS_TYPES_[1-6]): Likewise.
3177 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3178 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3179
3180 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3181
3182 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3183 copysignl for GLIBC_2_0.
3184 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3185 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3186 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3187 logbl for GLIBC_2_0.
3188 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3189 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3190
3191 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3192
3193 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3194 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3195
3196 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3197 Use "neg %eax".
3198
3199 * time/mktime.c: Update copyright years.
3200
3201 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3202
3203 mktime: merge comment-quoting-style change from gnulib
3204 * time/mktime.c: Quote 'like this' in comments.
3205 The GNU coding standards suggest that we no longer quote `like this',
3206 as "`" and "'" are typically rendered asymmetrically nowadays.
3207 The typical gnulib style is to quote 'like this' when quoting
3208 code, and "like this" when quoting English.
3209
3210 * time/mktime.c (compile-command): Add "-I.".
3211
3212 mktime: merge mktime-internal.h change from gnulib
3213 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3214
3215 mktime: merge time_r change from gnulib
3216 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3217
3218 mktime: merge DEBUG change from gnulib
3219 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3220 case system <time.h> has a #define.
3221
3222 mktime: merge <sys/types.h> change from gnulib
3223 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3224 since <time.t> is now guaranteed to define time_t.
3225
3226 mktime: merge HAVE_CONFIG_H change from gnulib
3227 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3228
3229 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3230
3231 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3232 Use "neg %eax".
3233
3234 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3235 __rlim_t cast.
3236 (struct rusage): Use anonymous union to pad each field to
3237 __syscall_slong_t.
3238
3239 2012-05-21 David S. Miller <davem@davemloft.net>
3240
3241 * Makefules (o-iterator): Remove .s cases.
3242 (compile-command.s): Delete.
3243 (COMPILE.s): Delete.
3244 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3245
3246 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3247
3248 * configure.in (libc_cv_predef_stack_protector): Only consider
3249 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3250 * configure: Regenerated.
3251
3252 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3253
3254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3255 New macro. Use R*LP on int and pointer.
3256 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3257 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3258 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3259 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3260
3261 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3262 [__WORDSIZE_TIME64_COMPAT32] instead of
3263 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3264 (struct utmp): Likewise.
3265 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3266 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3267 Renamed to ...
3268 (__WORDSIZE_TIME64_COMPAT32): This.
3269 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3270 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3271 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3272 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3273 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3274 (__WORDSIZE_TIME64_COMPAT32): New macro.
3275
3276 2012-05-21 Andreas Jaeger <aj@suse.de>
3277
3278 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3279 only if [SHARED]. Add prototype for __wcschr_ia32.
3280
3281 2012-05-21 Roland McGrath <roland@hack.frob.com>
3282
3283 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3284 of %rbp unmolested in the jmp_buf while mangling the low bits.
3285 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3286 unmolested high bits of %rbp while demangling the low bits.
3287 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3288
3289 2012-05-21 Andreas Jaeger <aj@suse.de>
3290
3291 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3292 * sunrpc/svc_simple.c: Use it for registerrpc.
3293 * sunrpc/xcrypt.c: Use it for passwd2des.
3294
3295 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3296
3297 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3298
3299 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3300 Don't define if [__SYSCALL_WORDSIZE != 32].
3301 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3302 New macro.
3303
3304 2012-05-21 Bruno Haible <bruno@clisp.org>
3305 Andreas Jaeger <aj@suse.de>
3306
3307 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3308 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3309 inptr and inend for must_buffer_ch.
3310 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3311 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3312 * stdio-common/Makefile (tests): Remove bug15.
3313 (bug15-ENV): Remove macro.
3314 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3315 anymore.
3316
3317 2012-05-19 Andreas Jaeger <aj@suse.de>
3318 Roland McGrath <roland@hack.frob.com>
3319
3320 * manual/contrib.texi: Completely rewritten. It contains now an
3321 alphabetical list of contributors and their contributions.
3322
3323 2012-05-21 Richard Henderson <rth@twiddle.net>
3324
3325 * misc/getauxval.c (__getauxval): Use unsigned long int.
3326 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3327 (getauxval): Use unsigned long int.
3328
3329 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3330
3331 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3332
3333 2012-05-21 Roland McGrath <roland@hack.frob.com>
3334
3335 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3336 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3337 __alignof__ (long double).
3338
3339 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3340
3341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3342
3343 2012-05-20 Richard Henderson <rth@twiddle.net>
3344
3345 * misc/getauxval.c: New file.
3346 * misc/sys/auxv.h: New file.
3347 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3348 (routines): Add getauxval.
3349 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3350 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3351 * elf/dl-sysdep.c (_dl_auxv): Remove.
3352 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3353 * elf/dl-support.c (_dl_auxv): New variable.
3354 (_dl_aux_init): Initialize it.
3355 * manual/startup.texi (Auxiliary Vector): New node.
3356 * sysdeps/generic/bits/hwcap.h: New file.
3357 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3358 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3359 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3360 * sysdeps/sparc/sysdep.h: ... here. Include it.
3361 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3362 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3364 Update.
3365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3368 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3373
3374 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3375
3376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3377
3378 2012-05-19 David S. Miller <davem@davemloft.net>
3379
3380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3381
3382 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3383
3384 [BZ #14123]
3385 * math/s_ccosh.c: Include <float.h>
3386 (__ccosh): Avoid internal overflow calculating sinh and cosh
3387 values before multiplying by sin and cos values.
3388 * math/s_ccoshf.c: Likewise.
3389 * math/s_ccoshl.c: Likewise.
3390 * math/s_csin.c: Likewise.
3391 * math/s_csinf.c: Likewise.
3392 * math/s_csinl.c: Likewise.
3393 * math/s_csinh.c: Likewise.
3394 * math/s_csinhf.c: Likewise.
3395 * math/s_csinhl.c: Likewise.
3396 * math/libm-test.inc (ccos_test): Add more tests.
3397 (ccosh_test): Likewise.
3398 (csin_test): Likewise.
3399 (csinh_test): Likewise.
3400 * sysdeps/i386/fpu/libm-test-ulps: Update.
3401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3402
3403 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3404
3405 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3406 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3407
3408 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3409
3410 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3411
3412 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3413 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3414 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3415 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3416 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3417 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3418 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3419 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3420 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3421 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3422 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3423 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3424 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3425 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3426 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3427 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3428 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3429 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3430 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3431 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3432 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3433 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3434 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3435 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3436 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3437 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3438 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3439 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3440 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3441 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3442 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3443
3444 2012-05-18 Andreas Jaeger <aj@suse.de>
3445
3446 * csu/.gitignore: Delete.
3447
3448 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3449
3450 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3451 (timex): Use __syscall_slong_t.
3452
3453 2012-05-18 Andreas Jaeger <aj@suse.de>
3454 Carlos O'Donell <carlos_odonell@mentor.com>
3455
3456 * manual/install.texi (Configuring and compiling): Update
3457 description about files modified in the source directory.
3458 * INSTALL: Regenerated.
3459
3460 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3461
3462 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3463 value. Use "or" to set return value to -1.
3464 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3465 negate return value.
3466
3467 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3468
3469 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3470 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3471 failure if the compiler has Graphite support disabled.
3472 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3473 Likewise.
3474 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3475 CFLAGS-memmove.c): Likewise.
3476 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3477 Likewise.
3478
3479 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3480
3481 * sysdeps/x86_64/x32/_itoa.h: New file.
3482
3483 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3484 getdents system call only if kernel and user dirents have the
3485 same d_ino and d_off.
3486
3487 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3488 LLONG_MAX != LONG_MAX.
3489 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3490 (_fitoa_word): Likewise.
3491
3492 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3493 years.
3494 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3495 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3496 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3497
3498 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3499 include <bits/wordsize.h>. Check __x86_64__ instead of
3500 __WORDSIZE.
3501 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3502 if __x86_64__ is defined. Use anonymous union on fpstate.
3503
3504 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3505 anonymous union.
3506
3507 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3508
3509 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3510 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3511 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3512 Refer to _rtld_local_ro instead of _rtld_global_ro.
3513 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3514 Likewise.
3515 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3516 Likewise.
3517 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3518 Likewise.
3519 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3520 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3521 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3522
3523 * sysdeps/powerpc/powerpc32/dl-machine.c
3524 (__elf_machine_runtime_setup) [PROF]: Don't reference
3525 _dl_prof_resolve.
3526
3527 2012-05-18 Andreas Jaeger <aj@suse.de>
3528
3529 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3530 function only available for GCCs before 3.4 since GCC 3.4
3531 introduced a builtin.
3532 (lrint): Likewise.
3533 (llrintf): Likewise.
3534 (llrint): Likewise.
3535 (fmaxf): Likewise.
3536 (fmax): Likewise.
3537 (fminf): Likewise.
3538 (fmin): Likewise.
3539 (rint): Likewise.
3540 (rintf): Likewise.
3541 (nearbyint): Likewise.
3542 (nearbyintf): Likewise.
3543 (ceil): Likewise.
3544 (ceilf): Likewise.
3545 (floor): Likewise.
3546 (floorf): Likewise.
3547
3548 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3549
3550 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3551 on both fields and cast pointer to __syscall_ulong_t.
3552
3553 * bits/types.h (__fsword_t): New type.
3554 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3555 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3556 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3557 (__FSWORD_T_TYPE): Likewise.
3558 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3559 (__FSWORD_T_TYPE): Likewise.
3560 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3561 (__FSWORD_T_TYPE): Likewise.
3562 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3563 (__FSWORD_T_TYPE): Likewise.
3564 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3565 __SWORD_TYPE with __fsword_t.
3566 (statfs64): Likewise.
3567
3568 2012-05-17 David S. Miller <davem@davemloft.net>
3569
3570 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3571
3572 2012-05-17 Andreas Jaeger <aj@suse.de>
3573
3574 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3575 warning.
3576
3577 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3578
3579 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3580
3581 2012-05-17 Andreas Jaeger <aj@suse.de>
3582
3583 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3584 when it is used.
3585
3586 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3587
3588 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3589
3590 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3591
3592 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3593 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3594
3595 2012-05-17 Andreas Jaeger <aj@suse.de>
3596 Carlos O'Donell <carlos_odonell@mentor.com>
3597
3598 [BZ #14059]
3599 * sysdeps/x86_64/multiarch/init-arch.h
3600 (bit_YMM_Usable): Rename to...
3601 (bit_AVX_Usable): ... this.
3602 (bit_FMA4_Usable): New macro.
3603 (bit_XMM_state): New macro.
3604 (bit_YMM_state): New macro.
3605 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3606 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3607 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3608 (CPUID_OSXSAVE): New macro.
3609 (CPUID_AVX): New macro.
3610 (CPUID_FMA4): New macro.
3611 (index_YMM_Usable): Rename to...
3612 (index_AVX_Usable): ... this.
3613 (HAS_AVX): Use HAS_ARCH_FEATURE.
3614 (HAS_FMA4): Likewise.
3615 (HAS_YMM_USABLE): Remove.
3616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3617 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3618 are present.
3619 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3620 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3621 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3622 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3623 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3624
3625 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3626
3627 * math/libm-test.c: Support platforms without multiple rounding modes.
3628 * math/bug-nextafter.c: Support platforms without FP exceptions.
3629 * math/bug-nexttoward.c: Likewise.
3630 * math/test-fenv.c: Likewise.
3631 * math/test-misc.c: Likewise.
3632 * stdlib/bug-getcontext.c: Likewise.
3633
3634 2012-05-17 Andreas Jaeger <aj@suse.de>
3635
3636 * manual/examples/search.c (critter_cmp): Change signature to
3637 avoid warnings.
3638 * manual/string.texi (Collation Functions): Likewise.
3639
3640 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3641
3642 * bits/types.h: Fold copyright years.
3643 * bits/typesizes.h: Likewise.
3644 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3645 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3648 * time/time.h: Likewise.
3649
3650 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3651
3652 [BZ #208]
3653 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3654 in instead of returning them. Return void.
3655 (__libc_mallinfo): Accumulate over all arenas.
3656 (__malloc_stats): Adjust for change in int_mallinfo interface.
3657
3658 2012-05-16 Roland McGrath <roland@hack.frob.com>
3659
3660 [BZ #10375]
3661 * configure.in (NM): Add AC_CHECK_TOOL for it.
3662 (libc_extra_cflags): New substituted variable.
3663 Check for -fstack-protector being used implicitly.
3664 * configure: Regenerated.
3665 * config.make.in (config-extra-cflags): New variable,
3666 gets @libc_extra_cflags@.
3667 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3668
3669 [BZ #10375]
3670 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3671 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3672 * configure: Regenerated.
3673 * config.make.in (CPPUNDEFS): New substituted variable.
3674 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3675 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3676 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3677
3678 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3679
3680 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3681 (mq_attr): Use __syscall_slong_t.
3682
3683 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3686 Check __x86_64__ instead of __WORDSIZE.
3687 (_STAT_VER_LINUX): Likewise.
3688 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3689 __syscall_ulong_t and __syscall_slong_t.
3690 (stat64): Likewise.
3691
3692 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3693
3694 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3695
3696 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3697
3698 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3699
3700 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3701
3702 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3703 __syscall_ulong_t.
3704
3705 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3706 include <bits/wordsize.h>. Check __x86_64__ instead of
3707 __WORDSIZE.
3708 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3709 defined.
3710 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3711
3712 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3713 include <bits/wordsize.h>. Check __x86_64__ instead of
3714 __WORDSIZE.
3715 (user_regs_struct): Use "__extension__ unsigned long long"
3716 instead of "unsigned long" if __x86_64__ is defined.
3717 (user): Likewise. Pad after pointer field if __ILP32__ is
3718 defined.
3719
3720 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3721
3722 * configure.in (makeinfo): Require version 4.5 or later. Allow
3723 versions 5 to 9.
3724 * configure: Regenerated.
3725 * manual/install.texi (texinfo): Increase version requirement to
3726 4.5 or later.
3727 * INSTALL: Regenerated.
3728
3729 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3730
3731 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3732
3733 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3734
3735 * sysdeps/x86_64/x32/ffs.c: New file.
3736
3737 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3738 __syscall_ulong_t.
3739 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3740 defined. Use __syscall_ulong_t.
3741 (shminfo): Use __syscall_ulong_t.
3742 (shm_info): Likewise.
3743
3744 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3745 __syscall_ulong_t.
3746
3747 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3748 <bits/wordsize.h>.
3749 (msgqnum_t): Use __syscall_ulong_t.
3750 (msglen_t): Likewise.
3751 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3752 __syscall_ulong_t.
3753
3754 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3755 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3756
3757 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3758
3759 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3760 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3761
3762 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3763 __syscall_slong_t.
3764
3765 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3766 include <bits/wordsize.h>. Check __x86_64__ instead of
3767 __WORDSIZE.
3768
3769 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3770 "unsigned long long int" if __x86_64__ is defined.
3771 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3772
3773 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3774 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3775 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3776
3777 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3778 <stdint.h>.
3779 (GET_PC): Cast to uintptr_t first.
3780 (GET_FRAME): Likewise.
3781 (GET_STACK): Likewise.
3782
3783 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3784 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3785 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3786 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3787 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3788 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3789 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3790 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3791 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3792 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3793 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3794 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3795 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3796 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3797 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3798 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3799 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3800 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3801 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3802 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3803 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3804 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3805 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3806 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3807 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3808 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3809 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3810 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3811 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3812
3813 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3814
3815 * Makerules (+depfiles): Also collect depfiles from .oS in
3816 $(extra-objs).
3817 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3818 .oS, $(libnldbl-routines)).
3819
3820 * Makerules (native-compile-mkdep-flags): Define.
3821 * sunrpc/Makefile (extra-objs): Add $(addprefix
3822 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3823 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3824 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3825 calling $(make-target-directory).
3826
3827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3828
3829 * bits/types.h (__snseconds_t): Removed.
3830 * time/time.h (struct timespec): Replace __snseconds_t with
3831 __syscall_slong_t.
3832 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3833 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3834 Likewise.
3835 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3836 (__SNSECONDS_T_TYPE): Likewise.
3837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3838 (__SNSECONDS_T_TYPE): Likewise.
3839 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3840 (__SNSECONDS_T_TYPE): Likewise.
3841
3842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3843
3844 * sysdeps/mach/hurd/bits/typesizes.h
3845 (__SYSCALL_SLONG_TYPE): New macro.
3846 (__SYSCALL_ULONG_TYPE): Likewise.
3847
3848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3849
3850 * bits/types.h (__syscall_slong_t): New type.
3851 (__syscall_ulong_t): Likewise.
3852
3853 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3854 (__SYSCALL_ULONG_TYPE): Likewise.
3855 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3856 (__SYSCALL_SLONG_TYPE): Likewise.
3857 (__SYSCALL_ULONG_TYPE): Likewise.
3858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3859 (__SYSCALL_SLONG_TYPE): Likewise.
3860 (__SYSCALL_ULONG_TYPE): Likewise.
3861 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3862 (__SYSCALL_SLONG_TYPE): Likewise.
3863 (__SYSCALL_ULONG_TYPE): Likewise.
3864
3865 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3866
3867 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3868 Add sigaltstack-offsets.sym.
3869 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3870 <sigaltstack-offsets.h>.
3871 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3872 longjmp_msg pointer.
3873 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3874 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3875 signal stack.
3876 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3877
3878 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3879
3880 * elf/stackguard-macros.h: Remove file.
3881 * sysdeps/generic/stackguard-macros.h: New file.
3882 * sysdeps/i386/stackguard-macros.h: Likewise.
3883 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3884 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3885 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3886 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3887 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3888 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3889 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3890 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3891 <elf/stackguard-macros.h>.
3892
3893 [BZ #14109]
3894 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3895 __aligned__ in attribute.
3896 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3897 (gregset_t): Likewise.
3898
3899 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3900
3901 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3902 * sysdeps/x86_64/64/Implies-after: Here. New file.
3903 * sysdeps/x86_64/x32/Implies-after: New file.
3904
3905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3906
3907 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3908 and access return value for _dl_profile_fixup. Use R10_LP to
3909 load frame size.
3910
3911 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3912
3913 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3914
3915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3916
3917 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3918 * sysdeps/x86_64/x32/sysdep.h: New file.
3919
3920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3921
3922 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3923 * sysdeps/x86_64/setjmp.S: Likewise.
3924
3925 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3926
3927 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3928 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3929 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3930 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3931 remove unused global constant.
3932
3933 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3934
3935 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3936 include of <not-cancel.h>.
3937
3938 2012-05-15 Roland McGrath <roland@hack.frob.com>
3939
3940 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3941
3942 2012-05-15 Jeff Law <law@redhat.com>
3943 Andreas Jaeger <aj@suse.de>
3944
3945 [BZ #13594]
3946 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3947 out from...
3948 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3949 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3950 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3951 code changing __hst_map_handle.map.
3952
3953 2012-05-15 Roland McGrath <roland@hack.frob.com>
3954
3955 * configure.in (sysnames): Look for Implies-before and Implies-after
3956 files.
3957 * configure: Regenerated.
3958
3959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3960
3961 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3962 8-byte data alignment with LP_SIZE alignment.
3963
3964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3965
3966 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3967 into R10_LP.
3968
3969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3970
3971 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3972
3973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3974
3975 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3976 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3977 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3978 Likewise.
3979 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3980
3981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3982
3983 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3984 (stackinfo_sub_sp): Likewise.
3985
3986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3987
3988 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3989 RAX_LP.
3990
3991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3992
3993 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3994 into R*_LP.
3995
3996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3997
3998 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3999 sizes into R*_LP.
4000
4001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4002
4003 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4004
4005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4006
4007 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4008 into R11_LP and load __x86_64_shared_cache_size_half into
4009 R8_LP.
4010
4011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4012
4013 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4014 R8_LP.
4015
4016 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4017
4018 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4019 logb for POWER7.
4020 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4021 logbf for POWER7.
4022 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4023 logbl for POWER7.
4024 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4025 powerpc32/power7/fpu/s_logb.c via #include.
4026 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4027 powerpc32/power7/fpu/s_logbf.c via #include.
4028 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4029 powerpc32/power7/fpu/s_logbl.c via #include.
4030
4031 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4032
4033 * README.libm: Remove file.
4034
4035 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4036
4037 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4038 count for x32. Use R*_LP and omit operand-size suffix.
4039
4040 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4041
4042 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4043 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4044 * sysdeps/x86_64/x32/shlib-versions: New file.
4045
4046 2012-05-14 Roland McGrath <roland@hack.frob.com>
4047
4048 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4049 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4050 Use _dl_fatal_printf instead.
4051
4052 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4053
4054 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4055 set if not set by the user. Do not allow for being unset.
4056 * sysdeps/unix/sysv/linux/configure: Regenerated.
4057
4058 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4059
4060 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4061 the `q' suffix from lea and replace .quad with ASM_ADDR.
4062
4063 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4064
4065 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4066 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4067 instead of $17.
4068 (PTR_DEMANGLE): Likewise.
4069
4070 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4071
4072 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4073 (LP_OP): Likewise.
4074 (ASM_ADDR): Likewise.
4075 (RAX_LP): Likewise.
4076 (RBP_LP): Likewise.
4077 (RBX_LP): Likewise.
4078 (RCX_LP): Likewise.
4079 (RDI_LP): Likewise.
4080 (RSI_LP): Likewise.
4081 (RSP_LP): Likewise.
4082 (R8_LP): Likewise.
4083 (R9_LP): Likewise.
4084 (R10_LP): Likewise.
4085 (R10_LP): Likewise.
4086 (R11_LP): Likewise.
4087 (R12_LP): Likewise.
4088 (R13_LP): Likewise.
4089 (R14_LP): Likewise.
4090 (R15_LP): Likewise.
4091
4092 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4093
4094 * sysdeps/x86_64/x32/dl-machine.h: New file.
4095
4096 2012-05-14 Andreas Jaeger <aj@suse.de>
4097
4098 * manual/Makefile (subdir): Remove export of subdir.
4099 (all): Remove target.
4100 (.PHONY): Remove all from list.
4101 (mkinstalldirs): Remove.
4102 (.PHONY): Remove installdirs from list.
4103 ($(inst_infodir)/libc.info): Use make-target-directory.
4104 (installdirs): Remove.
4105 (subdir_%): Remove.
4106 (glibc-targets): Remove.
4107 (lib): Remove.
4108 (stubs): Remove.
4109 ($(objpfx)stubs ../po/manual.pot): Remove.
4110 ($(objpfx)stamp%): Remove.
4111 (make-target-directory): Remove.
4112 (subdir_install): Remove.
4113 (routines): Remove.
4114 (aux): Remove.
4115 (sources): Remove.
4116 (objects): Remove.
4117 (headers): Remove.
4118
4119 [BZ #13750]
4120 * manual/.gitignore: Remove, it's not needed anymore.
4121 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4122 all files in it.
4123 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4124 directory.
4125 (texis): Renamed to $(objpfx)texis.
4126 (texis-path): New, contains path to generated files.
4127 (chapters.%): Use texis-path for complete path, add extra argument
4128 libc-texinfo.sh.
4129 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4130 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4131 (summary,texi, stamp-summary): Use complete path of
4132 files. Generate files in build dir.
4133 (dir-add.texi): Build in build dir.
4134 (libm-err.texi,stamp-libm-err): Likewise.
4135 (version.texi, stamp-version): Likewise.
4136 (.%c.texi): Likewise.
4137 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4138 (mostlyclean): Remove target.
4139 (realclean): Remove target.
4140 (generated): Add new variable with contents from mostlyclean and
4141 realclean, remove entries duplicated in common-mostlyclean, add
4142 stamp-libm-err and stamp-version.
4143 (generated-dirs): Add libc directory.
4144 ($(inst_infodir)/libc.info): Install files from build dir.
4145
4146 * manual/install.texi (Configuring and compiling): Adjust since
4147 the info files are not part of the tar ball anymore.
4148
4149 2012-05-14 Andreas Jaeger <aj@suse.de>
4150
4151 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4152 variable.
4153
4154 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4155
4156 [BZ #13717]
4157 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4158 to 2.2.0 where earlier.
4159 * sysdeps/unix/sysv/linux/configure: Regenerated.
4160 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4161 Remove conditional code.
4162 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4163 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4164 Remove conditional code.
4165 [!__NR_lchown]: Likewise.
4166 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4167 [__NR_lchown]: Likewise.
4168 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4169 comment referencing __ASSUME_LCHOWN_SYSCALL.
4170 * sysdeps/unix/sysv/linux/i386/sigaction.c
4171 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4172 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4173 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4174 Remove conditional code.
4175 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4176 (__protocol_available): Remove #if 0 code.
4177 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4178 conditional code.
4179 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4180 * sysdeps/unix/sysv/linux/kernel-features.h
4181 (__ASSUME_GETCWD_SYSCALL): Don't define.
4182 (__ASSUME_REALTIME_SIGNALS): Likewise.
4183 (__ASSUME_PREAD_SYSCALL): Likewise.
4184 (__ASSUME_PWRITE_SYSCALL): Likewise.
4185 (__ASSUME_POLL_SYSCALL): Likewise.
4186 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4187 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4188 non-SPARC.
4189 (__ASSUME_SIOCGIFNAME): Don't define.
4190 (__ASSUME_MSG_NOSIGNAL): Likewise.
4191 (__ASSUME_SENDFILE): Define unconditionally.
4192 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4193 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4194 conditional code.
4195 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4196 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4197 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4198 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4199 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4200 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4201 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4206 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4207 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4212 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4213 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4215 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4218 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4219 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4221 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4224 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4225 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4226 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4227 Remove conditional code.
4228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4229 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4230 Remove conditional code.
4231 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4232 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4233 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4234 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4235 Remove conditional code.
4236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4237 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4238 Remove conditional code.
4239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4240 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4241 Remove conditional code.
4242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4243 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4244 Remove conditional code.
4245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4246 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4247 Remove conditional code.
4248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4249 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4250 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4252 * sysdeps/unix/sysv/linux/sigaction.c
4253 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4254 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4255 * sysdeps/unix/sysv/linux/sigpending.c
4256 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4257 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4258 * sysdeps/unix/sysv/linux/sigprocmask.c
4259 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4260 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4261 * sysdeps/unix/sysv/linux/sigsuspend.c
4262 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4263 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4264 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4265 (__libc_missing_rt_sigs): Remove.
4266 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4267 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4268 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4269 Remove conditional code.
4270 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4271 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4272 return 1.
4273 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4274 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4275 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4276 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4277
4278 2012-05-14 Andreas Jaeger <aj@suse.de>
4279
4280 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4281 it's not used in glibc.
4282 (__coshm1): Likewise.
4283 (__acosh1p): Likewise.
4284 (__sgn): Likewise.
4285
4286 * manual/string.texi (Copying and Concatenation): Add missing
4287 variable in concat example.
4288 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4289
4290 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4291
4292 [BZ #14103]
4293 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4294 __builtin_clzl with __builtin_clzll.
4295
4296 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4297
4298 [BZ #14104]
4299 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4300 libc_freeres_ptr.
4301
4302 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4303
4304 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4305 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4306 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4307 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4308
4309 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4310
4311 * NEWS: Update ia64 info.
4312
4313 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4314
4315 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4316 used as bcopy.
4317
4318 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4319
4320 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4321 * sysdeps/unix/syscalls.list (dup3): Likewise.
4322 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4323 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4324
4325 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4326
4327 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4328 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4329
4330 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4331
4332 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4333 thread pointer.
4334 (TLS_IE): Use mov/add instead of movq/addq to load thread
4335 pointer.
4336 (TLS_GD_PREFIX): New.
4337 (TLS_GD): Use it.
4338
4339 2012-05-11 David S. Miller <davem@davemloft.net>
4340
4341 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4342 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4343 (_FPU_SETCW): Likewise.
4344
4345 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4346
4347 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4348 is 32-byte aligned.
4349
4350 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4351
4352 [BZ #11837]
4353 * iconvdata/gb18030.c: Update tables.
4354 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4355 characters specially.
4356 (BODY for TO_LOOP): Add encoding of missing ranges.
4357
4358 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4359
4360 [BZ #13673]
4361 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4362 * sysdeps/mach/hurd/dup3.c: Likewise.
4363 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4364 * sysdeps/powerpc/memmove.c:: Likewise.
4365
4366 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4367
4368 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4369 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4370
4371 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4372
4373 * elf/elf.h (R_X86_64_RELATIVE64): New.
4374 (R_X86_64_NUM): Updated.
4375 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4376 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4377 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4378 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4379 tst-quad1pie tst-quad2pie
4380 (modules-names): Add tst-quadmod1 tst-quadmod2.
4381 ($(objpfx)tst-quad1): New dependency.
4382 ($(objpfx)tst-quad2): Likewise.
4383 ($(objpfx)tst-quad1pie): Likewise.
4384 ($(objpfx)tst-quad2pie): Likewise.
4385 * sysdeps/x86_64/tst-quad1.c: New file.
4386 * sysdeps/x86_64/tst-quad1pie.c: New file.
4387 * sysdeps/x86_64/tst-quad2.c: Likewise.
4388 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4389 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4390 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4391 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4392 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4393
4394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4395
4396 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4397 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4398 * streams/stropts.h (t_scalar_t): Define type.
4399
4400 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4401 (_PATH_PRESERVE): Set to "/var/lib".
4402 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4403
4404 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4405 instead of int.
4406
4407 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4408 if __dir_mkfile succeeded.
4409
4410 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4411 checking for _hurd_dtablesize. Unlock it right after having
4412 finished _hurd_dtable allocation.
4413
4414 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4415
4416 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4417 * sysdeps/mach/hurd/configure: Regenerated.
4418 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4419 special-casing to...
4420 * sysdeps/gnu/configure.in: ... this new file.
4421 * sysdeps/unix/sysv/linux/configure: Regenerated.
4422 * sysdeps/gnu/configure: New generated file.
4423
4424 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4425 for Linux: use nsec instead of usec, as well as:
4426 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4427 members of type struct timespec.
4428 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4429 New macros.
4430 (struct stat64): Likewise.
4431 (_STATBUF_ST_NSEC): New macro.
4432 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4433
4434 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4435 __strtoul_internal rather than strtoul.
4436
4437 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4438
4439 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4440 and reject them.
4441
4442 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4443
4444 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4445 which preserves existing values.
4446 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4447
4448 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4449
4450 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4451 TIMEOUT values. Return EINVAL for NFDS values either negative or
4452 greater than FD_SETSIZE.
4453
4454 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4455
4456 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4457 allocated, call __vm_protect to finish enabling the existing space, and
4458 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4459 allocate the remainder.
4460
4461 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4462
4463 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4464 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4465
4466 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4467
4468 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4469 sysdeps/mach/hurd/readlink.c.
4470
4471 * posix/tst-sysconf.c (posix_options): Only use
4472 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4473 _POSIX_SYNCHRONIZED_IO when they are defined
4474 * sysdeps/mach/hurd/bits/posix_opt.h:
4475 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4476 (_XOPEN_REALTIME): Undefine macro.
4477 (_XOPEN_REALTIME_THREADS): Undefine macro.
4478 (_XOPEN_SHM): Undefine macro.
4479 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4480 macro to -1.
4481 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4482 macro to -1.
4483 (_POSIX_ASYNC_IO): Undefine macro.
4484 (_POSIX_PRIORITIZED_IO): Undefine macro.
4485 (_POSIX_SPIN_LOCKS): Define macro to -1.
4486
4487 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4488 SA_NODEFER, SA_RESETHAND.
4489 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4490 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4491 F_DUPFD_CLOEXEC.
4492
4493 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4494
4495 * elf/Makefile (pldd-modules): Define unconditionally.
4496
4497 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4498
4499 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4500
4501 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4502
4503 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4504 Return ENOENT when name is empty.
4505 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4506
4507 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4508
4509 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4510
4511 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4512
4513 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4514
4515 Fix mlock in all cases except non-readable pages.
4516 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4517 instead of VM_PROT_ALL as parameter to __vm_wire function.
4518
4519 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4520 (__mkdir): When path is `/', just fail with EEXIST.
4521 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4522
4523 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4524
4525 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4526 <sys/uio.h> (for writev).
4527 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4528 and <sys/param.h> (for MIN).
4529
4530 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4531
4532 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4533 REQUESTED_TIME. Properly set the remaining time and return EINTR
4534 if interrupted.
4535
4536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4537
4538 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4539 Depend on against $(link-rpcuserlibs).
4540
4541 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4542
4543 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4544 (__libc_stack_end): Do not use attribute_relro.
4545 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4546 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4547 to libthread-provided value.
4548 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4549 attribute_relro.
4550
4551 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4552
4553 [BZ #3748]
4554 * bits/libc-lock.h (__libc_once_get): New macro.
4555 * sysdeps/mach/bits/libc-lock.h: Likewise.
4556 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4557 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4558 instead of using implementation details.
4559
4560 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4561 * libio/freopen.c: Likewise.
4562 * libio/freopen64.c: Likewise.
4563 * misc/syslog.c: Likewise.
4564 * nscd/connections.c: Likewise.
4565 * nscd/netgroupcache.c: Likewise.
4566 * sysdeps/posix/getcwd.c: Likewise.
4567
4568 2012-05-10 Roland McGrath <roland@hack.frob.com>
4569
4570 * math/w_ilogbf.c: Add #include <limits.h>.
4571
4572 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4573
4574 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4575 path instead of returning without unlocking.
4576
4577 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4578 immediate-write ioctls.
4579 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4580
4581 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4582
4583 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4584 __builtin_frame_address instead of making assumptions about the
4585 location of the return address relative to DATA. Force early load of
4586 the return address.
4587 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4588 __builtin_frame_address.
4589
4590 dup3 for GNU Hurd.
4591 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4592 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4593 implement dup3 and do some further code clean-ups.
4594 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4595 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4596
4597 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4598
4599 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4600
4601 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4602 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4603 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4604 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4605 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4606 d->port.lock.
4607
4608 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4609 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4610 when handler == SIG_ERR, not when handler != SIG_ERR.
4611
4612 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4613
4614 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4615 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4616 definitions.
4617
4618 accept4 for GNU Hurd.
4619 * include/sys/socket.h (__libc_accept4): New prototype.
4620 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4621 to implement __libc_accept4.
4622 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4623 __libc_accept4.
4624 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4625
4626 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4627 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4628 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4629 signal-defines.sym.
4630
4631 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4632
4633 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4634
4635 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4636
4637 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4638 assertion on O_CLOEXEC flag.
4639 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4640 * hurd/intern-fd.c: Likewise.
4641 * hurd/port2fd.c: Likewise.
4642
4643 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4644
4645 [BZ #3906]
4646 * bits/in.h (IPV6_PKTINFO): Define new macro.
4647 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4648
4649 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4650
4651 [BZ #13954]
4652 [BZ #13955]
4653 [BZ #13956]
4654 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4656 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4657 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4659 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4660 * math/libm-test.inc (logb_test) : Additional logb tests.
4661
4662 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4663 Andreas Jaeger <aj@suse.de>
4664
4665 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4666 * configure: Regenerated.
4667 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4668 * config.make.in (link-obsolete-rpc): New substituted variable.
4669 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4670 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4671 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4672 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4673 so that libc.a contains the symbols.
4674 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4675 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4676 * sunrpc/auth_none.c: Likewise.
4677 * sunrpc/auth_unix.c: Likewise.
4678 * sunrpc/authdes_prot.c: Likewise.
4679 * sunrpc/authuxprot.c: Likewise.
4680 * sunrpc/clnt_gen.c: Likewise.
4681 * sunrpc/clnt_perr.c: Likewise.
4682 * sunrpc/clnt_raw.c: Likewise.
4683 * sunrpc/clnt_simp.c: Likewise.
4684 * sunrpc/clnt_tcp.c: Likewise.
4685 * sunrpc/clnt_udp.c: Likewise.
4686 * sunrpc/clnt_unix.c: Likewise.
4687 * sunrpc/des_crypt.c: Likewise.
4688 * sunrpc/des_soft.c: Likewise.
4689 * sunrpc/get_myaddr.c: Likewise.
4690 * sunrpc/key_call.c: Likewise.
4691 * sunrpc/key_prot.c: Likewise.
4692 * sunrpc/netname.c: Likewise.
4693 * sunrpc/pm_getmaps.c: Likewise.
4694 * sunrpc/pm_getport.c: Likewise.
4695 * sunrpc/pmap_clnt.c: Likewise.
4696 * sunrpc/pmap_prot.c: Likewise.
4697 * sunrpc/pmap_prot2.c: Likewise.
4698 * sunrpc/pmap_rmt.c: Likewise.
4699 * sunrpc/publickey.c: Likewise.
4700 * sunrpc/rpc_cmsg.c: Likewise.
4701 * sunrpc/rpc_common.c: Likewise.
4702 * sunrpc/rpc_dtable.c: Likewise.
4703 * sunrpc/rpc_prot.c: Likewise.
4704 * sunrpc/rpc_thread.c: Likewise.
4705 * sunrpc/rtime.c: Likewise.
4706 * sunrpc/svc.c: Likewise.
4707 * sunrpc/svc_auth.c: Likewise.
4708 * sunrpc/svc_raw.c: Likewise.
4709 * sunrpc/svc_run.c: Likewise.
4710 * sunrpc/svc_tcp.c: Likewise.
4711 * sunrpc/svc_udp.c: Likewise.
4712 * sunrpc/svc_unix.c: Likewise.
4713 * sunrpc/svcauth_des.c: Likewise.
4714 * sunrpc/xcrypt.c: Likewise.
4715 * sunrpc/xdr.c: Likewise.
4716 * sunrpc/xdr_array.c: Likewise.
4717 * sunrpc/xdr_float.c: Likewise.
4718 * sunrpc/xdr_intXX_t.c: Likewise.
4719 * sunrpc/xdr_mem.c: Likewise.
4720 * sunrpc/xdr_rec.c: Likewise.
4721 * sunrpc/xdr_ref.c: Likewise.
4722 * sunrpc/xdr_sizeof.c: Likewise.
4723 * sunrpc/xdr_stdio.c: Likewise.
4724
4725 2012-05-10 Roland McGrath <roland@hack.frob.com>
4726
4727 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4728 change. Update copyright years.
4729
4730 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4731
4732 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4733
4734 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4735 Joseph Myers <joseph@codesourcery.com>
4736 Paul Pluzhnikov <ppluzhnikov@google.com>
4737
4738 [BZ #14012]
4739 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4740 requiring rpcgen.
4741 [cross-compiling] (extra-libs): Likewise.
4742 [cross-compiling] (extra-libs-others): Likewise.
4743 [cross-compiling] (librpcsvc-routines): Likewise.
4744 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4745 [cross-compiling] (omit-deps): Likewise.
4746 (sunrpc-CPPFLAGS): New variable.
4747 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4748 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4749 (cross-rpcgen-objs): New variable.
4750 (extra-objs): Append $(cross-rpcgen-objs).
4751 ($(cross-rpcgen-objs)): New rule.
4752 ($(objpfx)cross-rpcgen): Likewise.
4753 (rpcgen-cmd): Define to use $(built-program-file). Expand
4754 comment.
4755 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4756 ($(objpfx)x%.stmp): Likewise.
4757 * sunrpc/proto.h [IS_IN_build] (_): Define.
4758 [IS_IN_build] (_libc_intl_domainname): Likewise.
4759
4760 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4761
4762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4763 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4764 and R_X86_64_TPOFF64.
4765
4766 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4767
4768 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4769 sysdeps/unix/sysv/syscalls.list.
4770 (stime): Likewise.
4771 (utime): Likewise.
4772 * sysdeps/unix/sysv/syscalls.list: Remove file.
4773
4774 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4775
4776 [BZ #3440]
4777 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4778 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4779 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4780 (__LC_IDENTIFICATION): Make these macros useful in #if
4781 expressions, as required by C99.
4782
4783 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4784
4785 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4786 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4787 after this.
4788
4789 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4790
4791 * stdlib/longlong.h: Updated from GCC.
4792
4793 2012-05-09 Andreas Jaeger <aj@suse.de>
4794
4795 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4796 default is first entry.
4797 (run_mode): Set type.
4798 (main): Remove informal message about syslog.
4799 (options): Fix typo.
4800
4801 [BZ #14053]
4802 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4803 to asm.
4804 (lrint): Likewise.
4805 (llrintf): Likewise.
4806 (llrint): Likewise.
4807 (rint): Likewise.
4808 (rintf): Likewise.
4809 (nearbyint): Likewise.
4810 (nearbyintf): Likewise.
4811
4812 2012-05-09 Andreas Jaeger <aj@suse.de>
4813 Pedro Alves <palves@redhat.com>
4814
4815 * nscd/nscd.c (run_mode): Use enum.
4816 (main): Cleanup coding style issue.
4817
4818 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4819 Andreas Jaeger <aj@suse.de>
4820
4821 * nscd/nscd.c (go_background): Replaced with...
4822 (run_mode): ... this.
4823 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4824 (options): Add -F --foreground.
4825 (main): Implement it.
4826 (parse_opt): Parse it.
4827
4828 2012-05-09 Andreas Jaeger <aj@suse.de>
4829
4830 [BZ #14083]
4831 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4832 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4833 -Wconversion warning.
4834 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4835 Likewise.
4836
4837 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4838
4839 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4840 == 0.
4841 (LC_ALL): Use macro-int-constant.
4842 (LC_COLLATE): Likewise.
4843 (LC_CTYPE): Likewise.
4844 (LC_MESSAGES): Likewise.
4845 (LC_MONETARY): Likewise.
4846 (LC_NUMERIC): Likewise.
4847 (LC_TIME): Likewise.
4848 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4849 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4850 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4851 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4852 Specify type.
4853 [C99-based standards] (float_t): Expect type.
4854 [C99-based standards] (double_t): Expect type.
4855 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4856 type.
4857 [C99-based standards] (HUGE_VALL): Likewise.
4858 [C99-based standards] (INFINITY): Likewise.
4859 [C99-based standards] (NAN): Likewise.
4860 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4861 [C99-based standards] (FP_NAN): Likewise.
4862 [C99-based standards] (FP_NORMAL): Likewise.
4863 [C99-based standards] (FP_SUBNORMAL): Likewise.
4864 [C99-based standards] (FP_ZERO): Likewise.
4865 [C99-based standards] (FP_FAST_FMA): Use
4866 optional-macro-int-constant. Specify type. Require == 1.
4867 [C99-based standards] (FP_FAST_FMAF): Likewise.
4868 [C99-based standards] (FP_FAST_FMAL): Likewise.
4869 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4870 [C99-based standards] (FP_ILOGBNAN): Likewise.
4871 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4872 Specify type.
4873 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4874 [C99-based standards] (math_errhandling): Specify type.
4875 [ISO99 || ISO11] (signgam): Do not allow.
4876 [non-C99-based standards] (copysignf): Do not allow.
4877 [non-C99-based standards] (exp2f): Likewise.
4878 [non-C99-based standards] (log2f): Likewise.
4879 [non-C99-based standards] (modff): Allow.
4880 [non-C99-based standards] (erff): Do not allow.
4881 [non-C99-based standards] (erfcf): Likewise.
4882 [non-C99-based standards] (gammaf): Likewise.
4883 [non-C99-based standards] (hypotf): Likewise.
4884 [non-C99-based standards] (j0f): Likewise.
4885 [non-C99-based standards] (j1f): Likewise.
4886 [non-C99-based standards] (jnf): Likewise.
4887 [non-C99-based standards] (lgammaf): Likewise.
4888 [non-C99-based standards] (tgammaf): Likewise.
4889 [non-C99-based standards] (y0f): Likewise.
4890 [non-C99-based standards] (y1f): Likewise.
4891 [non-C99-based standards] (ynf): Likewise.
4892 [non-C99-based standards] (isnanf): Likewise.
4893 [non-C99-based standards] (acoshf): Likewise.
4894 [non-C99-based standards] (asinhf): Likewise.
4895 [non-C99-based standards] (atanhf): Likewise.
4896 [non-C99-based standards] (cbrtf): Likewise.
4897 [non-C99-based standards] (expm1f): Likewise.
4898 [non-C99-based standards] (ilogbf): Likewise.
4899 [non-C99-based standards] (log1pf): Likewise.
4900 [non-C99-based standards] (logbf): Likewise.
4901 [non-C99-based standards] (nextafterf): Likewise.
4902 [non-C99-based standards] (remainderf): Likewise.
4903 [non-C99-based standards] (rintf): Likewise.
4904 [non-C99-based standards] (scalbf): Likewise.
4905 [non-C99-based standards] (copysignl): Likewise.
4906 [non-C99-based standards] (exp2l): Likewise.
4907 [non-C99-based standards] (log2l): Likewise.
4908 [non-C99-based standards] (modfl): Allow.
4909 [non-C99-based standards] (erfl): Do not allow.
4910 [non-C99-based standards] (erfcl): Likewise.
4911 [non-C99-based standards] (gammal): Likewise.
4912 [non-C99-based standards] (hypotl): Likewise.
4913 [non-C99-based standards] (j0l): Likewise.
4914 [non-C99-based standards] (j1l): Likewise.
4915 [non-C99-based standards] (jnl): Likewise.
4916 [non-C99-based standards] (lgammal): Likewise.
4917 [non-C99-based standards] (tgammal): Likewise.
4918 [non-C99-based standards] (y0l): Likewise.
4919 [non-C99-based standards] (y1l): Likewise.
4920 [non-C99-based standards] (ynl): Likewise.
4921 [non-C99-based standards] (isnanl): Likewise.
4922 [non-C99-based standards] (acoshl): Likewise.
4923 [non-C99-based standards] (asinhl): Likewise.
4924 [non-C99-based standards] (atanhl): Likewise.
4925 [non-C99-based standards] (cbrtl): Likewise.
4926 [non-C99-based standards] (expm1l): Likewise.
4927 [non-C99-based standards] (ilogbl): Likewise.
4928 [non-C99-based standards] (log1pl): Likewise.
4929 [non-C99-based standards] (logbl): Likewise.
4930 [non-C99-based standards] (nextafterl): Likewise.
4931 [non-C99-based standards] (remainderl): Likewise.
4932 [non-C99-based standards] (rintl): Likewise.
4933 [non-C99-based standards] (scalbl): Likewise.
4934 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4935 [non-C99-based standards] (FP_*): Do not allow.
4936 [C99-based standards] (FP_*): Change to
4937 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4938 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4939 allow.
4940 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4941 (SIG_ERR): Likewise.
4942 [X/Open-based standards] (SIG_HOLD): Likewise.
4943 (SIG_IGN): Likewise.
4944 (SIGABRT): Use macro-int-constant. Specify type. Require
4945 positive value.
4946 (SIGFPE): Likewise.
4947 (SIGILL): Likewise.
4948 (SIGINT): Likewise.
4949 (SIGSEGV): Likewise.
4950 (SIGTER): Likewise.
4951 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4952 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4953 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4954 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4955 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4956 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4957 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4958 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4959 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4960 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4961 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4962 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4963 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4964 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4965 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4967 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4969 [X/Open-based standards] (SIGTRAP): Likewise.
4970 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4971 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4972 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4973 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4974 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4975 allow.
4976
4977 2012-05-08 Ian Wienand <ianw@vmware.com>
4978
4979 [BZ #14080]
4980 * time/tzset.c (__tzset_parse_tz): Update default rules for
4981 daylight time changes in the Energy Policy Act of 2005.
4982
4983 2012-05-09 Andreas Jaeger <aj@suse.de>
4984
4985 [BZ #13983]
4986 * elf/ldconfig.c (parse_conf): Change string to make clear that
4987 ldconfig only issued a warning if ld.so.conf does not exist.
4988
4989 2012-05-08 David S. Miller <davem@davemloft.net>
4990
4991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4992 movxtod instead of popping the value on the stack.
4993
4994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4995
4996 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4997
4998 * config.h.in: Add HAVE_ARM_PCS_VFP.
4999
5000 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5001
5002 [BZ #13979]
5003 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5004 checking but the checks are disabled for any reason.
5005
5006 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5007
5008 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5009 and ELF64_R_TYPE with ELFW(R_TYPE).
5010
5011 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5012
5013 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5014 (ulimit): Likewise.
5015
5016 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5017 (settimeofday): Likewise.
5018
5019 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5020
5021 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5022 a struct th_u2 inside the union, and move tu_block/tu_code into
5023 a new th_u3 union of tu_block/tu_code inside of that. Move
5024 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5025 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5026 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5027 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5028 (th_stuff): Change to th_u1.tu_stuff.
5029 (th_data): Define.
5030 (th_msg): Change to th_u1.th_u2.tu_data.
5031
5032 2012-05-07 David S. Miller <davem@davemloft.net>
5033
5034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5035
5036 [BZ #14074]
5037 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5038 (SETUP_PIC_REG): Use it.
5039 (SETUP_PIC_REG_LEAF): Use it.
5040
5041 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5042
5043 [BZ #13885]
5044 [BZ #13923]
5045 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5046 USE_AS_EXPM1L.
5047 (EXPL_FINITE): Likewise.
5048 (FLDLOG): Likewise.
5049 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5050 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5051 e_expl.S.
5052 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5053 USE_AS_EXPM1L.
5054 (EXPL_FINITE): Likewise.
5055 (FLDLOG): Likewise.
5056 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5057 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5058 e_expl.S.
5059 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5060 test of -max_value argument for long double.
5061 * sysdeps/i386/fpu/libm-test-ulps: Update.
5062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5063
5064 2012-05-06 David S. Miller <davem@davemloft.net>
5065
5066 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5067 quad soft-float symbols whose references which are compiler
5068 generated.
5069 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5070
5071 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5072
5073 [BZ #13884]
5074 [BZ #13914]
5075 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5076 USE_AS_EXP10L.
5077 (EXPL_FINITE): Likewise.
5078 (FLDLOG): Likewise.
5079 (c0): Likewise.
5080 (c1): Likewise.
5081 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5082 Adjust comments for base varying.
5083 (__expl_finite): Change alias to EXPL_FINITE.
5084 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5085 e_expl.S.
5086 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5087 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5088 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5089 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5090 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5091 USE_AS_EXP10L.
5092 (EXPL_FINITE): Likewise.
5093 (FLDLOG): Likewise.
5094 (c0): Likewise.
5095 (c1): Likewise.
5096 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5097 Adjust comments for base varying.
5098 (__expl_finite): Change alias to EXPL_FINITE.
5099 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5100 tests for bugs.
5101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5102
5103 [BZ #14064]
5104 * math/libm-test.inc (check_float_internal): Correct ulp
5105 calculation for subnormal expected results.
5106
5107 2012-05-06 Andreas Jaeger <aj@suse.de>
5108
5109 * Makeconfig (+math-flags): New, set to -frounding-math.
5110 (+cflags): Add +math-flags so that all of glibc gets compiled with
5111 it.
5112
5113 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5114
5115 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5116
5117 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5118 Disable one test.
5119
5120 [BZ #13787]
5121 [BZ #13922]
5122 [BZ #14036]
5123 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5124 (__ieee754_expl): Allow for and saturate large arguments.
5125 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5126 (u_threshold): Likewise.
5127 (__exp): Call __ieee754_exp before checking for overflow and
5128 underflow.
5129 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5130 (u_threshold): Likewise.
5131 (__expf): Call __ieee754_expf before checking for overflow and
5132 underflow.
5133 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5134 (u_threshold): Likewise.
5135 (__expl): Call __ieee754_expl before checking for overflow and
5136 underflow.
5137 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5138 (__ieee754_expl): Allow for and saturate large arguments.
5139 * math/libm-test.inc (exp_test): Add another test. Do not allow
5140 missing overflow exception on overflow.
5141 (expm1_test): Do not allow missing overflow exception on overflow.
5142
5143 * sysdeps/i386/fpu/e_expl.c: Move to ...
5144 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5145 rather than using inline asm.
5146 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5147 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5148 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5149
5150 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5151 (nice): Likewise.
5152 (poll): Likewise.
5153 (signal): Likewise.
5154 (time): Likewise.
5155 (times): Likewise.
5156
5157 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5158
5159 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5160 sysdeps/unix/common/syscalls.list.
5161 (fchmod): Likewise.
5162 (fchown): Likewise.
5163 (ftruncate): Likewise.
5164 (getrusage): Likewise.
5165 (gettimeofday): Likewise.
5166 (setpgid): Likewise.
5167 (setregid): Likewise.
5168 (setreuid): Likewise.
5169 (sigaction): Likewise.
5170 (truncate): Likewise.
5171 (vhangup): Likewise.
5172 * sysdeps/unix/common/syscalls.list: Remove file.
5173 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5174 * sysdeps/unix/sysv/linux/Implies: Likewise.
5175
5176 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5177
5178 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5180 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5181 Moved to ...
5182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5183 Here.
5184 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5185 to ...
5186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5187 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5188 to ...
5189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5190 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5191 to ...
5192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5193 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5194 to ...
5195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5196 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5197 to ...
5198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5199 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5200 to ...
5201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5202 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5203 to ...
5204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5205 Here.
5206 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5207 to ...
5208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5209 Here.
5210 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5211 to ...
5212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5213 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5214 Moved to ...
5215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5216 Here.
5217 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5218 to ...
5219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5220
5221 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5222
5223 * sysdeps/unix/common/bits/dirent.h: Remove file.
5224 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5225
5226 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5227 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5228 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5229 * sysdeps/unix/bsd/isatty.c: Likewise.
5230 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5231 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5232 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5233
5234 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5235
5236 [BZ #13563]
5237 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5238 long double comparison inaccuracies.
5239 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5241
5242 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5243
5244 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5245 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5246
5247 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5248
5249 [BZ #14049]
5250 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5251 nonzero digits before rounding a hex value.
5252 * stdlib/tst-strtod.c (tests): Add another test.
5253
5254 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5255
5256 * sysdeps/s390/fpu/libm-test-ulps: Update.
5257
5258 2012-05-03 Andreas Jaeger <aj@suse.de>
5259
5260 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5261 does not get optimized out.
5262 (malloc_opt_barrier): New.
5263
5264 2012-05-03 Andreas Jaeger <aj@suse.de>
5265 Roland McGrath <roland@hack.frob.com>
5266
5267 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5268 intermediate file deletion.
5269 (generated): Add .symlist files.
5270
5271 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5272
5273 [BZ #13775]
5274 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5275 Redirect under this condition.
5276 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5277 [__USE_GNU] (__dprintf_chk): Not under this condition.
5278 [__USE_GNU] (__vdprintf_chk): Likewise.
5279 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5280 under this condition.
5281 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5282 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5283 [__USE_XOPEN2K8] (vdprintf): Likewise.
5284 [__USE_GNU] (__dprintf_chk): Not under this condition.
5285 [__USE_GNU] (__vdprintf_chk): Likewise.
5286 [__USE_GNU] (dprintf): Likewise.
5287 [__USE_GNU] (vdprintf): Likewise.
5288
5289 2012-05-03 Roland McGrath <roland@hack.frob.com>
5290
5291 * elf/Makefile (common-generated): Set this instead of generated for
5292 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5293 $(all-built-dso)-derived lists.
5294
5295 2012-05-03 Andreas Jaeger <aj@suse.de>
5296
5297 * sysdeps/i386/fpu/libm-test-ulps: Update.
5298
5299 * FAQ: Removed.
5300 * FAQ.in: Likewise.
5301 * scripts/gen-FAQ.pl: Likewise.
5302 * manual/install.texi (Installation): Point to online location of
5303 FAQ.
5304 * Makefile (files-for-dist): Remove FAQ.
5305 (FAQ): Remove.
5306
5307 2012-05-02 Allan McRae <allan@archlinux.org>
5308
5309 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5310 (LDFLAGS-reldepmod5.so): Likewise.
5311 (LDFLAGS-reldep6mod1.so): Likewise.
5312 (LDFLAGS-reldep6mod4.so): Likewise.
5313 (LDFLAGS-reldep8mod3.so): Likewise.
5314 (LDFLAGS-unload4mod1.so): Likewise.
5315 (LDFLAGS-unload4mod2.so): Likewise.
5316 (LDFLAGS-tst-initorder): Likewise.
5317 (LDFLAGS-tst-initordera2.so): Likewise.
5318 (LDFLAGS-tst-initordera3.so): Likewise.
5319 (LDFLAGS-tst-initordera4.so): Likewise.
5320 (LDFLAGS-tst-initorderb2.so): Likewise.
5321 (LDFLAGS-noload): Likewise.
5322 (LDFLAGS-next): Likewise.
5323 (LDFLAGS-order2mod1.so): Likewise.
5324 (LDFLAGS-order2mod2.so): Likewise.
5325 (LDFLAGS-tst-initorder2): Likewise.
5326 (LDFLAGS-tst-initorder2a.so): Likewise.
5327 (LDFLAGS-tst-initorder2b.so): Likewise.
5328 (LDFLAGS-tst-initorder2c.so): Likewise.
5329 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5330
5331 2012-05-02 David S. Miller <davem@davemloft.net>
5332
5333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5334
5335 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5336
5337 [BZ #14055]
5338 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5339
5340 2012-05-02 Andreas Jaeger <aj@suse.de>
5341
5342 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5343 since we manipulate rounding mode.
5344 (CPPFLAGS-test-idouble.c): Likewise.
5345 (CPPFLAGS-test-ifloat.c): Likewise.
5346 (CFLAGS-test-ldouble.c): Likewise.
5347 (CFLAGS-test-double.c): Likewise.
5348 (CFLAGS-test-float.c): Likewise.
5349 (CFLAGS-test-misc.c): Likewise.
5350 (CFLAGS-test-test-fenv.c): Likewise.
5351
5352 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5353
5354 [BZ #2550]
5355 [BZ #2570]
5356 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5357 comparisons to determine direction to adjust input.
5358
5359 2012-05-01 Roland McGrath <roland@hack.frob.com>
5360
5361 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5362 output to the target.
5363
5364 * scripts/localplt.awk: New file.
5365 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5366 (check-localplt-CFLAGS): Variable removed.
5367 ($(all-built-dso:=.jmprel)): New static pattern rule.
5368 (generated): Add those targets.
5369 (localplt-built-dso): New variable.
5370 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5371
5372 * elf/check-localplt.c: File removed.
5373
5374 * scripts/check-execstack.awk: New file.
5375 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5376 (check-execstack-CFLAGS): Variable removed.
5377 ($(objpfx)check-execstack.h): Target removed.
5378 ($(objpfx)execstack-default): New target.
5379 (generated): Add that instead of check-execstack.h.
5380 ($(all-built-dso:=.phdr)): New static pattern rule.
5381 (generated): Add those targets.
5382 * elf/check-execstack.c: File removed.
5383
5384 * scripts/check-textrel.awk: New file.
5385 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5386 (check-textrel-CFLAGS): Variable removed.
5387 (all-built-dso): Use := to define.o
5388 ($(all-built-dso:=.dyn)): New static pattern rule.
5389 (generated): Add those targets.
5390 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5391 * config.make.in (READELF): New substituted variable.
5392 * elf/check-textrel.c: File removed.
5393
5394 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5395
5396 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5397 allow.
5398 * conform/data/ctype.h-data [C99-based standards] (isblank):
5399 Expect function.
5400 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5401 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5402 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5403 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5404 Specify type. Require positive value.
5405 (EILSEQ): Likewise.
5406 (ERANGE): Likewise.
5407 [ISO || POSIX] (EILSEQ): Do not expect.
5408 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5409 Specify type. Require positive value.
5410 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5411 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5412 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5413 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5414 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5415 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5416 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5417 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5418 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5419 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5420 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5421 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5422 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5423 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5424 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5425 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5426 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5427 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5428 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5429 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5430 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5431 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5432 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5433 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5434 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5435 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5436 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5437 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5438 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5439 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5440 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5441 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5442 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5443 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5444 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5445 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5446 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5447 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5448 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5449 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5450 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5451 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5452 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5453 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5454 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5455 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5456 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5457 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5458 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5459 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5460 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5461 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5462 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5463 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5464 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5465 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5466 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5467 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5468 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5469 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5470 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5471 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5472 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5473 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5474 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5475 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5476 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5477 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5478 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5479 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5480 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5481 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5482 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5483 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5484 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5485 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5486 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5487 Require >= 2.
5488 (FLT_ROUNDS): Expect as macro, not constant.
5489 (FLT_MANT_DIG): Use macro-int-constant.
5490 (DBL_MANT_DIG): Likewise.
5491 (LDBL_MANT_DIG): Likewise.
5492 (FLT_DIG): Likewise.
5493 (DBL_DIG): Likewise.
5494 (LDBL_DIG): Likewise.
5495 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5496 (DBL_MIN_EXP): Likewise.
5497 (LDBL_MIN_EXP): Likewise.
5498 (FLT_MAX_EXP): Use macro-int-constant.
5499 (DBL_MAX_EXP): Likewise.
5500 (LDBL_MAX_EXP): Likewise.
5501 (FLT_MAX_10_EXP): Likewise.
5502 (DBL_MAX_10_EXP): Likewise.
5503 (LDBL_MAX_10_EXP): Likewise.
5504 (FLT_MAX): Use macro-constant.
5505 (DBL_MAX): Likewise.
5506 (LDBL_MAX): Likewise.
5507 (FLT_EPSILON): Use macro-constant. Give upper bound.
5508 (DBL_EPSILON): Likewise.
5509 (LDBL_EPSILON): Likewise.
5510 (FLT_MIN): Likewise.
5511 (DBL_MIN): Likewise.
5512 (LDBL_MIN): Likewise.
5513 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5514 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5515 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5516 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5517 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5518 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5519 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5520 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5521 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5522 [ISO11] (FLT_TRUE_MIN): Likewise.
5523 [ISO11] (LDBL_TRUE_MIN): Likewise.
5524 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5525 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5526 (SCHAR_MIN): Use macro-int-constant. Specify type.
5527 (SCHAR_MAX): Likewise.
5528 (UCHAR_MAX): Likewise.
5529 (CHAR_MIN): Likewise.
5530 (CHAR_MAX): Likewise.
5531 (MB_LEN_MAX): Use macro-int-constant.
5532 (SHRT_MIN): Use macro-int-constant. Specify type.
5533 (SHRT_MAX): Likewise.
5534 (USHRT_MAX): Likewise.
5535 (INT_MAX): Likewise.
5536 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5537 bound negative.
5538 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5539 bound with "U".
5540 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5541 bound with "L".
5542 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5543 bound negative. Suffix upper bound with "L".
5544 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5545 bound with "UL".
5546 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5547 Specify type.
5548 [C99-based standards] (LLONG_MAX): Likewise.
5549 [C99-based standards] (ULLONG_MAX): Likewise.
5550 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5551 == 0.
5552 [ISO11] (max_align_t): Require type.
5553 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5554
5555 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5556 from $CFLAGS, without defining away __attribute__ calls.
5557 (checknamespace): Use $CFLAGS_namespace.
5558
5559 * conform/conformtest.pl (@keywords): Only include C99 keywords
5560 for standards based on C99 or C11.
5561
5562 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5563 Disable tests.
5564 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5565 UNIX98]: Likewise.
5566
5567 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5568 usability of symbols in #if.
5569
5570 * conform/conformtest.pl: If macro or constant types start
5571 "promoted:", expect the symbol to be of the following type
5572 promoted by the integer promotions.
5573
5574 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5575 in one place. Also handle "macro-constant".
5576
5577 * conform/conformtest.pl: Only accept expected macro values with
5578 "==". Parse all "macro" lines in one place.
5579 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5580
5581 * conform/conformtest.pl: Handle braced types on "constant" lines
5582 instead of handling "typed-constant".
5583 * conform/data/signal.h-data: Use "constant" instead of
5584 "typed-constant".
5585
5586 * conform/conformtest.pl: Handle "optional-" at start of lines in
5587 one place rather than duplicating several cases. Handle each
5588 format of "macro" line with initial "optional-".
5589
5590 * conform/conformtest.pl: Only accept expected constant or
5591 optional-constant values with "==". Parse all "constant" lines in
5592 one place. Parse all "optional-constant" lines in one place.
5593 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5594 * conform/data/fmtmsg.h-data: Likewise.
5595 * conform/data/netinet/in.h-data: Likewise.
5596 * conform/data/tar.h-data: Likewise.
5597 * conform/data/limits.h-data: Use "==" form on "constant" and
5598 "optional-constant" lines.
5599
5600 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5601 Use -std=c99 for XOPEN2K.
5602 (@knownproblems): Remove.
5603 (newtoken): Don't check %isknown.
5604
5605 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5606 Do not expect macro.
5607 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5608 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5609 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5610 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5611 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5612 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5613 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5614 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5615 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5616 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5617 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5618 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5619 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5620 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5621 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5622 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5623 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5624 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5625 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5626 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5627 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5628 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5629 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5630 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5632 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5633 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5634 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5635 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5636 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5637 [XPG3] (acosh): Likewise.
5638 [XPG3] (asinh): Likewise.
5639 [XPG3] (atanh): Likewise.
5640 [XPG3] (cbrt): Likewise.
5641 [XPG3] (expm1): Likewise.
5642 [XPG3] (ilogb): Likewise.
5643 [XPG3] (log1p): Likewise.
5644 [XPG3] (logb): Likewise.
5645 [XPG3] (nextafter): Likewise.
5646 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5647 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5648 [XPG3] (remainder): Likewise.
5649 [XPG3] (rint): Likewise.
5650 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5651 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5652 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5653 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5654 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5655 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5656 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5657 [UNIX98 || XOPEN2K] (scalb): Expect.
5658 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5659 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5660 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5661 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5662 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5663 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5664 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5665 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5666 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5667 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5668 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5669 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5670 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5671 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5672 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5673 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5674 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5676 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5677 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5678 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5679 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5680 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5682 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5683 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5685 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5686 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5687 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5688 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5689 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5692 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5693 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5694 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5695 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5696 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5697 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5698 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5701 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5702 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5711 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5712 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5719 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5720 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5721 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5722 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5723 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5724 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5725 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5726 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5727 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5729 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5730 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5731 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5732 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5733 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5734 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5735 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5736 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5737 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5738 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5739 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5740 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5741 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5742 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5743 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5750 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5751 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5755 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5756 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5766 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5767 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5768 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5769 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5771 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5772 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5773 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5774 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5775 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5776 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5777 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5778 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5779 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5780 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5781 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5782 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5783 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5784 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5785 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5786 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5787 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5788 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5789 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5790 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5791 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5792 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5793 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5794 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5795
5796 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5797 _XOPEN_SOURCE_EXTENDED for XPG4.
5798
5799 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5800
5801 * Makeconfig (localtime): Remove variable.
5802 (inst_localtime-file): Likewise.
5803
5804 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5805
5806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5807 Update.
5808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5809 Update.
5810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5811 Update.
5812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5813 Update.
5814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5815 Update.
5816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5817 Update.
5818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5819 Update.
5820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5821 Update.
5822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5823 Update.
5824
5825 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5826
5827 [BZ #2550]
5828 [BZ #2570]
5829 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5830 comparisons to determine direction to adjust input.
5831 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5832 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5833 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5834 Likewise.
5835 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5836 Likewise.
5837 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5838 Likewise.
5839 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5840 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5841 Likewise.
5842 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5843 Likewise.
5844 * math/libm-test.inc (nexttoward_test): Add more tests.
5845
5846 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5847
5848 [BZ #14040]
5849 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5850 in version GLIBC_2.1, not GLIBC_2.0.
5851 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5852 Likewise.
5853
5854 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5855
5856 [BZ #13942]
5857 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5858 (1 - x) * (1 + x).
5859 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5860 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5861 * math/libm-test.inc (acos_test): Add more tests.
5862 (asin_test): Likewise.
5863 * sysdeps/i386/fpu/libm-test-ulps: Update.
5864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5865
5866 [BZ #14034]
5867 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5868 of square root.
5869 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5870 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5871 * math/libm-test.inc (acos_test_tonearest): New function.
5872 (acos_test_towardzero): Likewise.
5873 (acos_test_downward): Likewise.
5874 (acos_test_upward): Likewise.
5875 (asin_test_tonearest): Likewise.
5876 (asin_test_towardzero): Likewise.
5877 (asin_test_downward): Likewise.
5878 (asin_test_upward): Likewise.
5879 (main): Call the new functions.
5880 * sysdeps/i386/fpu/libm-test-ulps: Update.
5881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5882
5883 [BZ #13884]
5884 [BZ #13924]
5885 * math/e_exp10.c: Include <float.h>.
5886 (__ieee754_exp10): Handle underflow here rather than multiplying
5887 large negative argument by M_LN10.
5888 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5889 of __ieee754_expf.
5890 * math/e_exp10l.c: Include <float.h>.
5891 (__ieee754_exp10l): Handle underflow here rather than multiplying
5892 large negative argument by M_LN10l.
5893 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5894 spurious overflow exception on underflow.
5895
5896 2012-04-29 Marek Polacek <polacek@redhat.com>
5897
5898 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5899 (__fortify_function): New macro.
5900 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5901 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5902 __extern_always_inline.
5903 * libio/bits/stdio2.h: Likewise.
5904 * libio/bits/stdio.h: Likewise.
5905 * string/string.h: Likewise.
5906 * string/bits/string3.h: Likewise.
5907 * include/stdio.h: Likewise.
5908 * stdlib/bits/stdlib.h: Likewise.
5909 * stdlib/stdlib.h: Likewise.
5910 * rt/bits/mqueue2.h: Likewise.
5911 * rt/mqueue.h: Likewise.
5912 * posix/bits/unistd.h: Likewise.
5913 * posix/unistd.h: Likewise.
5914 * io/bits/poll2.h: Likewise.
5915 * io/bits/fcntl2.h: Likewise.
5916 * io/fcntl.h: Likewise.
5917 * io/sys/poll.h: Likewise.
5918 * misc/bits/syslog.h: Likewise.
5919 * misc/bits/syslog-ldbl.h: Likewise.
5920 * misc/sys/syslog.h: Likewise.
5921 * socket/bits/socket2.h: Likewise.
5922 * socket/sys/socket.h: Likewise.
5923 * debug/tst-chk1.c: Likewise.
5924 * wcsmbs/bits/wchar2.h: Likewise.
5925 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5926 * wcsmbs/wchar.h: Likewise.
5927
5928 2012-04-29 Andreas Jaeger <aj@suse.de>
5929
5930 * Makerules (tests): Remove enable-check-abi protection.
5931 (check-abi-warn): Remove.
5932 (check-abi-%): Remove check-abi-warn usage.
5933
5934 * configure.in: Remove check-abi configure option.
5935 * configure: Regenerated.
5936 * config.make.in (enable-check-abi): Remove.
5937
5938 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5939
5940 [BZ #14033]
5941 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5942 double functions to double *_finite functions.
5943
5944 [BZ #13941]
5945 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5946 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5947 LDBL_MIN_EXP.
5948 * stdio-common/Makefile (tests): Add tst-sprintf3.
5949 * stdio-common/tst-sprintf3.c: New file.
5950
5951 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5952 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5953
5954 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5955
5956 * conform/conformtest.pl: Remove duplicate typed-constant
5957 handling.
5958
5959 2012-04-28 David S. Miller <davem@davemloft.net>
5960
5961 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5962 (check-abi-%): Remove AWK script prerequisite and explicit
5963 abilist directory.
5964 (check-abi): Rewrite to just diff the symlist with the abilist.
5965 (config-tls, config-abi-config): Delete, no longer used.
5966 (update-abi-%): Remove AWK script and explicit abilist directory.
5967 (update-abi): Rewrite to simply compare and conditionally copy the
5968 symlist and the sysdep abilist file. Remove update-abi-config
5969 checks.
5970 * abilist/ld.abilist: Remove.
5971 * abilist/libBrokenLocale.abilist: Remove.
5972 * abilist/libanl.abilist: Remove.
5973 * abilist/libcrypt.abilist: Remove.
5974 * abilist/libdl.abilist: Remove.
5975 * abilist/librt.abilist: Remove.
5976 * abilist/libthread_db.abilist: Remove.
5977 * abilist/libutil.abilist: Remove.
5978 * scripts/extract-abilist.awk: Remove.
5979 * scripts/merge-abilist.awk: Remove.
5980 * sysdeps/generic/libcidn.abilist: New file.
5981 * sysdeps/generic/libnss_compat.abilist: New file.
5982 * sysdeps/generic/libnss_db.abilist: New file.
5983 * sysdeps/generic/libnss_dns.abilist: New file.
5984 * sysdeps/generic/libnss_files.abilist: New file.
5985 * sysdeps/generic/libnss_hesiod.abilist: New file.
5986 * sysdeps/generic/libnss_nis.abilist: New file.
5987 * sysdeps/generic/libnss_nisplus.abilist: New file.
5988 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5989 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5990 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5991 file.
5992 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5993 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5994 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5995 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5996 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5997 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5998 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5999 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6000 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6001 file.
6002 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6003 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6004 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6005 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6006 file.
6007 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6008 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6009 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6010 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6011 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6012 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6013 file.
6014 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6015 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6016 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6017 file.
6018 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6020 New file.
6021 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6022 New file.
6023 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6024 New file.
6025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6026 New file.
6027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6028 New file.
6029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6030 New file.
6031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6032 New file.
6033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6034 New file.
6035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6036 New file.
6037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6038 New file.
6039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6040 New file.
6041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6042 New file.
6043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6044 New file.
6045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6046 file.
6047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6048 New file.
6049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6050 New file.
6051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6052 file.
6053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6054 New file.
6055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6056 New file.
6057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6058 file.
6059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6060 New file.
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6062 New file.
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6064 New file.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6066 New file.
6067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6068 New file.
6069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6070 New file.
6071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6073 file.
6074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6075 New file.
6076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6077 file.
6078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6079 file.
6080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6081 file.
6082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6083 file.
6084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6085 file.
6086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6087 New file.
6088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6089 file.
6090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6091 file.
6092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6093 New file.
6094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6095 file.
6096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6098 file.
6099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6100 New file.
6101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6102 file.
6103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6104 file.
6105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6106 file.
6107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6108 file.
6109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6110 file.
6111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6112 New file.
6113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6114 file.
6115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6116 file.
6117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6118 New file.
6119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6120 file.
6121 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6122 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6123 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6124 file.
6125 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6126 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6127 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6128 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6129 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6130 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6131 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6132 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6133 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6134 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6137 file.
6138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6139 New file.
6140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6141 file.
6142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6143 file.
6144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6145 file.
6146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6147 file.
6148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6149 file.
6150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6151 New file.
6152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6153 New file.
6154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6155 file.
6156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6157 New file.
6158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6159 file.
6160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6162 file.
6163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6164 New file.
6165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6166 file.
6167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6168 file.
6169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6170 file.
6171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6172 file.
6173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6174 file.
6175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6176 New file.
6177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6178 New file.
6179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6180 file.
6181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6182 New file.
6183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6184 file.
6185
6186 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6187
6188 * conform/conformtest.pl: Fix typo in handling typed-constant from
6189 allow-header.
6190
6191 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6192
6193 * README: Cut down references to pre-2.6 Linux kernels and
6194 Linuxthreads. Update lists of configurations in libc and ports
6195 and sort alphabetically. Say "or newer" with Linux kernel version
6196 requirements.
6197
6198 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6199
6200 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6201
6202 [BZ #887]
6203 * math/libm-test.inc (logb_test_downward): New test to expose
6204 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6205 rounding mode.
6206
6207 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6208
6209 [BZ #14027]
6210 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6211 to be done.
6212 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6213 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6214
6215 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6216
6217 * sysdeps/unix/i386/brk.S: Remove file.
6218 * sysdeps/unix/i386/dl-brk.S: Likewise.
6219 * sysdeps/unix/i386/pipe.S: Likewise.
6220 * sysdeps/unix/i386/sigreturn.S: Likewise.
6221 * sysdeps/unix/i386/syscall.S: Likewise.
6222 * sysdeps/unix/i386/vfork.S: Likewise.
6223 * sysdeps/unix/i386/wait.S: Likewise.
6224
6225 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6226 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6227
6228 * configure.in (arm*-none*): Do not allow without
6229 --enable-hacker-mode.
6230 (netbsd*): Remove case setting base_os.
6231 (386bsd*): Likewise.
6232 (freebsd*): Likewise.
6233 (bsdi*): Likewise.
6234 (osf*): Likewise.
6235 (sunos*): Likewise.
6236 (ultrix*): Likewise.
6237 (newsos*): Likewise.
6238 (dynix*): Likewise.
6239 (*bsd*): Likewise.
6240 (sysv*): Likewise.
6241 (isc*): Likewise.
6242 (esix*): Likewise.
6243 (sco*): Likewise.
6244 (minix*): Likewise.
6245 (irix4*): Likewise.
6246 (irix6*): Likewise.
6247 (solaris[2-9]*): Likewise.
6248 (none): Likewise.
6249 * configure: Regenerated.
6250
6251 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6252
6253 [BZ #11521]
6254 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6255 overflow or cancellation in calculating denominator.
6256 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6257 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6258 down expression to avoid unexpected rounding in newer GCCs.
6259 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6260
6261 2012-04-26 David S. Miller <davem@davemloft.net>
6262
6263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6264 long-double compat symbols.
6265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6278
6279 2012-04-25 David S. Miller <davem@davemloft.net>
6280
6281 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6282 HWCAP_* values only after the memory barriers have been defined.
6283 (atomic_full_barrier): Define.
6284 (atomic_read_barrier): Define.
6285 (atomic_write_barrier): Define.
6286
6287 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6288
6289 * shlib-versions: Add libgcc_s version information.
6290 * sysdeps/generic/libgcc_s.h: Remove.
6291 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6292 libgcc_s.h.
6293 * sysdeps/gnu/unwind-resume.c: Likewise.
6294 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6295
6296 2012-04-25 David S. Miller <davem@davemloft.net>
6297
6298 * sysdeps/unix/sparc/brk.S: Delete.
6299 * sysdeps/unix/sparc/dl-brk.S: Delete.
6300 * sysdeps/unix/sparc/pipe.S: Delete.
6301 * sysdeps/unix/sparc/sysdep.S: Delete.
6302 * sysdeps/unix/sparc/sysdep.h: Delete.
6303 * sysdeps/unix/sparc/vfork.S: Delete.
6304 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6305 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6306 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6307 ret_ERRVAL, r0, r1, MOVE): Define.
6308 (JUMPTARGET): Remove.
6309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6310 sysdeps/unix/sparc/sysdep.h
6311 (ENTRY, END): Remove.
6312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6313
6314 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6315
6316 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6317 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6318 -DIS_IN_build.
6319
6320 * timezone/README: Update upstream location and email address for
6321 tzcode and tzdata.
6322 * timezone/zdump.c: Update from tzcode 2012b.
6323 * timezone/zic.c: Likewise.
6324
6325 * configure.in (libc_cv_as_needed): Remove test.
6326 * configure: Regenerated.
6327 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6328 conditional definition.
6329 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6330 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6331 * config.make.in (have-as-needed): Remove variable.
6332
6333 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6334 Paul Pluzhnikov <ppluzhnikov@google.com>
6335
6336 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6337 strings correctly.
6338
6339 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6340
6341 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6342 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6343 * sysdeps/sh/strlen.S: Likewise.
6344
6345 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6346
6347 * sysdeps/unix/fork.S: Remove file.
6348 * sysdeps/unix/i386/fork.S: Likewise.
6349 * sysdeps/unix/sparc/fork.S: Likewise.
6350
6351 * sysdeps/unix/system.c: Remove file.
6352 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6353
6354 * sysdeps/unix/getegid.S: Remove file.
6355 * sysdeps/unix/geteuid.S: Likewise.
6356
6357 2012-04-24 Roland McGrath <roland@hack.frob.com>
6358
6359 * scripts/check-localplt.awk: New file.
6360 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6361 of diff.
6362 * scripts/data/localplt-generic.data: Add a comment.
6363
6364 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6365 NODE when __dir_mkfile failed.
6366 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6367 Reported by Ludovic Courtès <ludo@gnu.org>.
6368
6369 2012-04-24 Andreas Jaeger <aj@suse.de>
6370
6371 * Makerules (common-clean): Also remove gen-as-const-headers
6372 files.
6373
6374 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6375
6376 * Makerules (native-compile): Do not change working directory for
6377 build. Use $(OUTPUT_OPTION) in command.
6378 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6379
6380 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6381
6382 [BZ #13886]
6383 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6384 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6385 * math/libm-test.inc (floor_test): Add more tests.
6386 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6387
6388 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6389
6390 * sysdeps/unix/getdents.c: Remove file.
6391 * sysdeps/unix/sysv/getdents.c: Likewise.
6392 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6393
6394 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6395 sysdeps/unix/mman/syscalls.list.
6396 (mmap): Likewise.
6397 (mprotect): Likewise.
6398 (msync): Likewise.
6399 (munmap): Likewise.
6400 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6401 * sysdeps/unix/mman/syscalls.list: Remove.
6402 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6403
6404 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6405 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6406 * configure: Regenerated.
6407 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6408 $(libgcc_s_suffix).
6409 * config.make.in (libgcc_s_suffix): Remove variable.
6410
6411 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6412
6413 * sysdeps/unix/sysv/gethostname.c: Move to ...
6414 * sysdeps/posix/gethostname.c: ... here.
6415
6416 * sysdeps/unix/execve.S: Remove file.
6417
6418 * sysdeps/unix/_exit.S: Remove file.
6419
6420 2012-04-23 Andreas Jaeger <aj@suse.de>
6421
6422 [BZ #13739]
6423 * manual/Makefile: Remove make dist support, there's no
6424 need for a stand-alone documentation tar ball.
6425 (TEXI2DVI): Define always, it's not in Makeconfig.
6426 (dist): Removed.
6427 (tar-it): Removed.
6428 (edition): Removed.
6429 (glibc-doc-$(edition).tar): Removed
6430 (%.Z): Removed.
6431 (%.gz): Removed.
6432 (%.uu): Removed.
6433 (ETAGS): Remove, it's in Makeconfig.
6434 (move-if-change): Remove, it's in Makeconfig.
6435
6436 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6437
6438 [BZ #13970]
6439 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6440 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6441 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6442 (strtod_l, strtof_l, strtold_l): Remove __wur.
6443 It is not necessarily an error to ignore strtol's return value.
6444 One can reliably look at the stored endptr to decide whether
6445 the number had valid syntax.
6446
6447 2012-04-21 Andreas Jaeger <aj@suse.de>
6448
6449 [BZ #13739]
6450 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6451
6452 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6453
6454 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6455 * sysdeps/unix/sysv/Versions: Remove file.
6456
6457 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6458
6459 [BZ #13927]
6460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6461
6462 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6463
6464 [BZ #7064]
6465 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6466 version from __vm86.
6467
6468 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6469
6470 * sysdeps/unix/common/lxstat.c: Remove file.
6471 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6472
6473 * sysdeps/unix/sysv/Makefile: Remove file.
6474
6475 * sysdeps/unix/sysv/direct.h: Remove file.
6476
6477 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6478 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6479 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6480 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6481 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6482 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6483 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6484
6485 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6486
6487 * sysdeps/unix/xmknod.c: Remove file.
6488 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6489
6490 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6491
6492 * sysdeps/unix/sysv/i386/time.S: Remove file.
6493
6494 * sysdeps/unix/fxstat.c: Remove file.
6495 * sysdeps/unix/xstat.c: Likewise.
6496 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6497
6498 * sysdeps/unix/sysv/sigaction.c: Remove file.
6499
6500 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6501 (sysdep_headers): Remove variable.
6502 [termio.h not in sysdep_headers] (generated): Likewise.
6503 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6504 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6505 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6506 * sysdeps/unix/sysv/tcflow.c: Likewise.
6507 * sysdeps/unix/sysv/tcflush.c: Likewise.
6508 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6509 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6510 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6511 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6512 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6513
6514 * sysdeps/unix/siglist.c: Remove file.
6515
6516 * sysdeps/unix/getppid.S: Remove file.
6517
6518 * sysdeps/unix/mkdir.c: Remove file.
6519 * sysdeps/unix/rmdir.c: Likewise.
6520
6521 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6522
6523 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6524 ERR_MAX value.
6525 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6526 errlist-compat value.
6527
6528 2012-04-18 David S. Miller <davem@davemloft.net>
6529
6530 * sysdeps/generic/memcopy.h (reg_char): Delete.
6531 * debug/strcat_chk.c: Use char, not reg_char.
6532 * debug/strcpy_chk.c: Likewise.
6533 * debug/strncat_chk.c: Likewise.
6534 * debug/strncpy_chk.c: Likewise.
6535 * string/memchr.c: Likewise.
6536 * string/memrchr.c: Likewise.
6537 * string/rawmemchr.c: Likewise.
6538 * string/strcat.c: Likewise.
6539 * string/strchr.c: Likewise.
6540 * string/strchrnul.c: Likewise.
6541 * string/strcmp.c: Likewise.
6542 * string/strcpy.c: Likewise.
6543 * string/strncat.c: Likewise.
6544 * string/strncmp.c: Likewise.
6545 * string/strncpy.c: Likewise.
6546
6547 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6548
6549 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6550 __builtin_memcopy is called when src and dest ranges are known to not
6551 overlap.
6552
6553 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6554
6555 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6556 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6557 fwd_align_merge macro call.
6558 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6559 bwd_align_merge macro call.
6560 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6561
6562 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6563
6564 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6565 bwd_align_merge macros.
6566 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6567 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6568 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6569
6570 2012-04-18 David S. Miller <davem@davemloft.net>
6571
6572 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6573
6574 2012-04-18 Andreas Jaeger <aj@suse.de>
6575
6576 [BZ# 6794]
6577 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6578 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6579 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6580
6581 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6582 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6583 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6584
6585 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6586 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6587 Adjust for changed ldbl-128 files.
6588
6589 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6590 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6591 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6592
6593 2012-04-17 David S. Miller <davem@davemloft.net>
6594
6595 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6596
6597 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6598
6599 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6600 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6601 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6602 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6603 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6604 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6605
6606 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6607
6608 [BZ #6794]
6609 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6610 * math/libm-test.inc: Add ilogb errno and exception tests.
6611 * math/w_ilogb.c: New file: ilogb wrapper.
6612 * math/w_ilogbf.c: New file: ilogbf wrapper.
6613 * math/w_ilogbl.c: New file: ilogbl wrapper.
6614 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6615 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6616 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6617 exception being thrown with 0.0 as argument.
6618 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6619 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6620 exception being thrown with 0.0 as argument.
6621 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6622 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6623 exception being thrown with 0.0 as argument.
6624 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6625 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6626 exception being thrown with 0.0 as argument.
6627 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6628 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6629 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6630 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6631 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6632 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6633 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6634 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6635 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6636
6637 2012-04-17 Petr Baudis <pasky@ucw.cz>
6638
6639 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6640 with altivec.
6641
6642 2012-04-16 Marek Polacek <polacek@redhat.com>
6643
6644 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6645
6646 2012-04-16 Marek Polacek <polacek@redhat.com>
6647
6648 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6649 operands of fdivp instruction.
6650
6651 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6652
6653 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6654 * elf/tst-auditmod3b.c: Likewise.
6655 * elf/tst-auditmod4b.c: Likewise.
6656 * elf/tst-auditmod5b.c: Likewise.
6657 * elf/tst-auditmod6b.c: Likewise.
6658 * elf/tst-auditmod6c.c: Likewise.
6659 * elf/tst-auditmod7b.c: Likewise.
6660 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6661 * sysdeps/x86_64/preconfigure.in: Likewise.
6662 * sysdeps/x86_64/preconfigure: Regenerated.
6663
6664 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6665
6666 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6667 __ILP32__.
6668
6669 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6670
6671 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6672 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6673
6674 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6675
6676 [BZ #13973]
6677 * locale/iso-639.def: Fix gl language name. Spotted by
6678 Yaron Shahrabani.
6679
6680 2012-04-12 Roland McGrath <roland@hack.frob.com>
6681
6682 [BZ #2074]
6683 * libio/libio.h (__io_write_fn): Update comment.
6684
6685 2012-04-12 Petr Baudis <pasky@ucw.cz>
6686
6687 [BZ #2074]
6688 * stdio.texi (Hook Functions): The user provided writer function
6689 is not allowed to return -1.
6690
6691 2012-04-11 David S. Miller <davem@davemloft.net>
6692
6693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6694
6695 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6696
6697 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6698 Add a leading slash to rtkaio.
6699
6700 2012-04-11 Jim Meyering <meyering@redhat.com>
6701
6702 [BZ #11959]
6703 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6704 It is not necessarily an error to ignore fwrite's return
6705 value. One can reliably use ferror to test for errors after
6706 the fact.
6707
6708 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6709
6710 * bits/types.h (__snseconds_t): New type.
6711 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6712
6713 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6715 (__SNSECONDS_T_TYPE): Likewise.
6716 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6717 (__SNSECONDS_T_TYPE): Likewise.
6718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6719 (__SNSECONDS_T_TYPE): Likewise.
6720
6721 2012-04-10 Andreas Jaeger <aj@suse.de>
6722
6723 [BZ #2636]
6724 * manual/time.texi (Processor Time): Return type of times is
6725 elapsed real time since an arbitrary point in the past.
6726 (CPU Time): Move CLK_TCK from here...
6727 (Processor Time): ...to here. Correct description.
6728 * manual/conf.texi (Constants for Sysconf): Correct description of
6729 _SC_CLK_TCK.
6730
6731 2012-04-10 David S. Miller <davem@davemloft.net>
6732
6733 [BZ #13967]
6734 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6735 where the is a gap between DT_REL(A) and DT_JMPREL.
6736
6737 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6738
6739 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6740 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6741 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6742
6743 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6744
6745 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6746 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6747 (dl_main): Handle --inhibit-cache.
6748 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6749 _dl_inhibit_cache.
6750 * elf/dl-load.c (_dl_map_object): Use it.
6751 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6752
6753 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6754
6755 [BZ #13872]
6756 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6757 (__ieee754_powl): Saturate large exponents rather than testing for
6758 overflow of y*log2(x).
6759 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6760 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6761 exceptions.
6762
6763 [BZ #11521]
6764 * math/s_ctan.c: Include <float.h>.
6765 (__ctan): Avoid internal overflow or cancellation in calculating
6766 denominator.
6767 * math/s_ctanf.c: Likewise.
6768 * math/s_ctanl.c: Likewise.
6769 * math/s_ctanh.c: Likewise.
6770 * math/s_ctanhf.c: Likewise.
6771 * math/s_ctanhl.c: Likewise.
6772 * math/libm-test.inc (ctan_test): Add more tests.
6773 (ctanh_test): Likewise.
6774 * sysdeps/i386/fpu/libm-test-ulps: Update.
6775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6776
6777 2012-04-09 Andreas Jaeger <aj@suse.de>
6778
6779 [BZ #6894]
6780 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6781 is an optional BSD extension.
6782
6783 [BZ #10254]
6784 * manual/stdio.texi (Opening Streams): Document additional fopen
6785 parameters.
6786
6787 2012-04-09 Roland McGrath <roland@hack.frob.com>
6788
6789 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6790 %eax without telling the compiler.
6791
6792 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6793
6794 [BZ # 13963]
6795 * manual/install.texi: Use sourceware.org.
6796
6797 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6798
6799 [BZ #13873]
6800 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6801 (__ieee754_pow): Generate overflow and underflow using huge*huge
6802 and tiny*tiny rather than just returning constant infinity or zero
6803 for large exponents.
6804 * math/libm-test.inc (pow_test): Require overflow exceptions for
6805 applicable cases of large exponents.
6806
6807 [BZ #706]
6808 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6809 (__ieee754_pow): Use iterative multiplication algorithm only for
6810 integer exponents with absolute value below 1024. Check for odd
6811 integer exponents when using algorithm for real exponents.
6812 * math/libm-test.inc (pow_test): Add more tests.
6813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6814
6815 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6816
6817 [BZ #13705]
6818 * math/libm-test.inc (exp_test): Do not allow overflow exception
6819 on underflow test.
6820
6821 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6822
6823 [BZ #13705]
6824 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6825 instead of __kernel_standard_f.
6826
6827 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6828
6829 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6830 * sysdeps/x86_64/memset_chk.S: Likewise.
6831
6832 2012-04-08 Andreas Jaeger <aj@suse.de>
6833
6834 [BZ #10153]
6835 * manual/startup.texi (Environment Access): Describe return value
6836 for putenv and setenv.
6837
6838 [BZ #6895]
6839 * manual/filesys.texi (Directory Entries): Add description for
6840 DT_LNK.
6841
6842 [BZ #6890]
6843 * manual/filesys.texi (Directory Entries): Clarify that it's file
6844 system not operating system in the description of DT_UNKNOWN.
6845
6846 [BZ #6578]
6847 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6848
6849 2012-04-08 Stephen Compall <s11@member.fsf.org>
6850
6851 [BZ #6649]
6852 * manual/llio.texi (Opening and Closing Files): Add cross
6853 reference to explain mode argument.
6854
6855 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6856
6857 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6858 * sysdeps/x86_64/memset_chk.S: Likewise.
6859
6860 2012-04-07 David S. Miller <davem@davemloft.net>
6861
6862 * elf/elf.h (R_SPARC_WDISP10): Define.
6863 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6864 R_SPARC_SIZE32.
6865 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6866 R_SPARC_SIZE64 and R_SPARC_H34.
6867
6868 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6869
6870 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6871 conditions and remove no longer applicable assertion.
6872
6873 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6874
6875 * bits/byteswap.h: Include <features.h>.
6876 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6877 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6878
6879 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6880
6881 * bits/byteswap.h (__bswap_16): Removed.
6882 Include <bits/byteswap-16.h> to get __bswap_16.
6883 * sysdeps/i386/bits/byteswap.h: Likewise.
6884 * sysdeps/s390/bits/byteswap.h: Likewise.
6885 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6886 * bits/byteswap-16.h: New file.
6887 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6888 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6889 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6890 * string/Makefile (headers): Add bits/byteswap-16.h.
6891
6892 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6893
6894 [BZ #13895]
6895 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6896 extra indirection.
6897 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6898 * nss/tst-nss-static.c: New.
6899
6900 2012-04-06 Robert Millan <rmh@gnu.org>
6901
6902 [BZ #6486]
6903 * manual/llio.texi (File Position Primitive): lseek
6904 refers to WHENCE when it really means OFFSET.
6905
6906 2012-04-06 Andreas Jaeger <aj@suse.de>
6907
6908 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6909 strncmp declarations.
6910
6911 * abilist/libc.abilist: Add __poll and __ppoll.
6912
6913 2012-04-05 David S. Miller <davem@davemloft.net>
6914
6915 * scripts/check-local-headers.sh: Accept a host triplet in the
6916 path matched by the exclude regexp.
6917
6918 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6919 definition.
6920 * sysdeps/powerpc/powerpc32/dl-machine.h
6921 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6922 * sysdeps/s390/s390-32/dl-machine.h
6923 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6924 * sysdeps/sparc/sparc32/dl-machine.h
6925 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6926 * sysdeps/sparc/sparc64/dl-machine.h
6927 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6928
6929 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6930 lazy binding.
6931 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6932 undefined symbol errors.
6933
6934 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6935 DT_NEEDED entries.
6936
6937 2012-04-05 Michael Matz <matz@suse.de>
6938
6939 [BZ #13592]
6940 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6941
6942 2012-04-05 Andreas Jaeger <aj@suse.de>
6943
6944 [BZ #13908]
6945 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6946 comment.
6947
6948 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6949
6950 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6951 which ROUND is no valid rounding mode.
6952
6953 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6954
6955 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6956 read again.
6957 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6958
6959 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6960
6961 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6962 an exception using FPU order intentionally.
6963
6964 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6965
6966 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6967 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6968 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6969 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6970
6971 2012-04-05 Simon Josefsson <simon@josefsson.org>
6972
6973 [BZ #12340]
6974 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6975 EINVAL when BUFLEN is too smal.
6976
6977 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6978
6979 [BZ #13553]
6980 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6981 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6982
6983 2012-04-03 Andreas Jaeger <aj@suse.de>
6984
6985 [BZ #13938]
6986 * manual/setjmp.texi (System V contexts): Fix sentence.
6987
6988 [BZ #13926]
6989 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6990 New macro for this case.
6991 [!__GNUC__] (__bswap_64): New inline function for this case.
6992 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6993 * bits/byteswap.h: Likewise.
6994 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6995 ull, guard with __GLIBC_HAVE_LONG_LONG.
6996
6997 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6998 __GLIBC_HAVE_LONG_LONG.
6999
7000 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7001 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7002
7003 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7004
7005 [BZ #13691]
7006 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7007 inptr and inend, rather than using last_ch.
7008
7009 2012-04-02 David S. Miller <davem@davemloft.net>
7010
7011 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7012 * stdio-common/printf-parse.h (read_int): Change return type to
7013 'int', return -1 on INT_MAX overflow.
7014 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7015 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7016 overflows INT_MAX. Check for overflow of in-format-string precision
7017 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7018 SIZE_MAX not INT_MAX for integer overflow test.
7019 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7020 skip the construct in the format string but do not record anything.
7021 * stdio-common/bug22.c: Adjust to test both width/prevision
7022 INT_MAX overflow as well as total length INT_MAX overflow. Check
7023 explicitly for proper errno values.
7024
7025 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7026
7027 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7028 CHAR_MAX.
7029 * string/test-strcmp.c [! WIDE]: Likewise.
7030 * time/tst-mktime2.c: Likewise for INT_MAX.
7031 * string/test-string.h: #include <sys/param.h> for MIN.
7032
7033 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7034 * sysdeps/i386/init-first.c (init): Likewise.
7035 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7036 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7037 * sysdeps/sh/init-first.c (init): Likewise.
7038
7039 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7040
7041 * po/ru.po: Update from translation team.
7042 * po/vi.po: Likewise.
7043
7044 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7045
7046 * resolv/nss_dns/dns-host.c: Merge copyright years.
7047
7048 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7049
7050 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7051 Optimize memcpy with prefetch if
7052 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7053 src, dst pointers have unequal 16 byte alignments.
7054
7055 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7056
7057 [BZ #13928]
7058 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7059 from a CNAME entry and return the minimum ttl for the query.
7060 (gaih_getanswer_slice): Likewise.
7061
7062 2012-03-30 Jeff Law <law@redhat.com>
7063
7064 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7065 due to long keys.
7066 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7067 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7068
7069 * resolv/nss_dns/dns-host.c: Update copyright year.
7070
7071 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7072
7073 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7074 requests to save a system call. Fix check that all bytes are sent.
7075
7076 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7077 comments for sendmmsg.
7078
7079 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7080
7081 [BZ #13691]
7082 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7083 with only 1 character between 0x0041 and 0x01b0.
7084 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7085 * wcsmbs/tst-mbsnrtowcs.c: New file.
7086
7087 2012-03-29 David S. Miller <davem@davemloft.net>
7088
7089 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7090 small copies by hand.
7091
7092 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7093
7094 [BZ #13761]
7095 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7096 _nss_compat_initgroups_dyn): Fall back to malloc/free
7097 for large group memberships.
7098
7099 2012-03-28 David S. Miller <davem@davemloft.net>
7100
7101 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7102 that branches into memcpy.
7103 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7104 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7105 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7106 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7107 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7108 bits.
7109 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7110 implementation too.
7111 * sysdeps/sparc/mempcpy.S: New file.
7112
7113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7114 the IFUNC routine in the libc case.
7115 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7116
7117 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7118 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7119 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7120 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7121 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7122 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7123 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7124 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7125
7126 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7127 loop to 256 bytes instead of 64 bytes and fix test signedness.
7128
7129 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7130 * sysdeps/sparc/sparc32/Makefile: rather than here...
7131 * sysdeps/sparc/sparc64/Makefile: and here.
7132
7133 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7134
7135 * malloc/mallocbug.c: Avoid warnings about unused variables.
7136
7137 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7138
7139 [BZ #13760]
7140 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7141 in the right place. Discard and retry query if response is
7142 larger than input buffer size.
7143
7144 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7145
7146 [BZ #369]
7147 [BZ #2678]
7148 [BZ #3866]
7149 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7150 x for large integer exponent.
7151 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7152 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7153 sign of result as needed afterwards.
7154 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7155 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7156 result for underflowing pow the same as for overflow.
7157 (__kernel_standard_l): Handle powl overflow and underflow here
7158 rather than calling __kernel_standard.
7159 * math/libm-test.inc (pow_test): Add more tests.
7160
7161 [BZ #3868]
7162 [BZ #13879]
7163 [BZ #13910]
7164 [BZ #13911]
7165 [BZ #13912]
7166 [BZ #13913]
7167 [BZ #13915]
7168 [BZ #13916]
7169 [BZ #13917]
7170 [BZ #13918]
7171 [BZ #13919]
7172 [BZ #13920]
7173 [BZ #13921]
7174 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7175 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7176 (__kernel_standard_l): New function.
7177 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7178 __kernel_standard.
7179 * math/w_acosl.c (__acosl): Likewise.
7180 * math/w_asinl.c (__asinl): Likewise.
7181 * math/w_atan2l.c (__atan2l): Likewise.
7182 * math/w_atanhl.c (__atanhl): Likewise.
7183 * math/w_coshl.c (__coshl): Likewise.
7184 * math/w_exp10l.c (__exp10l): Likewise.
7185 * math/w_exp2l.c (__exp2l): Likewise.
7186 * math/w_fmodl.c (__fmodl): Likewise.
7187 * math/w_hypotl.c (__hypotl): Likewise.
7188 * math/w_j0l.c (__j0l, __y0l): Likewise.
7189 * math/w_j1l.c (__j1l, __y1l): Likewise.
7190 * math/w_jnl.c (__jnl, __ynl): Likewise.
7191 * math/w_lgammal.c (__lgammal): Likewise.
7192 * math/w_log10l.c (__log10l): Likewise.
7193 * math/w_log2l.c (__log2l): Likewise.
7194 * math/w_logl.c (__logl): Likewise.
7195 * math/w_powl.c (__powl): Likewise.
7196 * math/w_remainderl.c (__remainderl): Likewise.
7197 * math/w_scalbl.c (sysv_scalbl): Likewise.
7198 * math/w_sinhl.c (__sinhl): Likewise.
7199 * math/w_sqrtl.c (__sqrtl): Likewise.
7200 * math/w_tgammal.c (__tgammal): Likewise.
7201 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7202 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7203 * math/libm-test.inc (acos_test): Add more tests.
7204 (acosh_test): Likewise.
7205 (asin_test): Likewise.
7206 (atanh_test): Likewise.
7207 (exp_test): Likewise.
7208 (exp10_test): Likewise.
7209 (exp2_test): Likewise.
7210 (expm1_test): Likewise.
7211 (lgamma_test): Likewise.
7212 (log_test): Likewise.
7213 (log10_test): Likewise.
7214 (log1p_test): Likewise.
7215 (log2_test): Likewise.
7216 (pow_test): Do not allow some spurious overflow exceptions.
7217 (sqrt_test): Add more tests.
7218 (tgamma_test): Likewise.
7219 (y0_test): Likewise.
7220 (y1_test): Likewise.
7221 (yn_test): Likewise.
7222
7223 2012-03-27 Anton Blanchard <anton@samba.org>
7224
7225 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7226 MAP_HUGETLB.
7227 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7228 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7229 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7230
7231 2012-03-27 David S. Miller <davem@davemloft.net>
7232
7233 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7234
7235 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7236 have-as-vis3 check.
7237
7238 2012-03-27 Andreas Jaeger <aj@suse.de>
7239
7240 * sysdeps/x86_64/elf/configure.in: Moved to ...
7241 * sysdeps/x86_64/configure.in: ... here.
7242 * sysdeps/x86_64/elf/start.S: Moved to ...
7243 * sysdeps/x86_64/start.S: ... here.
7244 * sysdeps/x86_64/elf/configure: Delete.
7245
7246 * sysdeps/x86_64/configure.in: Merge contents from
7247 sysdeps/i386/configure.in (without i686 check).
7248
7249 * sysdeps/i386/elf/Versions: Merge into ...
7250 * sysdeps/i386/Versions: ... this.
7251 * sysdeps/i386/elf/Versions: Delete file.
7252 * sysdeps/i386/elf/start.S: Moved to ...
7253 * sysdeps/i386/start.S: ...here.
7254 * sysdeps/i386/elf/configure.in: Merge into...
7255 * sysdeps/i386/configure.in: ...here.
7256 * sysdeps/i386/elf/configure.in: Delete file.
7257 * sysdeps/i386/elf/configure: Delete file.
7258
7259 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7260 * debug/backtracesyms.c: ... here.
7261 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7262 * debug/backtracesymsfd.c: ... here.
7263 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7264 * sysdeps/generic/ifunc-sel.h: ... here.
7265
7266 * sysdeps/unix/i386/start.c: Delete file.
7267 * sysdeps/unix/sparc/start.c: Delete file.
7268 * sysdeps/unix/start.c: Delete file.
7269
7270 * sysdeps/sh/elf/configure.in: Moved to ...
7271 * sysdeps/sh/configure.in: ... here.
7272 * sysdeps/sh/elf/start.S: Moved to ...
7273 * sysdeps/sh/start.S: ... here.
7274 * sysdeps/sh/elf/configure: Delete file.
7275
7276 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7277 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7278 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7279 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7280 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7281 * sysdeps/powerpc/powerpc64/start.S: here.
7282 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7283 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7284 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7285 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7286 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7287
7288 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7289 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7290 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7291 * sysdeps/powerpc/powerpc32/start.S: ... here.
7292 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7293 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7294 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7295
7296 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7297 * sysdeps/powerpc/ifunc-sel.h: ... here.
7298 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7299 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7300
7301 * sysdeps/sparc/elf/configure.in: Moved to ...
7302 * sysdeps/sparc/configure.in: ... here.
7303 * sysdeps/sparc/elf/configure: Delete file.
7304 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7305 * sysdeps/sparc/sparc32/start.S: ... here.
7306 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7307 * sysdeps/sparc/sparc64/start.S: ... here.
7308 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7309 * sysdeps/sparc/sparc32/Makefile: ... this.
7310 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7311 * sysdeps/sparc/sparc64/Makefile: ... this.
7312
7313 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7314 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7315 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7316 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7317 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7318 * sysdeps/s390/s390-32/setjmp.S: ... here.
7319 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7320 * sysdeps/s390/s390-32/configure.in: ... here.
7321 * sysdeps/s390/s390-32/elf/configure: Delete file.
7322 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7323 * sysdeps/s390/s390-32/start.S: ... here.
7324
7325 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7326 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7327 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7328 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7329 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7330 * sysdeps/s390/s390-64/setjmp.S: ... here.
7331 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7332 * sysdeps/s390/s390-64/configure.in: ... here
7333 * sysdeps/s390/s390-64/elf/configure: Delete file.
7334 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7335 * sysdeps/s390/s390-64/start.S: ... here.
7336 * sysdeps/s390/s390-64/elf/configure: Delete.
7337
7338 * configure.in: Remove support for elf directories in sysdeps.
7339
7340 * configure: Regenerated.
7341 * sysdeps/i386/configure: Regenerated.
7342 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7343 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7344 * sysdeps/s390/s390-32/configure: Regenerated.
7345 * sysdeps/s390/s390-64/configure: Regenerated.
7346 * sysdeps/sh/configure: Regenerated.
7347 * sysdeps/sparc/configure: Regenerated.
7348 * sysdeps/x86_64/configure: Regenerated.
7349
7350 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7351
7352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7353
7354 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7355 denormal result into account.
7356
7357 2012-03-25 Roland McGrath <roland@hack.frob.com>
7358
7359 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7360 Reported by Allan McRae <allan@archlinux.org>.
7361
7362 2012-03-23 Jeff Law <law@redhat.com>
7363
7364 * nss/getnssent.c (__nss_getent): Fix typo.
7365
7366 2012-03-23 David S. Miller <davem@davemloft.net>
7367
7368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7369
7370 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7371
7372 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7373 to pad to uint64_t for each field.
7374 (dl_tls_index): Replace unsigned long with uint64_t.
7375
7376 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7377 Paul Pluzhnikov <ppluzhnikov@google.com>
7378
7379 [BZ #6528]
7380 * grp/Makefile (otherlibs): Don't set it.
7381 * inet/Makefile (otherlibs): Likewise.
7382 * login/Makefile (otherlibs): Likewise.
7383 * nscd/Makefile (otherlibs): Likewise.
7384 * posix/Makefile (otherlibs): Likewise.
7385 * pwd/Makefile (otherlibs): Likewise.
7386 * rt/Makefile (otherlibs): Likewise.
7387 * sunrpc/Makefile (otherlibs): Likewise.
7388 * nss/Makefile (otherlibs): Likewise.
7389 Add libnss_files to routines and static-only-routines.
7390 ($(objpfx)getent): Remove rule.
7391 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7392 static-only-routines.
7393
7394 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7395
7396 [BZ #13892]
7397 * math/s_cexp.c: Include <float.h>.
7398 (__cexp): Handle exp result overflowing not necessarily
7399 overflowing both real and imaginary parts of result.
7400 * math/s_cexpf.c: Likewise.
7401 * math/s_cexpl.c: Likewise.
7402 * math/libm-test.inc (cexp_test): Add more tests.
7403 * sysdeps/i386/fpu/libm-test-ulps: Update.
7404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7405
7406 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7407
7408 * include/link.h (ELFW): New macro.
7409 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7410 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7411
7412 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7413
7414 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7415 with uint64_t.
7416
7417 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7418
7419 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7420 declaration.
7421 (struct La_x32_retval): Likewise.
7422
7423 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7424
7425 * sysdeps/x86_64/preconfigure.in: New file.
7426 * sysdeps/x86_64/preconfigure: New generated file.
7427
7428 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7429
7430 [BZ #13824]
7431 * math/e_exp2l.c: Include <float.h>.
7432 (__ieee754_exp2l): Handle overflow and underflow cases
7433 separately. Only pass fractional part of argument to
7434 __ieee754_expl.
7435 * math/libm-test.inc (exp2_test): Add more tests.
7436
7437 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7438 negating x to take absolute value.
7439 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7440 Likewise.
7441 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7442 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7443 Likewise.
7444 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7445 computing low part if x was negated.
7446 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7447
7448 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7449
7450 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7451 la_x32_gnu_pltexit.
7452 (pltexit): Cast int_retval to ptrdiff_t.
7453 * elf/tst-auditmod3b.c: Likewise.
7454 * elf/tst-auditmod4b.c: Likewise.
7455 * elf/tst-auditmod5b.c: Likewise.
7456 * elf/tst-auditmod6b.c: Likewise.
7457 * elf/tst-auditmod6c.c: Likewise.
7458 * elf/tst-auditmod7b.c: Likewise.
7459
7460 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7461 and x32_gnu_pltexit.
7462
7463 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7464 __ELF_NATIVE_CLASS.
7465 (La_x32_regs): New macro.
7466 (La_x32_retval): Likewise.
7467 (la_x32_gnu_pltenter): New function prototype.
7468 (la_x32_gnu_pltexit): Likewise.
7469
7470 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7471
7472 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7473 exponent.
7474
7475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7476
7477 * configure.in (libc_cv_cc_nofma): Check for option to disable
7478 generation of FMA instructions.
7479 * configure: Regenerate.
7480 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7481 * sysdeps/ieee754/dbl-64/Makefile: New file.
7482 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7483 Remove brandred-fma4.
7484 (CFLAGS-brandred-fma4.c): Remove.
7485 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7486 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7487 define.
7488 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7489 define.
7490
7491 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7492
7493 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7494 LLONG_MAX != LONG_MAX.
7495 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7496 (_fitoa_word): Likewise.
7497 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7498 LLONG_MAX != LONG_MAX.
7499 * stdio-common/_itowa.h: Include <_itoa.h>.
7500 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7501 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7502 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7503 only if not defined.
7504 (_ITOA_WORD_TYPE): Likewise.
7505 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7506 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7507
7508 2012-03-21 David S. Miller <davem@davemloft.net>
7509
7510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7511
7512 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7513
7514 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7515 of x86_64 when setting libc_cv_slibdir, libdir and
7516 libc_cv_localedir.
7517 * sysdeps/unix/sysv/linux/configure: Regenerated.
7518
7519 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7520
7521 * manual/lang.texi (Old Varargs): Remove section.
7522 (How Variadic): Update menu.
7523 (va_start): Do not mention varargs.h.
7524
7525 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7526 Joseph Myers <joseph@codesourcery.com>
7527
7528 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7529 link test.
7530 * configure: Regenerated.
7531
7532 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7533
7534 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7535 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7536 conformtest.pl
7537
7538 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7539
7540 * NOTES: Remove.
7541 * Makefile (files-for-dist): Remove NOTES.
7542 (NOTES): Remove rule.
7543 * README: Don't refer to NOTES.
7544 * manual/creature.texi: Don't include macros.texi.
7545 * manual/intro.texi (creature.texi): Remove comment referring to
7546 NOTES.
7547
7548 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7549 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7550 * configure: Regenerated.
7551 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7552 LIBC_TRY_CC_OPTION.
7553 (libc_cv_as_i686): Likewise.
7554 (libc_cv_cc_avx): Likewise.
7555 (libc_cv_cc_sse2avx): Likewise.
7556 (libc_cv_cc_fma4): Likewise.
7557 (libc_cv_cc_novzeroupper): Likewise.
7558 * sysdeps/i386/configure: Regenerated.
7559
7560 [BZ #13883]
7561 * sysdeps/i386/fpu/s_cexp.S: Remove.
7562 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7563 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7564 * math/libm-test.inc (cexp_test): Add more tests.
7565 * sysdeps/i386/fpu/libm-test-ulps: Update.
7566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7567
7568 2012-03-21 Allan McRae <allan@archlinux.org>
7569
7570 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7571
7572 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7573
7574 [BZ #13871]
7575 * math/w_exp2.c: Do not include <float.h>.
7576 (o_threshold, u_threshold): Remove.
7577 (__exp2): Calculate result before checking finiteness and calling
7578 __kernel_standard.
7579 * math/w_exp2f.c: Likewise.
7580 * math/w_exp2l.c: Likewise.
7581 * math/libm-test.inc (exp2_test): Require overflow exception for
7582 1e6 input.
7583
7584 [BZ #3866]
7585 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7586 range of signed 64-bit integers before using fistpll. Remove
7587 checks for whether integers fit in mantissa bits.
7588 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7589 the range of signed 32-bit integers before using fistpl. Remove
7590 checks for whether integers fit in mantissa bits.
7591 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7592 (__ieee754_powl): Test for y outside the range of signed 64-bit
7593 integers before using fistpll. Reduce 64-bit values to 63-bit
7594 ones as needed.
7595 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7596 divide-by-zero is raised for zero to large negative powers.
7597 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7598 (__ieee754_powl): Test for y outside the range of signed 64-bit
7599 integers before using fistpll. Reduce 64-bit values to 63-bit
7600 ones as needed.
7601 * math/libm-test.inc (pow_test): Add more tests.
7602
7603 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7604
7605 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7606 <stdio-common/_itoa.h>.
7607 * debug/segfault.c: Likewise.
7608 * elf/dl-cache.c: Likewise.
7609 * elf/dl-minimal.c: Likewise.
7610 * elf/dl-misc.c: Likewise.
7611 * elf/dl-sysdep.c: Likewise.
7612 * elf/dl-version.c: Likewise.
7613 * elf/rtld.c: Likewise.
7614 * hurd/hurdsock.c: Likewise.
7615 * hurd/lookup-retry.c: Likewise.
7616 * malloc/malloc.c: Likewise.
7617 * malloc/mtrace.c: Likewise.
7618 * nscd/nscd_getgr_r.c: Likewise.
7619 * nscd/nscd_getpw_r.c: Likewise.
7620 * nscd/nscd_getserv_r.c: Likewise.
7621 * posix/getopt_init.c: Likewise.
7622 * posix/wordexp.c: Likewise.
7623 * stdio-common/_itoa.c: Likewise.
7624 * stdio-common/printf_fphex.c: Likewise.
7625 * stdio-common/vfprintf.c: Likewise.
7626 * string/_strerror.c: Likewise.
7627 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7628 * sysdeps/i386/i686/hp-timing.h: Likewise.
7629 * sysdeps/mach/_strerror.c: Likewise.
7630 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7631 * sysdeps/mach/hurd/sethostid.c: Likewise.
7632 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7633 * sysdeps/mach/xpg-strerror.c: Likewise.
7634 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7635 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7636 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7637 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7638 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7639 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7640 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7641 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7642 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7643 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7644 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7645 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7646 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7647 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7648 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7649 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7650 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7651 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7652 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7653 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7654 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7655
7656 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7657
7658 * stdio-common/_itoa.h: Moved to ...
7659 * sysdeps/generic/_itoa.h: Here.
7660
7661 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7662
7663 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7664 instead of "_itoa.h" and "_itowa.h".
7665 * stdio-common/vfprintf.: Likewise.
7666
7667 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7668
7669 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7670 <bits/wordsize.h>.
7671 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7672 (__signbit): Likwise.
7673 (llrintf): Likwise.
7674 (llrint): Likwise.
7675
7676 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7677
7678 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7679 __WORDSIZE != 64.
7680
7681 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7682
7683 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7684 OVERFLOW_EXCEPTION_OK.
7685 * math/libm-test.inc ("Philosophy"): Update comment about
7686 exception testing.
7687 (OVERFLOW_EXCEPTION): Define.
7688 (OVERFLOW_EXCEPTION_OK): Likewise.
7689 (INVALID_EXCEPTION_OK): Renumber.
7690 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7691 (IGNORE_ZERO_INF_SIGN): Likewise.
7692 (test_exceptions): Handle FE_OVERFLOW.
7693 (exp10_test): Expect overflow exceptions.
7694 (exp2_test): Likewise.
7695 (expm1_test): Likewise.
7696 (nextafter_test): Likewise.
7697 (pow_test): Likewise.
7698 (scalbn_test): Likewise.
7699 (scalbln_test): Likewise.
7700
7701 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7702
7703 * sysdeps/x86_64/bits/atomic.h
7704 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7705 64bit integer.
7706 (atomic_exchange_acq): Likewise.
7707 (__arch_exchange_and_add_body): Likewise.
7708 (__arch_add_body): Likewise.
7709 (atomic_add_negative): Likewise.
7710 (atomic_add_zero): Likewise.
7711
7712 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7713
7714 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7715 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7716
7717 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7718
7719 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7720 Check __x86_64__ instead of __WORDSIZE.
7721
7722 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7723
7724 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7725
7726 2012-03-19 David S. Miller <davem@davemloft.net>
7727
7728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7729
7730 * sysdeps/sparc/fpu/fenv_private.h: New file.
7731 * sysdeps/sparc/fpu/math_private.h: Use it.
7732 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7733 Remove.
7734 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7735 (libc_feholdexcept_setroundl): Remove.
7736 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7737 Remove.
7738 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7739 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7740
7741 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7742
7743 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7744 int64_t instead of long int.
7745 (INSERT_WORDS64): Likwise.
7746
7747 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7748
7749 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7750 _Unwind_GetCFA return to _Unwind_Ptr first.
7751
7752 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7753
7754 [BZ #13629]
7755 * math/s_clog.c: Include <float.h>.
7756 (__clog): Scale large or subnormal inputs.
7757 * math/s_clogf.c: Likewise.
7758 * math/s_clogl.c: Likewise.
7759 * math/s_clog10.c: Include <float.h>.
7760 (M_LOG10_2): Define.
7761 (__clog10): Scale large or subnormal inputs.
7762 * math/s_clog10f.c: Likewise.
7763 * math/s_clog10l.c: Likewise.
7764 * math/libm-test.inc (clog_test): Add more tests.
7765 (clog10_test): Likewise.
7766 * sysdeps/i386/fpu/libm-test-ulps: Update.
7767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7768
7769 [BZ #11451]
7770 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7771 x and y.
7772 * math/libm-test.inc (atan2_test): Add another test.
7773
7774 * Makerules (common-objdir-compile): Remove.
7775 * sysdeps/unix/Makefile (config-generated): Do not add
7776 $(unix-generated) to variable.
7777 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7778 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7779 Remove rule.
7780 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7781 Likewise.
7782 [generic bits/local_lim.h] (before-compile): Do not append to
7783 variable.
7784 [generic bits/local_lim.h] (common-generated): Likewise.
7785 [generic sys/param.h] (before-compile): Do not append to variable.
7786 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7787 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7788 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7789 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7790 include.
7791 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7792 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7793 [generic sys/param.h] ($(addprefix
7794 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7795 [generic sys/param.h] (common-generated): Do not append to
7796 variable.
7797 [generic sys/param.h] (sysdep_headers): Likewise.
7798 [generic bits/errno.h] (before-compile): Do not append to
7799 variable.
7800 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7801 rule.
7802 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7803 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7804 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7805 [generic bits/errno.h] (common-generated): Do not append to
7806 variable.
7807 [generic bits/ioctls.h] (before-compile): Do not append to
7808 variable.
7809 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7810 rule.
7811 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7812 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7813 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7814 rule.
7815 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7816 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7817 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7818 [generic bits/ioctls.h] (common-generated): Do not append to
7819 variable.
7820 [generic sys/syscall.h] (syscall.h): Remove variable.
7821 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7822 rule.
7823 [generic sys/syscall.h] (before-compile): Do not append to
7824 variable.
7825 [generic sys/syscall.h] (common-generated): Likewise.
7826 * sysdeps/unix/errnos-tmpl.c: Remove file.
7827 * sysdeps/unix/errnos.awk: Likewise.
7828 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7829 * sysdeps/unix/ioctls.awk: Likewise.
7830 * sysdeps/unix/mk-local_lim.c: Likewise.
7831 * sysdeps/unix/snarf-ioctls: Likewise.
7832
7833 2012-03-19 Richard Henderson <rth@twiddle.net>
7834
7835 * sysdeps/i386/fpu/fenv_private.h: New file.
7836 * sysdeps/i386/fpu/math_private.h: Use it.
7837 (math_opt_barrier, math_force_eval): Remove.
7838 (libc_feholdexcept_setround_53bit): Remove.
7839 (libc_feupdateenv_53bit): Remove.
7840 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7841 (math_opt_barrier, math_force_eval): Remove.
7842 (libc_feholdexcept): Remove.
7843 (libc_feholdexcept_setround): Remove.
7844 (libc_fetestexcept, libc_fesetenv): Remove.
7845 (libc_feupdateenv_test): Remove.
7846 (libc_feupdateenv, libc_feholdsetround): Remove.
7847 (libc_feresetround): Remove.
7848
7849 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7850 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7851
7852 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7853 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7854 (libc_feupdateenv_testl): New.
7855 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7856 (libc_feupdateenv_testf): New.
7857 (libc_feupdateenv): Use libc_feupdateenv_test.
7858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7859 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7860
7861 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7862 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7863 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7864 (libc_feresetround_noex): New.
7865 (libc_feresetround_noexf): New.
7866 (libc_feresetround_noexl): New.
7867 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7868 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7869 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7870 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7871 SET_RESTORE_ROUND.
7872 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7873 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7874 (__cos): Likewise.
7875 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7876 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7877 SET_RESTORE_ROUND_NOEX.
7878 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7879 SET_RESTORE_ROUND_NOEXF.
7880 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7881 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7882 (libc_feholdsetroundf): New.
7883 (libc_feresetround, libc_feresetroundf): New.
7884
7885 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7886 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7887 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7888
7889 * sysdeps/generic/math_private.h: Include <fenv.h>.
7890 (default_libc_feholdexcept): New.
7891 (default_libc_feholdexcept_setround): New.
7892 (default_libc_fesetenv, default_libc_feupdateenv): New.
7893 (libc_feholdexcept): Only define if undefined.
7894 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7895 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7896 (libc_feholdexcept_setroundl): Likewise.
7897 (libc_feholdexcept_setround_53bit): Likewise.
7898 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7899 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7900 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7901 (libc_feupdateenv_53bit): Likewise.
7902 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7903 (libc_feholdexcept): Convert from macro to inline function.
7904 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7905 (libc_fesetenv, libc_feupdateenv): Likewise.
7906
7907 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7908 not previously defined.
7909 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7910 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7911 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7912 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7913 * sysdeps/ieee754/flt-32/math_private.h: New file.
7914 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7915 math_private.h below SET_FLOAT_WORD.
7916 (__isnan, __isinf_ns, __finite): Remove.
7917 (__isnanf, __isinf_nsf, __finitef): Remove.
7918
7919 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7920
7921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7922
7923 2012-03-17 David S. Miller <davem@davemloft.net>
7924
7925 [BZ #6471]
7926 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7927 for 2.16.
7928
7929 2012-03-16 David S. Miller <davem@davemloft.net>
7930
7931 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7932 warnings.
7933
7934 [BZ #6471]
7935 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7936 properly.
7937 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7938 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7939 sysdep_routines when subdir is sysvipc.
7940 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7941 __getshmlba helper.
7942
7943 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7944
7945 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7946
7947 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7948 [__LP64__].
7949
7950 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7951
7952 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7953 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7954 (__lround): Renamed to ...
7955 (__llround): This. Replace long int with long long int.
7956 Define lround functions as aliases of llround functions.
7957 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7958
7959 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7960
7961 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7962 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7963 adresses to uintptr_t. Replace "long int" and "unsigned long
7964 int" with "greg_t" on va_arg.
7965
7966 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7967
7968 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7969 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7970
7971 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7972 Move e_machine check before EI_CLASS check. Handle x32
7973 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7974 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7975 SKIP_EM_IA_64 and include
7976 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7977
7978 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7979 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7980 (add_system_dir): New macro.
7981
7982 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7983 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7984
7985 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7986
7987 [BZ #2551]
7988 [BZ #2552]
7989 [BZ #2553]
7990 [BZ #2554]
7991 [BZ #2562]
7992 [BZ #2563]
7993 [BZ #2565]
7994 [BZ #2566]
7995 [BZ #2576]
7996 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7997 (y0): Likewise.
7998 * math/w_j0f.c (j0f): Likewise.
7999 (y0f): Likewise.
8000 * math/w_j0l.c (__j0l): Likewise.
8001 (__y0l): Likewise.
8002 * math/w_j1.c (j1): Likewise.
8003 (y1): Likewise.
8004 * math/w_j1f.c (j1f): Likewise.
8005 (y1f): Likewise.
8006 * math/w_j1l.c (__j1l): Likewise.
8007 (__y1l): Likewise.
8008 * math/w_jn.c (jn): Likewise.
8009 (yn): Likewise.
8010 * math/w_jnf.c (jnf): Likewise.
8011 (ynf): Likewise.
8012 * math/w_jnl.c (__jnl): Likewise.
8013 (__ynl): Likewise.
8014 * math/libm-test.inc (j0_test): Add more tests.
8015 (j1_test): Likewise.
8016 (jn_test): Likewise. Add trailing semicolon to existing test.
8017 (y0_test): Likewise.
8018 (y1_test): Likewise.
8019 * sysdeps/i386/fpu/libm-test-ulps: Update.
8020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8021
8022 [BZ #13851]
8023 [BZ #13854]
8024 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8025 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8026 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8027 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8028 (__tanl): Set errno for infinite argument.
8029 * sysdeps/i386/fpu/mptan.c: Remove.
8030 * sysdeps/i386/fpu/s_tan.S: Likewise.
8031 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8032 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8033 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8034 * math/libm-test.inc (tan_test): Add more tests and enable more
8035 tests for double and long double.
8036 * sysdeps/i386/fpu/libm-test-ulps: Update.
8037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8038
8039 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8040
8041 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8042 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8043
8044 2012-03-16 Roland McGrath <roland@hack.frob.com>
8045
8046 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8047 * configure.in: Use it for both main tree and add-ons.
8048 * configure: Regenerated.
8049
8050 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8051
8052 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8053
8054 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8055
8056 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8057 in comment.
8058
8059 [BZ #13851]
8060 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8061 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8062 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8063 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8064 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8065 infinite argument.
8066 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8067 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8068 != 0 for prec == 2.
8069 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8070 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8071 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8072 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8073 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8074 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8075 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8076 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8077 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8078 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8079 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8080 * math/libm-test.inc (cos_test): Add more tests and enable more
8081 tests for long double.
8082 (sin_test): Likewise.
8083 (sincos_test): Likewise.
8084 * sysdeps/i386/fpu/libm-test-ulps: Update.
8085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8086
8087 2012-03-16 David S. Miller <davem@davemloft.net>
8088
8089 * sysdeps/sparc/fpu/math_private.h: New file.
8090
8091 2012-03-15 David S. Miller <davem@davemloft.net>
8092
8093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8094 file.
8095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8097 file.
8098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8104 sysdep routines.
8105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8106
8107 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8108 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8109
8110 * sysdeps/sparc/sparc-ifunc.h: New file.
8111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8112 sparc-ifunc.h
8113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8115 Likewise.
8116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8117 Likewise.
8118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8122 Likewise.
8123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8128 Likewise.
8129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8130 Likewise.
8131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8149 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8150 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8151 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8152 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8154 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8155
8156 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8157
8158 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8159 scaling.
8160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8161
8162 2012-03-15 Andreas Jaeger <aj@suse.de>
8163
8164 [BZ #13852]
8165 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8166 ieee754/flt-32 implementation for sin, cos and sincos.
8167 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8168 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8169 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8170 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8171 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8172 ieee754/flt-32 implementation for tan.
8173
8174 * math/libm-test.inc (cos_test): Enable some large input tests for
8175 float as well
8176 (sin_test): Likewise.
8177 (sincos_test): Likewise.
8178 (tan_test): Add tests for large input.
8179
8180 * sysdeps/i386/fpu/libm-test-ulps: Update.
8181
8182 2012-03-15 Andreas Jaeger <aj@suse.de>
8183
8184 [BZ #13658]
8185 * math/libm-test.inc (cos_test): Add more test cases.
8186 (sin_test): Likewise.
8187 (sincos_test): Likewise.
8188
8189 2012-03-15 Andreas Jaeger <aj@suse.de>
8190
8191 [BZ #13837]
8192 * math/libm-test.inc (cos_test): Add a test case for large input
8193 value.
8194 (sin_test): Likewise.
8195 (sincos_test): Likewise.
8196
8197 2012-03-15 Andreas Jaeger <aj@suse.de>,
8198 Joseph Myers <joseph@codesourcery.com>
8199
8200 [BZ #13658]
8201 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8202 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8203 * sysdeps/i386/fpu/branred.c: Likewise.
8204 * sysdeps/i386/fpu/dosincos.c: Likewise.
8205 * sysdeps/i386/fpu/mpa.c: Likewise.
8206 * sysdeps/i386/fpu/s_cos.S: Likewise.
8207 * sysdeps/i386/fpu/s_sin.S: Likewise.
8208 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8209 * sysdeps/i386/fpu/sincos32.c: Likewise.
8210
8211 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8212 Define.
8213 (libc_feupdateenv_53bit): Define.
8214 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8215 Define.
8216 (libc_feupdateenv_53bit): Define.
8217
8218 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8219 53 bit (without extend i386 double precision).
8220
8221 * math/libm-test.inc (sincos_test): Add tests for large input.
8222 (sin): Likewise.
8223 (cos): Likewise.
8224
8225 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8226
8227 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8228
8229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8230
8231 2012-03-15 David S. Miller <davem@davemloft.net>
8232
8233 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8234 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8235 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8236 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8249 file.
8250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8252 file.
8253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8255 file.
8256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8258 file.
8259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8261 fmin/fmax sysdep routines.
8262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8263
8264 2012-03-14 David S. Miller <davem@davemloft.net>
8265
8266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8268 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8269 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8270 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8271 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8272 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8273 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8287 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8288 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8289 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8290 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8291 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8292 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8293 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8295 routines.
8296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8297 file.
8298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8300 file.
8301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8303 file.
8304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8306 file.
8307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8309 file.
8310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8312 file.
8313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8314 file.
8315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8316 file.
8317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8318 file.
8319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8320 New file.
8321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8322 file.
8323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8324 file.
8325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8327 file.
8328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8330 file.
8331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8333 file.
8334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8336 VIS3 routines.
8337
8338 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8339 New file.
8340
8341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8342
8343 * sysdeps/sparc/configure.in: New file.
8344 * sysdeps/sparc/configure: Generate.
8345 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8346 * configure: Regenerate.
8347 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8348 * config.make.in (have-as-vis3): New.
8349 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8350 available use -Av9d instead of -Av9a.
8351 * sysdeps/sparc/sparc64/Makefile: Likewise.
8352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8354 New file.
8355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8356 file.
8357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8358 New file.
8359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8360 file.
8361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8363 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8364 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8365 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8366
8367 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8368 fzeros/fnegs to load 0x80000000 into a float register instead of
8369 using the stack.
8370 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8371
8372 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8373
8374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8375 bits/syscall.h.
8376 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8377 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8378 ($(inst_includedir)/bits/syscall.h): Remove rule.
8379 ($(objpfx)bits/syscall.d): Include instead of
8380 $(objpfx)syscall-list.d.
8381 (generated): Change syscall-list.h and syscall-list.d to
8382 bits/syscall.h and bits/syscall.d.
8383
8384 2012-03-14 Roland McGrath <roland@hack.frob.com>
8385
8386 [BZ #13846]
8387 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8388
8389 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8390
8391 [BZ #13841]
8392 * math/s_csqrt.c: Include <float.h>.
8393 (__csqrt): Scale large or subnormal inputs.
8394 * math/s_csqrtf.c: Likewise.
8395 * math/s_csqrtl.c: Likewise.
8396 * math/libm-test.inc (csqrt_test): Add more tests.
8397 * sysdeps/i386/fpu/libm-test-ulps: Update.
8398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8399
8400 [BZ #13840]
8401 * math/libm-test.inc (hypot_test): Add more tests.
8402
8403 2012-03-13 David S. Miller <davem@davemloft.net>
8404
8405 [BZ #13840]
8406 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8407 double-precision for the calculation instead of scaling.
8408
8409 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8410
8411 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8412 manipulate bits before adding and subtracting TWO52[sx].
8413 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8414 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8415 Likewise.
8416 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8417
8418 2012-03-13 David S. Miller <davem@davemloft.net>
8419
8420 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8421 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8422 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8423 rtld-global-offsets.h
8424 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8425
8426 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8427 large parameters.
8428
8429 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8430
8431 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8432 'err' in the ifdef scope in which it is actually used.
8433
8434 * nss/nss_db/db-init.c: Include string.h
8435
8436 2012-03-12 David S. Miller <davem@davemloft.net>
8437
8438 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8439 masking out of the most significant byte of random value used.
8440 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8441 Fix coding style in previous change.
8442
8443 * sysdeps/unix/sysv/linux/kernel-features.h
8444 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8445 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8446 expression.
8447 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8448 later.
8449
8450 2012-03-11 David S. Miller <davem@davemloft.net>
8451
8452 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8453 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8454 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8455 for 'resultvar' otherwise things get truncated on 64-bit.
8456
8457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8458 Fix masking out of the most significant byte of random value used.
8459
8460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8461
8462 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8463
8464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8465
8466 2012-03-09 David S. Miller <davem@davemloft.net>
8467
8468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8469 variables with appropriate CPP guards.
8470 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8471 frame pointer, not the stack pointer. Correct layout comments. Fix test
8472 on resulting framesize and the management of the outregs buffer for pltexit.
8473 Preserve floating point return values across _dl_call_pltexit call.
8474 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8475 framesize and the management of the outregs buffer for pltexit.
8476 Preserve floating point return values across _dl_call_pltexit
8477 call.
8478 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8479 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8480 (print_exit): Fix format string for return register value.
8481
8482 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8483
8484 * sunrpc/Makefile (others): Add rpcgen.
8485 ($(objpfx)rpcgen): Remove special build rule and dependency on
8486 libc.
8487 * sunrpc/rpcgen.c: New file.
8488
8489 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8490
8491 [BZ #13673]
8492 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8493 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8494 * sysdeps/i386/crti.S: Likewise.
8495 * sysdeps/i386/crtn.S: Likewise.
8496 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8497 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8498 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8499 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8500 * sysdeps/sh/crti.S: Likewise.
8501 * sysdeps/sh/crtn.S: Likewise.
8502 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8503
8504 [BZ #13673]
8505 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8506 with URL.
8507 * locale/programs/locfile-kw.gperf: Likewise.
8508 * locale/programs/charmap-kw.h: Regenerated.
8509 * locale/programs/locfile-kw.h: Likewise.
8510
8511 [BZ #13673]
8512 * intl/plural.y: Replace FSF snail mail address with URL.
8513 * intl/plural.c: Regenerated.
8514
8515 2012-03-09 Richard Henderson <rth@twiddle.net>
8516
8517 * include/math_private.h: Remove file.
8518 * math/math_private.h: Move file ...
8519 * sysdeps/generic/math_private.h: ... here.
8520
8521 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8522 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8523 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8524
8525 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8526 and <math_private.h>.
8527 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8528 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8529 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8530 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8531 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8560 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8561 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8563 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8564 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8565 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8566 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8567 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8568 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8571 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8572 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8573 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8574 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8575 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8576 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8583 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8584 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8585 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8586 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8587 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8588 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8615 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8616 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8617 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8618 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8619 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8620 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8621 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8622 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8623 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8624 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8625 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8626 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8627 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8628 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8629 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8630 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8632 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8633 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8634 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8635 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8636 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8637 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8638 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8639 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8641 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8642 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8643 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8644 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8646 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8647 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8649 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8650 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8651 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8652 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8653 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8654 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8655 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8656 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8657 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8658 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8659 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8660 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8661 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8662 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8663 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8664 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8665 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8666 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8667 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8668 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8669 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8670 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8671 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8672 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8673 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8674 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8675 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8676 * sysdeps/ieee754/k_standard.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8791 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8792 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8796 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8797 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8799 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8804 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8809 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8825 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8826 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8827 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8837 * sysdeps/ieee754/s_lib_version.c: Likewise.
8838 * sysdeps/ieee754/s_matherr.c: Likewise.
8839 * sysdeps/ieee754/s_signgam.c: Likewise.
8840 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8841 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8842 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8843 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8844 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8845 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8846 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8847 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8848 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8849 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8850 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8851 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8852 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8853 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8854 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8855 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8856 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8857 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8858 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8859 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8860 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8861
8862 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8863
8864 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8865 * sunrpc/rpc_main.c: Likewise.
8866 * sunrpc/rpc_svcout.c: Likewise.
8867
8868 2012-03-09 David S. Miller <davem@davemloft.net>
8869
8870 * include/math_private.h: New file.
8871
8872 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8873
8874 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8875 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8876 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8877 from <bits/socket_type.h>.
8878 (enum __socket_type): Don't define here.
8879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8881 bits/socket_type.h.
8882
8883 [BZ #13566]
8884 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8885 checking __USE_GNU.
8886
8887 * Makerules ($(inst_includedir)/%.h): New rule.
8888 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8889 (install-others): Remove variable setting.
8890 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8891
8892 2012-03-08 Richard Henderson <rth@twiddle.net>
8893
8894 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8895 from macro to inline function; merge with the
8896 !__LIBC_INTERNAL_MATH_INLINES version.
8897 (__ieee754_sqrtf): Likewise.
8898
8899 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8900 to inline function.
8901 (__rintf, __floor, __floorf): Likewise.
8902
8903 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8904 macro to inline function.
8905 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8906
8907 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8908 not <math/math_private.h>.
8909
8910 2012-03-08 David S. Miller <davem@davemloft.net>
8911
8912 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8913 copyright year.
8914 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8915
8916 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8917
8918 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8919 normalization.
8920 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8921 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8922
8923 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8924
8925 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8926 be defined individually, they must be defined as a block. Define
8927 S for printing a string instead of hidint the different by using a
8928 macro for adding the 'l'.
8929 * stdio-common/tst-fphex-wide.c: Adjust.
8930
8931 2012-03-07 Marek Polacek <polacek@redhat.com>
8932
8933 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8934
8935 2012-03-08 Marek Polacek <polacek@redhat.com>
8936
8937 [BZ #13806]
8938 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8939 * stdio-common/tst-fphex.c: Define a few macros to make the
8940 test reusable. Use them.
8941 * stdio-common/tst-fphex-wide.c: New file.
8942
8943 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8944
8945 [BZ #6911]
8946 * manual/macros.texi (gnusystems): New macro.
8947 (nongnusystems): Likewise.
8948 (gnulinuxhurdsystems): Likewise.
8949 (gnuhurdsystems): Likewise..
8950 (gnulinuxsystems): Likewise.
8951 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8952 variants of the GNU system, not "GNU system".
8953 * manual/conf.texi: Likewise.
8954 * manual/errno.texi: Likewise. Update example of errno macro
8955 expansion.
8956 * manual/filesys.texi: Likewise.
8957 (getumask): Document as specific to GNU/Hurd.
8958 * manual/install.texi: Likewise. Reword some references to
8959 GNU/Linux.
8960 * manual/intro.texi: Likewise.
8961 * manual/io.texi: Likewise.
8962 (File Name Portability): Detail which constraints are inapplicable
8963 to all GNU systems and which are only inapplicable to GNU/Hurd.
8964 * manual/job.texi: Likewise.
8965 * manual/llio.texi: Likewise.
8966 (O_NOCTTY): Document as present on GNU/Linux.
8967 * manual/maint.texi: Likewise.
8968 * manual/memory.texi: Likewise.
8969 * manual/pattern.texi: Likewise.
8970 * manual/pipe.texi: Likewise.
8971 * manual/process.texi: Likewise.
8972 * manual/resource.texi: Likewise.
8973 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8974 child on GNU/Hurd.
8975 * manual/setjmp.texi: Likewise.
8976 * manual/signal.texi: Likewise.
8977 * manual/startup.texi: Likewise.
8978 * manual/stdio.texi: Likewise.
8979 * manual/terminal.texi: Likewise.
8980 (ONLCR): Document as POSIX.
8981 (OXTABS): Document availability on GNU/Linux as XTABS.
8982 (ONOEOT): Document availability separately from other bits.
8983 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8984 * manual/time.texi: Likewise.
8985 * manual/users.texi: Likewise.
8986 * INSTALL: Regenerated.
8987 * sysdeps/gnu/errlist.c: Regenerated.
8988
8989 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8990 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8991 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8992 puts.
8993 * configure: Regenerated.
8994
8995 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8996
8997 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8998 default includes instead of AC_HEADER_CHECK.
8999 * sysdeps/i386/configure: Regenerated.
9000
9001 [BZ #10716]
9002 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9003 * math/s_cacoshf.c (__cacoshf): Likewise.
9004 * math/s_cacoshl.c (__cacoshl): Likewise.
9005 * math/s_casinh.c (__casinh): Set signs of result from argument.
9006 * math/s_casinhf.c (__casinhf): Likewise.
9007 * math/s_casinhl.c (__casinhl): Likewise.
9008 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9009 (casinh_test): Add more tests.
9010 * sysdeps/i386/fpu/libm-test-ulps: Update.
9011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9012
9013 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9014
9015 * po/zh_TW.po: Update from translation team.
9016
9017 * login/Makefile (distribute): Remove variable.
9018 * catgets/Makefile: Likewise.
9019 * mach/Makefile: Likewise.
9020 * malloc/Makefile: Likewise.
9021 * misc/Makefile: Likewise.
9022 * iconv/Makefile: Likewise.
9023 * nscd/Makefile: Likewise.
9024 * hurd/Makefile: Likewise.
9025 * manual/Makefile: Likewise.
9026 * locale/Makefile: Likewise.
9027 * intl/Makefile: Likewise.
9028 * conform/Makefile: Likewise.
9029 * nss/Makefile: Likewise.
9030 * time/Makefile: Likewise.
9031 * soft-fp/Makefile: Likewise.
9032 * dirent/Makefile: Likewise.
9033 * gmon/Makefile: Likewise.
9034 * po/Makefile: Likewise.
9035 * rt/Makefile: Likewise.
9036 * socket/Makefile: Likewise.
9037 * math/Makefile: Likewise.
9038 * signal/Makefile: Likewise.
9039 * debug/Makefile: Likewise.
9040 * elf/Makefile: Likewise.
9041 * timezone/Makefile: Likewise.
9042 * stdlib/Makefile: Likewise.
9043 * iconvdata/Makefile: Likewise.
9044 * sunrpc/Makefile: Likewise.
9045 * io/Makefile: Likewise.
9046 * argp/Makefile: Likewise.
9047 * inet/Makefile: Likewise.
9048 * hesiod/Makefile: Likewise.
9049 * grp/Makefile: Likewise.
9050 * csu/Makefile: Likewise.
9051 * wctype/Makefile: Likewise.
9052 * crypt/Makefile: Likewise.
9053 * libio/Makefile: Likewise.
9054 * string/Makefile: Likewise.
9055 * nis/Makefile: Likewise.
9056 * resolv/Makefile: Likewise.
9057 * stdio-common/Makefile: Likewise.
9058 * wcsmbs/Makefile: Likewise.
9059 * dlfcn/Makefile: Likewise.
9060 * posix/Makefile: Likewise.
9061
9062 [BZ #6959]
9063 * timezone/Makefile: Don't install timezone files, just the programs
9064 and scripts.
9065
9066 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9067
9068 * nss/databases.def: Add missing gshadow entry.
9069
9070 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9071
9072 2012-03-06 Marek Polacek <polacek@redhat.com>
9073
9074 [BZ #13726]
9075 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9076 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9077 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9078 * stdio-common/tst-long-dbl-fphex.c: New file.
9079
9080 2012-03-06 David S. Miller <davem@davemloft.net>
9081
9082 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9083 (set_obp_int): New function.
9084 (get_obp_int): New function.
9085 (__get_clockfreq_via_dev_openprom): Likewise.
9086 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9087 Avoid unused variable warnings on 'val' and use builtin_expect.
9088 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9089 __builtin_expect.
9090 (INLINE_CLONE_SYSCALL): Likewise.
9091
9092 2012-03-05 David S. Miller <davem@davemloft.net>
9093
9094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9095
9096 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9097
9098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9099
9100 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9101 only for |x| >= 40.
9102 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9103
9104 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9105
9106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9107 Replace gettimeofday with __vdso_gettimeofday.
9108
9109 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9110 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9111 __vdso_clock_gettime and __vdso_getcpu.
9112
9113 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9114 time with __vdso_time.
9115
9116 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9117
9118 * manual/lang.texi (size_t): Note types to which size_t may be
9119 equivalent with the GNU C Library, but do not describe when
9120 differences between them are significant.
9121
9122 2012-03-05 Andreas Jaeger <aj@suse.de>
9123
9124 * sysdeps/i386/fpu/libm-test-ulps: Update.
9125
9126 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9127
9128 [BZ #3976]
9129 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9130 (__ieee754_pow): Save and restore rounding mode and use
9131 round-to-nearest for main computations.
9132 * math/libm-test.inc (pow_test_tonearest): New function.
9133 (pow_test_towardzero): Likewise.
9134 (pow_test_downward): Likewise.
9135 (pow_test_upward): Likewise.
9136 (main): Call the new functions.
9137 * sysdeps/i386/fpu/libm-test-ulps: Update.
9138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9139
9140 [BZ #3976]
9141 * math/libm-test.inc (cosh_test_tonearest): New function.
9142 (cosh_test_towardzero): Likewise.
9143 (cosh_test_downward): Likewise.
9144 (cosh_test_upward): Likewise.
9145 (sinh_test_tonearest): Likewise.
9146 (sinh_test_towardzero): Likewise.
9147 (sinh_test_downward): Likewise.
9148 (sinh_test_upward): Likewise.
9149 (main): Call the new functions.
9150 * sysdeps/i386/fpu/libm-test-ulps: Update.
9151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9152
9153 2012-03-05 Tom de Vries <tom@codesourcery.com>
9154
9155 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9156 default stack guard is set in last bytes.
9157 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9158
9159 2012-03-05 Kees Cook <keescook@chromium.org>
9160
9161 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9162
9163 [BZ #13656]
9164 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9165 possibly allocate from heap instead of stack.
9166 * stdio-common/bug-vfprintf-nargs.c: New file.
9167 * stdio-common/Makefile (tests): Add nargs overflow test.
9168
9169 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9170
9171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9172
9173 2012-03-03 Marek Polacek <polacek@redhat.com>
9174
9175 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9176 * math/math_private.h: Likewise.
9177 * stdlib/tst-strtod.c: Likewise.
9178 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9179 * sysdeps/x86_64/bits/atomic.h: Likewise.
9180
9181 2012-03-02 David S. Miller <davem@davemloft.net>
9182
9183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9187 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9188 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9189 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9190 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9191
9192 2012-03-02 Roland McGrath <roland@hack.frob.com>
9193
9194 [BZ #13792]
9195 * manual/examples/README: New file, says the example source files
9196 can be used under GPL>=2.
9197 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9198 line containing just "*/".
9199 * manual/examples/add.c: Add copyright header (GPL>=2).
9200 * manual/examples/argp-ex1.c: Likewise.
9201 * manual/examples/argp-ex2.c: Likewise.
9202 * manual/examples/argp-ex3.c: Likewise.
9203 * manual/examples/argp-ex4.c: Likewise.
9204 * manual/examples/atexit.c: Likewise.
9205 * manual/examples/db.c: Likewise.
9206 * manual/examples/dir.c: Likewise.
9207 * manual/examples/dir2.c: Likewise.
9208 * manual/examples/execinfo.c: Likewise.
9209 * manual/examples/filecli.c: Likewise.
9210 * manual/examples/filesrv.c: Likewise.
9211 * manual/examples/fmtmsgexpl.c: Likewise.
9212 * manual/examples/genpass.c: Likewise.
9213 * manual/examples/inetcli.c: Likewise.
9214 * manual/examples/inetsrv.c: Likewise.
9215 * manual/examples/isockad.c: Likewise.
9216 * manual/examples/longopt.c: Likewise.
9217 * manual/examples/memopen.c: Likewise.
9218 * manual/examples/memstrm.c: Likewise.
9219 * manual/examples/mkfsock.c: Likewise.
9220 * manual/examples/mkisock.c: Likewise.
9221 * manual/examples/mygetpass.c: Likewise.
9222 * manual/examples/pipe.c: Likewise.
9223 * manual/examples/popen.c: Likewise.
9224 * manual/examples/rprintf.c: Likewise.
9225 * manual/examples/search.c: Likewise.
9226 * manual/examples/select.c: Likewise.
9227 * manual/examples/setjmp.c: Likewise.
9228 * manual/examples/sigh1.c: Likewise.
9229 * manual/examples/sigusr.c: Likewise.
9230 * manual/examples/stpcpy.c: Likewise.
9231 * manual/examples/strdupa.c: Likewise.
9232 * manual/examples/strftim.c: Likewise.
9233 * manual/examples/strncat.c: Likewise.
9234 * manual/examples/subopt.c: Likewise.
9235 * manual/examples/swapcontext.c: Likewise.
9236 * manual/examples/termios.c: Likewise.
9237 * manual/examples/testopt.c: Likewise.
9238 * manual/examples/testpass.c: Likewise.
9239 * manual/examples/timeval_subtract.c: Likewise.
9240
9241 [BZ #13792]
9242 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9243 function to ...
9244 * manual/timeval_subtract.c.texi: ... here, new file.
9245
9246 2012-03-02 David S. Miller <davem@davemloft.net>
9247
9248 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9249
9250 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9251
9252 [BZ #3976]
9253 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9254 (__sin): Save and restore rounding mode and use round-to-nearest
9255 for all computations.
9256 (__cos): Save and restore rounding mode and use round-to-nearest
9257 for all computations.
9258 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9259 <fenv.h>.
9260 (tan): Save and restore rounding mode and use round-to-nearest for
9261 all computations.
9262 * math/libm-test.inc (cos_test_tonearest): New function.
9263 (cos_test_towardzero): Likewise.
9264 (cos_test_downward): Likewise.
9265 (cos_test_upward): Likewise.
9266 (sin_test_tonearest): Likewise.
9267 (sin_test_towardzero): Likewise.
9268 (sin_test_downward): Likewise.
9269 (sin_test_upward): Likewise.
9270 (tan_test_tonearest): Likewise.
9271 (tan_test_towardzero): Likewise.
9272 (tan_test_downward): Likewise.
9273 (tan_test_upward): Likewise.
9274 (main): Call the new functions.
9275 * sysdeps/i386/fpu/libm-test-ulps: Update.
9276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9277
9278 [BZ #10135]
9279 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9280 small n, then large n, before computing and testing k+n.
9281 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9282 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9283 Likewise.
9284 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9285 Likewise.
9286 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9287 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9288 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9289 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9290 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9291 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9293 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9294 * math/libm-test.inc (scalbn_test): Add more tests.
9295 (scalbln_test): Likewise.
9296
9297 * manual/filesys.texi (mode_t): Describe constraints on size and
9298 signedness, not exact equivalence to a particular type.
9299 (ino_t): Likewise.
9300 (ino64_t): Likewise.
9301 (dev_t): Likewise.
9302 (nlink_t): Likewise.
9303 (blkcnt_t): Likewise.
9304 (blkcnt64_t): Likewise.
9305 * manual/llio.texi (off_t): Likewise.
9306
9307 [BZ #3976]
9308 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9309 (__ieee754_exp): Save and restore rounding mode and use
9310 round-to-nearest for all computations.
9311 * math/libm-test.inc (exp_test_tonearest): New function.
9312 (exp_test_towardzero): Likewise.
9313 (exp_test_downward): Likewise.
9314 (exp_test_upward): Likewise.
9315 (main): Call the new functions.
9316 * sysdeps/i386/fpu/libm-test-ulps: Update.
9317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9318
9319 2012-03-01 Chris Demetriou <cgd@google.com>
9320
9321 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9322 have predictable order.
9323
9324 2012-03-01 David S. Miller <davem@davemloft.net>
9325
9326 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9327
9328 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9329 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9330 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9331 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9332
9333 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9334 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9335 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9337 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9338 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9339 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9340 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9341 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9342
9343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9344
9345 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9346 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9347 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9348
9349 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9350 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9351 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9352 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9353 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9354 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9355 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9356 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9357 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9358 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9359 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9360 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9361 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9362 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9363 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9365 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9366 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9367 * sysdeps/sparc/elf/configure: Regenerated.
9368
9369 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9370
9371 * configure.in (AS, LD): Require binutils 2.20 or later.
9372 * configure: Regenerated.
9373 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9374 as required minimum version.
9375 * INSTALL: Regenerated.
9376
9377 [BZ #2541]
9378 [BZ #4108]
9379 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9380 before squaring exponent.
9381 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9382 bottom long double and 27 bits of top long double before squaring
9383 exponent.
9384 * math/libm-test.inc (erfc_test): Add more tests.
9385 * sysdeps/i386/fpu/libm-test-ulps: Update.
9386 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9388
9389 2012-03-01 Kai Tietz <ktietz@redhat.com>
9390
9391 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9392 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9393 containing bit-fields.
9394 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9395 * soft-fp/single.h (_FP_UNION_S): Likewise.
9396 * soft-fp/double.h (_FP_UNION_D): Likewise.
9397
9398 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9399
9400 [BZ #13786]
9401 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9402 not include ../strcmp.S.
9403 [USE_AS_STRNCASECMP_L]: Likewise.
9404 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9405 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9406 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9407 (__strncasecmp_l_ia32): Define as alias to
9408 __strncasecmp_l_nonascii.
9409
9410 [BZ #5794]
9411 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9412 * sysdeps/i386/fpu/libm-test-ulps: Update.
9413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9414
9415 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9417
9418 2012-02-29 Jeff Law <law@redhat.com>
9419
9420 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9421 out of bounds read.
9422
9423 2012-02-29 Marek Polacek <polacek@redhat.com>
9424
9425 [BZ #13706]
9426 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9427 * elf/Makefile: Add rules to run tst-unused-dep.out.
9428
9429 2012-02-28 David S. Miller <davem@davemloft.net>
9430
9431 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9432 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9433 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9434 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9435 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9436 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9437
9438 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9439
9440 * math/libm-test.inc (llround_test): Move one test from
9441 lround_test. Use TEST_f_L in moved test.
9442 (lround_test): Move misplaced test to llround_test. Add testcase
9443 from bug 2561.
9444
9445 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9446
9447 * sysdeps/x86_64/fpu/e_expf.S: New file.
9448 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9449
9450 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9451
9452 [BZ #13637]
9453 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9454 of remain_len that may cause incomplete multi-byte character and
9455 false match.
9456 * posix/bug-regex33.c: New file.
9457 * posix/Makefile (tests): Add bug-regex33.
9458
9459 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9460
9461 * manual/macros.texi: New file.
9462 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9463 * manual/libc.texinfo: Include macros.texi.
9464 * manual/creatute.texi: Likewise.
9465 * manual/install.texi: Likewise.
9466 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9467 @glibcadj{} in references to the GNU C Library.
9468 * manual/charset.texi: Likewise.
9469 * manual/conf.texi: Likewise.
9470 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9471 when not using those macros.
9472 * manual/creature.texi: Likewise.
9473 * manual/crypt.texi: Likewise.
9474 * manual/errno.texi: Likewise.
9475 * manual/filesys.texi: Likewise.
9476 * manual/header.texi: Likewise.
9477 * manual/install.texi: Likewise.
9478 * manual/intro.texi: Likewise.
9479 * manual/io.texi: Likewise.
9480 * manual/job.texi: Likewise.
9481 * manual/lang.texi: Likewise.
9482 * manual/libc.texiinfo: Likewise.
9483 * manual/llio.texi: Likewise.
9484 * manual/locale.texi: Likewise.
9485 * manual/maint.texi: Likewise.
9486 * manual/math.texi: Likewise.
9487 * manual/memory.texi: Likewise.
9488 * manual/message.texi: Likewise.
9489 * manual/nss.texi: Likewise.
9490 * manual/pattern.texi: Likewise.
9491 * manual/process.texi: Likewise.
9492 * manual/resource.texi: Likewise.
9493 * manual/search.texi: Likewise.
9494 * manual/setjmp.texi: Likewise.
9495 * manual/signal.texi: Likewise.
9496 * manual/socket.texi: Likewise.
9497 * manual/startup.texi: Likewise.
9498 * manual/stdio.texi: Likewise.
9499 * manual/string.texi: Likewise.
9500 * manual/sysinfo.texi: Likewise.
9501 * manual/syslog.texi: Likewise.
9502 * manual/terminal.texi: Likewise.
9503 * manual/time.texi: Likewise.
9504 * manual/users.texi: Likewise.
9505 * INSTALL: Regenerated.
9506 * NOTES: Regenerated.
9507 * sysdeps/gnu/errlist.c: Regenerated.
9508
9509 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9510
9511 * include/dirent.h: Include <dirstream.h> before
9512 <dirent/dirent.h>.
9513
9514 2012-02-28 David S. Miller <davem@davemloft.net>
9515
9516 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9517 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9518 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9519 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9520
9521 2012-02-27 David S. Miller <davem@davemloft.net>
9522
9523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9525 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9526 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9527
9528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9529 frame pointer instead of stack pointer relative arg slot.
9530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9531 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9532 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9533
9534 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9535
9536 [BZ #3992]
9537 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9538
9539 2012-02-27 David S. Miller <davem@davemloft.net>
9540
9541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9545 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9546 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9547 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9548 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9549
9550 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9551
9552 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9553 later. Allow versions 5-9.
9554 * configure: Regenerated.
9555 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9556 required minimum version and 4.6 as recommended version. Do not
9557 mention bugs in GCC 2.7 and 2.8.
9558 * INSTALL: Regenerated.
9559
9560 2012-02-27 David S. Miller <davem@davemloft.net>
9561
9562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9566 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9567 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9568 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9569 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9570
9571 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9572 manipulate bits before adding and subtracting TWO112[sx].
9573 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9574
9575 2012-02-27 Roland McGrath <roland@hack.frob.com>
9576
9577 [BZ #13775]
9578 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9579 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9580 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9581 being in POSIX, because they are in 1003.1-2008.
9582
9583 * rt/tst-aio.c: Include <fcntl.h>.
9584 * rt/tst-aio7.c: Likewise.
9585 * rt/tst-aio64.c: Likewise.
9586
9587 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9588
9589 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9590
9591 * manual/install.texi (--with-headers): Describe headers as
9592 interface headers, not private headers.
9593 (Specific advice for GNU/Linux systems): Describe use of headers
9594 from "make headers_install", not private headers from older
9595 kernels.
9596 * INSTALL: Regenerated.
9597 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9598 Change to 2.6.19.
9599 * sysdeps/unix/sysv/linux/configure: Regenerated.
9600
9601 * manual/llio.texi (fclean): Remove documentation.
9602
9603 * manual/Makefile (libc-texi-generated): New variable. Include
9604 version.texi.
9605 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9606 $(libc-texi-generated), not duplicated list of files.
9607 (version.texi, stamp-version): New rules.
9608 (realclean): Remove $(libc-texi-generated), not individual files
9609 from that list. Do not remove dir-add.texinfo.
9610 * manual/libc.texinfo: Comment out uses of edition numbers and
9611 references to printed manual. Remove last-updated dates.
9612 (EDITION): Comment out.
9613 (ISBN): Likewise.
9614 (VERSION, UPDATED): Remove.
9615 (version.texi): Include.
9616
9617 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9618
9619 * sysdeps/posix/spawni.c: Include <signal.h>.
9620 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9621 * sysdeps/pthread/aio_fsync.c: Likewise.
9622
9623 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9624
9625 * conform/Makefile (tests): Run only when not cross-compiling and
9626 when fast-check is not defined.
9627
9628 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9629 * conform/data/limits.h-data: Fixes for POSIX2008.
9630 * conform/run-conformtest.sh: Run all tests.
9631 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9632 headers.
9633 * include/bits/dlfcn.h: Likewise.
9634 * include/langinfo.h: Likewise.
9635 * include/monetary.h: Likewise.
9636 * include/sys/poll.h: Likewise.
9637
9638 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9639 for __USE_GNU.
9640 * posix/spawn.h: Define __need_sigset_t.
9641 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9642 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9643 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9644 to get sigevent_t only.
9645 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9646 only for __USE_GNU.
9647 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9648 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9649 process_vm_writev only for __USE_GNU.
9650 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9651
9652 * conform/Makefile: For now ignore errors from run-conformtest.
9653 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9654 POSIX to avoid namespace pollution. Don't prepend headers.
9655 * conform/data/aio.h-data: Fixes for POSIX testing.
9656 * conform/data/fcntl.h-data: Likewise.
9657 * conform/data/glob.h-data: Likewise.
9658 * conform/data/grp.h-data: Likewise.
9659 * conform/data/pthread.h-data: Likewise.
9660 * conform/data/pwd.h-data: Likewise.
9661 * conform/data/signal.h-data: Likewise.
9662 * conform/data/spawn.h-data: Likewise.
9663 * conform/data/stdio.h-data: Likewise.
9664 * conform/data/stdlib.h-data: Likewise.
9665 * conform/data/stropts.h-data: Likewise.
9666 * conform/data/sys/mman.h-data: Likewise.
9667 * conform/data/sys/stat.h-data: Likewise.
9668 * conform/data/sys/types.h-data: Likewise.
9669 * conform/data/sys/wait.h-data: Likewise.
9670 * conform/data/time.h-data: Likewise.
9671 * conform/data/unistd.h-data: Likewise.
9672 * conform/data/utime.h-data: Likewise.
9673
9674 * io/sys/stat.h: fchmod was always in POSIX.
9675 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9676 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9677 * rt/aio.h: Define __need_timespec before including <time.h>.
9678 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9679 struct. Add forward declaration of pthread_attr_t and use it in
9680 sigevent.
9681 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9682 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9683 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9684 always remove CLK_TCK definition.
9685
9686 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9687
9688 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9689
9690 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9691
9692 * conform/run-conformtest.sh: New file.
9693 * conform/Makefile: Run run-conformtest for tests.
9694 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9695 support.
9696
9697 * conform/data/uchar.h-data: New file.
9698 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9699 * conform/data/arpa/inet.h-data: Likewise.
9700 * conform/data/assert.h-data: Likewise.
9701 * conform/data/complex.h-data: Likewise.
9702 * conform/data/cpio.h-data: Likewise.
9703 * conform/data/ctype.h-data: Likewise.
9704 * conform/data/dirent.h-data: Likewise.
9705 * conform/data/dlfcn.h-data: Likewise.
9706 * conform/data/errno.h-data: Likewise.
9707 * conform/data/fcntl.h-data: Likewise.
9708 * conform/data/float.h-data: Likewise.
9709 * conform/data/fmtmsg.h-data: Likewise.
9710 * conform/data/fnmatch.h-data: Likewise.
9711 * conform/data/ftw.h-data: Likewise.
9712 * conform/data/glob.h-data: Likewise.
9713 * conform/data/grp.h-data: Likewise.
9714 * conform/data/iconv.h-data: Likewise.
9715 * conform/data/inttypes.h-data: Likewise.
9716 * conform/data/langinfo.h-data: Likewise.
9717 * conform/data/libgen.h-data: Likewise.
9718 * conform/data/limits.h-data: Likewise.
9719 * conform/data/locale.h-data: Likewise.
9720 * conform/data/math.h-data: Likewise.
9721 * conform/data/monetary.h-data: Likewise.
9722 * conform/data/mqueue.h-data: Likewise.
9723 * conform/data/ndbm.h-data: Likewise.
9724 * conform/data/net/if.h-data: Likewise.
9725 * conform/data/netdb.h-data: Likewise.
9726 * conform/data/netinet/in.h-data: Likewise.
9727 * conform/data/nl_types.h-data: Likewise.
9728 * conform/data/poll.h-data: Likewise.
9729 * conform/data/pthread.h-data: Likewise.
9730 * conform/data/pwd.h-data: Likewise.
9731 * conform/data/regex.h-data: Likewise.
9732 * conform/data/sched.h-data: Likewise.
9733 * conform/data/search.h-data: Likewise.
9734 * conform/data/semaphore.h-data: Likewise.
9735 * conform/data/setjmp.h-data: Likewise.
9736 * conform/data/signal.h-data: Likewise.
9737 * conform/data/spawn.h-data: Likewise.
9738 * conform/data/stdarg.h-data: Likewise.
9739 * conform/data/stdio.h-data: Likewise.
9740 * conform/data/stdlib.h-data: Likewise.
9741 * conform/data/string.h-data: Likewise.
9742 * conform/data/strings.h-data: Likewise.
9743 * conform/data/stropts.h-data: Likewise.
9744 * conform/data/sys/ipc.h-data: Likewise.
9745 * conform/data/sys/mman.h-data: Likewise.
9746 * conform/data/sys/msg.h-data: Likewise.
9747 * conform/data/sys/resource.h-data: Likewise.
9748 * conform/data/sys/select.h-data: Likewise.
9749 * conform/data/sys/sem.h-data: Likewise.
9750 * conform/data/sys/shm.h-data: Likewise.
9751 * conform/data/sys/socket.h-data: Likewise.
9752 * conform/data/sys/stat.h-data: Likewise.
9753 * conform/data/sys/statvfs.h-data: Likewise.
9754 * conform/data/sys/time.h-data: Likewise.
9755 * conform/data/sys/timeb.h-data: Likewise.
9756 * conform/data/sys/times.h-data: Likewise.
9757 * conform/data/sys/types.h-data: Likewise.
9758 * conform/data/sys/uio.h-data: Likewise.
9759 * conform/data/sys/un.h-data: Likewise.
9760 * conform/data/sys/utsname.h-data: Likewise.
9761 * conform/data/sys/wait.h-data: Likewise.
9762 * conform/data/syslog.h-data: Likewise.
9763 * conform/data/tar.h-data: Likewise.
9764 * conform/data/termios.h-data: Likewise.
9765 * conform/data/utime.h-data: Likewise.
9766 * conform/data/utmpx.h-data: Likewise.
9767 * conform/data/varargs.h-data: Likewise.
9768 * conform/data/wchar.h-data: Likewise.
9769 * conform/data/wctype.h-data: Likewise.
9770 * conform/data/wordexp.h-data: Likewise.
9771
9772 * include/stropts.h: New file.
9773 * include/uchar.h: New file.
9774 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9775 * include/assert.h: Likewise.
9776 * include/ctype.h: Likewise.
9777 * include/dirent.h: Likewise.
9778 * include/dlfcn.h: Likewise.
9779 * include/fcntl.h: Likewise.
9780 * include/fnmatch.h: Likewise.
9781 * include/glob.h: Likewise.
9782 * include/grp.h: Likewise.
9783 * include/libio.h: Likewise.
9784 * include/locale.h: Likewise.
9785 * include/math.h: Likewise.
9786 * include/net/if.h: Likewise.
9787 * include/netdb.h: Likewise.
9788 * include/netinet/in.h: Likewise.
9789 * include/pthread.h: Likewise.
9790 * include/pwd.h: Likewise.
9791 * include/regex.h: Likewise.
9792 * include/sched.h: Likewise.
9793 * include/search.h: Likewise.
9794 * include/setjmp.h: Likewise.
9795 * include/signal.h: Likewise.
9796 * include/stdio.h: Likewise.
9797 * include/stdlib.h: Likewise.
9798 * include/string.h: Likewise.
9799 * include/sys/cdefs.h: Likewise.
9800 * include/sys/mman.h: Likewise.
9801 * include/sys/msg.h: Likewise.
9802 * include/sys/resource.h: Likewise.
9803 * include/sys/select.h: Likewise.
9804 * include/sys/socket.h: Likewise.
9805 * include/sys/stat.h: Likewise.
9806 * include/sys/statvfs.h: Likewise.
9807 * include/sys/time.h: Likewise.
9808 * include/sys/times.h: Likewise.
9809 * include/sys/uio.h: Likewise.
9810 * include/sys/utsname.h: Likewise.
9811 * include/sys/wait.h: Likewise.
9812 * include/termios.h: Likewise.
9813 * include/time.h: Likewise.
9814 * include/ulimit.h: Likewise.
9815 * include/unistd.h: Likewise.
9816 * include/utime.h: Likewise.
9817 * include/wchar.h: Likewise.
9818 * include/wctype.h: Likewise.
9819 * include/wordexp.h: Likewise.
9820
9821 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9822
9823 * time/time.h: TIME_UTC must be a macro.
9824 Make timespec_get available for ISO C11 only as well.
9825
9826 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9827
9828 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9829 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9830
9831 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9832
9833 * configure.in: Use -o not -a in test for unsupported multi-arch.
9834
9835 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9836
9837 * manual/texinfo.tex: Update to version 2012-01-19.16.
9838
9839 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9840
9841 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9842
9843 2012-02-24 Roland McGrath <roland@hack.frob.com>
9844
9845 [BZ #13738]
9846 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9847 * manual/fdl-1.3.texi: New file.
9848 * manual/fdl-1.1.texi: File removed.
9849
9850 [BZ #13738]
9851 * manual/libc.texinfo (FDL_VERSION): New @set.
9852 Use it for mention of FDL in cover text.
9853 (Documentation License): Use it in @include file name.
9854
9855 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9856 Roland McGrath <roland@hack.frob.com>
9857
9858 [BZ #5461]
9859 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9860 not LONG_LONG_MAX and LONG_LONG_MIN.
9861 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9862 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9863 name.
9864 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9865
9866 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9867
9868 [BZ #2547]
9869 [BZ #11365]
9870 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9871 manipulate bits before adding and subtracting TWO23[sx].
9872 * math/libm-test.inc (nearbyint_test): Add more tests.
9873
9874 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9875
9876 [BZ #2548]
9877 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9878 bits before adding and subtracting TWO23[sx].
9879 * math/libm-test.inc (rint_test): Add more tests.
9880 (rint_test_tonearest): Likewise.
9881 (rint_test_towardzero): Likewise.
9882 (rint_test_downward): Likewise.
9883 (rint_test_upward: Likewise.
9884
9885 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9886
9887 [BZ #10110]
9888 * include/stdc-predef.h: New file. Extracted from features.h.
9889 * include/features.h: Include stdc-predef.h.
9890 * Makefile (headers): Add stdc-predef.h.
9891 * CONFORMANCE (Compiler limitations): Update.
9892
9893 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9894
9895 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9896
9897 2012-02-21 David S. Miller <davem@davemloft.net>
9898
9899 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9900 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9901
9902 2012-02-20 David S. Miller <davem@davemloft.net>
9903
9904 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9905 using a normal save/restore sequence, rather than allocating a
9906 dummy stack frame just to store a frame pointer and restore.
9907 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9908
9909 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9910
9911 * manual/install.texi: Fix stray word in line-wrapped comment.
9912
9913 2012-02-20 David S. Miller <davem@davemloft.net>
9914
9915 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9916 both binutils and gcc support GOTDATA.
9917
9918 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9919 "rd %pc" in the PIC register setup sequences.
9920
9921 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9922 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9923 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9924 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9925 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9926 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9927 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9928 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9930 (SYSCALL_ERROR_HANDLER): Likewise.
9931 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9932 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9934 (SYSCALL_ERROR_HANDLER): Likewise.
9935
9936 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9937 (HAVE_GCC_GOTDATA): New.
9938 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9939 relocation support in both binutils and gcc.
9940 * sysdeps/sparc/elf/configure: Regenerate.
9941
9942 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9943 * sysdeps/sparc/sparc32/elf/configure: Delete.
9944 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9945 * sysdeps/sparc/sparc64/elf/configure: Delete.
9946 * sysdeps/sparc/elf/configure.in: New file.
9947 * sysdeps/sparc/elf/configure: Generate.
9948
9949 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9950 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9951 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9952 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9953 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9954
9955 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9956
9957 * manual/install.texi: Do not mention specific glibc version
9958 numbers.
9959 * manual/libc.texinfo (VERSION, UPDATED): Update.
9960 (@copying): Use @copyright{} and range of years.
9961
9962 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9963
9964 [BZ #13695]
9965 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9966 [crti.S not in sysdirs] (generated): Do not append.
9967 [crti.S not in sysdirs] (omit-deps): Likewise.
9968 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9969 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9970 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9971 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9972 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9973 Likewise.
9974 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9975 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9976 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9977 * csu/defs.awk: Remove file.
9978 * sysdeps/generic/initfini.c: Likewise.
9979 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9980 variable.
9981 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9982 Likewise.
9983
9984 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9985
9986 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9987 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9988 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9989 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9990 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9991 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9992 <bits/epoll.h>.
9993 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9994 (__EPOLL_PACKED): Define to empty if not defined by
9995 <bits/epoll.h>.
9996 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9998 bits/epoll.h.
9999
10000 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10001
10002 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10003 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10004 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10005 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10006 <bits/timerfd.h>.
10007 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10009 bits/timerfd.h.
10010
10011 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10012
10013 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10014 in C locale.
10015 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10016 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10017 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10019
10020 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10021
10022 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10023 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10024
10025 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10026
10027 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10028 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10029 defined.
10030 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10031 Likewise.
10032 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10033 entry for 2.16.
10034
10035 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10036
10037 * math/w_acos.c: Use non-signaling floating-point comparisons.
10038 * math/w_acosf.c: Likewise.
10039 * math/w_acosh.c: Likewise.
10040 * math/w_acoshf.c: Likewise.
10041 * math/w_acoshl.c: Likewise.
10042 * math/w_acosl.c: Likewise.
10043 * math/w_asin.c: Likewise.
10044 * math/w_asinf.c: Likewise.
10045 * math/w_asinl.c: Likewise.
10046 * math/w_atanh.c: Likewise.
10047 * math/w_atanhf.c: Likewise.
10048 * math/w_atanhl.c: Likewise.
10049 * math/w_exp2.c: Likewise.
10050 * math/w_exp2f.c: Likewise.
10051 * math/w_exp2l.c: Likewise.
10052 * math/w_j0.c: Likewise.
10053 * math/w_j0f.c: Likewise.
10054 * math/w_j0l.c: Likewise.
10055 * math/w_j1.c: Likewise.
10056 * math/w_j1f.c: Likewise.
10057 * math/w_j1l.c: Likewise.
10058 * math/w_jn.c: Likewise.
10059 * math/w_jnf.c: Likewise.
10060 * math/w_log.c: Likewise.
10061 * math/w_log10.c: Likewise.
10062 * math/w_log10f.c: Likewise.
10063 * math/w_log10l.c: Likewise.
10064 * math/w_log2.c: Likewise.
10065 * math/w_log2f.c: Likewise.
10066 * math/w_log2l.c: Likewise.
10067 * math/w_logf.c: Likewise.
10068 * math/w_logl.c: Likewise.
10069 * math/w_sqrt.c: Likewise.
10070 * math/w_sqrtf.c: Likewise.
10071 * math/w_sqrtl.c: Likewise.
10072 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10073 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10074 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10075 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10076 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10077
10078 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10079
10080 [BZ #9739]
10081 * manual/string.texi (strnlen): Use correct parameter name in
10082 equivalent expression.
10083
10084 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10085
10086 [BZ #11174]
10087 * manual/users.texi (seteuid): Consistently use neweuid for
10088 argument name.
10089
10090 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10091
10092 [BZ #13704]
10093 * manual/nss.texi (Services in the NSS configuration): Correct
10094 list of services in example configuration file.
10095
10096 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10097
10098 [BZ #11322]
10099 * manual/arith.texi: Remove statements about negative zero
10100 behaving identically to zero.
10101
10102 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10103
10104 [BZ #5993]
10105 * manual/install.texi: Do not document upgrading from libc5.
10106
10107 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10108
10109 [BZ #4596]
10110 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10111
10112 2012-02-18 David S. Miller <davem@davemloft.net>
10113
10114 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10115 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10116 %o7 across the call.
10117 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10118 instead.
10119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10120 SETUP_PIC_REG_LEAF.
10121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10122 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10123 * sysdeps/sparc/crtn.S: Likewise.
10124
10125 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10126
10127 * aout/Makefile: Remove.
10128
10129 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10130
10131 [BZ #13058]
10132 * manual/examples/argp-ex1.c (main): Format definition in GNU
10133 style.
10134 * manual/examples/argp-ex2.c (main): Likewise.
10135 * manual/examples/argp-ex3.c (main): Likewise.
10136 * manual/examples/argp-ex4.c (main): Likewise.
10137 * manual/examples/longopt.c (main): Use new-style prototype
10138 definition.
10139 * manual/examples/strncat.c (main): Specify return type and use
10140 (void) for arguments.
10141 * manual/examples/subopt.c (main): Use char **argv argument.
10142
10143 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10144
10145 [BZ #5077]
10146 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10147 rounding modes.
10148
10149 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10150
10151 [BZ #6907]
10152 * manual/string.texi (strchr): Change when strchrnul is
10153 recommended.
10154
10155 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10156
10157 [BZ #174]
10158 * manual/locale.texi (setlocale): Document LOCPATH.
10159
10160 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10161
10162 [BZ #10210]
10163 * manual/process.texi (execle): Move @dots{} before last argument.
10164
10165 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10166
10167 [BZ #12047]
10168 * manual/charset.texi (Generic Charset Conversion): Fix typo
10169 (LC_TYPE -> LC_CTYPE).
10170
10171 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10172
10173 [BZ #5805]
10174 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10175 (scalbnf): Likewise.
10176 (scalbnl): Likewise.
10177 (scalbln): Likewise.
10178 (scalblnf): Likewise.
10179 (scalblnl): Likewise.
10180 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10181 (vwarnx): Likewise.
10182 (verr): Likewise.
10183 (verrx): Likewise.
10184 * manual/filesys.texi (telldir): Use braces around return type.
10185 * manual/llio.texi (mmap): Add space after comma.
10186 (mmap64): Likewise.
10187 * manual/math.texi (jn): Use @var{} on parameter names.
10188 (jnf): Likewise.
10189 (jnl): Likewise.
10190 (yn): Likewise.
10191 (ynf): Likewise.
10192 (ynl): Likewise.
10193 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10194 line.
10195 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10196 "...".
10197 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10198 (sched_get_priority_max): Likewise.
10199 * manual/signal.texi (sigvec): Add space after comma.
10200 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10201 names.
10202 (if_indextoname): Likewise.
10203 (if_freenameindex): Likewise.
10204 (sendto): Use ',' instead of '.' in prototype.
10205 * manual/startup.texi (syscall): Use @dots{} instead of literal
10206 "...".
10207 * manual/stdio.texi (__fpending): Separate initial words of
10208 paragraph from @deftypefun line.
10209 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10210 "...".
10211 (vsyslog): Use @var{} on parameter names.
10212 * manual/terminal.texi (stty): Use @var{} on parameter names.
10213 * manual/users.texi (getutmp): Use @var{} on parameter names.
10214 (getutmpx): Likewise.
10215
10216 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10217
10218 [BZ #6884]
10219 * manual/stdio.texi (fopen): Fix typos in description of
10220 ",ccs=STRING".
10221
10222 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10223
10224 [BZ #4026]
10225 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10226 get clock_id definition.
10227
10228 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10229
10230 [BZ #4822]
10231 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10232 (madvise): Cast every argument to void on its own.
10233
10234 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10235
10236 [BZ #9902]
10237 * manual/startup.texi (Exit Status): Fix typo.
10238
10239 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10240
10241 [BZ #10140]
10242 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10243 * manual/examples/argp-ex2.c: Likewise.
10244 * manual/examples/argp-ex3.c: Likewise.
10245
10246 2012-02-16 Richard Henderson <rth@redhat.com>
10247
10248 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10249 * sysdeps/s390/s390-32/initfini.c: Remove.
10250 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10251 * sysdeps/s390/s390-64/initfini.c: Remove.
10252
10253 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10254
10255 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10256 compiler output for sysdeps/generic/initfini.c.
10257 * sysdeps/sh/elf/initfini.c: Remove file.
10258
10259 2012-02-16 David S. Miller <davem@davemloft.net>
10260
10261 [BZ #11494]
10262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10263
10264 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10265 * sysdeps/sparc/crti.S: New file.
10266 * sysdeps/sparc/crtn.S: New file.
10267 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10268 * sysdeps/sparc/sparc64/Makefile: Likewise.
10269
10270 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10271
10272 [BZ #3335]
10273 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10274
10275 2012-02-15 Roland McGrath <roland@hack.frob.com>
10276
10277 [BZ #4822]
10278 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10279
10280 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10281 (write, read, close): Likewise.
10282 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10283
10284 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10285
10286 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10287 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10288 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10289 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10290 <bits/signalfd.h>.
10291 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10293 bits/signalfd.h.
10294
10295 2012-02-14 Marek Polacek <polacek@redhat.com>
10296
10297 * sysdeps/x86_64/crti.S: New file.
10298 * sysdeps/x86_64/crtn.S: New file.
10299 * sysdeps/x86_64/elf/initfini.c: Remove file.
10300
10301 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10302
10303 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10304 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10305 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10306 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10307 <bits/inotify.h>.
10308 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10310 bits/inotify.h.
10311
10312 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10313
10314 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10315 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10316 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10317 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10318 <bits/eventfd.h>.
10319 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10321 bits/eventfd.h.
10322
10323 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10324
10325 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10326 __feraiseexcept instead of feraiseexcept.
10327
10328 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10329 nanosleep invocations.
10330 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10331 strings, and add error checking for a nanosleep invocations.
10332
10333 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10334
10335 Replace FSF snail mail address with URLs, as per GNU coding standards.
10336 Most of the snail mail addresses were wrong anyway, and omitting
10337 them makes the source code easier to maintain. Almost all of the
10338 changes are to license notices and to locale LC_IDENTIFICATION
10339 addresses, except for this one:
10340 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10341 not its snail mail address.
10342
10343 2012-02-09 Richard Henderson <rth@twiddle.net>
10344
10345 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10346 of kernel-features.h.
10347
10348 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10349
10350 2012-02-08 Marek Polacek <polacek@redhat.com>
10351
10352 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10353 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10354 * sysdeps/gnu/_G_config.h: Likewise.
10355 * sysdeps/generic/_G_config.h: Likewise.
10356
10357 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10358
10359 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10360 tests.
10361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10362
10363 * sysdeps/powerpc/powerpc32/crti.S: New file.
10364 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10365 * sysdeps/powerpc/powerpc64/crti.S: New file.
10366 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10367
10368 * Makeconfig (have-initfini): Don't set.
10369 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10370 * configure.in (nopic_initfini): Don't substitute.
10371 * config.h.in (HAVE_INITFINI): Don't #undef.
10372 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10373 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10374
10375 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10376
10377 Support crti.S and crtn.S provided directly by architectures.
10378 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10379 [crti.S in sysdirs] (omit-deps): Likewise.
10380 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10381 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10382 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10383 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10384 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10385 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10386 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10387 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10388 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10389 compiler output for sysdeps/generic/initfini.c.
10390 * sysdeps/i386/elf/Makefile: Remove file.
10391 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10392
10393 2012-02-07 Marek Polacek <polacek@redhat.com>
10394
10395 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10396 * sysdeps/gnu/_G_config.h: Likewise.
10397 * sysdeps/mach/hurd/_G_config.h: Likewise.
10398
10399 2012-02-07 Marek Polacek <polacek@redhat.com>
10400
10401 * math/Makefile (tests): Add tst-CMPLX2.
10402 * math/tst-CMPLX2.c: New file.
10403
10404 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10405
10406 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10407
10408 * math/libm-test.inc (jn_test): Add missing L suffix.
10409
10410 2012-02-06 Marek Polacek <polacek@redhat.com>
10411
10412 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10413 * sysdeps/i386/fpu/e_powf.S: Likewise.
10414 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10415 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10416 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10417 * sysdeps/i386/fpu/e_pow.S: Likewise.
10418 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10419 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10420 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10421 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10422 * sysdeps/i386/fpu/e_log2.S: Likewise.
10423 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10424 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10425 * sysdeps/i386/fpu/e_powl.S: Likewise.
10426 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10427 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10428 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10429 * sysdeps/i386/fpu/e_logl.S: Likewise.
10430 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10431 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10432 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10433 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10434 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10435 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10436 * sysdeps/i386/fpu/e_log.S: Likewise.
10437 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10438 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10439 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10440 * sysdeps/i386/fpu/e_logf.S: Likewise.
10441 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10442 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10443 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10444 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10445 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10446 * sysdeps/i386/fpu/e_log10.S: Likewise.
10447 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10448 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10449 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10450 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10451 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10452 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10453 * sysdeps/i386/asm-syntax.h: Likewise.
10454 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10455 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10456 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10457 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10458 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10459 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10460 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10461 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10462 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10463 * sysdeps/powerpc/sysdep.h: Likewise.
10464 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10465 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10466
10467 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10468
10469 [BZ #411]
10470 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10471
10472 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10473
10474 * sysdeps/i386/sysdep.h: Include <features.h>.
10475 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10476 version.
10477
10478 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10479
10480 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10481 Define.
10482 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10483 LOAD_PIC_REG_STR.
10484
10485 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10486
10487 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10488 (SETUP_PIC_REG): Use GET_PC_THUNK.
10489 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10490 macro.
10491
10492 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10493
10494 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10495 for non-PIC compilation.
10496 (SETUP_PIC_REG): Add .p2align directive.
10497 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10498 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10499 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10500 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10501 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10502 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10503 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10504 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10505 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10506 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10507 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10508 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10509 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10510 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10511 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10512 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10513 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10514 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10515 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10516 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10517 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10518 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10519 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10520 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10521 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10523 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10524 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10525 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10526 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10527 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10528 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10529 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10530 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10531 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10532 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10533 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10534 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10535 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10536 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10537 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10538
10539 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10540
10541 * math/tst-CMPLX.c: Include <stdio.h>.
10542
10543 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10544
10545 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10546 float.
10547 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10548 * sysdeps/sparc/bits/mathdef.h: Likewise.
10549
10550 2012-01-31 Marek Polacek <polacek@redhat.com>
10551
10552 * libio/libio.h: Don't define _PARAMS.
10553 * locale/programs/config.h: Don't define PARAMS.
10554 * stdlib/strtol_l.c: Likewise.
10555 (__strtol_l): Remove PARAMS from the prototype.
10556
10557 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10558
10559 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10560 names. Just use the correct names. Remove unnecessary wrapper
10561 functions.
10562 * malloc/arena.c: Likewise.
10563 * malloc/hooks.c: Likewise.
10564
10565 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10566 ARENA_TEST says not to. Simplify test for creation of a new arena.
10567 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10568
10569 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10570
10571 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10572 into tail calls.
10573 (update_get_addr): New function.
10574 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10575 GET_ADDR_MODULE parameter.
10576
10577 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10578
10579 * crypt/cert.c: Remove __STDC__ conditionals.
10580 * crypt/crypt-entry.c: Likewise.
10581 * crypt/crypt_util.c: Likewise.
10582 * libio/filedoalloc.c: Likewise.
10583 * libio/fileops.c: Likewise.
10584 * libio/genops.c: Likewise.
10585 * libio/iofclose.c: Likewise.
10586 * libio/iofdopen.c: Likewise.
10587 * libio/iofopen.c: Likewise.
10588 * libio/iofopen64.c: Likewise.
10589 * libio/iogetdelim.c: Likewise.
10590 * libio/iopopen.c: Likewise.
10591 * libio/obprintf.c: Likewise.
10592 * libio/oldfileops.c: Likewise.
10593 * libio/oldiofclose.c: Likewise.
10594 * libio/oldiofdopen.c: Likewise.
10595 * libio/oldiofopen.c: Likewise.
10596 * libio/oldiopopen.c: Likewise.
10597 * libio/wfiledoalloc.c: Likewise.
10598 * libio/wgenops.c: Likewise.
10599 * locale/programs/xmalloc.c: Likewise.
10600 * misc/syslog.c: Likewise.
10601 * stdio-common/xbug.c: Likewise.
10602 * string/memchr.c: Likewise.
10603 * string/memcmp.c: Likewise.
10604 * string/memrchr.c: Likewise.
10605 * string/rawmemchr.c: Likewise.
10606 * sysdeps/posix/getcwd.c: Likewise.
10607 * time/strftime_l.c: Likewise.
10608
10609 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10610
10611 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10612 * config.make.in (config-cflags-sse2avx): Define.
10613 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10614 Fix typo.
10615
10616 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10617
10618 * scripts/config.guess: Update from upstream config git repository.
10619 * scripts/config.sub: Likewise.
10620
10621 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10622
10623 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10624 (EM_NUM): Update.
10625 (R_TILEPRO_*, R_TILEGX_*): New macros.
10626
10627 * scripts/firstversions.awk: Fix bug in version range handling.
10628
10629 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10630
10631 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10632
10633 * include/sys/epoll.h: New file.
10634 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10635 libc_hidden_def.
10636
10637 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10638
10639 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10640 Avoid unnecessary __WORDSIZE == 64 test.
10641 (fmaxf): Use VEX format if possible.
10642 (fmax): Likewise.
10643 (fminf): Likewise.
10644 (fmin): Likewise.
10645
10646 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10647 * math/math_private.h: Remove libc_fegetround* and
10648 libc_fesetround*.
10649 * sysdeps/i386/configure.in: Check for -msse2avx.
10650 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10651 also if SSE2AVX is defined.
10652 Remove libc_fegetround* and libc_fesetround*.
10653 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10654 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10655 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10656 of HAS_YMM_USABLE.
10657 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10658 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10659 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10660 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10661 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10662
10663 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10664
10665 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10666
10667 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10668 size is not set.
10669 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10670
10671 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10672
10673 [BZ #13618]
10674 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10675 relocation.
10676 * Makeconfig (libm): Define.
10677 * elf/Makefile: Add rules to build and run tst-relsort1.
10678 * elf/tst-relsort1.c: New file.
10679 * elf/tst-relsort1mod1.c: New file.
10680 * elf/tst-relsort1mod2.c: New file.
10681
10682 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10683
10684 * math/s_ldexp.c: Remove __STDC__ conditionals.
10685 * math/s_ldexpf.c: Likewise.
10686 * math/s_ldexpl.c: Likewise.
10687 * math/s_nextafter.c: Likewise.
10688 * math/s_nexttowardf.c: Likewise.
10689 * math/s_significand.c: Likewise.
10690 * math/s_significandf.c: Likewise.
10691 * math/s_significandl.c: Likewise.
10692 * math/w_jnl.c: Likewise.
10693 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10694 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10695 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10696 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10697 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10703 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10707 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10712 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10713 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10714 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10715 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10716 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10717 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10718 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10719 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10720 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10721 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10722 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10723 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10724 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10725 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10726 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10727 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10728 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10729 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10730 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10731 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10732 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10733 * sysdeps/ieee754/k_standard.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10738 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10776 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10778 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10779 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10782 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10792 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10793 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10795 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10800 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10808 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10809 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10810 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10811 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10812 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10813 * sysdeps/ieee754/s_matherr.c: Likewise.
10814 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10815 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10816 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10817 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10818
10819 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10820
10821 * crypt/md5.h: Remove __STDC__ conditionals.
10822 * libio/libioP.h: Likewise.
10823 * locale/programs/config.h: Likewise.
10824 * sysdeps/generic/sysdep.h: Likewise.
10825 * sysdeps/i386/asm-syntax.h: Likewise.
10826 * sysdeps/s390/asm-syntax.h: Likewise.
10827 * sysdeps/unix/sysdep.h: Likewise.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10830
10831 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10832
10833 * libio/libio.h: Remove __STDC__ conditionals.
10834 * malloc/obstack.h: Likewise.
10835 * math/complex.h: Likewise.
10836 * math/math.h: Likewise.
10837 * sysdeps/generic/_G_config.h: Likewise.
10838 * sysdeps/gnu/_G_config.h: Likewise.
10839 * sysdeps/mach/hurd/_G_config.h: Likewise.
10840 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10841 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10842 * sysdeps/sparc/bits/mathdef.h: Likewise.
10843
10844 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10845
10846 [BZ #13583]
10847 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10848 Clean up HAS_* macros.
10849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10850 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10851 possible.
10852 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10853 HAS_AVX.
10854 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10855 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10857 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10858 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10859
10860 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10861
10862 * elf/tst-unique3.cc (gets): Remove declaration.
10863 * elf/tst-unique3lib.cc (gets): Likewise.
10864 * elf/tst-unique3lib2.cc (gets): Likewise.
10865 * elf/tst-unique4.cc (gets): Likewise.
10866
10867 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10868
10869 * include/stdio.h: Add C++ protection. Add gets declarations and
10870 definitions.
10871 * debug/tst-chk1.c: Don't declare gets here.
10872 * stdio-common/tst-gets.c: Likewise.
10873
10874 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10875
10876 * posix/glob: Remove directory.
10877
10878 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10879
10880 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10881
10882 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10883
10884 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10885 of the non-standard EPFNOSUPPORT.
10886
10887 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10888
10889 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10890 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10891 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10892
10893 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10894
10895 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10896
10897 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10898
10899 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10900 transient errors.
10901 * nscd/grpcache.c (cache_addgr): Likewise.
10902 * nscd/hstcache.c (cache_addhst): Likewise.
10903 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10904 * nscd/pwdcache.c (cache_addpw): Likewise.
10905 * nscd/servicescache.c (cache_addserv): Likewise.
10906
10907 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10908
10909 * malloc/malloc.c: Various cleanups.
10910 * malloc/hooks.c: Likewise.
10911
10912 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10913 * stdlib/bug-fmtmsg1.c: New file.
10914
10915 * stdlib/fmtmsg.c (init): Add missing unlock.
10916 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10917
10918 2012-01-12 Marek Polacek <polacek@redhat.com>
10919
10920 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10921 and _GNU_SOURCE.
10922
10923 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10924
10925 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10926 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10927 macro to ensure uniqueness of label name.
10928 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10929 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10930
10931 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10932
10933 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10934
10935 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10936 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10937 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10939
10940 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10941
10942 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10943
10944 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10945 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10946 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10947
10948 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10949
10950 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10951 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10952 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10954
10955 * math/bits/math-finite.h: Add ldexp support.
10956
10957 2012-01-10 Marek Polacek <polacek@redhat.com>
10958
10959 * locale/programs/localedef.h (show_archive_content): Add noreturn
10960 attribute.
10961
10962 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10963
10964 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10965
10966 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10967
10968 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10969
10970 * io/Makefile (headers): Add bits/poll2.h.
10971
10972 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10973
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10975 typo #include statement.
10976
10977 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10978
10979 * include/sys/cdefs.h: Define __attribute_alloc_size.
10980 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10981 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10982 * elf/pldd.c: Likewise.
10983 * iconv/iconv_charmap.c: Likewise.
10984 * iconv/iconvconfig.c: Likewise.
10985 * iconv/strtab.c: Likewise.
10986 * locale/programs/locale.c: Likewise.
10987 * locale/programs/localedef.h: Likewise.
10988 * locale/programs/simple-hash.c: Likewise.
10989 * nscd/nscd.h: Likewise.
10990 * nss/makedb.c: Likewise.
10991 * sysdeps/generic/ldconfig.h: Likewise.
10992 * locale/programs/localedef.c: Remove xmalloc prototype.
10993 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10994
10995 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10996
10997 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10998 appropriate.
10999
11000 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11001
11002 * math/Makefile (tests): Add tst-CMPLX.
11003 * math/tst-CMPLX.c: New file.
11004
11005 * math/complex.h (CMPLXL): Fix typo.
11006
11007 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11008 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11009 GLIBC_2.16.
11010 * debug/tst-chk1.c: Add poll and ppoll tests.
11011 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11012 * include/sys/poll.h: Add hidden proto for ppoll.
11013 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11014 * sysdeps/mach/hurd/ppoll.c: Likewise.
11015 * io/ppoll.c: Likewise.
11016 * debug/poll_chk.c: New file.
11017 * debug/ppoll_chk.c: New file.
11018 * include/bits/poll2.h: New file.
11019 * io/bits/poll2.h: New file.
11020
11021 [BZ #1350]
11022 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11023
11024 * configure.in: static is always set to yes. Remove.
11025 * config.make.in: Don't set build-static.
11026 * Makeconfig: Remove use of build-static.
11027 * dlfcn/Makefile: Likewise.
11028 * elf/Makefile: Likewise.
11029 * math/Makefile: Likewise.
11030 * misc/Makefile: Likewise.
11031 * nptl/Makefile: Likewise.
11032 * sysdeps/mach/hurd/Makefile: Likewise.
11033
11034 * configure.in: PWD_P is not used anymore.
11035 * config.make.in: Remove PWD_P entry.
11036
11037 * configure.in: Remove last remnants of RANLIB.
11038 No need to check for signed size_t anymore.
11039 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11040 and IA-64.
11041 Remove __builtin_expect test because we require at least gcc 3.4.
11042 * aclocal.m4: Likewise.
11043
11044 * wcsmbs/mbrtoc16.c: Implement using towc function.
11045 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11046 * wcsmbs/wcsmbsload.c: Likewise.
11047 * iconv/gconv_simple.c: Likewise.
11048 * iconv/gconv_int.h: Likewise.
11049 * iconv/gconv_builtin.h: Likewise.
11050 * iconv/iconv_prog.c: Remove CHAR16 handling.
11051
11052 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11053
11054 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11055
11056 * configure.in: Remove --with-elf and --enable-bounded options.
11057 Dont set base_machine for ia64. More non-ELF conditions removed.
11058 Remove testing and setting of leading underscore information.
11059 * config.make.in (build-bounded): Set to no.
11060 * config.h.in: Remove NO_UNDERSCORES entry.
11061 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11062 them.
11063 * csu/start.c: Remove !NO_UNDERSCORE code.
11064 * locale/localeinfo.h: Likewise.
11065 * sysdeps/generic/machine-gmon.h: Likewise.
11066 * sysdeps/generic/sysdep.h: Likewise.
11067 * sysdeps/i386/sysdep.h: Likewise.
11068 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11069 * sysdeps/mach/sysdep.h: Likewise.
11070 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11071 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11072 * sysdeps/sh/sysdep.h: Likewise.
11073 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11074 * sysdeps/unix/i386/sysdep.S: Likewise.
11075 * sysdeps/unix/sparc/start.c: Likewise.
11076 * sysdeps/unix/sparc/sysdep.S: Likewise.
11077 * sysdeps/unix/sparc/sysdep.h: Likewise.
11078 * sysdeps/unix/start.c: Likewise.
11079 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11080 * sysdeps/x86_64/sysdep.h: Likewise.
11081
11082 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11083
11084 [BZ #13553]
11085 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11086 for non-gcc.
11087 * argp/argp-fmtstream.h: Use const instead __const.
11088 * argp/argp.h: Likewise.
11089 * assert/assert.h: Likewise.
11090 * bits/fenv.h: Likewise.
11091 * bits/sched.h: Likewise.
11092 * bits/sigset.h: Likewise.
11093 * bits/sigthread.h: Likewise.
11094 * catgets/nl_types.h: Likewise.
11095 * conform/data/pthread.h-data: Likewise.
11096 * crypt/crypt-private.h: Likewise.
11097 * crypt/crypt.h: Likewise.
11098 * crypt/crypt_util.c: Likewise.
11099 * ctype/ctype.h: Likewise.
11100 * debug/execinfo.h: Likewise.
11101 * debug/mbsnrtowcs_chk.c: Likewise.
11102 * debug/mbsrtowcs_chk.c: Likewise.
11103 * debug/wcsnrtombs_chk.c: Likewise.
11104 * debug/wcsrtombs_chk.c: Likewise.
11105 * debug/wcstombs_chk.c: Likewise.
11106 * dirent/dirent.h: Likewise.
11107 * dlfcn/dlfcn.h: Likewise.
11108 * elf/neededtest4.c: Likewise.
11109 * grp/grp.h: Likewise.
11110 * gshadow/gshadow.h: Likewise.
11111 * iconv/gconv.h: Likewise.
11112 * iconv/gconv_int.h: Likewise.
11113 * iconv/gconv_simple.c: Likewise.
11114 * iconv/iconv.h: Likewise.
11115 * iconv/loop.c: Likewise.
11116 * iconv/skeleton.c: Likewise.
11117 * include/aio.h: Likewise.
11118 * include/aliases.h: Likewise.
11119 * include/argz.h: Likewise.
11120 * include/arpa/inet.h: Likewise.
11121 * include/assert.h: Likewise.
11122 * include/dirent.h: Likewise.
11123 * include/dlfcn.h: Likewise.
11124 * include/execinfo.h: Likewise.
11125 * include/fcntl.h: Likewise.
11126 * include/fenv.h: Likewise.
11127 * include/glob.h: Likewise.
11128 * include/grp.h: Likewise.
11129 * include/libintl.h: Likewise.
11130 * include/mntent.h: Likewise.
11131 * include/netdb.h: Likewise.
11132 * include/pwd.h: Likewise.
11133 * include/rpc/netdb.h: Likewise.
11134 * include/sched.h: Likewise.
11135 * include/search.h: Likewise.
11136 * include/shadow.h: Likewise.
11137 * include/signal.h: Likewise.
11138 * include/stdio.h: Likewise.
11139 * include/stdlib.h: Likewise.
11140 * include/string.h: Likewise.
11141 * include/sys/socket.h: Likewise.
11142 * include/sys/stat.h: Likewise.
11143 * include/sys/statfs.h: Likewise.
11144 * include/sys/statvfs.h: Likewise.
11145 * include/sys/syslog.h: Likewise.
11146 * include/sys/time.h: Likewise.
11147 * include/sys/uio.h: Likewise.
11148 * include/time.h: Likewise.
11149 * include/unistd.h: Likewise.
11150 * include/utmp.h: Likewise.
11151 * include/wchar.h: Likewise.
11152 * include/wctype.h: Likewise.
11153 * inet/aliases.h: Likewise.
11154 * inet/arpa/inet.h: Likewise.
11155 * inet/netinet/ether.h: Likewise.
11156 * inet/netinet/in.h: Likewise.
11157 * intl/libintl.h: Likewise.
11158 * io/bits/fcntl2.h: Likewise.
11159 * io/fcntl.h: Likewise.
11160 * io/ftw.h: Likewise.
11161 * io/sys/poll.h: Likewise.
11162 * io/sys/stat.h: Likewise.
11163 * io/sys/statfs.h: Likewise.
11164 * io/sys/statvfs.h: Likewise.
11165 * io/utime.h: Likewise.
11166 * libio/bits/stdio.h: Likewise.
11167 * libio/bits/stdio2.h: Likewise.
11168 * libio/libio.h: Likewise.
11169 * libio/libioP.h: Likewise.
11170 * libio/stdio.h: Likewise.
11171 * locale/lc-ctype.c: Likewise.
11172 * locale/locale.h: Likewise.
11173 * login/utmp.h: Likewise.
11174 * malloc/arena.c: Likewise.
11175 * malloc/malloc.c: Likewise.
11176 * malloc/malloc.h: Likewise.
11177 * malloc/mcheck.c: Likewise.
11178 * malloc/mtrace.c: Likewise.
11179 * math/bits/mathcalls.h: Likewise.
11180 * math/fenv.h: Likewise.
11181 * math/math_private.h: Likewise.
11182 * misc/bits/error.h: Likewise.
11183 * misc/bits/syslog.h: Likewise.
11184 * misc/err.h: Likewise.
11185 * misc/error.h: Likewise.
11186 * misc/fstab.h: Likewise.
11187 * misc/mntent.h: Likewise.
11188 * misc/regexp.h: Likewise.
11189 * misc/search.h: Likewise.
11190 * misc/sgtty.h: Likewise.
11191 * misc/sys/mman.h: Likewise.
11192 * misc/sys/syslog.h: Likewise.
11193 * misc/sys/uio.h: Likewise.
11194 * misc/sys/xattr.h: Likewise.
11195 * misc/ttyent.h: Likewise.
11196 * nis/rpcsvc/ypclnt.h: Likewise.
11197 * nss/nss.h: Likewise.
11198 * posix/bits/unistd.h: Likewise.
11199 * posix/fnmatch.h: Likewise.
11200 * posix/glob.h: Likewise.
11201 * posix/sched.h: Likewise.
11202 * posix/spawn.h: Likewise.
11203 * posix/sys/wait.h: Likewise.
11204 * posix/unistd.h: Likewise.
11205 * posix/wordexp.h: Likewise.
11206 * pwd/pwd.h: Likewise.
11207 * resolv/netdb.h: Likewise.
11208 * resource/sys/resource.h: Likewise.
11209 * rt/aio.h: Likewise.
11210 * rt/bits/mqueue2.h: Likewise.
11211 * rt/mqueue.h: Likewise.
11212 * shadow/shadow.h: Likewise.
11213 * signal/signal.h: Likewise.
11214 * socket/send.c: Likewise.
11215 * socket/sendto.c: Likewise.
11216 * socket/sys/socket.h: Likewise.
11217 * stdio-common/printf.h: Likewise.
11218 * stdlib/bits/stdlib.h: Likewise.
11219 * stdlib/fmtmsg.h: Likewise.
11220 * stdlib/monetary.h: Likewise.
11221 * stdlib/stdlib.h: Likewise.
11222 * stdlib/ucontext.h: Likewise.
11223 * streams/stropts.h: Likewise.
11224 * string/argz.h: Likewise.
11225 * string/bits/string2.h: Likewise.
11226 * string/string.h: Likewise.
11227 * string/strings.h: Likewise.
11228 * sunrpc/rpc/auth.h: Likewise.
11229 * sunrpc/rpc/auth_des.h: Likewise.
11230 * sunrpc/rpc/clnt.h: Likewise.
11231 * sunrpc/rpc/netdb.h: Likewise.
11232 * sunrpc/rpc/pmap_clnt.h: Likewise.
11233 * sunrpc/rpc/xdr.h: Likewise.
11234 * sysdeps/generic/inttypes.h: Likewise.
11235 * sysdeps/generic/net/if.h: Likewise.
11236 * sysdeps/generic/sys/swap.h: Likewise.
11237 * sysdeps/gnu/net/if.h: Likewise.
11238 * sysdeps/gnu/utmpx.h: Likewise.
11239 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11240 * sysdeps/i386/i486/bits/string.h: Likewise.
11241 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11242 * sysdeps/s390/bits/string.h: Likewise.
11243 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11244 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11245 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11246 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11247 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11248 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11249 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11250 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11251 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11252 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11253 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11254 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11255 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11256 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11257 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11258 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11259 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11260 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11261 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11262 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11263 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11264 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11265 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11266 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11267 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11268 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11269 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11270 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11271 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11272 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11273 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11274 * sysvipc/sys/ipc.h: Likewise.
11275 * sysvipc/sys/msg.h: Likewise.
11276 * sysvipc/sys/sem.h: Likewise.
11277 * sysvipc/sys/shm.h: Likewise.
11278 * termios/termios.h: Likewise.
11279 * time/sys/time.h: Likewise.
11280 * time/time.h: Likewise.
11281 * wcsmbs/bits/wchar2.h: Likewise.
11282 * wcsmbs/uchar.h: Likewise.
11283 * wcsmbs/wchar.h: Likewise.
11284 * wctype/wctype.h: Likewise.
11285
11286 [BZ #13551]
11287 * Makeconfig: Remove all but ELF support including AIX support.
11288 * Makerules: Likewise.
11289 * config.h.in: Likewise.
11290 * config.make.in: Likewise.
11291 * configure: Likewise.
11292 * configure.in: Likewise.
11293 * csu/Makefile: Likewise.
11294 * csu/version.c: Likewise.
11295 * debug/Makefile: Likewise.
11296 * dlfcn/Makefile: Likewise.
11297 * elf/Makefile: Likewise.
11298 * extra-lib.mk: Likewise.
11299 * iconv/Makefile: Likewise.
11300 * include/libc-symbols.h: Likewise.
11301 * include/shlib-compat.h: Likewise.
11302 * resolv/Makefile: Likewise.
11303 * resolv/res_libc.c: Likewise.
11304 * rt/Makefile: Likewise.
11305 * sysdeps/i386/asm-syntax.h: Likewise.
11306 * sysdeps/i386/sysdep.h: Likewise.
11307 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11308 * sysdeps/mach/sysdep.h: Likewise.
11309 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11310 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11311 * sysdeps/s390/asm-syntax.h: Likewise.
11312 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11313 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11314 * sysdeps/sh/sysdep.h: Likewise.
11315 * sysdeps/unix/sparc/sysdep.h: Likewise.
11316 * sysdeps/wordsize-32/divdi3.c: Likewise.
11317 * sysdeps/x86_64/sysdep.h: Likewise.
11318
11319 * argp/Versions: Remove _argp_unlock_xxx.
11320
11321 [BZ #13559]
11322 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11323 * abilist/libBrokenLocale.abilist: Likewise.
11324 * abilist/libanl.abilist: Likewise.
11325 * abilist/libc.abilist: Likewise.
11326 * abilist/libcrypt.abilist: Likewise.
11327 * abilist/libdl.abilist: Likewise.
11328 * abilist/libm.abilist: Likewise.
11329 * abilist/libnsl.abilist: Likewise.
11330 * abilist/libpthread.abilist: Likewise.
11331 * abilist/libresolv.abilist: Likewise.
11332 * abilist/librt.abilist: Likewise.
11333 * abilist/libthread_db.abilist: Likewise.
11334 * abilist/libutil.abilist: Likewise.
11335 * abilist/libnss_db.abilist: New file.
11336
11337 * scripts/abilist.awk: Add support for indirect functions.
11338
11339 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11340
11341 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11342
11343 * shlib-versions: Remove entries for ports architectures.
11344
11345 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11346 files in ports.
11347 * elf/stackguard-macros.h: Remove support for IA-64.
11348 * elf/tst-auditmod1.c: Likewise.
11349 * sysdeps/generic/ldsodefs.h: Likewise.
11350
11351 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11352 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11353 configure files.
11354
11355 [BZ #13552]
11356 * configure.in: Remove --enable-omitfp support.
11357 * FAQ.in: Adjust.
11358 * config.make.in: Likewise.
11359 * Makeconfig: Likewise.
11360 * manual/install.texi: Likewise.
11361
11362 In case anyone cares, the IA-64 architecture could move to ports.
11363 * sysdeps/ia64/*: Removed.
11364 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11365 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11366
11367 [BZ #13555]
11368 * configure.in: Remove entries for unsupported architectures.
11369
11370 [BZ #13533]
11371 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11372 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11373 routines.
11374 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11375 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11376 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11377 fall back to using wcrtomb.
11378 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11379 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11380 renaming.
11381 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11382 * wcsmbs/tst-c16c32-1.c: New file.
11383
11384 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11385 local variable.
11386
11387 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11388
11389 * elf/tst-unique3.cc: Add explicit declaration of gets.
11390 * elf/tst-unique3lib.cc: Likewise.
11391 * elf/tst-unique3lib2.cc: Likewise.
11392 * elf/tst-unique4.cc: Likewise.
11393
11394 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11395
11396 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11397
11398 [BZ #13566]
11399 * assert/assert.h (static_assert): Don't define for C++.
11400 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11401 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11402
11403 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11404
11405 * iconv/loop.c (single loop): Fix assertion in storing of
11406 remaining bytes.
11407
11408 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11409
11410 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11411
11412 * posix/getconf.c: Update copyright year.
11413 * nss/getent.c: Likewise.
11414 * nss/makedb.c: Likewise.
11415 * iconv/iconvconfig.c: Likewise.
11416 * iconv/iconv_prog.c: Likewise.
11417 * elf/ldconfig.c: Likewise.
11418 * elf/pldd.c: Likewise.
11419 * elf/sotruss.ksh: Likewise.
11420 * catgets/gencat.c: Likewise.
11421 * csu/version.c: Likewise.
11422 * elf/ldd.bash.in: Likewise.
11423 * elf/sprof.c (print_version): Likewise.
11424 * locale/programs/locale.c: Likewise.
11425 * locale/programs/localedef.c: Likewise.
11426 * login/programs/pt_chown.c: Likewise.
11427 * nscd/nscd.c (print_version): Likewise.
11428 * debug/xtrace.sh: Likewise.
11429 * malloc/memusage.sh: Likewise.
11430 * malloc/mtrace.pl: Likewise.
11431 * debug/catchsegv.sh: Likewise.
11432
11433 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11434
11435 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11436 pure attribute.
11437
11438 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11439
11440 [BZ #13533]
11441 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11442 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11443 transformations.
11444 * iconv/gconv_int.h: Likewise.
11445 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11446 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11447 from libc for GLIBC_2.16.
11448 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11449 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11450 * wcsmbs/uchar.h: Really define mbstate_t.
11451 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11452 * wcsmbs/c16rtomb.c: New file.
11453 * wcsmbs/mbrtoc16.c: New file.
11454 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11455 for C/POSIX locale.
11456 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11457 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11458
11459 * wcsmbs/wchar.h: Add missing __restrict.
11460
11461 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11462
11463 [BZ #13532]
11464 * time/Makefile (routines): Add timespec_get.
11465 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11466 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11467 timespec for ISO C11.
11468 * time/timespec_get.c: New file.
11469 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11470 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11471
11472 [BZ #13531]
11473 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11474 * stdlib/stdlib.h: Declare aligned_alloc.
11475 * Versions.def: Add GLIBC_2.16 for libc.
11476 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11477
11478 [BZ 13527]
11479 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11480 ISO C11.
11481
11482 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11483 code.
11484
11485 [BZ #13528]
11486 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11487
11488 [BZ #13529]
11489 * assert/assert.h (static_assert): Define.
11490
11491 * version.h: Update for 2.16 development version.
11492
11493 [BZ #13526]
11494 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11495 _ISOC11_SOURCE.
11496
11497 * version.h (RELEASE): Bump for 2.15 release.
11498 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11499
11500 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11501 Patch by Marek Polacek <mpolacek@redhat.com>.
11502
11503 * bits/byteswap.h: Protect long long constants with __extension__.
11504 * sysdeps/i386/bits/byteswap.h: Likewise.
11505 * sysdeps/ia64/bits/byteswap.h: Likewise.
11506 * sysdeps/s390/bits/byteswap.h: Likewise.
11507 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11508
11509 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11510
11511 [BZ #13540]
11512 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11513 destination buffer.
11514 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11515
11516 2011-12-23 Marek Polacek <polacek@redhat.com>
11517
11518 * elf/dl-addr.c (determine_info): Add inline keyword.
11519 * elf/tst-auditmod4b.c (check_avx): Likewise.
11520 * elf/tst-auditmod6b.c (check_avx): Likewise.
11521 * elf/tst-auditmod6c.c (check_avx): Likewise.
11522 * elf/tst-auditmod7b.c (check_avx): Likewise.
11523
11524 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11525
11526 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11527 !__SSE_MATH__.
11528
11529 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11530
11531 [BZ #13540]
11532 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11533 processing for last bytes.
11534
11535 2011-08-06 Bruno Haible <bruno@clisp.org>
11536
11537 [BZ #13061]
11538 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11539 U+0385, not to U+1FEE.
11540
11541 [BZ #13062]
11542 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11543 entry for U+00A5 U+0301.
11544
11545 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11546
11547 [BZ #13166]
11548 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11549 buffer for the output is too small.
11550
11551 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11552 optimization.
11553
11554 [BZ #13185]
11555 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11556 SSE flags if possible.
11557
11558 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11559
11560 [BZ #13540]
11561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11562 processing for last bytes.
11563
11564 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11565
11566 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11567 (syscall-list-default-options, syscall-list-default-condition)
11568 (syscall-list-includes): Define.
11569 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11570 list of ABIs and options and #if conditions for each ABI. Do not
11571 handle common syscalls between ABIs specially.
11572 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11573 Remove.
11574 (syscall-list-variants, syscall-list-32bit-options)
11575 (syscall-list-32bit-condition, syscall-list-64bit-options)
11576 (syscall-list-64bit-condition): Define.
11577 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11578 (syscall-list-variants, syscall-list-32bit-options)
11579 (syscall-list-32bit-condition, syscall-list-64bit-options)
11580 (syscall-list-64bit-condition): Define.
11581 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11582 Remove.
11583 (syscall-list-variants, syscall-list-32bit-options)
11584 (syscall-list-32bit-condition, syscall-list-64bit-options)
11585 (syscall-list-64bit-condition): Define.
11586 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11587 Remove.
11588 (syscall-list-variants, syscall-list-32bit-options)
11589 (syscall-list-32bit-condition, syscall-list-64bit-options)
11590 (syscall-list-64bit-condition): Define.
11591
11592 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11593
11594 * locale/iso-639.def: Add brx entry.
11595
11596 [BZ #13328]
11597 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11598 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11599
11600 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11601 __feraiseexcept_renamed.
11602
11603 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11604
11605 [BZ #13538]
11606 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11607 EPOLLET with unsigned values.
11608 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11609 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11610
11611 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11612 to large cancellation.
11613 * math/s_cacoshf.c: Likewise.
11614 * math/s_cacoshl.c: Likewise.
11615
11616 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11617
11618 [BZ #13305]
11619 [BZ #12786]
11620 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11621 * math/s_cacoshf.c: Likewise.
11622 * math/s_cacoshl.c: Likewise.
11623
11624 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11625
11626 [BZ #13439]
11627 * iconv/gconv.h: Define __GCONV_SWAP.
11628 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11629 * iconvdata/utf-16.c: Likewise.
11630 * iconvdata/utf-32.c: Likewise.
11631
11632 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11633
11634 [BZ #13524]
11635 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11636 numerator after shifting it by one limb.
11637
11638 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11639
11640 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11641 under [__USE_EXTERN_INLINES].
11642
11643 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11644
11645 [BZ #13446]
11646 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11647
11648 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11649
11650 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11651 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11652 optimized code.
11653 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11654 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11655 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11656 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11657 for strncasecmp/strncasecmp_l compilation.
11658 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11659 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11660
11661 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11662
11663 [BZ #13484]
11664 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11665 of __asm__.
11666
11667 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11668
11669 [BZ #13506]
11670 * time/tzfile.c (__tzfile_read): Check values from file header.
11671
11672 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11673
11674 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11675 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11676 * powerpc/powerpc32/dl-start.S: Likewise.
11677 * powerpc/powerpc32/elf/start.S: Likewise.
11678 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11679 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11680 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11681 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11682 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11683 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11684 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11685 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11686 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11687 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11688 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11689 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11690 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11691 * powerpc/powerpc32/memset.S: Likewise.
11692 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11693 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11694 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11695 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11696 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11697 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11698 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11699 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11700 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11701 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11702 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11703 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11704 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11705
11706 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11707
11708 * math/libm-test.inc: Added more nearbyint tests.
11709 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11710 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11711 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11712 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11713
11714 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11715
11716 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11717 FD_CLOEXEC.
11718
11719 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11720
11721 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11722 Add wcscpy-ssse3 wcscpy-c.
11723 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11724 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11725 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11726 * sysdeps/x86_64/wcschr.S: New file.
11727 * sysdeps/x86_64/wcsrchr.S: New file.
11728 * string/test-strcmp.c: Remove checking of wcscmp function for
11729 wrong alignments.
11730 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11731 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11732 wcsrchr-sse2 wcsrchr-c.
11733 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11734 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11735 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11736 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11737 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11738 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11739 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11740 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11741 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11742 * wcsmbc/wcschr.c (WCSCHR): New macro.
11743
11744 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11745
11746 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11747 * wcsmbs/test-wcsrchr.c: New file.
11748 * string/test-strrchr.c: Add wcsrchr support.
11749 (WIDE): New macro.
11750 * wcsmbs/test-wcscpy.c: New file.
11751 * string/test-strcpy.c: Add wcscpy support.
11752 (WIDE): New macro.
11753
11754 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11755
11756 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11757 the inner loop.
11758
11759 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11760
11761 [BZ #13472]
11762 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11763
11764 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11765
11766 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11767 Minor optimizations.
11768
11769 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11770 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11771 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11772
11773 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11774
11775 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11776 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11777 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11778 for gcc to avoid warnings.
11779 * inet/Makefile (tests): Add tst-checks.
11780 * inet/tst-checks.c: New file.
11781
11782 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11783 warning.
11784
11785 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11786 __wmemcmp_sse2.
11787
11788 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11789 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11790
11791 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11792
11793 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11794
11795 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11796 problem.
11797
11798 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11799
11800 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11801
11802 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11803 conditional on GCC version.
11804 (__arch_compare_and_exchange_val_8_acq)
11805 (__arch_compare_and_exchange_val_16_acq)
11806 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11807 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11808 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11809
11810 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11811
11812 * sysdeps/sh/backtrace.c: New file.
11813
11814 2011-12-02 Andreas Schwab <schwab@redhat.com>
11815
11816 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11817 parenthesis.
11818
11819 2011-12-01 Andreas Schwab <schwab@redhat.com>
11820
11821 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11822 falling back to utime.
11823
11824 2011-11-30 Andreas Schwab <schwab@redhat.com>
11825
11826 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11827 expectations for float.
11828
11829 2011-11-29 Andreas Schwab <schwab@redhat.com>
11830
11831 * locale/weight.h (findidx): Add parameter len.
11832 * locale/weightwc.h (findidx): Likewise.
11833 * posix/fnmatch_loop.c (FCT): Adjust caller.
11834 * posix/regcomp.c (build_equiv_class): Likewise.
11835 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11836 * posix/regexec.c (check_node_accept_bytes): Likewise.
11837 * string/strcoll_l.c (STRCOLL): Likewise.
11838 * string/strxfrm_l.c (STRXFRM): Likewise.
11839
11840 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11841
11842 * Makefile.in: Remove CVSOPT handling.
11843 * configure.in: Remove use of AC_REVISION.
11844 * iconvdata/Makefile (distribute): No need to filter out CVS.
11845 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11846 handling.
11847
11848 2011-11-16 Andreas Schwab <schwab@redhat.com>
11849
11850 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11851 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11852 [USE_AS_STRNCASECMP_L]: Likewise.
11853 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11854 NO_TLS_DIRECT_SEG_REFS.
11855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11856 Fix argument offsets for non-PIC.
11857 [USE_AS_STRNCASECMP_L]: Likewise.
11858 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11859 NO_TLS_DIRECT_SEG_REFS.
11860
11861 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11862
11863 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11864 O_CLOEXEC.
11865 * locale/loadlocale.c (_nl_load_locale): Likewise.
11866
11867 2011-11-15 Andreas Schwab <schwab@redhat.com>
11868
11869 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11870 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11871 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11872 (SYSCALL_GETTIME): Set errno on error.
11873
11874 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11875 count references to noai6ai_cached.
11876
11877 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11878
11879 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11880
11881 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11882 FD_CLOEXEC for /proc/self/maps.
11883
11884 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11885 FD_CLOEXEC for /proc/meminfo.
11886
11887 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11888 gai.conf.
11889
11890 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11891 FD_CLOEXEC for given file.
11892
11893 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11894
11895 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11896 FD_CLOEXEC for /etc/hosts.
11897 (_gethtent): Likewise.
11898
11899 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11900
11901 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11902 cancellation and set FD_CLOEXEC for /etc/netgroup.
11903
11904 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11905 reading /etc/publickey.
11906
11907 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11908 allow cancellation when reading /etc/group.
11909
11910 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11911 cancellation.
11912 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11913
11914 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11915 when using data file.
11916
11917 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11918
11919 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11920 (write_nis_obj): Use "c" and "e" in fopen.
11921
11922 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11923
11924 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11925
11926 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11927
11928 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11929
11930 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11931 locale.alias.
11932
11933 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11934
11935 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11936
11937 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11938
11939 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11940 file parsing and set FD_CLOEXEC.
11941
11942 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11943
11944 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11945
11946 2011-11-14 Andreas Schwab <schwab@redhat.com>
11947
11948 * malloc/arena.c (arena_get2): Don't call reused_arena when
11949 _int_new_arena failed.
11950
11951 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11952
11953 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11954 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11955 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11956 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11957 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11958 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11959 to compile strcasecmp and strncasecmp.
11960 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11961 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11962
11963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11964
11965 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11966
11967 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11968 locale-defines.sym to gen-as-const-headers.
11969 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11970 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11972 to compile strcasecmp and strncasecmp.
11973 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11974 strcasecmp_l and strncasecmp_l.
11975 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11976 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11977 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11978 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11979 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11980 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11981 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11982 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11983 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11984 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11985 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11986
11987 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11988
11989 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11990 result of SYSDEP_GETTIME_CPU to retval.
11991 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11992 parameter list to macro. Remove trailing semicolon. Adjust users.
11993
11994 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11995 variable.
11996
11997 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11998 mantissa words.
11999 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12000
12001 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12002 from unused variable.
12003
12004 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12005 DWARF definitions.
12006 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12007 for assembling.
12008
12009 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12010 over namespaces.
12011
12012 * sunrpc/rpc_prot.c (rejected): Fix case value.
12013
12014 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12015 unsigned long long int to avoid warnings in shift.
12016
12017 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12018 of use of trans.
12019 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12020 variable tmp.
12021
12022 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12023 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12024 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12025
12026 * nis/nis_table.c (nis_list): Use variable of correct type for
12027 result of __follow_path call.
12028
12029 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12030
12031 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12032 of math functions ceil, trunc, floor, round, and sqrt, when
12033 avaliable on the platform.
12034 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12035 name clash.
12036 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12037 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12038 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12039
12040 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12041
12042 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12043 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12044
12045 2011-11-11 Roland McGrath <roland@hack.frob.com>
12046
12047 * include/unistd.h: Fix __readlink return type.
12048 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12049
12050 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12051
12052 * stdlib/ucontext.h: Undo last change for makecontext.
12053
12054 2011-11-11 Andreas Schwab <schwab@redhat.com>
12055
12056 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12057
12058 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12059 * setjmp/setjmp.h: Mark functions as non-leaf.
12060 * setjmp/bits/setjmp2.h: Likewise.
12061 * stdlib/ucontext.h: Likewise.
12062
12063 2011-11-10 Andreas Schwab <schwab@redhat.com>
12064
12065 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12066 (reused_arena): Don't check arena limit.
12067 (arena_get2): Atomically check arena limit.
12068
12069 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12070
12071 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12072 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12073
12074 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12075 instructions.
12076
12077 2011-11-07 Andreas Schwab <schwab@redhat.com>
12078
12079 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12080 handler when locking.
12081
12082 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12083 Fix size of allocated buffer.
12084
12085 2011-11-04 Andreas Schwab <schwab@redhat.com>
12086
12087 [BZ #10103]
12088 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12089 declarations for long double functions.
12090 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12091
12092 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12093
12094 2011-11-03 Andreas Schwab <schwab@redhat.com>
12095
12096 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12097 installed.
12098
12099 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12100 is disabled.
12101
12102 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12103
12104 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12105
12106 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12107
12108 * include/alloca.h (stackinfo_alloca_round): Define.
12109 (extend_alloca): Use it.
12110 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12111 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12112 here.
12113
12114 * scripts/check-local-headers.sh: Ignore libaudit.h.
12115
12116 * nscd/Makefile (extra-objs): Make recursively expanded.
12117
12118 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12119
12120 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12121 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12122
12123 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12124 * posix/tst-rfc3484-2.c: Likewise.
12125 * posix/tst-rfc3484-3.c: Likewise.
12126
12127 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12128 process_vm_writev.
12129 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12130 process_vm_writev.
12131 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12132 process_vm_writev from libc using GLIBC_2.15 version.
12133
12134 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12135
12136 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12137
12138 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12139 stack usage.
12140
12141 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12142
12143 [BZ #13367]
12144 * nss/getent.c (initgroups_keys): Show error message in case no group
12145 names are given.
12146
12147 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12148 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12149 __bump_nl_timestamp.
12150 * nscd/connections (nscd_init): When host database is served open
12151 netlink socket and request notification about configuration changes.
12152 (main_loop_poll): Track netlink file descriptor and bump timestamp
12153 in case data becomes available.
12154 (main_loop_epoll): Likewise.
12155 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12156 (database_pers_head): Add extra_data fileds.
12157 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12158 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12159 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12160 Adjust caller.
12161 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12162 in6ai data, call __free_in6ai.
12163 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12164 Add -DHAVE_NETLINK.
12165 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12166 interface information. Reuse previous data if netlink timestamp
12167 is not changed.
12168 (__bump_nl_timestamp): New function.
12169 (__free_in6ai): New function.
12170
12171 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12172
12173 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12174 close_not_cancel_no_status here.
12175 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12176
12177 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12178
12179 [BZ #13276]
12180 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12181 return value.
12182
12183 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12184 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12185 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12186
12187 2011-07-03 Andreas Jaeger <aj@suse.de>
12188
12189 [BZ #10709]
12190 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12191 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12192 * math/libm-test.inc (sin_test): Add test case.
12193
12194 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12195
12196 [BZ #13337]
12197 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12198 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12199
12200 * elf/chroot_canon.c (chroot_canon): Cleanups.
12201
12202 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12203
12204 [BZ #13335]
12205 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12206 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12207
12208 * string/test-strchr.c: Make usable for strchrnul testing.
12209 * string/test-strchrnul.c: New file.
12210 * string/Makefile (strop-tests): Add strchrnul.
12211
12212 * po/it.po: Update from translation team.
12213 * po/es.po: Likewise.
12214
12215 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12216
12217 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12218 the three constants needed as parameters. Drop the others.
12219 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12220 __m128i_strloadu_tolower.
12221 Create and initialize variable zero and use it in all the places
12222 where _mm_setzero_si128 was used.
12223
12224 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12225 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12226 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12227 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12228 anymore.
12229 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12230 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12231 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12232 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12233 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12234 __mpranred, __mptan.
12235 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12236 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12237 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12238 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12239 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12240 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12241 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12242 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12243 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12244
12245 2011-10-28 Andreas Schwab <schwab@redhat.com>
12246
12247 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12248 redefine if SHARED.
12249 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12250
12251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12252 wide char related routines to wcsmbs subdir.
12253
12254 2011-10-27 Andreas Schwab <schwab@redhat.com>
12255
12256 [BZ #13344]
12257 * misc/sys/cdefs.h (__THROWNL): Define.
12258 * posix/unistd.h: Use __THREADNL instead of __THREAD
12259 for memory synchronization functions.
12260
12261 2011-10-26 Roland McGrath <roland@hack.frob.com>
12262
12263 [BZ #13349]
12264 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12265 doesn't exist.
12266 * manual/stdio.texi (Obstack Streams): Node removed.
12267
12268 2011-10-26 Andreas Schwab <schwab@redhat.com>
12269
12270 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12271 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12272 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12273
12274 * math/math_private.h (math_force_eval): Allow non-addressable
12275 arguments.
12276 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12277
12278 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12279
12280 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12281 file is not needed.
12282
12283 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12284 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12285 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12286 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12287 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12288 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12289 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12290 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12291 Add AVX variants.
12292 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12293 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12294 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12295 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12296 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12297 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12298 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12299 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12300 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12301 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12302 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12303 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12304 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12305 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12306 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12307 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12308 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12309 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12310 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12311
12312 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12313 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12314
12315 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12316 place. Use VEX encoding when compiling for AVX.
12317
12318 2011-10-25 Andreas Schwab <schwab@redhat.com>
12319
12320 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12321 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12322
12323 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12324
12325 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12326
12327 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12328 useless if() expression.
12329 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12330 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12331 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12333 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12334 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12335 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12336 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12337 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12338 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12339 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12340 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12341 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12342 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12343 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12344 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12345 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12346 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12347 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12348
12349 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12350
12351 2011-10-25 Andreas Schwab <schwab@redhat.com>
12352
12353 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12354 condition.
12355 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12356
12357 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12358
12359 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12360 .text section. Avoid duplicate constants.
12361 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12363 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12365 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12366 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12367 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12368 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12369 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12370 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12371 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12372 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12373 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12374 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12375 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12376 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12377 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12378 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12379 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12380 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12381 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12382 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12383 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12384 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12385 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12386 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12387 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12388 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12389 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12390 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12391 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12392 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12393 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12394 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12395 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12396 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12397 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12398 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12399 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12400 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12401 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12402 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12403 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12404 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12405 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12406
12407 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12408
12409 * sysdeps/x86_64/dla.h: Move to ...
12410 * sysdeps/x86_64/fpu/dla.h: ...here.
12411 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12412 situations. Use __builtin_fma only for gcc 4.6 and up.
12413
12414 * config.make.in: Add have-mfma4 entry.
12415 * configure.in: Substitute libc_cv_cc_fma4.
12416 * math/Makefile (dbl-only-routines): Add sincostab.
12417 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12418 Use __sincostab not sincos.
12419 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12420 name is a macro.
12421 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12425 using __copysign.
12426 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12427 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12428 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12429 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12430 and __inv.
12431 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12432 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12433 __copysign.
12434 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12435 define aliases when function name is a macro.
12436 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12437 sysdeps/ieee754/dbl-64/sincos.tbl.
12438 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12439 fma4-enabled routines.
12440 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12441 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12442 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12443 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12444 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12445 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12446 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12447 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12448 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12449 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12450 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12451 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12452 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12453 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12454 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12455 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12456 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12457 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12458 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12459 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12460 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12461 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12462 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12463 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12465 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12466 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12467 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12468 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12469 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12470
12471 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12472 rename.
12473 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12474 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12478 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12479 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12480 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12481
12482 2011-10-24 Andreas Schwab <schwab@redhat.com>
12483
12484 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12485
12486 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12487
12488 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12489
12490 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12491 prediction.
12492 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12493
12494 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12495 Remove unused variable magic_bits.
12496 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12497
12498 * string/strnlen.c: Define and use STRNLEN macro.
12499 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12500 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12501 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12502 * wcsmbs/wcslen.c: Define and use WCSLEN.
12503 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12504 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12505 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12506 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12507 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12508 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12509 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12510
12511 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12512
12513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12514 strnlen-sse2-no-bsf.
12515 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12516 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12517 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12518 Add strnlen support.
12519 (USE_AS_STRNLEN): New macro.
12520 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12521 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12522 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12523 * sysdeps/x86_64/wcslen.S: New file.
12524
12525 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12526
12527 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12528 XMM-moves are used for copying on small sizes.
12529
12530 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12531
12532 * wcsmbs/Makefile (strop-tests): Add wcschr.
12533 * wcsmbs/test-wcschr.c: New file.
12534 * string/test-strchr.c: Update.
12535 Add wcschr support.
12536 (WIDE): New macro.
12537
12538 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12539
12540 * wcsmbs/Makefile (strop-tests): Add wcslen.
12541 * wcsmbs/test-wcslen.c: New file.
12542 * string/test-strlen.c: Update.
12543 Add wcslen support.
12544 (WIDE): New macro.
12545
12546 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12547
12548 * po/it.po: Update from translation team.
12549
12550 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12551
12552 * sysdeps/x86_64/wcscmp.S: Update.
12553 Fix wrong comparison semantics.
12554 wcscmp shall use signed comparison not unsigned.
12555 Don't use substraction to avoid overflow bug.
12556 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12557 * wcsmbc/wcscmp.c: Likewise.
12558 * string/test-strcmp.c: Likewise.
12559 Add new tests to check cases with negative values.
12560
12561 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12562
12563 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12564 * sysdeps/x86_64/dla.h: ...here. New file.
12565 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12567 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12570 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12573 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12574
12575 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12576
12577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12578 __ynl_finite aliases.
12579
12580 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12581
12582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12583
12584 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12585 define DLA_FMA.
12586 [DLA_FMA] (EMULV): Use DLA_FMA.
12587 [DLA_FMA] (MUL12): Use EMULV.
12588 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12589 that are not needed.
12590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12591 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12592 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12593 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12594 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12595 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12596 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12597
12598 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12599
12600 * math/s_nan.c: Undef __nan.
12601 * math/s_nanf.c: Undef __nanf.
12602 * math/s_nanl.c: Undef __nanl.
12603 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12604 "math_private.h".
12605
12606 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12607
12608 * math/s_catan.c: Add branch predictions.
12609 * math/s_catanf.c: Likewise.
12610 * math/s_catanh.c: Likewise.
12611 * math/s_catanhf.c: Likewise.
12612 * math/s_catanhl.c: Likewise.
12613 * math/s_catanl.c: Likewise.
12614 * math/s_cexp.c: Likewise.
12615 * math/s_cexpf.c: Likewise.
12616 * math/s_cexpl.c: Likewise.
12617 * math/s_clog.c: Likewise.
12618 * math/s_clog10.c: Likewise.
12619 * math/s_clog10f.c: Likewise.
12620 * math/s_clog10l.c: Likewise.
12621 * math/s_clogf.c: Likewise.
12622 * math/s_clogl.c: Likewise.
12623 * math/s_csqrt.c: Likewise.
12624 * math/s_csqrtf.c: Likewise.
12625 * math/s_csqrtl.c: Likewise.
12626 * math/s_ctanf.c: Likewise.
12627 * math/s_ctanh.c: Likewise.
12628 * math/s_ctanhf.c: Likewise.
12629 * math/s_ctanhl.c: Likewise.
12630 * math/s_ctanl.c: Likewise.
12631
12632 * math/math_private.h: Define __nan, __nanf, __nanl.
12633 * math/s_cacosh.c: Include <math_private.h>.
12634 * math/s_cacoshl.c: Likewise.
12635 * math/s_casinh.c: Likewise.
12636 * math/s_casinhf.c: Likewise.
12637 * math/s_casinhl.c: Likewise.
12638 * math/s_ccos.c: Rely entire on ccosh.
12639 * math/s_ccosf.c: Rely entire on ccoshf.
12640 * math/s_ccosl.c: Rely entirely on ccoshl.
12641 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12642 Remove tests for FE_INVALID.
12643 * math/s_ccoshf.c: Likewise.
12644 * math/s_ccoshl.c: Likewise.
12645 * math/s_csin.c: Likewise.
12646 * math/s_csinf.c: Likewise.
12647 * math/s_csinh.c Likewise.
12648 * math/s_csinhf.c: Likewise.
12649 * math/s_csinhl.c: Likewise.
12650 * math/s_csinl.c: Likewise.
12651 * math/s_ctan.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12653 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12654 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12655
12656 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12657
12658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12659 compilation problems.
12660
12661 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12662 __builtin_expect.
12663
12664 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12665
12666 * sysdeps/i386/configure.in: Test for -mfma4 option.
12667 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12668 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12669 COMMON_CPUID_INDEX_80000001.
12670 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12671 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12672 use it if FMA3 is not supported.
12673 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12674
12675 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12676 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12677
12678 2011-10-20 Andreas Schwab <schwab@redhat.com>
12679
12680 [BZ #12892]
12681 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12682 it would create a cycle with a link time dependency.
12683
12684 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12685
12686 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12687 instruction.
12688 * string/Makefile (strop-tests): Add rawmemchr.
12689 * string/test-rawmemchr.c: New file.
12690
12691 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12692 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12693 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12694 when compiling str{,n}casecmp and when AVX is available. Hook up
12695 new optimized code in initializers.
12696
12697 2011-10-19 Andreas Schwab <schwab@redhat.com>
12698
12699 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12700 __feraiseexcept instead of feraiseexcept.
12701
12702 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12703
12704 * math/math_private.h: Define defaults for libc_fetestexcept and
12705 libc_feupdateenv.
12706 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12707 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12708 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12709 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12710 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12711 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12712 libc_fetestexcept and libc_feupdateenv.
12713
12714 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12715 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12716 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12717 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12718 libc_feholdexcept_setround.
12719
12720 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12721 Add s_nearbyint-c and s_nearbyintf-c.
12722 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12723 nearbyintf inlines.
12724 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12725 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12726 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12727 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12728
12729 * math/math_private.h: Define defaults for libc_fegetround,
12730 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12731 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12732 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12733 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12734 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12735 standard functions.
12736 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12737 Remove comments and hacks for old compiler versions.
12738 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12739 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12740 libc_feholdexceptl.
12741
12742 2011-10-18 Andreas Schwab <schwab@redhat.com>
12743
12744 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12745 (__feraiseexcept_renamed): Add __NTH.
12746 (feraiseexcept): Add __NTH. Rename local variables to fix
12747 namespace violations.
12748
12749 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12750
12751 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12752
12753 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12754
12755 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12756 recently added interfaces.
12757 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12758
12759 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12760 about macro parameter expansion.
12761
12762 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12763 __NO_MATH_INLINES is defined. Cleanups.
12764
12765 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12766 and __floorf is target has SSE4.1.
12767 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12768 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12769 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12770 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12771
12772 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12773 name.
12774 (floorf): Likewise.
12775
12776 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12777
12778 2011-10-17 Andreas Schwab <schwab@redhat.com>
12779
12780 * misc/sys/cdefs.h: Fix last change.
12781
12782 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12783 database lookup.
12784
12785 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12786
12787 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12788
12789 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12790 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12795 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12796 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12797 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12798 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12799 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12800 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12801 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12802 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12803 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12804 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12805 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12806 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12807 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12808 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12809 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12810 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12811
12812 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12813 ceil, ceilf, floor, floorf.
12814
12815 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12816 Perform IRELATIVE relocations last.
12817
12818 * elf/do-rel.h: Add another parameter nrelative, replacing the
12819 local variable with the same name. Change name of the function
12820 to end in Rel or Rela (uppercase).
12821 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12822 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12823 elf_dynamic_do_##reloc function.
12824
12825 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12826
12827 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12828 is sufficient, at least on modern CPUs.
12829
12830 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12831
12832 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12833 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12834
12835 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12836 __expl_finite.
12837 * math/bits/math-finite.h: Add entries for exp.
12838 * math/e_expl.c: Add __*_finite alias.
12839 * sysdeps/i386/fpu/e_exp.S: Likewise.
12840 * sysdeps/i386/fpu/e_expf.S: Likewise.
12841 * sysdeps/i386/fpu/e_expl.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12843 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12847 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12848 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12849
12850 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12851 is sufficient, at least on modern CPUs.
12852
12853 * ctype/ctype-info.c (__ctype_init): Define.
12854 * include/ctype.h (__ctype_init): Declare.
12855 (__ctype_b_loc): The variable is always initialized.
12856 (__ctype_toupper_loc): Likewise.
12857 (__ctype_tolower_loc): Likewise.
12858 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12859 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12860
12861 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12862
12863 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12864
12865 * configure.in: Also look in $cxxmachine/include for C++ system
12866 headers.
12867
12868 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12869
12870 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12871 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12872 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12873 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12874 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12875 (USE_AS_WMEMCMP): New macro.
12876 Fixing indents.
12877 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12878 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12879 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12880 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12882 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12883 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12884 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12885 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12886 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12887 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12888 (USE_AS_WMEMCMP): New macro.
12889 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12890 * sysdeps/string/test-memcmp.c: Update.
12891 Fix simple_wmemcmp.
12892 Add new tests.
12893 * wcsmbs/wmemcmp.c: Update.
12894 (WMEMCMP): New macro.
12895 Fix overflow bug.
12896
12897 2011-10-12 Andreas Jaeger <aj@suse.de>
12898
12899 [BZ #13268]
12900 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12901
12902 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12903
12904 * libio/iofwide.c (do_length): Avoid warning.
12905
12906 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12907
12908 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12909
12910 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12911
12912 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12913 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12914 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12915 * sysdeps/i386/i686/fpu/e_log.S: New file.
12916 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12917 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12918
12919 * ctype/ctype.h: Add support for inlined isXXX functions when
12920 compiling C++ code.
12921
12922 2011-10-14 Andreas Schwab <schwab@redhat.com>
12923
12924 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12925
12926 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12927
12928 2011-10-13 Roland McGrath <roland@hack.frob.com>
12929
12930 [BZ #13291]
12931 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12932
12933 2011-10-13 Andreas Schwab <schwab@redhat.com>
12934
12935 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12936 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12937 feraiseexcept.
12938
12939 * sysdeps/x86_64/memrchr.S: Check for zero size.
12940
12941 * string/stratcliff.c: Add memrchr tests.
12942
12943 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12944
12945 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12946 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12947 rawmemchr-sse2 rawmemchr-sse2-bsf.
12948 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12949 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12950 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12951 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12952 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12953 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12954 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12955 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12956 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12957 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12958 * string/memrchr.c (MEMRCHR): New macro.
12959
12960 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12961
12962 Add integration with gcc's -ffinite-math-only and optimize wrapper
12963 functions in libm.
12964 * Versions.def: Define GLIBC_2.15 version for libm.
12965 * math/Makefile (headers): Add bits/math-finite.h.
12966 * math/bits/math-finite.h: New file.
12967 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12968 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12969 * math/e_acoshl.c: Add __*_finite alias.
12970 * math/e_acosl.c: Likewise.
12971 * math/e_asinl.c: Likewise.
12972 * math/e_atan2l.c: Likewise.
12973 * math/e_atanhl.c: Likewise.
12974 * math/e_coshl.c: Likewise.
12975 * math/e_exp10.c: Likewise.
12976 * math/e_exp10f.c: Likewise.
12977 * math/e_exp10l.c: Likewise.
12978 * math/e_exp2l.c: Likewise.
12979 * math/e_fmodl.c: Likewise.
12980 * math/e_gammal_r.c: Likewise.
12981 * math/e_hypotl.c: Likewise.
12982 * math/e_j0l.c: Likewise.
12983 * math/e_j1l.c: Likewise.
12984 * math/e_jnl.c: Likewise.
12985 * math/e_lgammal_r.c: Likewise.
12986 * math/e_log10l.c: Likewise.
12987 * math/e_log2l.c: Likewise.
12988 * math/e_logl.c: Likewise.
12989 * math/e_powl.c: Likewise.
12990 * math/e_sinhl.c: Likewise.
12991 * math/e_sqrtl.c: Likewise.
12992 * math/e_scalb.c: Completely rewritten and optimized.
12993 * math/e_scalbf.c: Likewise.
12994 * math/e_scalbl.c: Likewise.
12995 * math/w_acos.c: Likewise.
12996 * math/w_acosf.c: Likewise.
12997 * math/w_acosl.c: Likewise.
12998 * math/w_acosh.c: Likewise.
12999 * math/w_acoshf.c: Likewise.
13000 * math/w_acoshl.c: Likewise.
13001 * math/w_asin.c: Likewise.
13002 * math/w_asinf.c: Likewise.
13003 * math/w_asinl.c: Likewise.
13004 * math/w_atan2.c: Likewise.
13005 * math/w_atan2f.c: Likewise.
13006 * math/w_atan2l.c: Likewise.
13007 * math/w_atanh.c: Likewise.
13008 * math/w_atanhf.c: Likewise.
13009 * math/w_atanhl.c: Likewise.
13010 * math/w_exp10.c: Likewise.
13011 * math/w_exp10f.c: Likewise.
13012 * math/w_exp10l.c: Likewise.
13013 * math/w_fmod.c: Likewise.
13014 * math/w_fmodf.c: Likewise.
13015 * math/w_fmodl.c: Likewise.
13016 * math/w_j0.c: Likewise.
13017 * math/w_j0f.c: Likewise.
13018 * math/w_j0l.c: Likewise.
13019 * math/w_j1.c: Likewise.
13020 * math/w_j1f.c: Likewise.
13021 * math/w_j1l.c: Likewise.
13022 * math/w_jn.c: Likewise.
13023 * math/w_jnf.c: Likewise.
13024 * math/w_log.c: Likewise.
13025 * math/w_logf.c: Likewise.
13026 * math/w_logl.c: Likewise.
13027 * math/w_log10.c: Likewise.
13028 * math/w_log10f.c: Likewise.
13029 * math/w_log10l.c: Likewise.
13030 * math/w_log2.c: Likewise.
13031 * math/w_log2f.c: Likewise.
13032 * math/w_log2l.c: Likewise.
13033 * math/w_pow.c: Likewise.
13034 * math/w_powf.c: Likewise.
13035 * math/w_powl.c: Likewise.
13036 * math/w_remainder.c: Likewise.
13037 * math/w_remainderf.c: Likewise.
13038 * math/w_remainderl.c: Likewise.
13039 * math/w_scalb.c: Likewise.
13040 * math/w_scalbf.c: Likewise.
13041 * math/w_scalbl.c: Likewise.
13042 * math/w_sqrt.c: Likewise.
13043 * math/w_sqrtf.c: Likewise.
13044 * math/w_sqrtl.c: Likewise.
13045 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13046 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13047 used.
13048 * math/math_private.h: Declare __kernel_standard_f.
13049 * math/w_cosh.c: Remove cruft and optimize a bit.
13050 * math/w_coshf.c: Likewise.
13051 * math/w_coshl.c: Likewise.
13052 * math/w_exp2.c: Likewise.
13053 * math/w_exp2f.c: Likewise.
13054 * math/w_exp2l.c: Likewise.
13055 * math/w_hypot.c: Likewise.
13056 * math/w_hypotf.c: Likewise.
13057 * math/w_hypotl.c: Likewise.
13058 * math/w_lgamma.c: Likewise.
13059 * math/w_lgamma_r.c: Likewise.
13060 * math/w_lgammaf.c: Likewise.
13061 * math/w_lgammaf_r.c: Likewise.
13062 * math/w_lgammal.c: Likewise.
13063 * math/w_lgammal_r.c: Likewise.
13064 * math/w_sinh.c: Likewise.
13065 * math/w_sinhf.c: Likewise.
13066 * math/w_sinhl.c: Likewise.
13067 * math/w_tgamma.c: Likewise.
13068 * math/w_tgammaf.c: Likewise.
13069 * math/w_tgammal.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13071 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13072 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13073 Minor optimizations. Pretty printing. Remove cruft.
13074 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13075 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13076 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13077 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13078 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13079 * sysdeps/i386/fpu/e_asin.S: Likewise.
13080 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13081 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13082 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13083 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13084 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13085 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13086 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13087 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13088 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13089 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13090 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13091 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13092 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13093 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13094 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13095 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13096 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13097 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13098 * sysdeps/i386/fpu/e_log.S: Likewise.
13099 * sysdeps/i386/fpu/e_log10.S: Likewise.
13100 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13101 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13102 * sysdeps/i386/fpu/e_log2.S: Likewise.
13103 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13104 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13105 * sysdeps/i386/fpu/e_logf.S: Likewise.
13106 * sysdeps/i386/fpu/e_logl.S: Likewise.
13107 * sysdeps/i386/fpu/e_pow.S: Likewise.
13108 * sysdeps/i386/fpu/e_powf.S: Likewise.
13109 * sysdeps/i386/fpu/e_powl.S: Likewise.
13110 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13111 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13112 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13113 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13114 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13115 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13116 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13117 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13118 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13119 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13120 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13124 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13135 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13136 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13139 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13140 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13141 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13142 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13143 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13144 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13145 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13146 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13147 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13148 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13149 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13150 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13151 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13152 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13153 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13154 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13155 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13156 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13157 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13158 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13159 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13160 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13169 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13170 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13172 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13174 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13183 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13184 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13185 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13186 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13188 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13189 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13190 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13191 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13192 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13193 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13195 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13197 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13198 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13199 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13200 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13201 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13202 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13204 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13205 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13207 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13208 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13209 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13210 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13211 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13212 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13213 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13214 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13215 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13216 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13217 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13218 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13219 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13220 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13221 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13222 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13223 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13224 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13225 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13226 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13227 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13228 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13229 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13230 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13231 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13232 (__isnanf): Likewise.
13233 (__isinf_ns): Likewise.
13234 (__isinf_nsf): Likewise.
13235 (__finite): Likewise.
13236 (__finitef): Likewise.
13237 (__ieee754_sqrt): Define as macro.
13238 (__ieee754_sqrtf): Define as macro.
13239 (__ieee754_sqrtl): Define as macro.
13240 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13241 inlined copy.
13242 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13243 __FINITE_MATH_ONLY__ consistent.
13244 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13245
13246 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13247
13248 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13249 of rawmemchr.
13250
13251 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13252
13253 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13254
13255 * po/ja.po: Update from translation team.
13256
13257 2011-10-08 Roland McGrath <roland@hack.frob.com>
13258
13259 * locale/programs/locarchive.c (prepare_address_space): New function.
13260 (create_archive, enlarge_archive, open_archive): Use it.
13261
13262 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13263 inside [SHARED], where it is used.
13264
13265 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13266
13267 * nss/getent.c (netgroup_keys): Remove unused variable.
13268 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13269
13270 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13271
13272 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13273 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13275 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13276 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13277 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13278 * math/Makefile (libm-calls): Add s_isinf_ns.
13279 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13280 * math/multc3.c: Likewise.
13281 * math/s_casin.c: Likewise.
13282 * math/s_casinf.c: Likewise.
13283 * math/s_casinl.c: Likewise.
13284 * math/s_ccos.c: Likewise.
13285 * math/s_ccosf.c: Likewise.
13286 * math/s_ccosl.c: Likewise.
13287 * math/s_ctan.c: Likewise.
13288 * math/s_ctanf.c: Likewise.
13289 * math/s_ctanh.c: Likewise.
13290 * math/s_ctanhf.c: Likewise.
13291 * math/s_ctanhl.c: Likewise.
13292 * math/s_ctanl.c: Likewise.
13293 * math/w_fmod.c: Likewise.
13294 * math/w_fmodf.c: Likewise.
13295 * math/w_fmodl.c: Likewise.
13296 * math/w_remainder.c: Likewise.
13297 * math/w_remainderf.c: Likewise.
13298 * math/w_remainderl.c: Likewise.
13299 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13300 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13301 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13302 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13303 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13304 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13305 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13306 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13307
13308 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13309 of the number.
13310 * stdio-common/printf_fphex.c: Likewise.
13311 * stdio-common/printf_size.c: Likewise.
13312
13313 * math/e_exp10.c: Include math_private.h using <...> not "...".
13314 * math/e_exp10f.c: Likewise.
13315 * math/e_exp10l.c: Likewise.
13316 * math/e_exp2l.c: Likewise.
13317 * math/e_j0l.c: Likewise.
13318 * math/e_j1l.c: Likewise.
13319 * math/e_jnl.c: Likewise.
13320 * math/e_lgammal_r.c: Likewise.
13321 * math/e_rem_pio2l.c: Likewise.
13322 * math/e_scalb.c: Likewise.
13323 * math/e_scalbf.c: Likewise.
13324 * math/e_scalbl.c: Likewise.
13325 * math/k_cosl.c: Likewise.
13326 * math/k_sinl.c: Likewise.
13327 * math/k_tanl.c: Likewise.
13328 * math/s_cacoshf.c: Likewise.
13329 * math/s_catan.c: Likewise.
13330 * math/s_catanf.c: Likewise.
13331 * math/s_catanh.c: Likewise.
13332 * math/s_catanhf.c: Likewise.
13333 * math/s_catanhl.c: Likewise.
13334 * math/s_catanl.c: Likewise.
13335 * math/s_ccosh.c: Likewise.
13336 * math/s_ccoshf.c: Likewise.
13337 * math/s_ccoshl.c: Likewise.
13338 * math/s_cexp.c: Likewise.
13339 * math/s_cexpf.c: Likewise.
13340 * math/s_cexpl.c: Likewise.
13341 * math/s_clog.c: Likewise.
13342 * math/s_clog10.c: Likewise.
13343 * math/s_clog10f.c: Likewise.
13344 * math/s_clog10l.c: Likewise.
13345 * math/s_clogf.c: Likewise.
13346 * math/s_clogl.c: Likewise.
13347 * math/s_csin.c: Likewise.
13348 * math/s_csinf.c: Likewise.
13349 * math/s_csinh.c: Likewise.
13350 * math/s_csinhf.c: Likewise.
13351 * math/s_csinhl.c: Likewise.
13352 * math/s_csinl.c: Likewise.
13353 * math/s_csqrt.c: Likewise.
13354 * math/s_csqrtf.c: Likewise.
13355 * math/s_csqrtl.c: Likewise.
13356 * math/s_ctan.c: Likewise.
13357 * math/s_ctanf.c: Likewise.
13358 * math/s_ctanh.c: Likewise.
13359 * math/s_ctanhf.c: Likewise.
13360 * math/s_ctanhl.c: Likewise.
13361 * math/s_ctanl.c: Likewise.
13362 * math/s_ldexp.c: Likewise.
13363 * math/s_ldexpf.c: Likewise.
13364 * math/s_ldexpl.c: Likewise.
13365 * math/s_significand.c: Likewise.
13366 * math/s_significandf.c: Likewise.
13367 * math/s_significandl.c: Likewise.
13368 * math/w_acos.c: Likewise.
13369 * math/w_acosf.c: Likewise.
13370 * math/w_acosh.c: Likewise.
13371 * math/w_acoshf.c: Likewise.
13372 * math/w_acoshl.c: Likewise.
13373 * math/w_acosl.c: Likewise.
13374 * math/w_asin.c: Likewise.
13375 * math/w_asinf.c: Likewise.
13376 * math/w_asinl.c: Likewise.
13377 * math/w_atan2.c: Likewise.
13378 * math/w_atan2f.c: Likewise.
13379 * math/w_atan2l.c: Likewise.
13380 * math/w_atanh.c: Likewise.
13381 * math/w_atanhf.c: Likewise.
13382 * math/w_atanhl.c: Likewise.
13383 * math/w_cosh.c: Likewise.
13384 * math/w_coshf.c: Likewise.
13385 * math/w_coshl.c: Likewise.
13386 * math/w_dremf.c: Likewise.
13387 * math/w_exp10.c: Likewise.
13388 * math/w_exp10f.c: Likewise.
13389 * math/w_exp10l.c: Likewise.
13390 * math/w_exp2.c: Likewise.
13391 * math/w_exp2f.c: Likewise.
13392 * math/w_fmod.c: Likewise.
13393 * math/w_fmodf.c: Likewise.
13394 * math/w_fmodl.c: Likewise.
13395 * math/w_hypot.c: Likewise.
13396 * math/w_hypotf.c: Likewise.
13397 * math/w_hypotl.c: Likewise.
13398 * math/w_j0.c: Likewise.
13399 * math/w_j0f.c: Likewise.
13400 * math/w_j0l.c: Likewise.
13401 * math/w_j1.c: Likewise.
13402 * math/w_j1f.c: Likewise.
13403 * math/w_j1l.c: Likewise.
13404 * math/w_jn.c: Likewise.
13405 * math/w_jnf.c: Likewise.
13406 * math/w_jnl.c: Likewise.
13407 * math/w_lgamma.c: Likewise.
13408 * math/w_lgamma_r.c: Likewise.
13409 * math/w_lgammaf.c: Likewise.
13410 * math/w_lgammaf_r.c: Likewise.
13411 * math/w_lgammal.c: Likewise.
13412 * math/w_lgammal_r.c: Likewise.
13413 * math/w_log.c: Likewise.
13414 * math/w_log10.c: Likewise.
13415 * math/w_log10f.c: Likewise.
13416 * math/w_log10l.c: Likewise.
13417 * math/w_log2.c: Likewise.
13418 * math/w_log2f.c: Likewise.
13419 * math/w_log2l.c: Likewise.
13420 * math/w_logf.c: Likewise.
13421 * math/w_logl.c: Likewise.
13422 * math/w_pow.c: Likewise.
13423 * math/w_powf.c: Likewise.
13424 * math/w_powl.c: Likewise.
13425 * math/w_remainder.c: Likewise.
13426 * math/w_remainderf.c: Likewise.
13427 * math/w_remainderl.c: Likewise.
13428 * math/w_scalb.c: Likewise.
13429 * math/w_scalbf.c: Likewise.
13430 * math/w_scalbl.c: Likewise.
13431 * math/w_sinh.c: Likewise.
13432 * math/w_sinhf.c: Likewise.
13433 * math/w_sinhl.c: Likewise.
13434 * math/w_sqrt.c: Likewise.
13435 * math/w_sqrtf.c: Likewise.
13436 * math/w_sqrtl.c: Likewise.
13437 * math/w_tgamma.c: Likewise.
13438 * math/w_tgammaf.c: Likewise.
13439 * math/w_tgammal.c: Likewise.
13440
13441 * po/ja.po: Update from translation team.
13442
13443 2011-09-29 Andreas Jaeger <aj@suse.de>
13444
13445 [BZ #13179]
13446 * sunrpc/netname.c (netname2host): Fix logic.
13447
13448 [BZ #6779]
13449 [BZ #6783]
13450 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13451 correctly.
13452 * math/w_remainder.c (__remainder): Likewise.
13453 * math/w_remainderf.c (__remainderf): Likewise.
13454 * math/libm-test.inc (remainder_test): Add test cases.
13455
13456 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13457
13458 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13459 sdiv_qrnnd.
13460
13461 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13462
13463 * string/test-memcmp.c: Avoid unncessary #defines.
13464 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13465
13466 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13467
13468 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13469 Use new sse2 version for core i3 - i7 as it's faster
13470 than sse42 version.
13471 (bit_Prefer_PMINUB_for_stringop): New.
13472 * sysdeps/x86_64/rawmemchr.S: Update.
13473 Replace with faster SSE2 version.
13474 * sysdeps/x86_64/memrchr.S: New file.
13475 * sysdeps/x86_64/memchr.S: Update.
13476 Replace with faster SSE2 version.
13477
13478 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13479
13480 * elf/dl-load.c (lose): Add cast to avoid warning.
13481
13482 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13483
13484 * po/ca.po: Update from translation team.
13485
13486 * inet/getnetgrent_r.c: Hook up nscd.
13487 * nscd/Makefile (routines): Add nscd_netgroup.
13488 (nscd-modules): Add netgroupcache.
13489 (CFLAGS-netgroupcache.c): Define.
13490 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13491 (cache_search): Add const to second parameter.
13492 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13493 INNETGR.
13494 (dbs): Add netgrdb entry.
13495 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13496 (verify_persistent_db): Handle netgrdb.
13497 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13498 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13499 GETFDNETGR.
13500 (netgroup_response_header): Define.
13501 (innetgroup_response_header): Define.
13502 (datahead): Add netgroup_response_header and innetgroup_response_header
13503 elements.
13504 * nscd/nscd.conf: Add entries for netgroup cache.
13505 * nscd/nscd.h (dbtype): Add netgrdb.
13506 (_PATH_NSCD_NETGROUP_DB): Define.
13507 (netgroup_iov_disabled): Declare.
13508 (xmalloc, xcalloc, xrealloc): Move declarations here.
13509 (cache_search): Adjust prototype.
13510 Add netgroup-related prototypes.
13511 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13512 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13513 (__nscd_innetgr): Declare.
13514 * nscd/selinux.c (perms): Use access_vector_t as element type and
13515 add netgroup-related initializers.
13516 * nscd/netgroupcache.c: New file.
13517 * nscd/nscd_netgroup.c: New file.
13518 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13519 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13520 For four parameters use innetgr.
13521 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13522 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13523 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13524 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13525
13526 * nscd/connections.c (register_traced_file): Don't register file
13527 for disabled databases.
13528
13529 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13530
13531 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13532
13533 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13534 from tree and freeing node.
13535
13536 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13537
13538 * nss/nsswitch.c (__nss_database_lookup): Handle
13539 nss_parse_service_list out of memory case.
13540
13541 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13542
13543 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13544 out of memory case.
13545
13546 2011-10-04 Andreas Schwab <schwab@redhat.com>
13547
13548 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13549 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13550 pass it down.
13551 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13552 elf_machine_rela, elf_machine_lazy_rel.
13553 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13554 (ELF_DYNAMIC_DO_REL): Likewise.
13555 (ELF_DYNAMIC_DO_RELA): Likewise.
13556 (ELF_DYNAMIC_RELOCATE): Likewise.
13557 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13558 to ELF_DYNAMIC_DO_REL.
13559 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13560 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13561 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13562 elf_machine_rela.
13563 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13564 skip_ifunc, don't call ifunc function if non-zero.
13565 (elf_machine_rela): Likewise.
13566 (elf_machine_lazy_rel): Likewise.
13567 (elf_machine_lazy_rela): Likewise.
13568 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13569 (elf_machine_lazy_rel): Likewise.
13570 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13571 Likewise.
13572 (elf_machine_lazy_rel): Likewise.
13573 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13574 Likewise.
13575 (elf_machine_lazy_rel): Likewise.
13576 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13577 (elf_machine_lazy_rel): Likewise.
13578 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13579 (elf_machine_lazy_rel): Likewise.
13580 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13581 (elf_machine_lazy_rel): Likewise.
13582 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13583 (elf_machine_lazy_rel): Likewise.
13584 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13585 (elf_machine_lazy_rel): Likewise.
13586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13587 (elf_machine_lazy_rel): Likewise.
13588
13589 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13590
13591 * nss/nss_files/files-init.c (_nss_files_init): Use static
13592 initialization for all the *_traced_file variables.
13593
13594 2011-09-28 Andreas Schwab <schwab@redhat.com>
13595
13596 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13597
13598 2011-09-27 Roland McGrath <roland@hack.frob.com>
13599
13600 [BZ #13226]
13601 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13602
13603 2011-09-27 Andreas Schwab <schwab@redhat.com>
13604
13605 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13606 Reread the line before reparsing it.
13607
13608 2011-09-26 Andreas Schwab <schwab@redhat.com>
13609
13610 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13611
13612 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13613 Maxim Kuvyrkov <maxim@codesourcery.com>
13614 Joseph Myers <joseph@codesourcery.com>
13615
13616 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13617 if needed for __stack_chk_guard.
13618
13619 2011-09-19 Roland McGrath <roland@hack.frob.com>
13620
13621 * sysdeps/posix/spawni.c (script_execute): Always define it.
13622 It will be optimized away if unused.
13623 (maybe_script_execute): New function.
13624 (__spawni): Call it.
13625
13626 * Makerules: Don't include tls.make.
13627 (config-tls): Always set to thread.
13628 * tls.make.c: File removed.
13629
13630 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13631
13632 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13633 * config.make.in (CPPFLAGS-config): New substituted variable.
13634
13635 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13636
13637 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13638
13639 [BZ #13192]
13640 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13641 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13642
13643 2011-09-15 Roland McGrath <roland@hack.frob.com>
13644
13645 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13646 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13647 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13648 (CALL_FAIL): Likewise.
13649 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13650 (CALL_FAIL): Macro removed.
13651 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13652
13653 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13654
13655 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13656 for __FINITE_MATH_ONLY__ == 1.
13657
13658 2011-09-15 Andreas Schwab <schwab@redhat.com>
13659
13660 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13661 __ieee754_sqrt instead of sqrt.
13662 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13663 __ieee754_sqrtf instead of sqrtf.
13664 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13665 __floorf instead of floorf.
13666 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13667 __floorf, __truncf instead of floorf, truncf.
13668
13669 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13670
13671 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13672
13673 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13674 __extern_always_inline.
13675 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13676 32-bit.
13677
13678 2011-09-14 Andreas Schwab <schwab@redhat.com>
13679
13680 * elf/rtld.c (dl_main): Also relocate in dependency order when
13681 doing symbol dependency testing.
13682
13683 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13684
13685 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13686 Always define `refsym'.
13687
13688 2011-09-13 Andreas Schwab <schwab@redhat.com>
13689
13690 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13691 (__FD_ELT): Renamed from __FDELT.
13692 * misc/bits/select2.h (__FD_ELT): Likewise.
13693 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13694 __FD_MASK instead of __FDELT, __FDMASK.
13695 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13696 Likewise.
13697 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13698 Likewise.
13699
13700 * elf/Makefile (gen-ldd): Fix pattern.
13701
13702 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13703 (init_tls): Likewise.
13704
13705 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13706
13707 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13708
13709 2011-09-12 Andreas Schwab <schwab@redhat.com>
13710
13711 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13712 `struct cmsghdr *' instead of `void *'.
13713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13714 Likewise.
13715
13716 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13717
13718 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13719 if non-absolute.
13720 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13721 ldd_rewrite_script.
13722
13723 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13724
13725 * configure.in: Remove --with-tls option.
13726 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13727 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13728 out in case it is missing.
13729 * sysdeps/ia64/elf/configure.in: Likewise.
13730 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13731 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13732 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13733 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13734 * sysdeps/sh/elf/configure.in: Likewise.
13735 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13736 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13737 * sysdeps/x86_64/elf/configure.in: Likewise.
13738 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13739 * sysdeps/mach/hurd/tls.h: Likewise.
13740
13741 [BZ #13067]
13742 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13743
13744 [BZ #13090]
13745 * configure.in: Fix use of AC_INIT.
13746
13747 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13748
13749 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13750
13751 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13752 __set_errno.
13753 * malloc/hooks.c: Likewise.
13754
13755 [BZ #11929]
13756 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13757 variables statically.
13758 (narenas): Initialize.
13759 (list_lock): Initialize.
13760 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13761 initializtion of main_arena and list_lock. Small cleanups.
13762 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13763 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13764 Add initializers to main_arena and mp_.
13765 (malloc_state): Remove pagesize member. Change all users to use
13766 GLRO(dl_pagesize).
13767
13768 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13769 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13770 is always initialized.
13771
13772 * malloc/malloc.c: Removed unused configurations and dead code.
13773 * malloc/arena.c: Likewise.
13774 * malloc/hooks.c: Likewise.
13775 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13776
13777 * include/tls.h: Removed. USE___THREAD must always be defined.
13778 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13779 * elf/dl-libc.c: Likewise.
13780 * elf/dl-tsd.c: Likewise.
13781 * include/errno.h: Likewise.
13782 * include/netdb.h: Likewise.
13783 * include/resolv.h: Likewise.
13784 * inet/herrno-loc.c: Likewise.
13785 * inet/herrno.c: Likewise.
13786 * malloc/arena.c: Likewise.
13787 * malloc/hooks.c: Likewise.
13788 * malloc/malloc.c: Likewise.
13789 * resolv/res-state.c: Likewise.
13790 * resolv/res_libc.c: Likewise.
13791 * sysdeps/i386/dl-machine.h: Likewise.
13792 * sysdeps/ia64/dl-machine.h: Likewise.
13793 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13794 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13795 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13796 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13797 * sysdeps/sh/dl-machine.h: Likewise.
13798 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13799 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13800 * sysdeps/unix/i386/sysdep.S: Likewise.
13801 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13802 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13803 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13804 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13805 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13806 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13807 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13811 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13812 * sysdeps/x86_64/dl-machine.h: Likewise.
13813 * tls.make.c: Likewise.
13814
13815 * configure.in: Remove --with-__thread option. Make tests for
13816 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13817 tls_model attribute fail if no support is available. Remove
13818 USE_IN_LIBIO.
13819 * Makeconfig: Adjust for dropped configure option. All features are
13820 now mandatory.
13821 * Makerules: Likewise.
13822 * Versions.def: Likewise.
13823 * argp/argp-fmtstream.c: Likewise.
13824 * argp/argp-fmtstream.h: Likewise.
13825 * argp/argp-help.c: Likewise.
13826 * assert/assert.c: Likewise.
13827 * config.h.in: Likewise.
13828 * config.make.in: Likewise.
13829 * configure: Likewise.
13830 * configure.in: Likewise.
13831 * csu/Versions: Likewise.
13832 * csu/init.c: Likewise.
13833 * elf/tst-audit2.c: Likewise.
13834 * elf/tst-tls10.c: Likewise.
13835 * elf/tst-tls10.h: Likewise.
13836 * elf/tst-tls11.c: Likewise.
13837 * elf/tst-tls12.c: Likewise.
13838 * elf/tst-tls14.c: Likewise.
13839 * elf/tst-tlsmod11.c: Likewise.
13840 * elf/tst-tlsmod12.c: Likewise.
13841 * elf/tst-tlsmod13.c: Likewise.
13842 * elf/tst-tlsmod13a.c: Likewise.
13843 * elf/tst-tlsmod14a.c: Likewise.
13844 * elf/tst-tlsmod15b.c: Likewise.
13845 * elf/tst-tlsmod16a.c: Likewise.
13846 * elf/tst-tlsmod16b.c: Likewise.
13847 * elf/tst-tlsmod7.c: Likewise.
13848 * elf/tst-tlsmod8.c: Likewise.
13849 * elf/tst-tlsmod9.c: Likewise.
13850 * gmon/gmon.c: Likewise.
13851 * grp/fgetgrent_r.c: Likewise.
13852 * grp/putgrent.c: Likewise.
13853 * hurd/fopenport.c: Likewise.
13854 * include/libc-symbols.h: Likewise.
13855 * include/tls.h: Likewise.
13856 * intl/gettextP.h: Likewise.
13857 * intl/loadinfo.h: Likewise.
13858 * locale/global-locale.c: Likewise.
13859 * locale/localeinfo.h: Likewise.
13860 * mach/devstream.c: Likewise.
13861 * malloc/arena.c: Likewise.
13862 * malloc/set-freeres.c: Likewise.
13863 * misc/err.c: Likewise.
13864 * misc/getttyent.c: Likewise.
13865 * misc/mntent_r.c: Likewise.
13866 * posix/getopt.c: Likewise.
13867 * posix/wordexp.c: Likewise.
13868 * pwd/fgetpwent_r.c: Likewise.
13869 * resolv/Versions: Likewise.
13870 * resolv/res_hconf.c: Likewise.
13871 * shadow/fgetspent_r.c: Likewise.
13872 * shadow/putspent.c: Likewise.
13873 * stdio-common/printf_fphex.c: Likewise.
13874 * stdio-common/tmpfile.c: Likewise.
13875 * stdlib/abort.c: Likewise.
13876 * stdlib/fmtmsg.c: Likewise.
13877 * sunrpc/auth_unix.c: Likewise.
13878 * sunrpc/clnt_perr.c: Likewise.
13879 * sunrpc/clnt_tcp.c: Likewise.
13880 * sunrpc/clnt_udp.c: Likewise.
13881 * sunrpc/clnt_unix.c: Likewise.
13882 * sunrpc/openchild.c: Likewise.
13883 * sunrpc/svc_simple.c: Likewise.
13884 * sunrpc/svc_tcp.c: Likewise.
13885 * sunrpc/svc_udp.c: Likewise.
13886 * sunrpc/svc_unix.c: Likewise.
13887 * sunrpc/xdr.c: Likewise.
13888 * sunrpc/xdr_array.c: Likewise.
13889 * sunrpc/xdr_rec.c: Likewise.
13890 * sunrpc/xdr_ref.c: Likewise.
13891 * sunrpc/xdr_stdio.c: Likewise.
13892
13893 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13894
13895 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13896
13897 2011-07-03 Andreas Jaeger <aj@suse.de>
13898
13899 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13900 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13901 regenerate with gen-libm-tests.pl.
13902
13903 2010-05-12 Petr Baudis <pasky@suse.cz>
13904
13905 [BZ #11589]
13906 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13907 around j0() zero points by switching to j1().
13908 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13912
13913 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13914
13915 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13916 instead of 0.
13917 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13918 instead of 0. .
13919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13920 Patch in part by Pavel Roskin <proski@gnu.org>.
13921
13922 [BZ #13138]
13923 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13924 realloc.
13925 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13926 Free memory block if necessary.
13927
13928 [BZ #12847]
13929 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13930 be NULL. Don't lock in this case.
13931
13932 2011-09-09 Roland McGrath <roland@hack.frob.com>
13933
13934 * elf/elf.h (ELFOSABI_GNU): New macro.
13935 (ELFOSABI_LINUX): Define to that.
13936
13937 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13938
13939 * string/strncat.c (strncat): Undef the symbol in case it has been
13940 defined in bits/string.h.
13941
13942 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13943
13944 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13945
13946 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13947 link map.
13948
13949 2011-08-17 Andreas Jaeger <aj@suse.de>
13950
13951 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13952
13953 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13954 Ian Lance Taylor <iant@google.com>
13955
13956 * math/libm-test.inc (lround_test): New testcase.
13957 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13958
13959 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13960
13961 * Makefile: Remove support for automatic cvs check-ins.
13962 * Makerules: Likewise.
13963 * config.make.in: Likewise.
13964 * configure.in: Likewise.
13965 * intl/Makefile: Likewise.
13966 * locale/Makefile: Likewise.
13967 * po/Makefile: Likewise.
13968 * posix/Makefile: Likewise.
13969 * sysdeps/gnu/Makefile: Likewise.
13970 * sysdeps/mach/hurd/Makefile: Likewise.
13971 * sysdeps/sparc/sparc32/Makefile: Likewise.
13972
13973 [BZ #13118]
13974 * posix/Makefile (bug-regex32-ENV): Define.
13975 Patch by John Stanley <jpsinthemix@verizon.net>.
13976
13977 * misc/Makefile (headers): Add bits/select2.h.
13978 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13979 * misc/bits/select2.h: New file.
13980 * include/bits/select2.h: New file.
13981 * debug/Makefile (routines): Add fdelt_chk.
13982 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13983 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13984 FD_ISSET.
13985 * debug/fdelt_chk.c: New file.
13986
13987 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13988 * wcsmbs/test-wmemcmp.c: Likewise.
13989 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13990 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13991
13992 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13993
13994 * string/Makefile (strop-tests): Add memcmp.
13995 * string/test-wmemcmp.c: New file.
13996 * string/test-memcmp.c: Add wmemcmp support.
13997
13998 2011-09-08 Roland McGrath <roland@hack.frob.com>
13999
14000 [BZ #13153]
14001 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14002 2011-07-19 change.
14003
14004 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14005 garbage value in a __mach_port_mod_refs call in the cases of the
14006 task-self and thread-self ports.
14007
14008 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14009
14010 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14011
14012 2011-09-08 Andreas Schwab <schwab@redhat.com>
14013
14014 * elf/dl-load.c (lose): Check for non-null L.
14015
14016 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14017
14018 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14019
14020 * elf/dl-libc.c (dlerror_run): Pass back error code from
14021 dl_catch_error.
14022
14023 [BZ #13123]
14024 * elf/dl-load.c (lose): Free l_origin if it is valid.
14025
14026 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14027 names.
14028 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14029 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14030 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14031 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14032 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14033 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14034
14035 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14036
14037 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14038 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14039 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14040 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14041 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14042 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14043 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14044 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14045 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14046 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14047
14048 2011-08-15 Alan Modra <amodra@gmail.com>
14049
14050 [BZ #13092]
14051 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14052 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14053 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14054 ppc_mcount to static-only-routines.
14055 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14056 __mcount_internal.
14057 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14058 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14059
14060 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14061
14062 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14063 for finite and infinity parameters.
14064
14065 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14066
14067 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14068 and add nop instructions for throughput optimization.
14069 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14070
14071 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14072
14073 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14074 aligned copy for power7 with vector-scalar instructions.
14075 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14076
14077 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14078
14079 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14080 AVX check.
14081
14082 2011-09-07 Andreas Schwab <schwab@redhat.com>
14083
14084 [BZ #13144]
14085 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14086 last change.
14087
14088 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14089
14090 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14091 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14092 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14093 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14094 clock_gettime.
14095
14096 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14097
14098 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14099 Forgot to demangle the pointer.
14100
14101 * sysdeps/i386/sysdep.h: Define atom_text_section.
14102 * sysdeps/x86_64/sysdep.h: Likewise.
14103 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14104 section with atom_text_section.
14105 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14106 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14107 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14108 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14109 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14110
14111 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14112 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14113 already be defined. Change to take two parameters and don't assign
14114 result to variable. Adjust all users.
14115 Define INTERNAL_GETTIME if not already defined.
14116 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14117 call.
14118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14119 HAVE_CLOCK_GETTIME_VSYSCALL.
14120 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14121
14122 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14123 gettimeofday vsyscall, just use time.
14124
14125 2011-09-06 Andreas Schwab <schwab@redhat.com>
14126
14127 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14128 <errno.h>.
14129
14130 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14131
14132 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14133 syscall on x86-64.
14134 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14135 syscall.
14136 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14137 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14138 syscall if possible.
14139
14140 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14141
14142 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14143 e_ident. Don't pass to find_mapsXX.
14144 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14145
14146 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14147
14148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14149 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14150 * sysdeps/x86_64/multiarch/strchr.S: Update.
14151 Check bit_slow_BSF bit.
14152 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14153 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14154 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14155
14156 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14157
14158 [BZ #13134]
14159 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14160 before glibc 2.15.
14161 (tryshell): Define.
14162 (__spawni): Change last parameter to be flag. Test
14163 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14164 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14165 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14166 * posix/spawni.c: Likewise.
14167 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14168 * posix/spawnp.c: Likewise. Change normal version to use
14169 SPAWN_XFLAGS_USE_PATH.
14170 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14171 SPAWN_XFLAGS_TRY_SHELL.
14172
14173 [BZ #13150]
14174 * posix/glob.h: Remove gcc 1.x support.
14175
14176 [BZ #13068]
14177 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14178
14179 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14180
14181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14182 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14183 strrchr-sse2-bsf
14184 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14185 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14186 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14187 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14188 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14189 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14190
14191 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14192
14193 * sysdeps/x86_64/wcscmp.S: New file.
14194
14195 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14196 wcscmp-c wcscmp-sse2
14197 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14198 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14199 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14200 * wcsmbs/wcscmp.c: Allow renaming.
14201
14202 2011-09-05 David S. Miller <davem@davemloft.net>
14203
14204 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14205 stack slot, rather than the struct return pointer slot.
14206 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14207 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14209 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14210
14211 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14212
14213 * po/ja.po: Update from translation team.
14214
14215 [BZ #13144]
14216 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14217 kernel in 64-bit binaries.
14218
14219 2011-09-01 David S. Miller <davem@davemloft.net>
14220
14221 * elf/elf.h (HWCAP_SPARC_*): Move to..
14222 * sysdeps/sparc/sysdep.h: this new file and add new values.
14223 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14224 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14225 _DL_HWCAP_COUNT to 24.
14226 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14227 entries.
14228 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14229 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14230 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14231 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14232 instead of magic constants.
14233 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14234
14235 2011-08-31 David S. Miller <davem@davemloft.net>
14236
14237 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14239 Reimplement to do errno handling inline.
14240 (SYSCALL_ERROR_HANDLER): New macro.
14241 (__SYSCALL_STRING): Do not do errno handling in asm.
14242 (__CLONE_SYSCALL_STRING): Delete.
14243 (__INTERNAL_SYSCALL_STRING): Delete.
14244 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14245 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14246 (PSEUDO): Reimplement to do errno handling inline.
14247 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14248 (SYSCALL_ERROR_HANDLER): New macro.
14249 (__SYSCALL_STRING): Do not do errno handling in asm.
14250 (__CLONE_SYSCALL_STRING): Delete.
14251 (__INTERNAL_SYSCALL_STRING): Delete.
14252 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14253 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14254 i386.
14255 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14256 (inline_syscall*): Add 'err' argument.
14257 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14258 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14259 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14260 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14261
14262 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14263 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14264
14265 2011-08-30 Andreas Schwab <schwab@redhat.com>
14266
14267 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14268
14269 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14270
14271 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14272 directive.
14273
14274 2011-08-24 David S. Miller <davem@davemloft.net>
14275
14276 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14277
14278 2011-08-24 Andreas Schwab <schwab@redhat.com>
14279
14280 * elf/Makefile: Add rules to build and run unload8 test.
14281 * elf/unload8.c: New file.
14282 * elf/unload8mod1.c: New file.
14283 * elf/unload8mod1x.c: New file.
14284 * elf/unload8mod2.c: New file.
14285 * elf/unload8mod3.c: New file.
14286
14287 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14288 it wasn't used.
14289
14290 2011-08-23 David S. Miller <davem@davemloft.net>
14291
14292 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14293 subtract stack bias.
14294 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14295 %sp not %fp in calculations.
14296 (_JMPBUF_UNWINDS_ADJ): Likewise.
14297
14298 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14299 (aio_suspend): Call it to force an exception region around the
14300 AIO_MISC_WAIT() invocation.
14301
14302 2011-08-23 Andreas Schwab <schwab@redhat.com>
14303
14304 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14305 backslash.
14306
14307 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14308
14309 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14310 protection macro.
14311 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14312 and <dl-machine.h>.
14313 (Elf64_FuncDesc): Remove.
14314
14315 2011-08-22 David S. Miller <davem@davemloft.net>
14316
14317 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14318 sigaltstack check, add missing cfi directives.
14319 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14320 missing cfi directives, and sigaltstack handling.
14321
14322 2011-08-16 Andreas Schwab <schwab@redhat.com>
14323
14324 [BZ #11724]
14325 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14326 object is seen twice.
14327 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14328
14329 * elf/Makefile (distribute): Add tst-initorder2.c.
14330 (tests): Add tst-initorder2.
14331 (modules-names): Add tst-initorder2a tst-initorder2b
14332 tst-initorder2c tst-initorder2d. Add rules to build them.
14333 ($(objpfx)tst-initorder2.out): New rule.
14334 * elf/tst-initorder2.c: New file.
14335 * elf/tst-initorder2.exp: New file.
14336
14337 2011-08-22 Andreas Schwab <schwab@redhat.com>
14338
14339 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14340
14341 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14342 dependencies back to end of function.
14343
14344 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14345 $(elfobjdir)/ld.so.
14346
14347 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14348
14349 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14350 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14351 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14352 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14353 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14354 of __vdso_gettimeofday.
14355 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14356 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14357 attribute_hidden.
14358 (_libc_vdso_platform_setup): Remove initialization of
14359 __vdso_gettimeofday and __vdso_time.
14360
14361 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14362
14363 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14364 and fgetc_unlocked.
14365 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14366 getc_unlocked.
14367
14368 * elf/dl-open.c (add_to_global): Report additions to the global scope
14369 for LD_DEBUG=scopes.
14370 (dl_open_worker): Also print scope of newly loaded dependencies.
14371 (_dl_show_scope): Indicate if there is no scope.
14372
14373 [BZ #13114]
14374 * stdio-common/Makefile (tests): Add bug24.
14375 * stdio-common/bug24.c: New file.
14376
14377 2011-08-19 Andreas Jaeger <aj@suse.de>
14378
14379 [BZ #13114]
14380 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14381 non-existant file when using close-on-exec mode.
14382
14383 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14384
14385 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14386 the very first instruction.
14387
14388 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14389 the CFI state in the end.
14390 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14391 inclusion of dl-trampoline.h.
14392 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14393
14394 2011-08-19 Andreas Schwab <schwab@redhat.com>
14395
14396 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14397 expectations for long double.
14398
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14400 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14401
14402 2011-08-14 David S. Miller <davem@davemloft.net>
14403
14404 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14405 artificual limit depends upon the system page size.
14406
14407 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14408
14409 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14410 * resolv/Makefile: Define CFLAGS-libresolv.
14411
14412 2011-08-17 Andreas Schwab <schwab@redhat.com>
14413
14414 * nss/makedb.c (compute_tables): Make variables used in nested
14415 function static.
14416
14417 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14418
14419 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14420 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14421 if buffer was too small.
14422
14423 * elf/pldd.c (main): Attach to all threads in the process.
14424 Rewrite /proc handling to use *at functions.
14425
14426 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14427
14428 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14429 specifies first scope to show.
14430 (dl_open_worker): Update callers. Move printing scope of new
14431 object to before the relocation.
14432 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14433 * sysdeps/generic/ldsodefs.h: Update declaration.
14434
14435 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14436 string for the scope number.
14437
14438 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14439
14440 * nscd/servicescache.c (cache_addserv): Make sure written is always
14441 initialized.
14442
14443 2011-08-14 Roland McGrath <roland@hack.frob.com>
14444
14445 * sysdeps/i386/i486/bits/atomic.h
14446 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14447 statement expression, so as to suppress "set but not used" warning.
14448 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14449
14450 * string/strncat.c (STRNCAT): Use prototype definition.
14451
14452 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14453 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14454 -Iprograms here.
14455 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14456 (localedef-modules): Add localedef.
14457 (locale-modules): Add locale.
14458
14459 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14460 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14461 to avoid a warning.
14462
14463 2011-08-14 David S. Miller <davem@davemloft.net>
14464
14465 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14466 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14467
14468 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14469
14470 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14471 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14472 * elf/rtld.c (dl_main): Set l_name of vDSO.
14473 Call _dl_show_scope when DL_DEBUG_SCOPES.
14474 (process_dl_debug): Recognize scopes flag and also set it for all.
14475 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14476 Declare _dl_show_scope.
14477
14478 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14479 (do_dlopen): Pass caller_dlopen to dl_open.
14480 (__libc_dlopen_mode): Initialize caller_dlopen.
14481
14482 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14483 of libc. Make tolower call locale-independent. Optimize a bit by
14484 using isdigit instead of isalnum.
14485 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14486
14487 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14488
14489 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14490 was a dependency or dynamically loaded.
14491
14492 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14493
14494 * intl/l10nflist.c: Allow architecture-specific pop function.
14495 * sysdeps/x86_64/l10nflist.c: New file.
14496
14497 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14498 classification.
14499
14500 2011-08-10 Andreas Schwab <schwab@redhat.com>
14501
14502 * include/dirent.h: Add libc_hidden_proto for scandirat and
14503 scandirat64. Don't declare __scandirat64.
14504 * dirent/scandirat.c: Add libc_hidden_def.
14505 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14506 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14507
14508 2011-08-10 David S. Miller <davem@davemloft.net>
14509
14510 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14511 enum.
14512 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14513 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14514 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14515
14516 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14517
14518 * Versions.def [libc]: Add GLIBC_2.15.
14519 * dirent/Makefile (routines): Add scandirat and scandirat64.
14520 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14521 GLIBC_2.15.
14522 * dirent/dirent.h: Declare scandirat and scandirat64.
14523 * dirent/scandirat.c: New file.
14524 * dirent/scandirat64.c: New file.
14525 * sysdeps/wordsize-64/scandirat.c: New file.
14526 * sysdeps/wordsize-64/scandirat64.c: New file.
14527 * dirent/opendir.c: Define opendirat.
14528 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14529 using scandirat.
14530 * dirent/scandir64.c: Adjust for scandir.c change.
14531 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14532 __scandirat64, and __scandir_cancel_handler.
14533 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14534 additional parameter and use openat instead of open (outside of ld.so).
14535 Add new __opendir as wrapper around __opendirat.
14536 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14537 here without requiring old scandirat implementation.
14538
14539 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14540
14541 * dirent/scandir.c (cancel_handler): Renamed to
14542 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14543 defined. Adjust users.
14544 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14545 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14546
14547 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14548
14549 * string/test-string.h (IMPL): Use __STRING to expand name and then
14550 stringify it.
14551
14552 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14553 of cleanups.
14554
14555 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14556
14557 * string/Makefile: Update.
14558 (strop-tests): Append strncat.
14559 * string/test-wcscmp.c: New file.
14560 New comprehensive test for wcscmp.
14561 * string/test-strcmp.c: Update.
14562 (WIDE): New define.
14563
14564 2011-07-22 Andreas Schwab <schwab@redhat.com>
14565
14566 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14567 line.
14568
14569 2011-07-26 Andreas Schwab <schwab@redhat.com>
14570
14571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14572 encoding to ACE if AI_IDN.
14573
14574 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14575
14576 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14577 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14578
14579 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14580
14581 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14582 Fix overflow bug in strncat.
14583 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14584
14585 * string/test-strncat.c: Update.
14586 Add new tests for checking overflow bugs.
14587
14588 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14589
14590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14591 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14592 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14593 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14594 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14595 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14596 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14597 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14598 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14599
14600 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14601 (USE_AS_STRCAT): Define.
14602 Add strcat and strncat support.
14603 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14604
14605 2011-07-25 Andreas Schwab <schwab@redhat.com>
14606
14607 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14608 __n bigger than INT_MAX+1.
14609 (__strncmp_g): Likewise.
14610
14611 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14612
14613 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14614 * libio/stido.h: Likewise.
14615
14616 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14617 (AF_NFC): Define.
14618 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14619 (AF_NFC): Define.
14620
14621 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14622 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14623 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14624 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14625 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14626
14627 [BZ #13021]
14628 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14629 installed.
14630
14631 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14632 typo.
14633 (_dl_x86_64_save_sse): Likewise.
14634
14635 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14636
14637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14638 OSXSAVE.
14639 (_dl_x86_64_save_sse): Likewise.
14640
14641 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14642
14643 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14644
14645 2011-07-21 Andreas Schwab <schwab@redhat.com>
14646
14647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14648 change.
14649 (_dl_x86_64_save_sse): Use correct AVX check.
14650
14651 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14652
14653 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14654 bug in strncpy/strncat.
14655 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14656
14657 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14658
14659 * string/tester.c (test_strcat): Add tests for different alignments
14660 of source and destination.
14661 (test_strncat): Likewise.
14662
14663 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14664
14665 [BZ #12852]
14666 * posix/glob.c (glob): Check passed in values before using them in
14667 expressions to avoid some overflows.
14668 (glob_in_dir): Likewise.
14669
14670 [BZ #13007]
14671 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14672 check for AVX enablement so that we don't crash with old kernels and
14673 new hardware.
14674 * elf/tst-audit4.c: Add same checks here.
14675 * elf/tst-audit6.c: Likewise.
14676
14677 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14678
14679 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14680
14681 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14682
14683 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14684
14685 * po/cs.po: Update from translation team.
14686 * po/bg.po: Likewise.
14687
14688 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14689
14690 * misc/sys/cdefs.h: Add support for const attribute.
14691 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14692 to gnu_dev_{major,minor,makedev} functions.
14693
14694 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14695
14696 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14697
14698 2011-07-20 Andreas Schwab <schwab@redhat.com>
14699
14700 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14701 strlen results.
14702
14703 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14704
14705 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14706 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14707 register in order to avoid conflicts with the soft frame pointer
14708 being held in r11 when necessary.
14709 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14710 (INTERNAL_VSYSCALL_NCS): Likewise.
14711
14712 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14713
14714 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14715 * elf/dl-fini.c (_dl_fini): Adjust caller.
14716 * elf/dl-close.c (_dl_close_worker): Likewise.
14717 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14718
14719 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14720
14721 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14722 "aux_cache->nlibs < 0".
14723
14724 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14725 in the reload-count case.
14726
14727 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14728
14729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14730 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14731 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14732 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14733 * sysdeps/x86_64/multiarch/strcat.S: New file.
14734 * sysdeps/x86_64/multiarch/strncat.S: New file.
14735 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14736 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14737 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14738 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14739 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14740 (USE_AS_STRCAT): Define.
14741 Add strcat and strncat support.
14742 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14743 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14744 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14745 * string/strncat.c: Update.
14746 (USE_AS_STRNCAT): Define.
14747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14748 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14749 and i7.
14750 * sysdeps/x86_64/multiarch/init-arch.h
14751 (bit_Prefer_PMINUB_for_stringop): New.
14752 (index_Prefer_PMINUB_for_stringop): Likewise.
14753 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14754 bit_Prefer_PMINUB_for_stringop.
14755
14756 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14757
14758 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14759 buffer64.
14760 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14761 of casting of buffer.
14762 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14763 buffer32 and buffer64.
14764 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14765 writes instead of casting of buffer.
14766 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14767 buffer32.
14768 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14769 casting of buffer.
14770
14771 2011-07-19 Andreas Schwab <schwab@redhat.com>
14772
14773 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14774
14775 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14776
14777 * nscd/nscd.c (termination_handler): Don't do anything for a database
14778 if it has not yet been initialized.
14779
14780 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14781
14782 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14783
14784 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14785
14786 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14787
14788 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14789
14790 * po/nl.po: Update from translation team.
14791 * po/sv.po: Likewise.
14792
14793 2011-07-16 Roland McGrath <roland@hack.frob.com>
14794
14795 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14796 now disallowed by GCC.
14797
14798 * configure.in (use-default-link): Default to yes if a test -shared
14799 link meets our qualifications.
14800 * configure: Regenerated.
14801
14802 * config.make.in (output-format): New variable.
14803 * configure.in: Check for ld --print-output-format support.
14804 * configure: Regenerated.
14805 * Makerules ($(common-objpfx)format.lds)
14806 [$(output-format) != unknown]: Just use $(output-format),
14807 instead of the linker-script munging.
14808
14809 2011-07-14 Roland McGrath <roland@hack.frob.com>
14810
14811 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14812 of $(common-objpfx)shlib.lds.
14813 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14814
14815 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14816 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14817
14818 * configure.in (-z relro check): Adjust test code to add a large
14819 writable data section after it.
14820 * configure: Regenerated.
14821
14822 2011-07-11 Roland McGrath <roland@hack.frob.com>
14823
14824 * configure.in (-z relro check): Fix test code to make the variable
14825 truly const.
14826 * configure: Regenerated.
14827
14828 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14829
14830 * nscd/nscd.h (struct traced_file): Define.
14831 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14832 elements. Add traced_files.
14833 (inotify_fd): Declare.
14834 (register_traced_file): Declare.
14835 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14836 (inotify_fd): Export.
14837 (resolv_conf_descr): Remove.
14838 (nscd_init): Move inotify descriptor creation to main.
14839 Don't register files for notification here.
14840 (register_traced_file): New function.
14841 (invalidate_cache): Don't use reset_res to determine whether to call
14842 res_init, go through the list of registered files.
14843 (main_loop_poll): The inotify descriptors are now stored in the
14844 structures for the traced files.
14845 (main_loop_epoll): Likewise
14846 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14847 to __nss_disable_nscd.
14848 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14849 for a database anymore. Check the records for all the registered
14850 files instead.
14851 * nss/Makefile (libnss_files-routines): Add files-init.
14852 (libnss_db-routines): Add db-init.
14853 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14854 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14855 * nss/nss_db/db-init.c: New file.
14856 * nss/nss_files/files-init.c: New file.
14857 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14858 __nss_lookup_function.
14859 (__nss_lookup_function): Call nss_load_library.
14860 (nss_load_all_libraries): New function.
14861 (__nss_disable_nscd): Take parameter with callback function for files
14862 to register. Set is_nscd. Load all the DSOs for the NSS modules
14863 used for the cached services.
14864 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14865 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14866 options for features to all the files in nscd.
14867
14868 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14869
14870 2011-07-10 Roland McGrath <roland@hack.frob.com>
14871
14872 * csu/elf-init.c (__libc_csu_init): Comment typo.
14873
14874 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14875
14876 * po/pl.po: Update from translation team.
14877 * po/ja.po: Likewise.
14878 * po/ru.po: Likewise.
14879 * po/ko.po: Likewise.
14880 * po/fr.po: Likewise.
14881
14882 2011-07-09 Roland McGrath <roland@hack.frob.com>
14883
14884 * configure.in (.ctors/.dtors header and trailer check):
14885 Use an empirical test on a built program.
14886 * configure: Regenerated.
14887
14888 * configure.in (-z relro check): Use an empirical test on a built DSO.
14889 Detect, but do not require, on ia64.
14890 * configure: Regenerated.
14891
14892 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14893 Update tests that use readelf to use $READELF instead.
14894 * configure: Regenerated.
14895
14896 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14897
14898 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14899 if the result is not used.
14900
14901 2011-07-05 Andreas Jaeger <aj@suse.de>
14902
14903 [BZ#9696]
14904 * stdlib/tst-strtod.c: Add testcase.
14905
14906 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14907
14908 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14909 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14910 The latter has a higher limit. Take additional parameter to pass to
14911 the new function.
14912 (__pathconf): Pass file to __statfs_link_max.
14913 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14914 __statfs_link_max.
14915 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14916 __statfs_link_max.
14917
14918 [BZ #12868]
14919 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14920 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14921 Handle Lustre.
14922 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14923 (__statfs_filesize_max): Likewise.
14924 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14925
14926 2011-07-05 Andreas Jaeger <aj@suse.de>
14927
14928 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14929
14930 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14931
14932 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14933 `status' variable.
14934 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14935 Likewise.
14936
14937 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14938
14939 * Makefile (strop-tests): Add strncat.
14940 * string/test-strncat.c: New file.
14941
14942 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14943
14944 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14945
14946 2011-06-21 Andreas Jaeger <aj@suse.de>
14947
14948 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14949 Copy rule from iconvdata/Makefile.
14950
14951 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14952
14953 [BZ #12922]
14954 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14955 but no long options are defined, just return 'W'.
14956
14957 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14958
14959 [BZ #9696]
14960 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14961
14962 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14963
14964 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14965 netgroups to read.
14966 (innetgr): Likewise.
14967
14968 2011-07-05 Roland McGrath <roland@hack.frob.com>
14969
14970 * config.make.in (install_root): Default to $(DESTDIR).
14971
14972 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14973
14974 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14975
14976 2011-07-02 Roland McGrath <roland@hack.frob.com>
14977
14978 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14979
14980 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14981 containing directory rather than embedding absolute directory names.
14982
14983 * scripts/check-local-headers.sh: Rewritten using awk.
14984 Match by word, not by line. Print error messages for matches.
14985 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14986
14987 * Makerules [shlib-lds-flags empty]:
14988 ($(common-objpfx)libc_pic.opts): New target.
14989 ($(common-objpfx)libc_pic.os.clean): New target.
14990 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14991
14992 * config.make.in (OBJCOPY): New variable.
14993 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14994 * configure: Regenerated.
14995
14996 * config.make.in (use-default-link): New variable.
14997 * configure.in (use_default_link): Grok --with-default-link to set it.
14998 * configure: Regenerated.
14999 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15000 (shlib-lds, shlib-lds-flags): Define to empty.
15001
15002 * Makerules (shlib-lds): New variable.
15003 (shlib-lds-flags): New variable.
15004 (build-shlib, build-moduile, build-module-asneeded): Use it.
15005 ($(common-objpfx)libc.so): Use $(shlib-lds).
15006 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15007 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15008
15009 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15010 DT_FLAGS/DT_FLAGS_1 with zero flags.
15011
15012 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15013 linker script munging.
15014
15015 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15016
15017 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15018 as 128-bit value.
15019 * crypt/sha512.c (sha512_process_block): Perform total addition using
15020 128-bit if possible.
15021 (__sha512_finish_ctx): Likewise.
15022 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15023 as 64-bit value.
15024 * crypt/sha256.c (SWAP64): Define.
15025 (sha256_process_block): Perform total addition using 64-bit if
15026 possible.
15027 (__sha256_finish_ctx): Likewise.
15028
15029 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15030
15031 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15032 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15033 * nscd/hstcache.c (cache_addhst): Likewise.
15034 * nscd/grpcache.c (cache_addgr): Likewise.
15035 * nscd/aicache.c (addhstaiX): Likewise
15036 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15037
15038 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15039
15040 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15041 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15042 * nscd/hstcache.c (cache_addhst): Likewise.
15043 * nscd/grpcache.c (cache_addgr): Likewise.
15044 * nscd/aicache.c (addhstaiX): Likewise
15045
15046 2011-07-01 Andreas Schwab <schwab@redhat.com>
15047
15048 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15049 domain only when needed.
15050
15051 2011-06-30 Andreas Schwab <schwab@redhat.com>
15052
15053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15054 is always restored.
15055
15056 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15057
15058 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15059 are re-adding the entry.
15060 * nscd/servicescache.c (cache_addserv): Likewise.
15061
15062 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15063
15064 * sysdeps/generic/dl-irel.h: fix protection against multiple
15065 inclusions.
15066 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15067
15068 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15069
15070 [BZ #12935]
15071 * malloc/memusage.sh: Fix quoting in message.
15072 * debug/xtrace.sh: Likewise.
15073
15074 * configure.in: Remove support for --experimental-malloc option, make
15075 it the default.
15076 * config.make.in: Likewise.
15077 * malloc/Makefile: Likewise.
15078
15079 2011-06-27 Andreas Schwab <schwab@redhat.com>
15080
15081 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15082 two-byte characters.
15083
15084 2011-06-27 Roland McGrath <roland@hack.frob.com>
15085
15086 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15087 AC_CACHE_CHECK invocation.
15088 * configure: Regenerated.
15089
15090 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15091
15092 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15093
15094 [BZ #12350]
15095 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15096 bit from old_res_options.
15097
15098 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15099
15100 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15101 value type for setfct.
15102
15103 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15104
15105 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15106 __gettimeofday instead of gettimeofday.
15107
15108 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15109
15110 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15111
15112 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15113
15114 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15115
15116 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15117 info.
15118
15119 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15120
15121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15122 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15123 strcpy-sse2-unaligned strncpy-sse2-unaligned
15124 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15125 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15126 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15127 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15128 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15129 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15130 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15131 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15132 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15133 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15134 (STRCPY): Support SSE2 and SSSE3 versions.
15135
15136 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15137
15138 [BZ #12874]
15139 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15140 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15141 kernels which artificially limit size of requests.
15142
15143 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15144
15145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15146 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15147 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15148 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15149 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15150 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15151 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15152 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15153 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15154 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15155 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15156 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15157 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15158 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15159 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15161 Enable unaligned load optimization for Intel Core i3, i5 and i7
15162 processors.
15163 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15164 Define.
15165 (index_Fast_Unaligned_Load): Define.
15166 (HAS_FAST_UNALIGNED_LOAD): Define.
15167
15168 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15169
15170 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15171
15172 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15173
15174 [BZ #12907]
15175 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15176 until it is clear that the information is realy needed.
15177 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15178
15179 2011-06-22 Andreas Schwab <schwab@redhat.com>
15180
15181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15182
15183 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15184
15185 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15186 /sys/devices/system/cpu/online if it is usable.
15187
15188 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15189 reading the information from the /proc filesystem to once a second.
15190
15191 2011-06-21 Andreas Jaeger <aj@suse.de>
15192
15193 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15194 NULL after inclusion of kernel headers.
15195
15196 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15197
15198 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15199 calls to internal_setent.
15200
15201 [BZ #12885]
15202 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15203 addresses using gethostbyname4_r ignore IPv4 addresses.
15204
15205 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15206 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15207
15208 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15209
15210 2011-06-20 David S. Miller <davem@davemloft.net>
15211
15212 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15213 inclusions.
15214 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15215
15216 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15217 (elf_irel): Use it.
15218 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15219 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15220 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15221 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15222 * sysdeps/x86_64/dl-irel.h: Likewise.
15223
15224 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15225 * elf/dl-sym.c: Likewise.
15226
15227 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15228
15229 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15230 need to dereference resplen2.
15231
15232 2011-06-14 Andreas Schwab <schwab@redhat.com>
15233
15234 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15235
15236 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15237
15238 * Makeconfig: Define vardbdir and inst_vardbdir.
15239 * nss/Makefile: Add rules to install db-Makefile.
15240
15241 * nss/nss_db/db-XXX.c: Cleanup.
15242
15243 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15244 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15245 GLIBC_PRIVATE.
15246 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15247 * nss/makedb.c: Implement -g option to specify that value strings
15248 are generated and should not be added to table iterated over for
15249 get*ent calls.
15250 * nss/nss_db/db-initgroups.c: New file.
15251
15252 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15253 interface.
15254
15255 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15256 (internal_getgrouplist): Adjust to name change.
15257 Update use_initgroups_entry if this is not the first call.
15258 * nss/databases.def: Add initgroups entry.
15259
15260 * nss/makedb.c (compute_tables): Check result of multiple hash table
15261 sizes to minimize maximum chain length.
15262
15263 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15264
15265 * Versions.def: Add entry for libnss_db.
15266 * shlib-versions: Likewise.
15267 * nss/Makefile: Add rules to build libnss_db.
15268 * nss/Versions: Add libnss_db information. Organize libnss_files
15269 entries better.
15270 * nss/db-Makefile: Add gshadow support. Change rules for the new
15271 makedb progra. Some minor improvements to generate smaller files.
15272 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15273 here from...
15274 * nss/makedb.c: ...here.
15275 Improve database format to be smaller and require less memory at
15276 runtime.
15277 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15278 db anymore.
15279 * nss/nss_db/db-netgrp.c: Likewise.
15280 * nss/nss_db/db-open.c: Likewise.
15281 * nss/nss_files/flies-XXX.x: Adjust comments.
15282 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15283 * nss/nss_files/files-grp.c: Likewise.
15284 * nss/nss_files/files-hosts.c: Likewise.
15285 * nss/nss_files/files-network.c: Likewise.
15286 * nss/nss_files/files-proto.c: Likewise.
15287 * nss/nss_files/files-pwd.c: Likewise.
15288 * nss/nss_files/files-rpc.c: Likewise.
15289 * nss/nss_files/files-service.c: Likewise.
15290 * nss/nss_files/files-sgrp.c: Likewise.
15291 * nss/nss_files/files-spwd.c: Likewise.
15292 * nss/nss_db/db-alias.c: Removed.
15293 * nss/nss_db/dummy-db.h: Removed.
15294
15295 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15296
15297 * nss/makedb.c: Rewritten to not use database library.
15298 * nss/Makefile: Update to build new makedb program.
15299
15300 2011-06-14 Andreas Jaeger <aj@suse.de>
15301
15302 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15303 memset declaration.
15304
15305 2011-06-10 Andreas Schwab <schwab@redhat.com>
15306
15307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15308 tmpbuf.
15309
15310 2011-06-10 Roland McGrath <roland@hack.frob.com>
15311
15312 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15313 * elf/Makefile ($(objpfx)ld.so): Likewise.
15314
15315 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15316 Don't list ld.so twice in dependencies.
15317
15318 * posix/bug-regex31.c: Include <stdlib.h>.
15319
15320 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15321
15322 * nis/nss_compat/compat-spwd.c
15323 (getspent_next_nss_netgr): Remove unused variable.
15324 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15325
15326 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15327 nonmembers" output to use the right array.
15328
15329 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15330
15331 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15332
15333 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15334 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15335 * catgets/gencat.c (read_input_file): Likewise.
15336 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15337
15338 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15339 variable definition inside #if's controlling its use.
15340
15341 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15342
15343 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15344
15345 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15346
15347 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15348 unreachable code.
15349
15350 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15351
15352 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15353 * configure: Regenerated.
15354
15355 * Makerules: Revert last change.
15356 * elf/Makefile: Likewise.
15357
15358 2011-06-09 Roland McGrath <roland@hack.frob.com>
15359
15360 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15361 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15362 (reloc-link): Likewise.
15363
15364 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15365
15366 * elf/Makefile: Add rules to build pldd.
15367 * elf/pldd.c: New file.
15368 * elf/pldd-xx.c: New file.
15369
15370 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15371
15372 * version.h: Update for 2.15 development version.
15373
15374 2011-06-07 David S. Miller <davem@davemloft.net>
15375
15376 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15377 ifuncs.
15378 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15379 elf_machine_lazy_rel): Likewise.
15380 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15381 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15382 elf_machine_lazy_rel): Likewise.
15383 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15384 dl_hwcap via passed in argument.
15385 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15386 Likewise.
15387
15388 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15389
15390 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15391
15392 2011-06-06 Roland McGrath <roland@hack.frob.com>
15393
15394 [BZ #12849]
15395 * manual/fdl-1.1.texi: New file, verbatim from:
15396 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15397 * manual/lgpl-2.1.texi: New file, verbatim from:
15398 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15399 * manual/Makefile (licenses): New variable, list those new file names.
15400 (texis): Use it.
15401 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15402
15403 * manual/fdl.texi: File removed.
15404 * manual/lesser.texi: File removed.
15405 * manual/libc.texinfo (Copying, Documentation License):
15406 Use new @include file names, put @appendix directive before @include.
15407
15408 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15409
15410 [BZ #12841]
15411 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15412 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15413 (mq_open): Add __NTH.
15414
15415 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15416
15417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15418 Assume Intel Core i3/i5/i7 processor if AVX is available.
15419
15420 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15421
15422 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15423 typo.
15424
15425 2011-05-31 Andreas Schwab <schwab@redhat.com>
15426
15427 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15428 memory. Use alloca_account. Fix memory leak when retrying.
15429
15430 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15431
15432 * version.h (RELEASE): Bump for 2.14 release.
15433 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15434
15435 * config.make.in (RANLIB): Remove entry.
15436
15437 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15438
15439 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15440 (libc.pot): Work around missing support for .ksh extension in xgettext.
15441
15442 [BZ #12684]
15443 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15444 if both request failed.
15445 (send_dg): In case of server errors clear resplen or *resplen2.
15446
15447 [BZ #12454]
15448 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15449 when there are multiple maps.
15450 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15451 (_dl_fini): Remove test here.
15452
15453 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15454
15455 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15456
15457 [BZ #12350]
15458 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15459 bit from old_res_options.
15460 (gaih_inet): Likewise.
15461
15462 [BZ #11099]
15463 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15464 as signed.
15465
15466 * resolv/res_init.c (res_setoptions): Make the code more compact.
15467
15468 [BZ #11558]
15469 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15470 set RES_USEVC.
15471
15472 [BZ #11634]
15473 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15474
15475 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15476
15477 [BZ #11781]
15478 * malloc/malloc.h: Declare malloc hook variables as volatile.
15479
15480 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15481 in last patch.
15482
15483 [BZ #11799]
15484 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15485 raise in the comment.
15486 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15487 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15488 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15489
15490 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15491
15492 [BZ #12811]
15493 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15494 grow the buffers more if it already has to be sufficient.
15495 (build_wcs_upper_buffer): Likewise.
15496 * posix/regexec.c (check_matching): Likewise.
15497 (clean_state_log_if_needed): Likewise.
15498 (extend_buffers): Don't enlarge buffers beyond size of the input
15499 buffer.
15500 Patches mostly by Emil Wojak <emil@wojak.eu>.
15501 * posix/bug-regex32.c: New file.
15502 * posix/Makefile (tests): Add bug-regex32.
15503
15504 * locale/findlocale.c (_nl_find_locale): Return right away if
15505 _nl_explode_name failed.
15506 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15507
15508 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15509
15510 * debug/xtrace.sh: Unify messages.
15511 * malloc/memusage.sh: Likewise.
15512
15513 [BZ #12813]
15514 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15515 time symbol from vDSO. Substitute with vsyscall if not available.
15516 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15517 __vdso_time.
15518
15519 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15520 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15521 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15522 Add sendmmsg and internal_sendmmsg.
15523 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15524 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15525 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15526
15527 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15528 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15529 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15530
15531 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15532
15533 [BZ #12813]
15534 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15535 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15536 available.
15537 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15538 __vdso_getcpu.
15539
15540 [BZ #12814]
15541 * iconvdata/Makefile (tests): Add bug-iconv9.
15542 * iconvdata/bug-iconv9.c: New file.
15543
15544 2011-05-27 Andreas Schwab <schwab@redhat.com>
15545
15546 [BZ #12814]
15547 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15548
15549 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15550
15551 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15552 (struct user_regs_struct): Change intcs field back to cs.
15553
15554 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15555
15556 * po/ja.po: Update from translation team.
15557
15558 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15559
15560 [BZ #12795]
15561 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15562 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15563
15564 2011-05-20 Andreas Schwab <schwab@redhat.com>
15565
15566 * stdlib/longlong.h: Update from GCC.
15567
15568 2011-05-23 Andreas Schwab <schwab@redhat.com>
15569
15570 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15571 parameter name.
15572 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15573 Add parameter name.
15574 (__sysconf): Pass it down.
15575
15576 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15577
15578 [BZ #12671]
15579 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15580 some situations.
15581 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15582 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15583 add in in __libc_use_alloca calls. Adjust callers.
15584 (glob): Use malloc in some situations.
15585
15586 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15587 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15588 pltexit.
15589
15590 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15591
15592 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15593 and CLOCK_BOOTTIME_ALARM.
15594
15595 [BZ #12782]
15596 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15597 is returned.
15598
15599 * string/_strerror.c (__strerror_r): Print negative errors as signed
15600 numbers.
15601
15602 [BZ #12777]
15603 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15604 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15605 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15606
15607 * configure.in: Fix typo in redirection and correct removal of test
15608 files in two cases.
15609
15610 [BZ #12788]
15611 * locale/setlocale.c (new_composite_name): Fix test to check for
15612 identical name of all categories.
15613
15614 [BZ #12792]
15615 * libio/filedoalloc.c (local_isatty): New function.
15616 (_IO_file_doallocate): Use local_isatty.
15617 * stdio-common/perror.c (perror): In case a new stream is used
15618 forward the stream error.
15619 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15620 error flag.
15621
15622 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15623
15624 [BZ #11869]
15625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15626 alloca.
15627 * include/alloca.h (extend_alloca_account): Define.
15628
15629 [BZ #11857]
15630 * posix/regex.h: Fix comments with documentation of user-accessible
15631 fields after compilation and describe correct free'ing of pattern
15632 after re_compile_pattern.
15633 Patch by Reuben Thomas <rrt@sc3d.org>.
15634
15635 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15636
15637 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15638 and -mno-altivec to prevent the compiler from using Altivec and/or
15639 VSX instructions when the corresponding registers are not available.
15640
15641 2011-05-19 Andreas Schwab <schwab@redhat.com>
15642
15643 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15644
15645 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15646
15647 * libio/freopen.c (freopen): Use __dup2, not dup2.
15648 * libio/freopen64.c (freopen64): Likewise.
15649
15650 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15651
15652 [BZ #12775]
15653 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15654 * math/Makefile (tests): Add test-powl.
15655 (CFLAGS-test-powl.c): Define.
15656 * math/test-powl.c: New file.
15657
15658 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15659
15660 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15661
15662 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15663
15664 [BZ #11837]
15665 * iconvdata/gb18030.c: Update to GB18020-2005.
15666
15667 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15668
15669 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15670 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15671 Patch by Aharon Robbins <arnold@skeeve.com>.
15672
15673 [BZ #11892]
15674 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15675 on the stack.
15676
15677 [BZ #11895]
15678 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15679 through underflows.
15680
15681 [BZ #12766]
15682 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15683 point to strings before performing equality test for error_one_per_line
15684 mode.
15685
15686 [BZ #11697]
15687 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15688
15689 [BZ #11820]
15690 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15691 (struct user_fpregs_struct): Avoid __uint*_t types.
15692
15693 [BZ #6420]
15694 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15695 symbol info. Use it instead of calling _dl_addr locally.
15696 (lock_and_info): New function.
15697 (tr_freehook): Call lock_and_info and pass symbol info as additional
15698 parameter to tr_where.
15699 (tr_mallochook): Likewise.
15700 (tr_reallochook): Likewise.
15701 (tr_memalignhook): Likewise.
15702
15703 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15704 used and couldn't be at all thread-safe.
15705
15706 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15707
15708 * libio/freopen.c (freopen): Don't close old file descriptor
15709 before the new one is opened. Instead dup the new file descriptor
15710 to the old one after the new stream is created.
15711 * libio/freopen64.c (freopen64): Likewise.
15712 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15713 * libio/fileops.c (_IO_new_file_close_it): Handle new
15714 _IO_FLAGS2_NOCLOSE flag.
15715 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15716 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15717 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15718 _IO_FLAGS2_NOCLOSE flag.
15719 * include/unistd.h: Add hidden_proto for dup3.
15720 Define __have_dup3.
15721 * io/dup3.c: Define hidden symbol.
15722 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15723
15724 [BZ #7101]
15725 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15726 when an incomplete long option is used.
15727 * posix/tst-getopt_long1.c: New file.
15728 * posix/Makefile (tests): Add tst-getopt_long1.
15729
15730 [BZ #10138]
15731 * scripts/config.guess: Update from autoconf-2.68.
15732 * scripts/config.sub: Likewise.
15733
15734 [BZ #10157]
15735 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15736 tests into ...
15737 (has_cpuclock): ...this. New function.
15738 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15739 macro here based on has_cpuclock code.
15740
15741 [BZ #10149]
15742 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15743 First byte (not low byte) is now always NUL.
15744 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15745
15746 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15747 Use non-cancelable interfaces.
15748
15749 [BZ #9809]
15750 * locale/iso-639.def: Add entry for Sorani.
15751
15752 [BZ #11901]
15753 * include/stdlib.h: Move include protection to the right place.
15754 Define abort_msg_s. Declare __abort_msg with it.
15755 * stdlib/abort.c (__abort_msg): Adjust type.
15756 * assert/assert.c (__assert_fail_base): New function. Majority
15757 of code from __assert_fail. Allocate memory for __abort_msg with
15758 mmap.
15759 (__assert_fail): Now call __assert_fail_base.
15760 * assert/assert-perr.c: Remove bulk of implementation. Use
15761 __assert_fail_base.
15762 * include/assert.hL Declare __assert_fail_base.
15763 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15764 mmap.
15765 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15766
15767 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15768
15769 [BZ #11952]
15770 [BZ #12453]
15771 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15772 until all modules are registered in the DTV.
15773 * elf/Makefile: Add rules to build and run tst-tls19.
15774 * elf/tst-tls19.c: New file.
15775 * elf/tst-tls19mod1.c: New file.
15776 * elf/tst-tls19mod2.c: New file.
15777 * elf/tst-tls19mod3.c: New file.
15778 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15779
15780 [BZ #12083]
15781 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15782 correctly.
15783
15784 [BZ #12601]
15785 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15786 two-byte sequence errors.
15787 * iconvdata/Makefile (tests): Add bug-iconv8.
15788 * iconvdata/bug-iconv8.c: New file.
15789
15790 [BZ #12626]
15791 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15792 buf2 definition.
15793
15794 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15795
15796 [BZ #12432]
15797 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15798 (dummy_getcfa): New function.
15799 (init): Get _Unwind_GetCFA address, use dummy if not found.
15800 (backtrace_helper): In recursion check, also check whether CFA changes.
15801 (__backtrace): Completely initialize arg.
15802
15803 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15804 storing incomplete byte sequence in state object. Avoid testing for
15805 guaranteed too small input if we know there is enough data available.
15806
15807 2011-05-11 Andreas Schwab <schwab@redhat.com>
15808
15809 * Makeconfig (+link-pie): Indent.
15810 * Rules (binaries-pie): Define if $(have-fpie) and
15811 $(build-shared).
15812 (binaries-shared): Also filter out $(binaries-pie).
15813 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15814 * nscd/Makefile (others-pie): Add nscd.
15815 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15816 ($(objpfx)nscd): Remove command override.
15817 * login/Makefile (others-pie): Add pt_chown.
15818 ($(objpfx)pt_chown): Remove command override.
15819 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15820 remove command overrides.
15821
15822 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15823
15824 * libio/tst_putwc.c: Fix error messages.
15825
15826 [BZ #12724]
15827 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15828 currently writing and seek to current position when not.
15829 * libio/Makefile (tests): Add bug-fclose1.
15830 * libio/bug-fclose1.c: New file.
15831
15832 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15833
15834 [BZ #12511]
15835 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15836 don't set DF_1_NODELETE here.
15837 (do_lookup_x): When entering new entry test for copy relocation
15838 and if necessary set DF_1_NODELETE flag.
15839 * elf/tst-unique4.cc: New file.
15840 * elf/tst-unique4.h: New file.
15841 * elf/tst-unique4lib.cc: New file.
15842 * elf/Makefile: Add rules to build and run tst-unique4.
15843 Patch by Piotr Bury <pbury@goahead.com>.
15844
15845 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15846
15847 [BZ #12052]
15848 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15849
15850 [BZ #12625]
15851 * misc/mntent_r.c (addmntent): Flush the stream after the output
15852
15853 [BZ #12393]
15854 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15855 (is_trusted_path_normalize): Skip initial colon. Append slash
15856 to empty buffer. Duplicate is_trusted_path code but allow
15857 constructed patch to be prefix.
15858 (is_dst): Allow $ORIGIN followed by /.
15859 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15860 Correct testing of result of is_trusted_path_normalize
15861 (decompose_rpath): Fix warning.
15862
15863 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15864
15865 [BZ #11257]
15866 * grp/initgroups.c (internal_getgrouplist): When we found the service
15867 list through the initgroups entry in nsswitch.conf do not always
15868 continue on a successful lookup. Don't always use the
15869 __nss_group_database value if it is set.
15870 * nss/nsswitch.conf (initgroups): Change action for successful db
15871 lookup to continue for compatibility.
15872
15873 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15874
15875 [BZ #11532]
15876 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15877 and CP774 modules.
15878 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15879 and CP774 modules.
15880 * iconvdata/tst-tables.sh: Likewise.
15881 * iconvdata/cp770.c: New file.
15882 * iconvdata/cp771.c: New file.
15883 * iconvdata/cp772.c: New file.
15884 * iconvdata/cp773.c: New file.
15885 * iconvdata/cp774.c: New file.
15886 * iconvdata/testdata/CP770: New file.
15887 * iconvdata/testdata/CP770..UTF8: New file.
15888 * iconvdata/testdata/CP771: New file.
15889 * iconvdata/testdata/CP771..UTF8: New file.
15890 * iconvdata/testdata/CP772: New file.
15891 * iconvdata/testdata/CP772..UTF8: New file.
15892 * iconvdata/testdata/CP773: New file.
15893 * iconvdata/testdata/CP773..UTF8: New file.
15894 * iconvdata/testdata/CP774: New file.
15895 * iconvdata/testdata/CP774..UTF8: New file.
15896
15897 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15898 END CHARMAP line.
15899 * iconvdata/gen-8bit-gap.sh: Likewise.
15900 * iconvdata/gen-8bit.sh: Likewise.
15901
15902 * locale/iso-639.def: Add ary entry.
15903
15904 [BZ #11258]
15905 * locale/C-translit.h.in: Add U20A1 transliteration.
15906
15907 [BZ #12178]
15908 * locale/iso-639.def: Add wae entry.
15909 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15910
15911 [BZ #12545]
15912 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15913 for n.
15914
15915 [BZ #12711]
15916 * locale/C-translit.h.in: Add entry for U20B9.
15917 Patch by pravin.d.s@gmail.com.
15918
15919 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15920
15921 [BZ #12713]
15922 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15923 ENAMETOOLONG use generic getcwd.
15924 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15925 in rtld. Use *stat64.
15926 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15927 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15928 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15929 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15930 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15931 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15932 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15933 __fstatat64 macros.
15934 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15935 * dirent/rewinddir.c: Add libc_hidden_def.
15936 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15937 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15938
15939 * include/dirent.h (__alloc_dir): Add flags parameter.
15940 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15941 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15942 __alloc_dir.
15943 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15944 from fdopendir if O_CLOEXEC is already set.
15945
15946 2011-03-15 Alan Modra <amodra@gmail.com>
15947
15948 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15949 l_tls_firstbyte_offset non-zero. Save padding offset in
15950 l_tls_firstbyte_offset for later use.
15951 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15952 freeing static tls block.
15953
15954 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15955
15956 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15957 where #ifdef was intended. The intent is to prevent ARG_MAX from
15958 being defined by the kernel headers.
15959
15960 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15961
15962 [BZ #12734]
15963 * resolv/resolv.h: Define RES_NOTLDQUERY.
15964 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15965 no-tld-query and set RES_NOTLDQUERY.
15966 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15967 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15968 modern BIND to search name as TLD unless forbidden.
15969
15970 2011-05-07 Petr Baudis <pasky@suse.cz>
15971 Ulrich Drepper <drepper@gmail.com>
15972
15973 [BZ #12393]
15974 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15975 (is_trusted_path): ...to here.
15976 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15977 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15978 using is_trusted_path_normalize() in setuid scripts.
15979
15980 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15981
15982 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15983 __BEGIN/__END_DECLS.
15984
15985 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15986
15987 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15988 NSS_STATUS_NOTFOUND if no record was found.
15989
15990 2011-05-05 Andreas Schwab <schwab@redhat.com>
15991
15992 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15993 (headers-not-in-tirpc): Remove rpc/netdb.h
15994 * resolv/netdb.h: Revert last change.
15995
15996 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15997
15998 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15999 circular dependency between libgcc.a and libc.a.
16000
16001 2011-05-05 Andreas Schwab <schwab@redhat.com>
16002
16003 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16004 * nis/Makefile: Don't install rpcsvc/*.
16005 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16006 instead of <rpc/types.h>.
16007 (MAXHOSTNAMELEN): Define.
16008
16009 2011-05-03 Andreas Schwab <schwab@redhat.com>
16010
16011 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16012
16013 2011-04-28 Maciej Babinski <mbabinski@google.com>
16014
16015 [BZ #12714]
16016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16017 gethostbyname4_r when IPv6 results are possible.
16018
16019 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16020
16021 [BZ #12723]
16022 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16023 _PC_PIPE_BUF handling.
16024
16025 2011-04-30 Bruno Haible <bruno@clisp.org>
16026
16027 [BZ #12717]
16028 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16029 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16030 to 'int'.
16031 * inet/getnameinfo.c (getnameinfo): Likewise.
16032
16033 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16034
16035 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16036 to groups setting in database lookup.
16037 * nss/nsswitch.conf: Add initgroups entry.
16038
16039 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16040
16041 [BZ #12685]
16042 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16043 mode string.
16044 Patch by Eric Blake <eblake@redhat.com>.
16045
16046 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16047
16048 * sunrpc/Makefile (need-export-routines): Add svc_run.
16049 (routines): Remove svc_run.
16050 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16051 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16052 * sunrpc/svc_run.c (svc_run): Likewise.
16053 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16054
16055 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16056
16057 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16058 problem in reallocation in last patch.
16059
16060 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16061
16062 * sunrpc/Makefile: Move inclusion of Rules.
16063
16064 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16065
16066 * nss/nss_files/files-initgroups.c: New file.
16067 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16068 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16069 _nss_files_initgroups_dyn.
16070
16071 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16072
16073 * elf/elf.h (R_ARM_IRELATIVE): Define.
16074
16075 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16076
16077 * po/ru.po: Update from translation team.
16078
16079 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16080
16081 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16082 dependencies.
16083
16084 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16085
16086 [BZ #12653]
16087 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16088 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16089 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16090 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16091 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16092
16093 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16094
16095 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16096 differing bytes.
16097 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16098 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16099 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16100
16101 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16102
16103 [BZ #12420]
16104 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16105 storing it.
16106 * stdlib/bug-getcontext.c: New file.
16107 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16108
16109 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16110
16111 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16112 instructions into .machine "z9-109".
16113 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16114 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16115
16116 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16117
16118 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16119 between environment variables and auxiliary vector.
16120
16121 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16122
16123 * Makefile: Add rules to build linkobj/libc.so.
16124 * include/libc-symbols.h: Define libc_hidden_nolink.
16125 * include/rpc/auth.h: Mark functions which are to be hidden.
16126 * include/rpc/auth_des.h: Likewise.
16127 * include/rpc/auth_unix.h: Likewise.
16128 * include/rpc/clnt.h: Likewise.
16129 * include/rpc/des_crypt.h: Likewise.
16130 * include/rpc/key_prot.h: Likewise.
16131 * include/rpc/pmap_clnt.h: Likewise.
16132 * include/rpc/pmap_prot.h: Likewise.
16133 * include/rpc/pmap_rmt.h: Likewise.
16134 * include/rpc/rpc_msg.h: Likewise.
16135 * include/rpc/svc.h: Likewise.
16136 * include/rpc/svc_auth.h: Likewise.
16137 * include/rpc/xdr.h: Likewise.
16138 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16139 * nss/Makefile: Likewise.
16140 * sunrpc/Makefile: Don't install headers. Build library with normal
16141 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16142 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16143 for the compat linking library. Remove use of INTDEF/INTUSE.
16144 * sunrpc/auth_none.c: Likewise.
16145 * sunrpc/auth_unix.c: Likewise.
16146 * sunrpc/authdes_prot.c: Likewise.
16147 * sunrpc/authuxprot.c: Likewise.
16148 * sunrpc/clnt_gen.c: Likewise.
16149 * sunrpc/clnt_perr.c: Likewise.
16150 * sunrpc/clnt_raw.c: Likewise.
16151 * sunrpc/clnt_simp.c: Likewise.
16152 * sunrpc/clnt_tcp.c: Likewise.
16153 * sunrpc/clnt_udp.c: Likewise.
16154 * sunrpc/clnt_unix.c: Likewise.
16155 * sunrpc/des_crypt.c: Likewise.
16156 * sunrpc/des_soft.c: Likewise.
16157 * sunrpc/get_myaddr.c: Likewise.
16158 * sunrpc/key_call.c: Likewise.
16159 * sunrpc/key_prot.c: Likewise.
16160 * sunrpc/netname.c: Likewise.
16161 * sunrpc/pm_getmaps.c: Likewise.
16162 * sunrpc/pm_getport.c: Likewise.
16163 * sunrpc/pmap_clnt.c: Likewise.
16164 * sunrpc/pmap_prot.c: Likewise.
16165 * sunrpc/pmap_prot2.c: Likewise.
16166 * sunrpc/pmap_rmt.c: Likewise.
16167 * sunrpc/publickey.c: Likewise.
16168 * sunrpc/rpc_cmsg.c: Likewise.
16169 * sunrpc/rpc_common.c: Likewise.
16170 * sunrpc/rpc_dtable.c: Likewise.
16171 * sunrpc/rpc_prot.c: Likewise.
16172 * sunrpc/rpc_thread.c: Likewise.
16173 * sunrpc/rtime.c: Likewise.
16174 * sunrpc/svc.c: Likewise.
16175 * sunrpc/svc_auth.c: Likewise.
16176 * sunrpc/svc_authux.c: Likewise.
16177 * sunrpc/svc_raw.c: Likewise.
16178 * sunrpc/svc_run.c: Likewise.
16179 * sunrpc/svc_simple.c: Likewise.
16180 * sunrpc/svc_tcp.c: Likewise.
16181 * sunrpc/svc_udp.c: Likewise.
16182 * sunrpc/svc_unix.c: Likewise.
16183 * sunrpc/svcauth_des.c: Likewise.
16184 * sunrpc/xcrypt.c: Likewise.
16185 * sunrpc/xdr.c: Likewise.
16186 * sunrpc/xdr_array.c: Likewise.
16187 * sunrpc/xdr_float.c: Likewise.
16188 * sunrpc/xdr_intXX_t.c: Likewise.
16189 * sunrpc/xdr_mem.c: Likewise.
16190 * sunrpc/xdr_rec.c: Likewise.
16191 * sunrpc/xdr_ref.c: Likewise.
16192 * sunrpc/xdr_sizeof.c: Likewise.
16193 * sunrpc/xdr_stdio.c: Likewise.
16194
16195 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16196
16197 [BZ #12650]
16198 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16199 * sysdeps/ia64/dl-tls.h: Likewise.
16200 * sysdeps/powerpc/dl-tls.h: Likewise.
16201 * sysdeps/s390/dl-tls.h: Likewise.
16202 * sysdeps/sh/dl-tls.h: Likewise.
16203 * sysdeps/sparc/dl-tls.h: Likewise.
16204 * sysdeps/x86_64/dl-tls.h: Likewise.
16205 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16206
16207 2011-03-14 Andreas Schwab <schwab@redhat.com>
16208
16209 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16210 rpath element also skip the following colon.
16211 (expand_dynamic_string_token): Add is_path parameter and pass
16212 down to DL_DST_REQUIRED and _dl_dst_substitute.
16213 (decompose_rpath): Call expand_dynamic_string_token with
16214 non-zero is_path. Ignore empty rpaths.
16215 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16216 with zero is_path.
16217
16218 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16219
16220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16221 Make cancelable.
16222
16223 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16224
16225 [BZ #12655]
16226 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16227 Patch by Filipe David Manana <fdmanana@apache.org>.
16228
16229 2011-04-07 Andreas Schwab <schwab@redhat.com>
16230
16231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16232 Maintain aligned stack.
16233 (CHECK_RSP): Remove unused macro.
16234
16235 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16236
16237 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16238 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16239
16240 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16241
16242 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16243
16244 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16245
16246 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16247
16248 [BZ #12518]
16249 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16250 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16251 * sysdeps/x86_64/memmove.c: New file.
16252 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16253 (memcpy): Renamed to ...
16254 (__new_memcpy): This.
16255 (memcpy): Provide GLIBC_2_14 memcpy.
16256 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16257 (memcpy): Provide GLIBC_2_2_5 memcpy.
16258
16259 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16260
16261 [BZ #12631]
16262 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16263
16264 2011-03-30 Andreas Schwab <schwab@redhat.com>
16265
16266 * misc/syncfs.c: New file.
16267 * misc/Makefile (routines): Add syncfs.
16268 * posix/unistd.h: Declare syncfs.
16269 * sysdeps/unix/syscalls.list: Add syncfs.
16270
16271 2011-04-01 Andreas Schwab <schwab@redhat.com>
16272
16273 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16274 open_by_handle_at.
16275 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16276 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16277 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16278 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16280 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16281 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16282
16283 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16284
16285 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16286 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16287 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16289 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16292
16293 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16294 sync_file_range.c with -fexceptions.
16295 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16296 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16297 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16298 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16299 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16300 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16301 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16302 sync_file_range as cancellation point
16303 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16304 now a wrapper around __call_sync_file_range with cancellation handling.
16305 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16306 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16307 function name to __call_sync_file_range.
16308 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16309 Add call_sync_file_range.
16310
16311 2011-04-01 Andreas Schwab <schwab@redhat.com>
16312
16313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16314 bits/timex.h.
16315
16316 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16317
16318 * iconv/iconv.h: Fix typo in comment.
16319 * io/fcntl.h: Likewise.
16320 * libio/stdio.h: Likewise.
16321 * posix/spawn.h: Likewise.
16322 * posix/unistd.h: Likewise.
16323 * stdlib/stdlib.h: Likewise.
16324 * time/time.h: Likewise.
16325 * wcsmbs/wchar.h: Likewise.
16326
16327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16328 open_by_handle): Add.
16329 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16330 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16331 Augment a few comments.
16332 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16333 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16334 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16335 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16337 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16338 open_by_handle.
16339
16340 * io/fcntl.h (AT_EMPTY_PATH): Define.
16341
16342 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16343
16344 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16345 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16346 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16347 to...
16348 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16349 * Versions.def: Add GLIBC_2.14.
16350 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16351 Export.
16352
16353 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16354
16355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16356 round counter.
16357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16358
16359 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16360
16361 [BZ #12597]
16362 * string/test-strncmp.c (do_page_test): New function.
16363 (check2): Likewise.
16364 (test_main): Call check2.
16365 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16366
16367 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16368
16369 [BZ #12587]
16370 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16371 Handle cache information in CPU leaf 4.
16372 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16373
16374 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16375
16376 [BZ #12583]
16377 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16378 character representation.
16379 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16380
16381 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16382
16383 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16384 END(__isnan) to END(__isnanf) to match function entry point/label
16385 EALIGN(__isnanf,...).
16386
16387 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16388
16389 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16390
16391 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16392
16393 [BZ #12510]
16394 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16395 copy from the symbol referenced in the relocation to initialize the
16396 used variable.
16397 Patch by Piotr Bury <pbury@goahead.com>.
16398 * elf/Makefile: Add rules to build and tst-unique3.
16399 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16400 * elf/tst-unique3.cc: New file.
16401 * elf/tst-unique3.h: New file.
16402 * elf/tst-unique3lib.cc: New file.
16403 * elf/tst-unique3lib2.cc: New file.
16404
16405 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16406
16407 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16408
16409 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16410 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16411 to _start.
16412
16413 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16414
16415 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16416 to-be-loaded object along a path to loader is ld.so.
16417
16418 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16419 Ulrich Drepper <drepper@gmail.com>
16420
16421 * sysdeps/x86_64/memset.S: After aligning destination, code
16422 branches to different locations depending on the value of
16423 misalignment, when multiarch is enabled. Fix this.
16424
16425 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16426
16427 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16428 Set _x86_64_preferred_memory_instruction for AMD processsors.
16429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16430 Set bit_Prefer_SSE_for_memop for AMD processors.
16431
16432 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16433
16434 * libio/fmemopen.c (fmemopen): Optimize a bit.
16435
16436 2011-03-03 Andreas Schwab <schwab@redhat.com>
16437
16438 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16439
16440 2011-03-03 Roland McGrath <roland@redhat.com>
16441
16442 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16443
16444 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16445
16446 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16447 __bzero_ultra1 instead of __memset_ultra1.
16448
16449 2011-02-23 Andreas Schwab <schwab@redhat.com>
16450 Ulrich Drepper <drepper@gmail.com>
16451
16452 [BZ #12509]
16453 * include/link.h (struct link_map): Add l_orig_initfini.
16454 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16455 returning unsuccessfully.
16456 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16457 close of a file loaded at startup, restore the original l_initfini
16458 list.
16459 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16460 list, store the pointer.
16461 * elf/Makefile ($(objpfx)noload-mem): New rule.
16462 (noload-ENV): Define.
16463 (tests): Add $(objpfx)noload-mem.
16464 * elf/noload.c: Include <memcheck.h>.
16465 (main): Call mtrace. Close all opened handles.
16466
16467 2011-02-17 Andreas Schwab <schwab@redhat.com>
16468
16469 [BZ #12454]
16470 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16471 dependencies are missing.
16472
16473 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16474
16475 Fix __if_freereq crash: Unlike the generic version which uses free,
16476 Hurd needs munmap.
16477 * sysdeps/mach/hurd/ifreq.h: New file.
16478
16479 2011-01-27 Petr Baudis <pasky@suse.cz>
16480 Ulrich Drepper <drepper@gmail.com>
16481
16482 [BZ 12445]#
16483 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16484 to extend_alloca().
16485 * stdio-common/bug23.c: New file.
16486 * stdio-common/Makefile (tests): Add bug23.
16487
16488 2010-09-28 Andreas Schwab <schwab@redhat.com>
16489 Ulrich Drepper <drepper@gmail.com>
16490
16491 [BZ #12489]
16492 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16493 before performing relro protection. At old place add assertion
16494 to make sure nothing changed.
16495
16496 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16497 Glauber de Oliveira Costa <glommer@gmail.com>
16498
16499 * elf/elf.h: Add new ARM TLS relocs.
16500
16501 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16502
16503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16504 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16505 cast from r3.
16506 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16507 'tests' variable.
16508 * sysdeps/wordsize-64/tst-writev.c: New file.
16509
16510 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16511
16512 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16513 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16514 insns in _dl_start to prevent a TOC reference before relocs are
16515 resolved.
16516
16517 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16518
16519 [BZ #12469]
16520 * Makeconfig: Remove RANLIB definition.
16521 * Makerules: Don't use RANLIB.
16522 * aclocal.m4: Remove ranlib test.
16523 * configure.in: No need to check for ranlib.
16524 * elf/rtld-Rules: Don't use RANLIB.
16525
16526 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16527
16528 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16529 protection macro.
16530 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16531 inclusion protection macro.
16532
16533 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16534 SIGRTMIN and SIGRTMAX and print information in that case only when
16535 SIGRTMIN is defined.
16536
16537 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16538
16539 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16540 arginfo fn returning -1.
16541
16542 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16543 and thousands string is zero terminated.
16544
16545 2011-02-03 Andreas Schwab <schwab@redhat.com>
16546
16547 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16548 sysdeps/unix/sysv/linux/bits/socket.h.
16549
16550 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16551
16552 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16553 (__CPU_COUNT): Remove old macros.
16554 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16555 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16556 (__CPU_ALLOC, __CPU_FREE): Add macros.
16557 (__sched_cpualloc, __sched_cpufree): Add declarations.
16558
16559 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16560
16561 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16562 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16563 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16564 (readdhstai): Return value of addhstaiX call.
16565 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16566 (addgrbyX): Return value returned by cache_addgr.
16567 (readdgrbyname): Return value returned by addgrbyX.
16568 (readdgrbygid): Likewise.
16569 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16570 (addpwbyX): Return value returned by cache_addpw.
16571 (readdpwbyname): Return value returned by addhstbyX.
16572 (readdpwbyuid): Likewise.
16573 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16574 (addservbyX): Return value returned by cache_addserv.
16575 (readdservbyname): Return value returned by addservbyX:
16576 (readdservbyport): Likewise.
16577 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16578 (addhstbyX): Return value returned by cache_addhst.
16579 (readdhstbyname): Return value returned by addhstbyX.
16580 (readdhstbyaddr): Likewise.
16581 (readdhstbynamev6): Likewise.
16582 (readdhstbyaddrv6): Likewise.
16583 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16584 (readdinitgroups): Return value returned by addinitgroupsX.
16585 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16586 (prune_cache): Keep track of timeout value of re-added entries.
16587 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16588 * nscd/nscd.h: Adjust prototypes of readd* functions.
16589
16590 2011-02-04 Roland McGrath <roland@redhat.com>
16591
16592 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16593 (nis_stats): Likewise.
16594 * nis/nis_modify.c (nis_modify): Likewise.
16595 * nis/nis_remove.c (nis_remove): Likewise.
16596 * nis/nis_add.c (nis_add): Likewise.
16597
16598 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16599
16600 * posix/fnmatch_loop.c: Add some consts.
16601
16602 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16603
16604 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16605
16606 [BZ #12460]
16607 * config.make.in (config-cflags-novzeroupper): Define.
16608 * configure.in: Substitute libc_cv_cc_novzeroupper.
16609 * elf/Makefile (AVX-CFLAGS): Define.
16610 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16611 (CFLAGS-tst-auditmod4a.c): Likewise.
16612 (CFLAGS-tst-auditmod4b.c): Likewise.
16613 (CFLAGS-tst-auditmod6b.c): Likewise.
16614 (CFLAGS-tst-auditmod6c.c): Likewise.
16615 (CFLAGS-tst-auditmod7b.c): Likewise.
16616 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16617
16618 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16619
16620 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16621 function to the callback.
16622 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16623
16624 2011-02-02 Andreas Schwab <schwab@redhat.com>
16625
16626 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16627 of errno.
16628
16629 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16630
16631 [BZ #11724]
16632 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16633 of constructors.
16634 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16635 of destructors.
16636 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16637
16638 [BZ #11724]
16639 * elf/Makefile: Add rules to build and run new test.
16640 * elf/tst-initorder.c: New file.
16641 * elf/tst-initorder.exp: New file.
16642 * elf/tst-initordera1.c: New file.
16643 * elf/tst-initordera2.c: New file.
16644 * elf/tst-initordera3.c: New file.
16645 * elf/tst-initordera4.c: New file.
16646 * elf/tst-initorderb1.c: New file.
16647 * elf/tst-initorderb2.c: New file.
16648 * elf/tst-order-a1.c: New file.
16649 * elf/tst-order-a2.c: New file.
16650 * elf/tst-order-a3.c: New file.
16651 * elf/tst-order-a4.c: New file.
16652 * elf/tst-order-b1.c: New file.
16653 * elf/tst-order-b2.c: New file.
16654 * elf/tst-order-main.c: New file.
16655 New test case by George Gensure <werkt0@gmail.com>.
16656
16657 2010-10-01 Andreas Schwab <schwab@redhat.com>
16658
16659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16660 decoding ACE if AI_CANONIDN.
16661
16662 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16663
16664 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16665
16666 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16667
16668 * version.h (RELEASE): Bump for 2.13 release.
16669 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16670
16671 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16672
16673 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16674 MADV_NOHUGEPAGE.
16675 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16676 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16677 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16678 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16679 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16680 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16681
16682 * posix/getconf.c: Update copyright year.
16683 * catgets/gencat.c: Likewise.
16684 * csu/version.c: Likewise.
16685 * debug/catchsegv.sh: Likewise.
16686 * debug/xtrace.sh: Likewise.
16687 * elf/ldconfig.c: Likewise.
16688 * elf/ldd.bash.in: Likewise.
16689 * elf/sprof.c (print_version): Likewise.
16690 * iconv/iconv_prog.c: Likewise.
16691 * iconv/iconvconfig.c: Likewise.
16692 * locale/programs/locale.c: Likewise.
16693 * locale/programs/localedef.c: Likewise.
16694 * malloc/memusage.sh: Likewise.
16695 * malloc/mtrace.pl: Likewise.
16696 * nscd/nscd.c (print_version): Likewise.
16697 * nss/getent.c: Likewise.
16698
16699 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16700 PF_CAIF, and PF_ALG.
16701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16702
16703 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16704
16705 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16706 (modules-names): Use them.
16707 (ifunc-test-modules, ifunc-pie-tests): Define.
16708 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16709 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16710 (test-extras): Likewise.
16711 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16712 $(compile-command.c).
16713 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16714 (all-built-dso): Define.
16715 (check-textrel.out, check-execstack.out): Depend on it.
16716
16717 * configure.in: Don't override --enable-multi-arch.
16718
16719 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16720
16721 [BZ #6812]
16722 * nscd/hstcache.c (tryagain): Define.
16723 (cache_addhst): Return tryagain not notfound for temporary errors.
16724 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16725 failed.
16726
16727 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16728
16729 [BZ #10563]
16730 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16731 to make the syscall.
16732 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16733
16734 [BZ #12378]
16735 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16736 and fall back to matching as normal character if the string ends before
16737 the matching ']' is found. This is what POSIX requires.
16738 * posix/testfnm.c: Adjust test result.
16739 * posix/globtest.sh: Adjust test result. Add new test.
16740 * posix/tst-fnmatch.input: Likewise.
16741 * posix/tst-fnmatch2.c: Add new test.
16742
16743 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16744
16745 * elf/Makefile (check-execstack): Revert last change. Depend on
16746 check-execstack.h.
16747 (check-execstack.h): New target.
16748 (generated): Add check-execstack.h.
16749 * elf/check-execstack.c: Include "check-execstack.h".
16750 (main): Revert last change.
16751 (handle_file): Return zero if GNU_STACK is absent and
16752 DEFAULT_STACK_PERMS doesn't include PF_X.
16753
16754 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16755
16756 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16757 in child fails because the descriptor is already closed.
16758 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16759 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16760 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16761
16762 [BZ #12397]
16763 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16764 syscall.
16765
16766 [BZ #10484]
16767 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16768 temporary buffer used to handle multi lookups locally.
16769 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16770
16771 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16772
16773 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16774 loader is ld.so.
16775
16776 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16777
16778 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16779 alignment for SSE2.
16780
16781 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16782
16783 [BZ #12394]
16784 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16785 characters. When rounding increased number of integer digits recompute
16786 number of groups.
16787 * stdio-common/tst-grouping.c: New file.
16788 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16789
16790 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16791
16792 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16793 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16794
16795 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16796 void.
16797 * bits/select.h: Likewise.
16798
16799 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16800
16801 * po/ja.po: Update from translation team.
16802
16803 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16804
16805 [BZ #11155]
16806 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16807 implementation just like for lxstat, fxstatat, et al.
16808
16809 2010-12-27 Jim Meyering <meyering@redhat.com>
16810
16811 [BZ #12348]
16812 * posix/regexec.c (build_trtable): Return failure indication upon
16813 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16814
16815 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16816
16817 [BZ #12201]
16818 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16819 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16820 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16821 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16822
16823 [BZ #12207]
16824 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16825
16826 [BZ #12204]
16827 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16828 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16829
16830 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16831
16832 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16833 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16834 script has SORT_BY_INIT_PRIORITY.
16835 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16836 NO_CTORS_DTORS_SECTIONS is defined.
16837 * elf/soinit.c: Likewise.
16838 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16839 NO_CTORS_DTORS_SECTIONS is defined.
16840 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16841 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16842 * sysdeps/sh/init-first.c: Likewise.
16843 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16844
16845 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16846
16847 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16848 always use the slow path.
16849
16850 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16851
16852 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16853 similar rule which adds the sysdep directories to the header search in
16854 order to pick up the correct platform stackinfo.h.
16855 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16856 perform test if it is, otherwise return successfully without testing.
16857 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16858 DEFAULT_STACK_PERMS define in stackinfo.h.
16859 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16860 defined in stackinfo.h.
16861 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16862 DEFAULT_STACK_PERMS defined in stackinfo.h.
16863 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16864 * sysdeps/ia64/stackinfo.h: Likewise.
16865 * sysdeps/s390/stackinfo.h: Likewise.
16866 * sysdeps/sh/stackinfo.h: Likewise.
16867 * sysdeps/sparc/stackinfo.h: Likewise.
16868 * sysdeps/x86_64/stackinfo.h: Likewise.
16869 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16870 PF_X for powerpc64. Retain PF_X for powerpc32.
16871
16872 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16873
16874 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16875 accurately.
16876 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16877 GETDENTS_64BIT_ALIGNED.
16878
16879 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16880
16881 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16882
16883 2010-12-10 Andreas Schwab <schwab@redhat.com>
16884
16885 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16886 _GNU_SOURCE.
16887
16888 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16889 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16890 Remove __restrict.
16891 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16892 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16893
16894 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16895
16896 [BZ #11655]
16897 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16898 are initialized.
16899
16900 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16901
16902 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16903
16904 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16905
16906 * po/it.po: Update from translation team.
16907
16908 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16909
16910 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16911 unused codes.
16912
16913 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16914
16915 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16916
16917 2010-11-24 Andreas Schwab <schwab@redhat.com>
16918
16919 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16920 specially.
16921 (gaih_getanswer_slice): Likewise.
16922
16923 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16924
16925 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16926
16927 2010-05-31 Petr Baudis <pasky@suse.cz>
16928
16929 [BZ #11149]
16930 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16931 silently even in the chroot mode.
16932
16933 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16934
16935 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16936 last patch a bit. Pretty printing
16937
16938 2010-05-31 Petr Baudis <pasky@suse.cz>
16939
16940 [BZ #10085]
16941 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16942 initialization of skip_initgroups_dyn.
16943
16944 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16945
16946 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16947 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16948
16949 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16950
16951 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16952
16953 2010-11-11 Andreas Schwab <schwab@redhat.com>
16954
16955 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16956 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16957 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16958 ($(objpfx)tst-fnmatch-mem): New rule.
16959 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16960 * posix/tst-fnmatch.c (main): Call mtrace.
16961
16962 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16963
16964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16965 Support Intel processor model 6 and model 0x2c.
16966
16967 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16968
16969 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16970 signed comparison.
16971
16972 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16973
16974 [BZ #12205]
16975 * string/test-strncasecmp.c (check_result): New function.
16976 (do_one_test): Use it.
16977 (check1): New function.
16978 (test_main): Use it.
16979 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16980 Support strcasecmp and strncasecmp.
16981
16982 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16983
16984 [BZ #12194]
16985 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16986 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16987
16988 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16989
16990 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16991 IFUNC support.
16992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16993 memset-x86-64.
16994 * sysdeps/x86_64/multiarch/bzero.S: New file.
16995 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16996 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16997 * sysdeps/x86_64/multiarch/memset.S: New file.
16998 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17000 Set bit_Prefer_SSE_for_memop for Intel processors.
17001 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17002 Define.
17003 (index_Prefer_SSE_for_memop): Define.
17004 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17005
17006 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17007
17008 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17009 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17010
17011 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17012
17013 [BZ #12191]
17014 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17015 (__x86_64_raw_data_cache_size_half): Likewise.
17016 (__x86_64_raw_shared_cache_size): Likewise.
17017 (__x86_64_raw_shared_cache_size_half): Likewise.
17018
17019 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17020 (__x86_64_raw_data_cache_size_half): Likewise.
17021 (__x86_64_raw_shared_cache_size): Likewise.
17022 (__x86_64_raw_shared_cache_size_half): Likewise.
17023 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17024 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17025 and __x86_64_raw_shared_cache_size_half. Round
17026 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17027 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17028 to multiple of 256 bytes.
17029
17030 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17031
17032 [BZ #12167]
17033 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17034 of inacessible symlinks. Verify result of symlink before returning it.
17035 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17036 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17037
17038 2010-10-28 Erich Ritz <erichritz@gmail.com>
17039
17040 * math/math.h (isinf): Fix typo in comment.
17041
17042 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17043
17044 * po/da.po: Update from translation team.
17045
17046 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17047
17048 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17049 is added to the list.
17050
17051 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17052 Ulrich Drepper <drepper@gmail.com>
17053
17054 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17055 the global list here. Move code to...
17056 (_dl_add_to_namespace_list): ...here. New function.
17057 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17058 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17059 * elf/dl-load.c (lose): Don't remove the element from the list.
17060 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17061 (_dl_map_object): Likewise.
17062
17063 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17064
17065 [BZ #12159]
17066 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17067 into all bytes of SSE register.
17068 Patch by Richard Li <richardpku@gmail.com>.
17069
17070 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17071
17072 [BZ #12140]
17073 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17074 perturbing.
17075
17076 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17077
17078 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17079 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17080 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17081 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17083 submachine.
17084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17085
17086 2010-10-22 Andreas Schwab <schwab@redhat.com>
17087
17088 * include/dlfcn.h (__RTLD_SECURE): Define.
17089 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17090 mode & __RTLD_SECURE instead.
17091 (open_path): Rename preloaded parameter to secure.
17092 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17093 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17094 * elf/dl-deps.c (openaux): Likewise.
17095 * elf/rtld.c (struct map_args): Remove is_preloaded.
17096 (map_doit): Don't use it.
17097 (dl_main): Likewise.
17098 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17099 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17100
17101 2010-09-09 Andreas Schwab <schwab@redhat.com>
17102
17103 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17104 (sysd-rules-targets): Remove duplicates.
17105 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17106 rtld-%.$o dependency.
17107
17108 2010-10-18 Andreas Schwab <schwab@redhat.com>
17109
17110 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17111 _dl_map_object do it.
17112
17113 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17114
17115 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17116 fast fma builtins, define the macros in the C99 standard.
17117 (FP_FAST_FMAF): Likewise.
17118 (FP_FAST_FMAL): Likewise.
17119 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17120
17121 * bits/mathdef.h: Update copyright year.
17122 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17123
17124 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17125
17126 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17127 builtins, define the macros in the C99 standard.
17128 (FP_FAST_FMAF): Likewise.
17129 (FP_FAST_FMAL): Likewise.
17130 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17131 multiply/add.
17132 (FP_FAST_FMAF): Likewise.
17133
17134 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17135
17136 [BZ #3268]
17137 * math/libm-test.inc (fma_test): Some new testcases.
17138 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17139 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17140 y and infinite z. Do multiplication by C already in long double.
17141 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17143 y and infinite z. Do bitwise or of inexact bit into u.d.
17144 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17145 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17146 * sysdeps/i386/fpu/s_fma.S: Removed.
17147 * sysdeps/i386/fpu/s_fmal.S: Removed.
17148
17149 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17150
17151 [BZ #3268]
17152 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17154 computation is not scheduled after fetestexcept. Fix value
17155 of minimum denormal long double.
17156
17157 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17158
17159 [BZ #3268]
17160 * math/libm-test.inc (fma_test): Add some more tests.
17161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17162 correctly.
17163
17164 2010-10-15 Andreas Schwab <schwab@redhat.com>
17165
17166 * scripts/data/localplt-s390-linux-gnu.data: New file.
17167 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17168
17169 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17170
17171 [BZ #3268]
17172 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17173 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17174 instead of dbl-64.
17175 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17176 inlines.
17177 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17179 if one of x and y is very large and the other is subnormal.
17180 * sysdeps/s390/fpu/s_fmaf.c: New file.
17181 * sysdeps/s390/fpu/s_fma.c: New file.
17182 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17183 * sysdeps/powerpc/fpu/s_fma.S: New file.
17184 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17185 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17186 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17187
17188 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17189
17190 [BZ #3268]
17191 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17192 fma tests.
17193 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17194 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17195 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17196 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17197 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17198 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17199 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17200
17201 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17202
17203 [BZ #12078]
17204 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17205 * posix/bug-regex31.input: Add test case.
17206
17207 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17208
17209 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17210 * posix/bug-regex31.input: New file.
17211
17212 [BZ #12078]
17213 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17214 (parse_sub_exp): Fix last change, use postorder.
17215
17216 * posix/bug-regex31.c: New file.
17217 * posix/Makefile: Add rules to build and run bug-regex31.
17218
17219 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17220
17221 [BZ #12078]
17222 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17223
17224 [BZ #12108]
17225 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17226 to have entries in sys_siglist.
17227
17228 [BZ #12093]
17229 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17230 be NULL.
17231
17232 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17233
17234 [BZ #3268]
17235 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17236 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17237 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17238 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17239 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17240 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17241 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17242 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17243 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17244 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17245 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17246 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17247 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17248 * math/ftestexcept.c (fetestexcept): Likewise.
17249 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17250 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17251 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17252 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17253 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17254 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17255 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17256
17257 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17258
17259 [BZ #12107]
17260 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17261 newline.
17262
17263 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17264
17265 * string/bug-strstr1.c: New file.
17266 * string/Makefile: Add rules to build and run bug-strstr1.
17267
17268 2010-10-05 Eric Blake <eblake@redhat.com>
17269
17270 [BZ #12092]
17271 * string/str-two-way.h (two_way_long_needle): Always clear memory
17272 when skipping input due to the shift table.
17273
17274 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17275
17276 [BZ #12005]
17277 * malloc/mcheck.c: Handle large requests.
17278
17279 [BZ #12077]
17280 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17281 for strncmp and strncasecmp.
17282 * string/stratcliff.c: Add tests for strcmp and strncmp.
17283 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17284
17285 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17286
17287 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17288 __set_fpscr.
17289
17290 2010-09-30 Andreas Jaeger <aj@suse.de>
17291
17292 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17293 (CGROUP_SUPER_MAGIC): Define.
17294 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17295 Handle btrfs and cgroup file systems.
17296 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17297 Likewise.
17298
17299 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17300
17301 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17302 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17303
17304 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17305
17306 [BZ #12067]
17307 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17308 trying to locate the ELF header.
17309
17310 2010-09-27 Andreas Schwab <schwab@redhat.com>
17311
17312 [BZ #11611]
17313 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17314 Mask out sign-bit copies when constructing f_fsid.
17315
17316 2010-09-24 Petr Baudis <pasky@suse.cz>
17317
17318 * debug/stack_chk_fail_local.c: Add missing licence exception.
17319 * debug/warning-nop.c: Likewise.
17320
17321 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17322
17323 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17324 implementing getdents64 using getdents syscall, set d_type if
17325 __ASSUME_GETDENTS32_D_TYPE.
17326
17327 2010-09-16 Andreas Schwab <schwab@redhat.com>
17328
17329 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17330 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17331
17332 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17333
17334 [BZ #12037]
17335 * posix/unistd.h: Undo change of feature selection for ftruncate from
17336 2010-01-11.
17337
17338 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17339
17340 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17341 detection.
17342
17343 2010-09-20 Andreas Schwab <schwab@redhat.com>
17344
17345 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17346 fanotify_mark.
17347 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17348
17349 2010-09-14 Andreas Schwab <schwab@redhat.com>
17350
17351 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17352 variables after CHECK_SP call.
17353 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17354
17355 2010-09-13 Andreas Schwab <schwab@redhat.com>
17356 Ulrich Drepper <drepper@redhat.com>
17357
17358 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17359 re-relocationg ld.so.
17360 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17361 _dl_init_paths call.
17362 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17363 here anymore.
17364
17365 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17366
17367 * resolv/res_init.c (__res_vinit): Count the default server we added.
17368
17369 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17370 Ulrich Drepper <drepper@redhat.com>
17371
17372 [BZ #11968]
17373 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17374 (____longjmp_chk): Use %ebx for saving value across system call.
17375 Add unwind info.
17376
17377 2010-09-06 Andreas Schwab <schwab@redhat.com>
17378
17379 * manual/Makefile: Don't mix pattern rules with normal rules.
17380
17381 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17382
17383 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17384 operation.
17385 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17386 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17387 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17388 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17389 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17390 Likewise.
17391
17392 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17393
17394 [BZ #11979]
17395 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17396 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17397
17398 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17399
17400 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17401 * sysdeps/x86_64/addmul_1.S: Likewise.
17402 * sysdeps/x86_64/lshift.S: Likewise.
17403 * sysdeps/x86_64/mul_1.S: Likewise.
17404 * sysdeps/x86_64/rshift.S: Likewise.
17405 * sysdeps/x86_64/sub_n.S: Likewise.
17406 * sysdeps/x86_64/submul_1.S: Likewise.
17407
17408 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17409
17410 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17411 Define __sched_param instead of SCHED_* and sched_param when
17412 <bits/sched.h> is included with __need_schedparam defined.
17413 * bits/sched.h [__need_schedparam]
17414 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17415 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17416 (__defined_schedparam): Define to 1.
17417 (__sched_param): New structure, identical to sched_param.
17418 (__need_schedparam): Undefine.
17419
17420 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17421
17422 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17423 (epoll_create1): Declare.
17424
17425 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17426
17427 2010-08-31 Andreas Schwab <schwab@redhat.com>
17428
17429 [BZ #7066]
17430 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17431 shifting retval into place.
17432
17433 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17434
17435 * nis/rpcsvc/nis.h: Update copyright notice.
17436 * nis/rpcsvc/nis.x: Likewise.
17437 * nis/rpcsvc/nis_callback.h: Likewise.
17438 * nis/rpcsvc/nis_callback.x: Likewise.
17439 * nis/rpcsvc/nis_object.x: Likewise.
17440 * nis/rpcsvc/nis_tags.h: Likewise.
17441 * nis/rpcsvc/yp.h: Likewise.
17442 * nis/rpcsvc/yp.x: Likewise.
17443 * nis/rpcsvc/ypupd.h: Likewise.
17444 * nis/yp_xdr.c: Likewise.
17445 * nis/ypupdate_xdr.c: Likewise.
17446
17447 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17448 mainly the body of pmap_getport. Add parameters to specify timeouts.
17449 (pmap_getport): Use __libc_rpc_getport.
17450 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17451 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17452 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17453
17454 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17455
17456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17457 fanotify_mark.
17458
17459 2010-08-27 Roland McGrath <roland@redhat.com>
17460
17461 * sysdeps/i386/i686/multiarch/Makefile
17462 (CFLAGS-varshift.c): New variable.
17463
17464 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17465
17466 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17467 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17468
17469 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17470
17471 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17472
17473 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17474
17475 * sysdeps/x86_64/strlen.S: Unroll the loop.
17476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17477 strlen-sse2 strlen-sse2-bsf.
17478 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17479 __strlen_no_bsf if bit_Slow_BSF is set.
17480 (__strlen_sse42): Removed.
17481 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17482 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17483
17484 2010-08-25 Roland McGrath <roland@redhat.com>
17485
17486 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17487 * sysdeps/x86_64/multiarch/varshift.c: New file.
17488 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17489 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17490 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17491 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17492
17493 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17494
17495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17496 strlen-sse2 strlen-sse2-bsf.
17497 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17498 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17499 (__strlen_sse2): Removed.
17500 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17501 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17503 bit_Slow_BSF for Atom.
17504 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17505 (index_Slow_BSF): Define.
17506 (HAS_SLOW_BSF): Define.
17507
17508 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17509
17510 [BZ #10851]
17511 * resolv/res_init.c (__res_vinit): When no server address at all
17512 is given default to loopback.
17513
17514 2010-08-24 Roland McGrath <roland@redhat.com>
17515
17516 * configure.in: Remove config-name.h generation.
17517 * configure: Regenerated.
17518 * config-name.in: File removed.
17519 * scripts/config-uname.sh: New file.
17520 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17521 ($(objdir)config-name.h): New target.
17522
17523 * sunrpc/rpc_parse.h: Avoid nested comment.
17524
17525 2010-08-24 Richard Henderson <rth@redhat.com>
17526 Ulrich Drepper <drepper@redhat.com>
17527 H.J. Lu <hongjiu.lu@intel.com>
17528
17529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17531 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17532 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17533 _mm_alignr_epi8 with _mm_loadu_si128.
17534 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17535 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17536 (__m128i_shift_right): Removed.
17537 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17538 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17539 * sysdeps/x86_64/multiarch/varshift.h: New file.
17540 * sysdeps/x86_64/multiarch/varshift.S: New file.
17541
17542 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17543
17544 * configure.in: Move assembler checks to before sysdep dir checking.
17545
17546 2010-08-20 Petr Baudis <pasky@suse.cz>
17547
17548 * LICENSES: Sync the sunrpc license.
17549
17550 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17551
17552 * sunrpc/auth_des.c: Update copyright notice once again.
17553 * sunrpc/auth_none.c: Likewise.
17554 * sunrpc/auth_unix.c: Likewise.
17555 * sunrpc/authdes_prot.c: Likewise.
17556 * sunrpc/authuxprot.c: Likewise.
17557 * sunrpc/bindrsvprt.c: Likewise.
17558 * sunrpc/clnt_gen.c: Likewise.
17559 * sunrpc/clnt_perr.c: Likewise.
17560 * sunrpc/clnt_raw.c: Likewise.
17561 * sunrpc/clnt_simp.c: Likewise.
17562 * sunrpc/clnt_tcp.c: Likewise.
17563 * sunrpc/clnt_udp.c: Likewise.
17564 * sunrpc/clnt_unix.c: Likewise.
17565 * sunrpc/des_crypt.c: Likewise.
17566 * sunrpc/des_soft.c: Likewise.
17567 * sunrpc/get_myaddr.c: Likewise.
17568 * sunrpc/getrpcport.c: Likewise.
17569 * sunrpc/key_call.c: Likewise.
17570 * sunrpc/key_prot.c: Likewise.
17571 * sunrpc/openchild.c: Likewise.
17572 * sunrpc/pm_getmaps.c: Likewise.
17573 * sunrpc/pm_getport.c: Likewise.
17574 * sunrpc/pmap_clnt.c: Likewise.
17575 * sunrpc/pmap_prot.c: Likewise.
17576 * sunrpc/pmap_prot2.c: Likewise.
17577 * sunrpc/pmap_rmt.c: Likewise.
17578 * sunrpc/rpc/auth.h: Likewise.
17579 * sunrpc/rpc/auth_unix.h: Likewise.
17580 * sunrpc/rpc/clnt.h: Likewise.
17581 * sunrpc/rpc/des_crypt.h: Likewise.
17582 * sunrpc/rpc/key_prot.h: Likewise.
17583 * sunrpc/rpc/netdb.h: Likewise.
17584 * sunrpc/rpc/pmap_clnt.h: Likewise.
17585 * sunrpc/rpc/pmap_prot.h: Likewise.
17586 * sunrpc/rpc/pmap_rmt.h: Likewise.
17587 * sunrpc/rpc/rpc.h: Likewise.
17588 * sunrpc/rpc/rpc_des.h: Likewise.
17589 * sunrpc/rpc/rpc_msg.h: Likewise.
17590 * sunrpc/rpc/svc.h: Likewise.
17591 * sunrpc/rpc/svc_auth.h: Likewise.
17592 * sunrpc/rpc/types.h: Likewise.
17593 * sunrpc/rpc/xdr.h: Likewise.
17594 * sunrpc/rpc_clntout.c: Likewise.
17595 * sunrpc/rpc_cmsg.c: Likewise.
17596 * sunrpc/rpc_common.c: Likewise.
17597 * sunrpc/rpc_cout.c: Likewise.
17598 * sunrpc/rpc_dtable.c: Likewise.
17599 * sunrpc/rpc_hout.c: Likewise.
17600 * sunrpc/rpc_main.c: Likewise.
17601 * sunrpc/rpc_parse.c: Likewise.
17602 * sunrpc/rpc_parse.h: Likewise.
17603 * sunrpc/rpc_prot.c: Likewise.
17604 * sunrpc/rpc_sample.c: Likewise.
17605 * sunrpc/rpc_scan.c: Likewise.
17606 * sunrpc/rpc_scan.h: Likewise.
17607 * sunrpc/rpc_svcout.c: Likewise.
17608 * sunrpc/rpc_tblout.c: Likewise.
17609 * sunrpc/rpc_util.c: Likewise.
17610 * sunrpc/rpc_util.h: Likewise.
17611 * sunrpc/rpcinfo.c: Likewise.
17612 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17613 * sunrpc/rpcsvc/key_prot.x: Likewise.
17614 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17615 * sunrpc/rpcsvc/mount.x: Likewise.
17616 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17617 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17618 * sunrpc/rpcsvc/rex.x: Likewise.
17619 * sunrpc/rpcsvc/rstat.x: Likewise.
17620 * sunrpc/rpcsvc/rusers.x: Likewise.
17621 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17622 * sunrpc/rpcsvc/spray.x: Likewise.
17623 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17624 * sunrpc/rtime.c: Likewise.
17625 * sunrpc/svc.c: Likewise.
17626 * sunrpc/svc_auth.c: Likewise.
17627 * sunrpc/svc_authux.c: Likewise.
17628 * sunrpc/svc_raw.c: Likewise.
17629 * sunrpc/svc_run.c: Likewise.
17630 * sunrpc/svc_simple.c: Likewise.
17631 * sunrpc/svc_tcp.c: Likewise.
17632 * sunrpc/svc_udp.c: Likewise.
17633 * sunrpc/svc_unix.c: Likewise.
17634 * sunrpc/svcauth_des.c: Likewise.
17635 * sunrpc/xcrypt.c: Likewise.
17636 * sunrpc/xdr.c: Likewise.
17637 * sunrpc/xdr_array.c: Likewise.
17638 * sunrpc/xdr_float.c: Likewise.
17639 * sunrpc/xdr_mem.c: Likewise.
17640 * sunrpc/xdr_rec.c: Likewise.
17641 * sunrpc/xdr_ref.c: Likewise.
17642 * sunrpc/xdr_sizeof.c: Likewise.
17643 * sunrpc/xdr_stdio.c: Likewise.
17644
17645 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17646 handling.
17647
17648 2010-08-19 Andreas Schwab <schwab@redhat.com>
17649
17650 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17651
17652 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17653
17654 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17655 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17656 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17657 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17658 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17659 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17660 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17661 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17662 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17663 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17664 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17665 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17666 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17667 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17668
17669 2010-07-26 Anton Blanchard <anton@samba.org>
17670
17671 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17672 * malloc/arena.c (heap_trim): Likewise.
17673
17674 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17675
17676 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17677 here. Not...
17678 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17679 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17680
17681 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17682
17683 * sysdeps/i386/elf/Makefile: New file.
17684
17685 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17686
17687 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17688 from fanotify_init.
17689 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17690 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17691
17692 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17693
17694 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17695 of strncasecmp_l.
17696 * sysdeps/multiarch/strcmp.S: Likewise.
17697
17698 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17699
17700 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17701 strncase_l-nonascii.
17702 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17703 Add strncase_l-ssse3.
17704 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17705 * sysdeps/x86_64/strcmp.S: Likewise.
17706 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17707 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17708 * sysdeps/x86_64/strncase.S: New file.
17709 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17710 * sysdeps/x86_64/strncase_l.S: New file.
17711 * string/Makefile (strop-tests): Add strncasecmp.
17712 * string/test-strncasecmp.c: New file.
17713
17714 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17715 warning.
17716
17717 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17718 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17719
17720 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17721
17722 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17723
17724 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17725
17726 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17727 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17728 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17729
17730 2010-05-01 Alan Modra <amodra@gmail.com>
17731
17732 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17733 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17734 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17735 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17736 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17737 tidying. Don't tail-call __sigjmp_save for static lib.
17738 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17739 save location.
17740 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17741 (CALL_MCOUNT): Add eh info, and nop after bl.
17742 (TAIL_CALL_SYSCALL_ERROR): New macro.
17743 (PSEUDO_RET): Use it.
17744 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17745 Correct save location of integer regs and cr.
17746 (_dl_profile_resolve): Correct cr save location. Delete nops
17747 after bl when SHARED. Reduce cfi size a little by better
17748 placement of cfi directives.
17749 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17750 make a stack frame. Instead use parm save area as a temp.
17751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17752 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17754 Don't make a stack frame for parent, use parm save area.
17755 Increase child stack frame to 112 bytes. Don't save unused reg,
17756 and adjust reg usage. Set up cfi on error recovery and
17757 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17759 (__makecontext): Add dummy nop after jump to exit.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17761 Use correct parm save area and cr save, reduce stack frame.
17762 Correct cfi for possible PSEUDO_RET frame setup.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17764 Branch to local label emitted by PSEUDO_RET rather than
17765 __syscall_error.
17766
17767 2010-08-12 Andreas Schwab <schwab@redhat.com>
17768
17769 [BZ #11904]
17770 * locale/programs/locale.c (print_assignment): New function.
17771 (show_locale_vars): Use it.
17772
17773 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17774
17775 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17776 field.
17777 (struct statfs64): Likewise.
17778 (_STATFS_F_FLAGS): Define.
17779 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17780 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17781 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17782 (ST_VALID): Define locally.
17783 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17784 __statvfs_getflags, use the provided value.
17785 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17786 __ASSUME_STATFS_F_FLAGS.
17787
17788 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17789
17790 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17791 Add sys/fanotify.h.
17792 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17793 fanotify_mask for GLIBC_2.13.
17794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17795 fanotify_init and fanotify_mark.
17796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17797 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17798
17799 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17800 Add prlimit.
17801 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17802 prlimit64 for GLIBC_2.13.
17803 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17804 prlimit64.
17805 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17806 syscall.
17807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17808 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17809 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17810 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17811 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17812 add prlimit alias.
17813 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17814
17815 [BZ #11903]
17816 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17817 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17818
17819 * nss/Makefile: Add rules to build and run tst-nss-test1.
17820 * shlib-versions: Add entry for libnss_test1.
17821 * nss/nss_test1.c: New file.
17822 * nss/tst-nss-test1.c: New file.
17823
17824 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17825 (__nss_configure_lookup): Set appropriate entry in
17826 __nss_configure_lookup to true.
17827 * nss/nsswitch.h: Define enum with indeces of databases in
17828 databases and __nss_database_custom arrays. Declare
17829 __nss_database_custom.
17830 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17831 to avoid using nscd when custom rules are installed.
17832 * nss/getXXbyYY_r.c: Likewise.
17833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17834
17835 * nss/nss_files/files-parse.c: Whitespace fixes.
17836
17837 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17838
17839 [BZ #11883]
17840 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17841 * posix/fnmatch_loop.c: Likewise.
17842
17843 2010-07-17 Andi Kleen <ak@linux.intel.com>
17844
17845 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17846 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17847 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17848 * Versions.def [GLIBC_2.13]: Add.
17849
17850 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17851
17852 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17853 Also fail if tpwd after pwuid call is NULL.
17854
17855 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17856
17857 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17858 when converting to ms.
17859
17860 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17861
17862 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17863 EOPNOTSUPP errors with ENOTTY.
17864 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17865 EOPNOTSUPP errors with ENOTTY.
17866
17867 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17868
17869 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17870 Add strcasecmp_l-ssse3.
17871 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17872 strcasecmp.
17873 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17874 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17875 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17876
17877 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17878
17879 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17880
17881 * string/Makefile (strop-tests): Add strcasecmp.
17882 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17883 strcasecmp_l-nonascii.
17884 (gen-as-const-headers): Add locale-defines.sym.
17885 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17886 * sysdeps/x86_64/strcasecmp.S: New file.
17887 * sysdeps/x86_64/strcasecmp_l.S: New file.
17888 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17889 * sysdeps/x86_64/locale-defines.sym: New file.
17890 * string/test-strcasecmp.c: New file.
17891
17892 * string/test-strcasestr.c: Test both ends of the range of characters.
17893 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17894
17895 2010-07-29 Roland McGrath <roland@redhat.com>
17896
17897 [BZ #11856]
17898 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17899
17900 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17901
17902 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17903 for ld.so.
17904
17905 2010-07-27 Andreas Schwab <schwab@redhat.com>
17906
17907 * manual/memory.texi (Malloc Tunable Parameters): Document
17908 M_PERTURB.
17909
17910 2010-07-26 Roland McGrath <roland@redhat.com>
17911
17912 [BZ #11840]
17913 * configure.in (-fgnu89-inline check): Set and substitute
17914 gnu89_inline, not libc_cv_gnu89_inline.
17915 * configure: Regenerated.
17916 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17917
17918 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17919
17920 * string/test-strnlen.c: New file.
17921 * string/Makefile (strop-tests): Add strnlen.
17922 * string/tester.c (test_strnlen): Add a few more test cases.
17923 * string/tst-strlen.c: Better error reporting.
17924
17925 * sysdeps/x86_64/strnlen.S: New file.
17926
17927 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17928
17929 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17930 lower-latency instructions.
17931
17932 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17933
17934 * string/test-strcasestr.c: New file.
17935 * string/test-strstr.c: New file.
17936 * string/Makefile (strop-tests): Add strstr and strcasestr.
17937 * string/str-two-way.h: Don't undefine MAX.
17938 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17939
17940 2010-07-21 Andreas Schwab <schwab@redhat.com>
17941
17942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17943 strcasestr-nonascii.
17944 (CFLAGS-strcasestr-nonascii.c): Define.
17945 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17946 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17947 Remove unused attribute.
17948
17949 2010-07-20 Roland McGrath <roland@redhat.com>
17950
17951 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17952 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17953 ld.so.cache was broken. With it, there is no way to disable dsocaps
17954 like LD_HWCAP_MASK can disable hwcaps.
17955
17956 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17957
17958 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17959
17960 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17961
17962 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17963 call in strcasestr.
17964 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17965 __strcasestr_sse42_nonascii.
17966 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17967 strcasestr-nonascii.c.
17968 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17969
17970 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17971
17972 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17973 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17974 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17975 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17976
17977 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17978
17979 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17980 fcntl.
17981
17982 2010-07-06 Andreas Schwab <schwab@redhat.com>
17983
17984 [BZ #11577]
17985 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17986 dl_signal_cerror.
17987
17988 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17989
17990 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17991 _PC_PIPE_BUF using F_GETPIPE_SZ.
17992
17993 2010-07-05 Roland McGrath <roland@redhat.com>
17994
17995 * manual/arith.texi (Rounding Functions): Fix rint description
17996 implicit in round description.
17997
17998 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17999
18000 * elf/Makefile: Fix linking for a few tests to make recent linker
18001 happy.
18002
18003 2010-06-30 Andreas Schwab <schwab@redhat.com>
18004
18005 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18006 $(common-objpfx)libc_nonshared.a.
18007
18008 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18009
18010 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18011 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18012 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18013 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18014 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18015 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18016 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18017 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18032 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18033 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18034 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18035 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18036 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18037 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18038 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18039 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18040 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18041 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18042 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18043 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18058
18059 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18060
18061 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18062 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18063 * string/memmove.c (memmove): Renamed to ...
18064 (MEMMOVE): ...this. Default to memmove.
18065 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18066 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18067 (END_CHK): Define.
18068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18069 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18070 mempcpy-ssse3-back memmove-ssse3-back.
18071 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18072 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18073 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18074 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18075 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18076 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18077 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18078 * sysdeps/x86_64/multiarch/memmove.c: New file.
18079 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18080 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18081 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18082 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18083 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18084 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18085 Define.
18086 (index_Fast_Copy_Backward): Define.
18087 (HAS_ARCH_FEATURE): Define.
18088 (HAS_FAST_REP_STRING): Define.
18089 (HAS_FAST_COPY_BACKWARD): Define.
18090
18091 2010-06-21 Andreas Schwab <schwab@redhat.com>
18092
18093 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18094 Restore proper fallback handling.
18095
18096 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18097
18098 [BZ #11701]
18099 * posix/group_member.c (__group_member): Correct checking loop.
18100
18101 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18102 OOM in getpwuid_r correctly. Return error number when the caller
18103 should return, otherwise -1.
18104 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18105 call returning > 0 value.
18106 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18107
18108 2010-06-07 Andreas Schwab <schwab@redhat.com>
18109
18110 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18111 libc_nonshared.a from targets in modules-names.
18112
18113 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18114
18115 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18116 requires it.
18117
18118 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18119
18120 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18121 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18122 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18123 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18124
18125 2010-06-02 Andreas Schwab <schwab@redhat.com>
18126
18127 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18128
18129 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18130
18131 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18132 and F_GETPIPE_SZ.
18133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18134 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18136 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18137 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18138 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18139
18140 2010-06-14 Roland McGrath <roland@redhat.com>
18141
18142 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18143
18144 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18145
18146 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18147 __REDIRECT followed by __THROW.
18148 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18149 * posix/getopt.h (getopt): Likewise.
18150
18151 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18152
18153 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18154 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18155 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18156 in AT_FLAGS.
18157 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18158 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18159
18160 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18161
18162 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18163
18164 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18165
18166 [BZ #11640]
18167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18168 Properly check family and model.
18169
18170 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18171
18172 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18173
18174 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18175
18176 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18177
18178 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18179
18180 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18181 symbol reference.
18182
18183 2010-05-19 Andreas Schwab <schwab@redhat.com>
18184
18185 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18186 symbol reference.
18187
18188 2010-05-21 Andreas Schwab <schwab@redhat.com>
18189
18190 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18191 and internal_recvmmsg.
18192 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18193 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18194 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18195 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18196
18197 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18198 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18199 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18200
18201 2010-05-20 Andreas Schwab <schwab@redhat.com>
18202
18203 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18204
18205 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18206
18207 POWER7 optimizations.
18208 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18209 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18210
18211 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18212
18213 * version.h: Update for 2.13 development version.
18214
18215 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18216
18217 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18218 exceptions. Return 0.
18219
18220 2010-05-07 Roland McGrath <roland@redhat.com>
18221
18222 * elf/ldconfig.c (main): Add a const.
18223
18224 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18225
18226 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18227 (args_options): Add no-idn option.
18228 (ahosts_keys_int): Add idn_flags to ai_flags.
18229 (parse_option): Handle 'i' option to clear idn_flags.
18230
18231 * malloc/malloc.c (_int_free): Possible race in the most recently
18232 added check. Only act on the data if no current modification
18233 happened.
18234
18235 See ChangeLog.17 for earlier changes.