1 2012-08-08 Mark Salter <msalter@redhat.com>
4 (R_MN10300_TLS_GD): Define.
5 (R_MN10300_TLS_LD): Likewise.
6 (R_MN10300_TLS_LDO): Likewise.
7 (R_MN10300_TLS_GOTIE): Likewise.
8 (R_MN10300_TLS_IE): Likewise.
9 (R_MN10300_TLS_LE): Likewise.
10 (R_MN10300_TLS_DTPMOD): Likewise.
11 (R_MN10300_TLS_DTPOFF): Likewise.
12 (R_MN10300_TLS_TPOFF): Likewise.
13 (R_MN10300_SYM_DIFF): Likewise.
14 (R_MN10300_ALIGN): Likewise.
15 (R_MN10300_NUM): Update.
17 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22 2012-08-08 Roland McGrath <roland@hack.frob.com>
24 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27 sysdeps/unix -> sysdeps/posix move.
28 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30 2012-08-07 Allan McRae <allan@archlinux.org>
33 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34 (SUNOS_CPP): Likewise.
35 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37 (open_input): Call CPP using execvp.
39 2012-08-07 Joseph Myers <joseph@codesourcery.com>
41 * sysdeps/unix/sysv/linux/kernel-features.h
42 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45 (__ASSUME_WAITID_SYSCALL): Likewise.
46 * sysdeps/unix/sysv/linux/dl-execstack.c
47 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
49 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
51 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
52 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
57 [__ASSUME_WAITID_SYSCALL]: Likewise.
58 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60 2012-08-07 Roland McGrath <roland@hack.frob.com>
62 * sysdeps/unix/closedir.c: Renamed to ...
63 * sysdeps/posix/closedir.c: ... here.
64 * sysdeps/unix/dirfd.c: Renamed to ...
65 * sysdeps/posix/dirfd.c: ... here.
66 * sysdeps/unix/dirstream.h: Renamed to ...
67 * sysdeps/posix/dirstream.h: ... here.
68 * sysdeps/unix/fdopendir.c: Renamed to ...
69 * sysdeps/posix/fdopendir.c: ... here.
70 * sysdeps/unix/opendir.c: Renamed to ...
71 * sysdeps/posix/opendir.c: ... here.
72 * sysdeps/unix/readdir.c: Renamed to ...
73 * sysdeps/posix/readdir.c: ... here.
74 * sysdeps/unix/readdir_r.c: Renamed to ...
75 * sysdeps/posix/readdir_r.c: ... here.
76 * sysdeps/unix/rewinddir.c: Renamed to ...
77 * sysdeps/posix/rewinddir.c: ... here.
78 * sysdeps/unix/seekdir.c: Renamed to ...
79 * sysdeps/posix/seekdir.c: ... here.
80 * sysdeps/unix/telldir.c: Renamed to ...
81 * sysdeps/posix/telldir.c: ... here.
82 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
83 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
84 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
85 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
87 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
88 * bits/fcntl.h: ... here.
90 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
92 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
93 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
94 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
95 (struct flock): Move l_start, l_len to the beginning.
96 Use __pid_t for l_pid.
97 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
98 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
99 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
100 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
101 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
102 [__USE_LARGEFILE64] (struct flock64): New type.
103 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
105 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
106 * bits/dirent.h: ... here.
108 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
109 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
111 2012-08-07 Joseph Myers <joseph@codesourcery.com>
113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
114 Change from 2.6.0 to 2.6.16.
115 * sysdeps/unix/sysv/linux/configure: Regenerated.
116 * sysdeps/unix/sysv/linux/kernel-features.h
117 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
118 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
120 (__ASSUME_UTIMES): Likewise.
121 (__ASSUME_CLONE_STOPPED): Remove.
122 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
123 architectures, not kernel version.
124 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
125 (__ASSUME_NO_CLONE_DETACHED): Likewise.
126 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
127 (__ASSUME_WAITID_SYSCALL): Likewise.
128 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
129 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
130 * README: State 2.6.16 as minimum Linux kernel version. Do not
131 refer to older versions.
133 2012-08-06 Roland McGrath <roland@hack.frob.com>
135 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
136 Define alphasort64 as an alias.
137 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
138 Define versionsort64 as an alias.
139 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
140 Define scandir64 as an alias.
141 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
142 Define scandirat64 as an alias.
143 * dirent/alphasort64.c (alphasort64):
144 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
145 * dirent/versionsort64.c: Likewise.
146 * dirent/scandir64.c: Likewise.
147 * dirent/scandirat64.c: Likewise.
148 * sysdeps/wordsize-64/alphasort.c: File removed.
149 * sysdeps/wordsize-64/alphasort64.c: File removed.
150 * sysdeps/wordsize-64/scandir.c: File removed.
151 * sysdeps/wordsize-64/scandir64.c: File removed.
152 * sysdeps/wordsize-64/scandirat.c: File removed.
153 * sysdeps/wordsize-64/scandirat64.c: File removed.
154 * sysdeps/wordsize-64/versionsort.c: File removed.
155 * sysdeps/wordsize-64/versionsort64.c: File removed.
156 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
157 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
158 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
159 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
160 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
161 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
162 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
163 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
165 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
167 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
169 [defined __arch64__ || defined __sparcv9]
170 (__INO_T_MATCHES_INO64_T): New macro.
171 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
172 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
173 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
174 * sysdeps/unix/sysv/linux/bits/dirent.h
175 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
176 (_DIRENT_MATCHES_DIRENT64): New macro.
178 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
179 Define lockf64 as an alias.
180 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
181 Define fseeko64 as an alias.
182 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
183 Define ftello64 as an alias.
184 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
185 Define _IO_fgetpos64 and fgetpos64 as aliases.
186 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
187 Define _IO_fsetpos64 and fsetpos64 as aliases.
188 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
189 Conditionalize body on this.
190 * libio/fseeko64.c: Likewise.
191 * libio/ftello64.c: Likewise.
192 * libio/iofgetpos64.c: Likewise.
193 * libio/iofsetpos64.c: Likewise.
194 * sysdeps/wordsize-64/lockf.c: File removed.
195 * sysdeps/wordsize-64/lockf64.c: File removed.
196 * sysdeps/wordsize-64/fseeko.c: File removed.
197 * sysdeps/wordsize-64/fseeko64.c: File removed.
198 * sysdeps/wordsize-64/ftello.c: File removed.
199 * sysdeps/wordsize-64/ftello64.c: File removed.
200 * sysdeps/wordsize-64/iofgetpos.c: File removed.
201 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
202 * sysdeps/wordsize-64/iofsetpos.c: File removed.
203 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
204 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
205 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
206 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
207 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
208 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
209 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
210 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
211 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
212 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
213 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
215 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
217 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
218 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
219 [defined __arch64__ || defined __sparcv9]
220 (__OFF_T_MATCHES_OFF64_T): New macro.
221 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
222 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
223 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
224 (__OFF_T_MATCHES_OFF64_T): New macro.
226 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
228 * stdlib/secure-getenv.c (__secure_getenv): Replace
229 GLIBC_2_16 with GLIBC_2_17.
231 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
233 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
234 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
236 2012-08-03 David S. Miller <davem@davemloft.net>
238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
240 2012-08-03 Joseph Myers <joseph@codesourcery.com>
242 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
244 (__ASSUME_CORRECT_SI_PID): Likewise.
245 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
246 (__ASSUME_TMPFS_NAME): Likewise.
247 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
248 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
249 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
250 (HAVE_AUX_SECURE): Make definition unconditional.
251 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
252 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
254 2012-08-03 Roland McGrath <roland@hack.frob.com>
256 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
257 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
258 * sysdeps/mach/hurd/eloop-threshold.h: New file.
259 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
260 __eloop_threshold instead of SYMLOOP_MAX.
262 * sysdeps/generic/eloop-threshold.h: New file.
263 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
265 * elf/chroot_canon.c (chroot_canon): Likewise.
267 2012-08-03 Joseph Myers <joseph@codesourcery.com>
270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
271 Change to 2.6.0 everywhere.
272 * sysdeps/unix/sysv/linux/configure: Regenerated.
273 * sysdeps/unix/sysv/linux/kernel-features.h
274 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
275 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
277 (__ASSUME_POSIX_TIMERS): Define unconditionally.
278 (__ASSUME_FUTEX_REQUEUE): Remove.
279 (__ASSUME_STATFS64): Define unconditionally.
280 (__ASSUME_AT_SECURE): Likewise.
281 (__ASSUME_CORRECT_SI_PID): Likewise.
282 (__ASSUME_TGKILL): Define without depending on kernel version for
284 (__ASSUME_UTIMES): Likewise.
285 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
287 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
288 (__ASSUME_TMPFS_NAME): Likewise.
289 * README: Update reference to Linux kernel versions.
291 2012-08-02 Marek Polacek <polacek@redhat.com>
294 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
295 libc_cv_asm_type_prefix with %.
296 * configure: Regenerated.
297 * include/libc-symbols.h: Remove comment about
298 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
299 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
300 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
301 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
302 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
303 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
304 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
305 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
306 * elf/tst-unique2mod1.c: Likewise.
307 * elf/tst-unique1mod2.c: Likewise.
308 * elf/tst-unique1mod1.c: Likewise.
309 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
310 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
311 Replace ASM_TYPE_DIRECTIVE with .type.
312 * sysdeps/s390/s390-64/sysdep.h: Likewise.
313 * sysdeps/i386/sysdep.h: Likewise.
314 * sysdeps/x86_64/sysdep.h: Likewise.
315 * sysdeps/sh/sysdep.h: Likewise.
316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
317 Do not define ASM_TYPE_DIRECTIVE.
318 * sysdeps/powerpc/sysdep.h: Likewise.
319 * sysdeps/powerpc/powerpc32/sysdep.h:
320 Replace ASM_TYPE_DIRECTIVE with .type.
321 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
322 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
323 * sysdeps/i386/fpu/e_powf.S: Likewise.
324 * sysdeps/i386/fpu/e_expl.S: Likewise.
325 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
326 * sysdeps/i386/fpu/e_acosh.S: Likewise.
327 * sysdeps/i386/fpu/e_pow.S: Likewise.
328 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
329 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
330 * sysdeps/i386/fpu/s_expm1.S: Likewise.
331 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
332 * sysdeps/i386/fpu/e_log2.S: Likewise.
333 * sysdeps/i386/fpu/e_log2l.S: Likewise.
334 * sysdeps/i386/fpu/e_scalb.S: Likewise.
335 * sysdeps/i386/fpu/e_powl.S: Likewise.
336 * sysdeps/i386/fpu/e_log10f.S: Likewise.
337 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
338 * sysdeps/i386/fpu/e_logl.S: Likewise.
339 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
340 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
341 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
342 * sysdeps/i386/fpu/e_log2f.S: Likewise.
343 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
344 * sysdeps/i386/fpu/e_log.S: Likewise.
345 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
346 * sysdeps/i386/fpu/e_logf.S: Likewise.
347 * sysdeps/i386/fpu/e_log10l.S: Likewise.
348 * sysdeps/i386/fpu/e_atanh.S: Likewise.
349 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
350 * sysdeps/i386/fpu/e_log10.S: Likewise.
351 * sysdeps/i386/fpu/s_frexp.S: Likewise.
352 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
353 * sysdeps/i386/fpu/s_asinh.S: Likewise.
354 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
355 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
356 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
357 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
358 * sysdeps/i386/i686/strtok.S: Likewise.
359 * sysdeps/i386/i386-mcount.S: Likewise.
360 * sysdeps/i386/strtok.S: Likewise.
361 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
362 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
363 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
364 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
365 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
366 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
367 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
368 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
369 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
370 * sysdeps/x86_64/_mcount.S: Likewise.
371 * sysdeps/x86_64/strtok.S: Likewise.
372 * sysdeps/sh/_mcount.S: Likewise.
374 2012-08-01 Roland McGrath <roland@hack.frob.com>
376 * libio/iofopen.c: Include <fcntl.h>.
377 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
378 (_IO_fopen64, fopen64): Define as aliases.
379 * libio/iofopen64.c: Include <fcntl.h>.
380 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
381 Conditionalize body on this.
382 * sysdeps/wordsize-64/iofopen.c: File removed.
383 * sysdeps/wordsize-64/iofopen64.c: File removed.
385 2012-08-01 Marek Polacek <polacek@redhat.com>
387 * libc/Makeconfig: Use elf in place of binfmt-subdir.
388 Use dlfcn directly instead of a variable.
389 (binfmt-subdir): Do not define.
392 2012-08-01 Joseph Myers <joseph@codesourcery.com>
394 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
395 Remove all definitions.
396 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
398 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
399 (miss_F_GETOWN_EX): Remove all definitions.
400 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
402 [!__ASSUME_FCNTL64]: Remove conditional code.
403 [__ASSUME_FCNTL64]: Make code unconditional.
404 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
406 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
407 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
408 (lockf64) [__NR_fcntl64]: Make code unconditional.
409 (lockf64) [__ASSUME_FCNTL64]: Likewise.
411 * sysdeps/unix/sysv/linux/kernel-features.h
412 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
413 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
414 Make code unconditional.
415 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
416 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
418 [__NR_vfork]: Make code unconditional.
419 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
420 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
422 [__NR_vfork]: Make code unconditional.
423 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
424 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
426 2012-08-01 Roland McGrath <roland@hack.frob.com>
428 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
429 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
431 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
432 Define mkstemp64 as an alias.
433 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
434 Define mkstemps64 as an alias.
435 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
436 Define mkostemp64 as an alias.
437 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
438 Define mkostemps64 as an alias.
439 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
440 Conditionalize body on this.
441 * misc/mkostemp64.c: Likewise.
442 * misc/mkostemps64.c: Likewise.
443 * misc/mkstemps64.c: Likewise.
444 * sysdeps/wordsize-64/mkstemp64.c: File removed.
445 * sysdeps/wordsize-64/mkostemp64.c: File removed.
446 * sysdeps/wordsize-64/mkostemp.c: File removed.
447 * sysdeps/wordsize-64/mkstemp.c: File removed.
448 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
449 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
450 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
451 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
454 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
455 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
456 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
457 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
459 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
460 compat_symbol macros from <shlib-compat.h> rather than the underlying
461 default_symbol_version and symbol_version macros, so that DEFAULT
462 lines in shlib-versions are respected.
463 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
465 2012-08-01 Florian Weimer <fweimer@redhat.com>
467 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
468 Declare with warn_unused_result.
469 (setgid, setregid, setegid, setresgid): Likewise.
470 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
472 * WUR-REPORT: Remove set*id functions.
474 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
476 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
478 2012-07-31 Roland McGrath <roland@hack.frob.com>
480 * include/sys/socket.h (__libc_accept, __libc_accept4):
481 Add attribute_hidden.
482 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
484 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
486 * inet/getnetgrent_r.c (setup): Likewise.
488 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
490 2012-07-31 David S. Miller <davem@davemloft.net>
492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
494 2012-07-31 Joseph Myers <joseph@codesourcery.com>
497 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
498 value between 1.0 and 2.0 and smaller part has absolute value less
500 * math/s_clog10.c (__clog10): Likewise.
501 * math/s_clog10f.c (__clog10f): Likewise.
502 * math/s_clog10l.c (__clog10l): Likewise.
503 * math/s_clogf.c (__clogf): Likewise.
504 * math/s_clogl.c (__clogl): Likewise.
505 * math/libm-test.inc (clog_test): Add more tests.
506 (clog10_test): Likewise.
507 * sysdeps/i386/fpu/libm-test-ulps: Update.
508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
510 2012-07-31 Florian Weimer <fweimer@redhat.com>
512 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
513 Exit with zero in case no suitable GID is found, and write a
514 message to standard error.
516 2012-07-30 Roland McGrath <roland@hack.frob.com>
518 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
520 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
521 (MAXPATHLEN): Removed.
522 (NOGROUP, NODEV): New macros.
523 (setbit, clrbit, isset, isclr): New macros.
524 (howmany, roundup, powerof2): New macros.
525 (DEV_BSIZE): New macro.
527 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
528 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
530 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
531 definition on [!__NO_LONG_DOUBLE_MATH].
533 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
534 PTR_MANGLE and PTR_DEMANGLE.
536 * socket/accept4.c (accept4): Rename to __libc_accept4.
537 Define accept4 as a weak alias.
539 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
540 on [_DIRENT_HAVE_D_TYPE].
541 * io/ftw.c (ftw_dir): Likewise.
543 * io/xmknod.c (__xmknod): Don't check PATH for being null.
545 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
547 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
548 Use the BSD numbers rather than the arbitrary ones we had.
549 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
550 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
551 (SIGXCPU, SIGXFSZ): New macros.
554 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
555 initializer on [_LIBC_REENTRANT].
557 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
558 definitions inside [_POSIX_MAPPED_FILES].
560 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
562 * dirent/opendir.c: Include <fcntl.h>.
564 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
565 (__libc_getspecific): Likewise.
566 (__libc_key_create): Likewise.
568 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
569 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
570 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
571 (tmpfile64): Define as alias.
572 * sysdeps/wordsize-64/tmpfile.c: File removed.
573 * sysdeps/wordsize-64/tmpfile64.c: File removed.
574 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
575 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
577 * stdio-common/vfscanf.c: Include <stdbool.h>.
578 * nss/makedb.c: Likewise.
579 * stdio-common/_i18n_number.h: Likewise.
580 * argp/argp-help.c: Likewise.
581 * posix/wordexp.c: Likewise.
582 * sysdeps/posix/spawni.c: Likewise.
583 * nss/nss_files/files-initgroups.c: Likewise.
584 * stdio-common/reg-modifier.c: Include <stdlib.h>.
585 * nss/nss_files/files-initgroups.c: Likewise.
586 * nss/nss_db/db-netgrp.c: Likewise.
587 * nss/nss_db/db-initgroups.c: Likewise.
588 * io/fchmodat.c: Include <sys/stat.h>.
590 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
591 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
593 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
596 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
597 Add multiple inclusion protection.
599 2012-07-27 David S. Miller <davem@davemloft.net>
601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
603 2012-07-27 Gary Benson <gbenson@redhat.com>
606 * elf/rtld.c: Include <stap-probe.h>.
607 (dl_main): Added static probes "init_start" and "init_complete".
608 * elf/dl-load.c: Include <stap-probe.h>.
609 (lose): Take new parameter "nsid".
610 Added static probe "map_failed".
611 (_dl_map_object_from_fd): Pass namespace id to lose.
612 Added static probe "map_start".
613 (open_verify): Pass namespace id to lose.
614 * elf/dl-open.c: Include <stap-probe.h>.
615 (dl_open_worker) Added static probes "map_complete", "reloc_start"
616 and "reloc_complete".
617 * elf/dl-close.c: Include <stap-probe.h>.
618 (_dl_close_worker): Added static probes "unmap_start" and
620 * elf/rtld-debugger-interface.txt: New file documenting the above.
622 2012-07-26 Roland McGrath <roland@hack.frob.com>
624 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
625 rather than a string variable.
626 * sunrpc/rpc_main.c (h_output): Likewise.
627 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
629 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
631 * inet/check_native.c: New file.
633 2012-07-26 Joseph Myers <joseph@codesourcery.com>
636 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
637 if larger part has absolute value 1.0.
638 * math/s_clog10.c (__clog10): Likewise.
639 * math/s_clog10f.c (__clog10f): Likewise.
640 * math/s_clog10l.c (__clog10l): Likewise.
641 * math/s_clogf.c (__clogf): Likewise.
642 * math/s_clogl.c (__clogl): Likewise.
643 * math/libm-test.inc (clog_test): Add more tests.
644 (clog10_test): Likewise.
645 * sysdeps/i386/fpu/libm-test-ulps: Update.
646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
648 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
651 (La_retval): Likewise.
652 (int_retval): Likewise.
653 Update #error for removed macros to refer only to definitions in
655 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
659 (La_retval): Likewise.
660 (int_retval): Likewise.
661 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
665 (La_retval): Likewise.
666 (int_retval): Likewise.
667 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
671 (La_retval): Likewise.
672 (int_retval): Likewise.
673 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
677 (La_retval): Likewise.
678 (int_retval): Likewise.
679 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
683 (La_retval): Likewise.
684 (int_retval): Likewise.
685 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
689 (La_retval): Likewise.
690 (int_retval): Likewise.
691 * sysdeps/generic/tst-audit.h: Update comment to refer only to
692 macro definitions in tst-audit.h.
693 * sysdeps/i386/tst-audit.h: New file.
694 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
695 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
696 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
697 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
698 * sysdeps/sh/tst-audit.h: Likewise.
699 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
700 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
701 * sysdeps/x86_64/tst-audit.h: Likewise.
703 2012-07-26 Andreas Jaeger <aj@suse.de>
705 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
708 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
709 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
710 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
712 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
713 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
714 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
716 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
719 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
721 (si_call_addr, si_syscall, si_arch): Define new macro.
722 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
724 (si_call_addr, si_syscall, si_arch): Define new marcro.
725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
727 (si_call_addr, si_syscall, si_arch): Define new macro.
728 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
730 (si_call_addr, si_syscall, si_arch): Define new macro.
732 2012-07-25 Joseph Myers <joseph@codesourcery.com>
735 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
736 Change to 2.4.21 where previously 2.4.1.
737 * sysdeps/unix/sysv/linux/configure: Regenerated.
738 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
739 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
740 Linux kernel version.
741 (__ASSUME_STD_AUXV): Remove.
742 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
744 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
745 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
746 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
747 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
748 (__ASSUME_NETLINK_SUPPORT): Likewise.
749 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
750 (__no_netlink_support): Remove conditional definition.
751 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
753 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
754 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
755 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
756 (if_nameindex_ioctl): Remove.
757 (if_nameindex_netlink): Do not handle __no_netlink_support.
758 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
760 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
761 Remove conditional code.
762 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
764 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
766 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
767 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
768 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
770 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
771 [!__ASSUME_STD_AUXV]: Remove conditional code.
772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
773 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
774 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
776 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
777 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
779 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
781 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
782 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
784 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
786 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
789 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
792 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
794 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
796 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
798 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
801 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
803 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
806 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
808 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
810 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
812 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
815 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
817 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
819 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
821 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
824 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
826 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
827 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
828 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
829 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
830 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
831 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
832 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
833 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
834 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
835 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
836 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
837 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
838 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
839 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
840 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
841 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
842 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
843 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
844 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
846 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
847 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
848 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
850 2012-07-25 Florian Weimer <fweimer@redhat.com>
852 * Versions.def: Add GLIBC_2.17.
853 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
854 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
855 Introduce __libc_secure_getenv.
856 * stdlib/Versions (2.17): Add secure_getenv
857 (GLIBC_PRIVATE): Add __libc_secure_getenv.
858 * stdlib/secure-getenv.c: Rename __secure_getenv to
859 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
860 symbol __secure_getenv for GLIBC_2.0.
861 * stdlib/tst-secure-getenv.c: New.
862 * stdlib/Makefile (tests): Add testcase.
863 * manual/startup.texi (Environment Access): Document
865 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
866 __libc_secure_getenv.
867 * inet/ruserpass.c (ruserpass): Likewise.
868 * malloc/mtrace.c (mtrace): Likewise.
869 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
870 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
871 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
872 * sysdeps/posix/tempname.c: Likewise. Evaluate
874 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
875 __secure_getenv to __libc_secure_getenv.
876 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
883 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
889 2012-07-25 Joseph Myers <joseph@codesourcery.com>
891 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
892 (struct La_i86_retval): Likewise.
893 (struct La_x86_64_regs): Likewise.
894 (struct La_x86_64_retval): Likewise.
895 (struct La_x32_regs): Likewise.
896 (struct La_x32_retval): Likewise.
897 (struct La_ppc32_regs): Likewise.
898 (struct La_ppc32_retval): Likewise.
899 (struct La_ppc64_regs): Likewise.
900 (struct La_ppc64_retval): Likewise.
901 (struct La_sh_regs): Likewise.
902 (struct La_sh_retval): Likewise.
903 (struct La_s390_32_regs): Likewise.
904 (struct La_s390_32_retval): Likewise.
905 (struct La_s390_64_regs): Likewise.
906 (struct La_s390_64_retval): Likewise.
907 (struct La_sparc32_regs): Likewise.
908 (struct La_sparc32_retval): Likewise.
909 (struct La_sparc64_regs): Likewise.
910 (struct La_sparc64_retval): Likewise.
911 (struct audit_ifaces): Remove architecture-specific pltenter and
913 * sysdeps/i386/ldsodefs.h: New file.
914 * sysdeps/powerpc/ldsodefs.h: Likewise.
915 * sysdeps/s390/ldsodefs.h: Likewise.
916 * sysdeps/sh/ldsodefs.h: Likewise.
917 * sysdeps/sparc/ldsodefs.h: Likewise.
918 * sysdeps/x86_64/ldsodefs.h: Likewise.
920 2012-07-25 Marek Polacek <polacek@redhat.com>
923 * math/libm-test.inc (yn_test): Add another test.
924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
925 to ERANGE when the result is +-Inf.
926 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
927 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
928 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
929 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
931 2012-07-24 Joseph Myers <joseph@codesourcery.com>
933 * conform/data/time.h-data (NULL): Use macro-constant. Require
935 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
937 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
939 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
941 * configure.in <sysdeps resolving>: Correct printing
943 * configure: Regenerate.
945 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
947 * math/w_ilogb.c: Include <limits.h>.
948 * math/w_ilogbl.c: Likewise.
950 2012-07-20 Joseph Myers <joseph@codesourcery.com>
952 * manual/lang.texi (__va_copy): Document primarily as ISO C99
953 va_copy. Document allowing for unavailable va_copy only as
954 pre-C99 compatibility.
955 * manual/string.texi (Copying and Concatenation): Use va_copy
956 instead of __va_copy in concat example.
958 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
960 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
961 (__sendto): Use create_address_port. Initialize APORT and deallocate
964 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
965 with O_NOLINK passed to __file_name_lookup.
967 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
968 with O_NOLINK passed to __file_name_lookup.
970 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
971 negative N or less than NGIDS.
973 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
974 type to string_t. Set ERANGE as errno and return it if NAME is not big
975 enough. Use memcpy instead of strncpy.
977 2012-07-20 Joseph Myers <joseph@codesourcery.com>
979 * elf/Makefile (check-data): Remove.
980 (localplt.data): New vpath directive.
981 ($(objpfx)check-localplt.out): Use localplt.data from vpath
982 instead of $(check-data).
983 * scripts/data/localplt-generic.data: Move to ...
984 * sysdeps/generic/localplt.data: ... here.
985 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
986 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
987 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
990 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
993 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
996 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
999 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1002 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1006 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1008 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1009 PPC32 and PPC64 files.
1010 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1011 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1013 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1015 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1016 __makecontext_ret to ...
1017 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1018 ... here and call exit if uc_link is NULL. New file.
1019 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1020 __makecontext_ret.S.
1021 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1022 __makecontext_ret to ...
1023 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1024 ... here and call exit if uc_link is NULL. New file.
1025 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1026 __makecontext_ret.S.
1028 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1030 * elf/elf.h (R_390_IRELATIVE): New definition.
1031 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1032 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1033 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1034 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1035 (elf_machine_lazy_rel): Likewise.
1036 * sysdeps/s390/dl-irel.h: New file.
1037 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1038 * sysdeps/s390/s390-64/memset.S: New asm code.
1039 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1040 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1041 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1042 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1043 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1044 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1045 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1046 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1047 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1048 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1049 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1050 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1051 * sysdeps/s390/s390-32/memset.S: New asm code.
1052 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1054 2012-07-17 Marek Polacek <polacek@redhat.com>
1057 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1058 * sysdeps/s390/s390-64/configure.in: Likewise.
1059 * sysdeps/sparc/configure.in: Likewise.
1060 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1061 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1062 * sysdeps/i386/configure.in: Likewise.
1063 * sysdeps/x86_64/configure.in: Likewise.
1064 * sysdeps/sh/configure.in: Likewise.
1065 * sysdeps/s390/s390-32/configure: Regenerated.
1066 * sysdeps/s390/s390-64/configure: Likewise.
1067 * sysdeps/x86_64/configure: Likewise.
1068 * sysdeps/sh/configure: Likewise.
1069 * sysdeps/powerpc/powerpc64/configure: Likewise.
1070 * sysdeps/powerpc/powerpc32/configure: Likewise.
1071 * sysdeps/sparc/configure: Likwise.
1072 * sysdeps/i386/configure: Likewise.
1074 * elf/dl-open.c: Comment fixes.
1076 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1078 * Makefile [CXX] (check-data): Remove.
1079 [CXX] (c++-types.data): New vpath directive.
1080 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1081 vpath. Do not allow for C++ type data being missing.
1082 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1083 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1084 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1085 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1086 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1087 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1088 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1091 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1094 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1097 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1100 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1103 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1106 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1109 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1112 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1113 definitions to architecture-specific files.
1117 * sysdeps/i386/tls-macros.h: New file.
1118 * sysdeps/powerpc/tls-macros.h: Likewise.
1119 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1120 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1121 * sysdeps/sh/tls-macros.h: Likewise.
1122 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1123 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1124 * sysdeps/x86_64/tls-macros.h: Likewise.
1126 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1128 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1129 zero value for regular exit case.
1131 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1132 (__start_context): Preserve zero value for regular exit case.
1134 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1135 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1137 * manual/setjmp.texi (setcontext): Clarify normal process
1138 termination when uc_link is the null pointer.
1139 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1142 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1144 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1145 preprocessor. Test for each exception mask separately.
1147 2012-07-16 Andreas Jaeger <aj@suse.de>
1149 * po/ru.po: Update from translation team.
1151 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1153 * conform/data/string.h-data (NULL): Use macro-constant. Require
1155 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1156 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1157 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1158 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1159 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1161 2012-07-13 Andreas Jaeger <aj@suse.de>
1163 * po/fr.po: Update from translation team.
1165 2012-07-12 Marek Polacek <polacek@redhat.com>
1168 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1169 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1172 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1175 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1176 Change to 2.4.1 where previously 2.4.0.
1177 * sysdeps/unix/sysv/linux/configure: Regenerated.
1178 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1179 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1181 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1182 (__ASSUME_AT_CLKTCK): Remove.
1183 (__ASSUME_AT_PAGESIZE): Likewise.
1184 (__ASSUME_AT_XID): Likewise.
1185 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1186 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1187 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1189 (HAVE_AUX_PAGESIZE): Likewise.
1190 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1191 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1192 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1194 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1198 the temporary buffer used to invoke __gethostbyname2_r,
1199 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1200 host_data / struct gaih_addrtuple.
1201 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1202 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1203 header file nss/nsswitch.h.
1204 * nss/nsswitch.h (global scope): Add definition of implementation
1205 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1206 resolv/nss_dns/dns-host.c).
1208 2012-07-11 Andreas Jaeger <aj@suse.de>
1210 * po/fr.po: Update from translation team.
1212 * po/sv.po: Update from translation team
1213 * po/fr.po: Another update from translation team.
1215 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1217 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1218 for subnormals or multiply small sinh result by itself.
1219 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1222 2012-07-11 David S. Miller <davem@davemloft.net>
1224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1226 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1229 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1230 (INTERNAL_MARK): Shift it here.
1232 2012-07-10 Marek Polacek <polacek@redhat.com>
1235 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1236 libc_cv_asm_global_directive with .globl.
1237 * configure: Regenerated.
1238 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1240 * sysdeps/i386/configure: Regenerated.
1241 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1243 * sysdeps/x86_64/configure: Regenerated.
1244 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1245 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1246 * elf/tst-unique2mod2.c: Likewise.
1247 * elf/tst-unique2mod1.c: Likewise.
1248 * elf/tst-unique1mod2.c: Likewise.
1249 * elf/tst-unique1mod1.c: Likewise.
1250 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1251 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1252 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1253 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1254 * sysdeps/mach/sysdep.h: Likewise.
1255 * sysdeps/i386/sysdep.h: Likewise.
1256 * sysdeps/i386/i386-mcount.S: Likewise.
1257 * sysdeps/x86_64/_mcount.S: Likewise.
1258 * sysdeps/x86_64/sysdep.h: Likewise.
1259 * sysdeps/sh/_mcount.S: Likewise.
1260 * sysdeps/sh/sysdep.h: Likewise.
1261 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1262 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1263 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1264 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1265 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1266 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1267 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1268 * locale/localeinfo.h: Likewise.
1269 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1270 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1272 2012-07-09 Roland McGrath <roland@hack.frob.com>
1275 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1277 * manual/message.texi (The Uniforum approach): Likewise.
1278 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1279 (glibc iconv Implementation): Likewise.
1281 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1284 * math/s_clog.c (__clog): Avoid scaling a value down where that
1285 could result in underflow.
1286 * math/s_clog10.c (__clog10): Likewise.
1287 * math/s_clog10f.c (__clog10f): Likewise.
1288 * math/s_clog10l.c (__clog10l): Likewise.
1289 * math/s_clogf.c (__clogf): Likewise.
1290 * math/s_clogl.c (__clogl): Likewise.
1291 * math/libm-test.inc (clog_test): Add more tests.
1292 (clog10_test): Likewise.
1293 * sysdeps/i386/fpu/libm-test-ulps: Update.
1294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1296 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1299 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1300 by 7 not 8 to examine high bit of fractional part.
1303 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1304 for call to __mcount_internal.
1305 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1306 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1307 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1309 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1312 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1313 approximation for values within 0x1p-13f of an odd multiple of
1315 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1316 exception. Add more tests.
1317 * sysdeps/i386/fpu/libm-test-ulps: Update.
1320 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1321 inputs and return -1 for them. Do not check for +Inf in case not
1323 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1324 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1325 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1326 and return -1 for them. Do not check for +Inf in case not
1328 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1330 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1331 and return -1 for them. Do not check for +Inf in case not
1333 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1335 * sysdeps/i386/fpu/libm-test-ulps: Update.
1336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1338 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1340 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1342 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1346 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1347 could result in spurious underflow. Scale down values above
1348 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1349 * math/s_csqrtf.c (__csqrtf): Likewise.
1350 * math/s_csqrtl.c (__csqrtl): Likewise.
1351 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1353 * sysdeps/i386/fpu/libm-test-ulps: Update.
1354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1356 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1358 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1360 * catgets/xopen-msg.awk: New file.
1361 * catgets/xopen-msg.sed: Removed.
1363 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1365 * intl/po2test.awk: New file.
1366 * intl/po2test.sed: Removed.
1368 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1371 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1372 or multiply small sinh result by itself.
1373 * math/s_ctanf.c (__ctanf): Likewise.
1374 * math/s_ctanh.c (__ctanh): Likewise.
1375 * math/s_ctanhf.c (__ctanhf): Likewise.
1376 * math/s_ctanhl.c (__ctanhl): Likewise.
1377 * math/s_ctanl.c (__ctanl): Likewise.
1378 * math/libm-test.inc (ctan_test_tonearest): New function.
1379 (ctan_test_towardzero): Likewise.
1380 (ctan_test_downward): Likewise.
1381 (ctan_test_upward): Likewise.
1382 (ctanh_test_tonearest): Likewise.
1383 (ctanh_test_towardzero): Likewise.
1384 (ctanh_test_downward): Likewise.
1385 (ctanh_test_upward): Likewise.
1386 (main): Call these new functions.
1387 * sysdeps/i386/fpu/libm-test-ulps: Update.
1388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1390 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1392 * .gitignore: Delete /ports entry.
1394 2012-07-03 Andreas Jaeger <aj@suse.de>
1396 * po/bg.po: Update from translation team.
1397 * po/cs.po: Likewise.
1398 * po/de.po: Likewise.
1399 * po/hr.po: Likewise.
1400 * po/nl.pl: Likewise.
1401 * po/pl.po: Likewise.
1402 * po/vi.po: Likewise.
1404 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1406 * Makeconfig [!+link] (+link-before-libc): New variable.
1407 [!+link] (+link-after-libc): Likewise.
1408 [!+link] (+link-tests): Likewise.
1409 [!+link] (+link): Define in terms of $(+link-before-libc) and
1410 $(+link-after-libc).
1411 [!+link-static] (+link-static-before-libc): New variable.
1412 [!+link-static] (+link-static-after-libc): Likewise.
1413 [!+link-static] (+link-static-tests): Likewise.
1414 [!+link-static] (+link-static): Define in terms of
1415 $(+link-static-before-libc) and $(+link-static-after-libc).
1416 [build-shared] (link-libc-before-gnulib): New variable.
1417 [build-shared] (link-libc-tests): Likewise.
1418 [build-shared] (link-libc): Define in terms of
1419 $(link-libc-before-gnulib).
1420 [!build-shared] (link-libc-tests): New variable.
1421 (link-libc-static-tests): New variable.
1422 [!gnulib] (gnulib-arch): New variable.
1423 [!gnulib] (gnulib-tests): Likewise.
1424 [!gnulib] (static-gnulib-arch): Likewise.
1425 [!gnulib] (static-gnulib-tests): Likewise.
1426 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1427 Define with "=" instead of ":=".
1428 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1429 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1430 * Rules (binaries-all-notests): New variable.
1431 (binaries-all-tests): Likewise.
1432 (binaries-static-notests): Likewise.
1433 (binaries-static-tests): Likewise.
1434 (binaries-all): Define using $(binaries-all-notests) and
1435 $(binaries-all-tests).
1436 (binaries-static): Define using $(binaries-static-notests) and
1437 $(binaries-static-tests).
1438 (binaries-shared-tests): New variable.
1439 (binaries-shared-notests): Likewise.
1440 (binaries-shared): Remove variable.
1441 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1442 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1443 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1444 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1445 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1446 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1447 * elf/Makefile (sln-modules): New variable.
1448 (extra-objs): Add $(sln-modules:=.o).
1449 (ldconfig-modules): Add static-stubs.
1450 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1451 * elf/static-stubs.c: New file.
1454 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1455 by 7 not 8 to examine high bit of fractional part. Use volatile
1456 variables when splitting into final array of floats if
1457 __FLT_EVAL_METHOD__ != 0.
1458 * math/libm-test.inc (cos_test): Add another test.
1459 (sin_test): Likewise.
1460 * sysdeps/i386/fpu/libm-test-ulps: Update.
1463 * math/libm-test.inc (cosh_test): Add more tests.
1465 * version.h (RELEASE): Set to "development".
1466 (VERSION): Set to "2.16.90".
1468 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1470 * NEWS: Update copyright. Remove last-updated date.
1471 Mention math library bug fixes and timezone data changes.
1472 * README: Mention GNU/Hurd, x32, and HPPA support status.
1474 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1476 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1478 2012-06-27 Andreas Jaeger <aj@suse.de>
1480 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1482 2012-06-25 Andreas Jaeger <aj@suse.de>
1484 * sysdeps/s390/fpu/libm-test-ulps: Update.
1486 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1487 Thomas Schwinge <thomas@codesourcery.com>
1489 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1490 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1491 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1494 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1496 * sysdeps/mach/start.c: Remove file.
1497 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1498 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1499 * sysdeps/sh/init-first.c: Likewise.
1501 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1502 registers for frame unwinding purposes, add CFI directives.
1503 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1504 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1505 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1508 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1509 __fortify_fail returning.
1510 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1512 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1513 sysdeps/sh/____longjmp_chk.S.
1514 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1515 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1516 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1517 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1519 * sysdeps/sh/abort-instr.h: New file.
1520 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1521 process in case exit returns.
1523 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1524 initialize the GOT register before use.
1526 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1527 calculation of ARGC > 4.
1529 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1530 meaningful names to some local labels.
1532 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1533 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1535 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1536 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1537 (__arch_compare_and_exchange_val_16_acq): Likewise.
1538 (__arch_compare_and_exchange_val_32_acq): Likewise.
1539 (atomic_exchange_and_add): Fix gUSA sequence.
1540 (atomic_add): Likewise.
1541 (atomic_add_negative): Likewise.
1542 (atomic_add_zero): Likewise.
1543 (atomic_bit_test_set): Likewise.
1545 2012-06-22 Andreas Schwab <schwab@redhat.com>
1548 * include/link.h (struct link_map): Add l_free_initfini.
1549 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1551 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1552 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1553 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1556 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1558 * configure.in: Use AC_LANG_SOURCE.
1559 * configure: Regenerate.
1561 2012-06-22 Roland McGrath <roland@hack.frob.com>
1563 * configure.in (libc_cv_localstatedir): New substituted variable.
1564 * configure: Regenerated.
1565 * config.make.in (localstatedir): New variable, substituted from
1566 libc_cv_localstatedir.
1567 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1568 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1569 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1570 * sysdeps/gnu/configure: Regenerated.
1572 2012-06-21 Jeff Law <law@redhat.com>
1575 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1576 free. Simplify list management for _LIBC case.
1578 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1581 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1582 Clear sign bit of 64-bit integer value before comparing against
1585 * sysdeps/mach/configure: Regenerated.
1587 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1590 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1592 2012-06-21 Jeff Law <law@redhat.com>
1595 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1596 uint16_t for elements in the "seen" array to avoid char overflows.
1597 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1598 * elf/dl-open.c (dl_open_worker): Likewise.
1600 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1602 * scripts/list-sources.sh: Scan PORTS for translations.
1603 * po/libc.pot: Regenerated.
1605 2012-06-21 Andreas Jaeger <aj@suse.de>
1608 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1610 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1611 * bits/byteswap-16.h (__bswap_16): Likewise.
1612 * bits/byteswap.h (__bswap_constant_16): Likewise.
1614 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1617 * sysdeps/i386/fpu_control.h: Removed.
1618 * sysdeps/x86_64/fpu_control.h: Moved to ...
1619 * sysdeps/x86/fpu_control.h: Here.
1621 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1622 (_FPU_SETCW): Likewise.
1624 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1627 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1628 * sysdeps/x86/fpu/bits/mathinline.h: This.
1629 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1633 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1634 functions if __x86_64__ is defined.
1636 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1638 * string/endian.h: Add !__ASSEMBLER__ condition for including
1639 conversion interfaces.
1641 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1644 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1645 of ABS(x) in calculating zero to negative powers other than odd
1647 * math/libm-test.inc (pow_test): Add more tests.
1649 2012-06-15 Andreas Jaeger <aj@suse.de>
1651 * manual/contrib.texi (Contributors): Update entry of Liubov
1652 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1655 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1657 * string/string.h: Add __wur to GNU version of strerror_r.
1659 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1662 * string/Makefile (tests): Add tst-strtok_r.
1663 * string/tst-strtok_r.c: New file.
1664 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1665 RAX_LP/RDX_LP on SAVE_PTR.
1667 2012-06-14 Roland McGrath <roland@hack.frob.com>
1669 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1671 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1673 * libm_test.inc (csqrt_test): Allow more spurious underflow
1675 (j0_test): Likewise.
1676 (j1_test): Likewise.
1677 (y0_test): Likewise.
1678 (y1_test): Likewise.
1680 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1682 * po/Makefile (libc.pot): Use UTF-8 charset.
1684 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1687 Suppress sign-conversion warning from FD_SET.
1688 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1689 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1690 not unsigned long int.
1691 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1693 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1697 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1698 __extern_always_inline instead of __extern_inline.
1699 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1700 (__signbit): Likewise.
1701 (__signbitl): Support C++ namespace.
1702 (lrintf): New inline function.
1704 (llrintf): Likewise.
1716 (nearbyint): Likewise.
1717 (nearbyintf): Likewise.
1719 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1721 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1722 non-default versions.
1724 2012-06-11 Roland McGrath <roland@hack.frob.com>
1727 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1729 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1731 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1732 (FE_UPWARD, FE_DOWNWARD): Don't define.
1733 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1734 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1736 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1738 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1739 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1741 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1743 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1744 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1745 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1746 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1748 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1751 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1752 * sysdeps/i386/fpu/Implies: New file.
1753 * sysdeps/x86_64/fpu/Implies: Likewise.
1754 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1755 * sysdeps/x86/fpu/bits/fenv.h: This.
1757 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1760 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1763 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1764 character 0xffff that matches the last element of the
1767 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1769 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1772 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1774 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1775 values higher than 25.6283.
1777 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1779 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1780 subnormal exponent extraction and add some __builtin_expect.
1781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1782 Fix for subnormal mantissa calculation.
1784 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1786 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1787 cpu2 is -1 and errno is not ENOSYS.
1789 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1792 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1793 * sysdeps/x86/bits/string.h: This.
1794 * sysdeps/x86_64/bits/string.h: Removed.
1796 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1797 if not compiling for x86-64, but compiling for >= i486.
1799 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1800 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1802 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1803 New macro from Linux kernel 3.4.0.
1804 (FP_XSTATE_MAGIC2): Likewise.
1805 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1806 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1807 (struct _fpx_sw_bytes): New struct.
1808 (struct _xsave_hdr): Likewise.
1809 (struct _ymmh_state): Likewise.
1810 (struct _xstate): Likewise.
1812 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1813 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1814 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1815 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1816 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1817 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1819 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1820 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1821 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1822 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1823 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1824 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1826 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1829 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1830 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1831 (sysdep_headers): Include sys/platform/ppc.h.
1832 * sysdeps/powerpc/test-gettimebase.c: Test for
1833 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1834 * manual/Makefile (appendices): Include platform.texi.
1835 * manual/contrib.texi (Contributors): Update @node pointers.
1836 * manual/maint.texi (Maintenance): Likewise.
1837 (Platform): New node.
1838 * manual/platform.texi: New file. Document the new features.
1840 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1841 Jakub Jelinek <jakub@redhat.com>
1844 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1845 where __builtin_expect is unavailable.
1847 2012-06-03 David S. Miller <davem@davemloft.net>
1849 * stdlib/longlong.h: Updated from GCC.
1851 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1854 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1855 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1858 (GLIBC_2.16): Likewise.
1860 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1862 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1864 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1867 (default-abi): New variable.
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1869 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1871 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1873 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1875 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1878 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1879 definition. Document in comment.
1881 2012-06-01 David S. Miller <davem@davemloft.net>
1883 * stdlib/longlong.h: Updated from GCC.
1885 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1888 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1889 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1890 sys/debugreg.h sys/io.h here.
1891 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1892 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1894 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1895 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1896 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1897 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1898 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1899 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1901 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1902 Define only if __x86_64__ is defined.
1904 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1907 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1908 Use int64_t for variable i.
1909 * math/libm-test.inc (fmod_test): Add more tests.
1911 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1912 z computation is not scheduled after fetestexcept.
1913 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1914 Use math_force_eval instead of asm to ensure calculation scheduled
1915 before exception test.
1916 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1917 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1919 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1922 computation is not scheduled after fetestexcept.
1924 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1927 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1928 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1930 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1932 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1933 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1935 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1938 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1940 (__WCHAR_MIN): Support __WORDSIZE == 64.
1941 (__WCHAR_MAX): Likewise.
1943 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1944 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1947 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1948 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1951 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1952 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1954 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1955 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1957 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1958 Defined to 1 if __x86_64__ isn't defined.
1959 (_STAT_VER_LINUX_OLD): New.
1960 (st_atime): Remove duplicate.
1961 (st_mtime): Likewise.
1962 (st_ctime): Likewise.
1964 2012-05-31 David S. Miller <davem@davemloft.net>
1966 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1969 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1971 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1975 * elf/dl-reloc.c: Include <_itoa.h>.
1976 (_dl_reloc_bad_type): Remove use of INTUSE.
1977 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1978 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1979 * stdio-common/psiginfo.c (psiginfo): Likewise.
1980 * stdio-common/psignal.c (psignal): Likewise.
1981 * string/strsignal.c (strsignal): Likewise.
1982 * include/signal.h (_sys_siglist): Declare hidden proto.
1983 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1984 INTVARDEF with libc_hidden_data_def.
1985 * stdio-common/itoa-udigits.c: Likewise.
1986 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1987 (_itoa_lower_digits_internal): Remove declaration.
1988 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1989 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1990 (_sys_sigabbrev_internal): Remove aliases.
1991 (_sys_siglist): Define hidden alias.
1993 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1998 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2001 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2002 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2004 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2005 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2006 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2007 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2008 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2009 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2011 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2012 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2013 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2015 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2023 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2024 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2025 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2027 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2028 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2029 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2030 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2031 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2032 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2034 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2035 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2037 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2038 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2040 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2041 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2042 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2044 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2045 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2047 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2049 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2050 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2051 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2053 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2055 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2057 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2059 * math/math.h (M_El): Use two more decimal places.
2060 (M_LOG2El): Likewise.
2061 (M_LOG10El): Likewise.
2063 (M_LN10l): Likewise.
2065 (M_PI_2l): Likewise.
2066 (M_PI_4l): Likewise.
2067 (M_1_PIl): Likewise.
2068 (M_2_PIl): Likewise.
2069 (M_2_SQRTPIl): Likewise.
2070 (M_SQRT2l): Likewise.
2071 (M_SQRT1_2l): Likewise.
2073 2012-05-31 David S. Miller <davem@davemloft.net>
2075 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2076 values between float registers.
2077 * sysdeps/sparc/sparc64/memset.S: Likewise.
2078 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2080 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2082 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2083 -D_FORTIFY_SOURCE=1.
2084 (CPPFLAGS-tst-longjmp_chk.c): Define.
2085 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2086 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2087 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2088 CFLAGS-tst-wchar-h.c.
2090 2012-05-31 Marek Polacek <polacek@redhat.com>
2093 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2094 __endmntent_internal): Remove declaration.
2095 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2096 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2097 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2099 2012-05-30 David S. Miller <davem@davemloft.net>
2101 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2102 (___Q_simulate_exceptions): Use real FP ops rather than writing
2104 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2107 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2110 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2111 * sysdeps/x86/bits/xtitypes.h: This.
2113 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2114 * sysdeps/x86/bits/wordsize.h: This.
2116 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2117 * sysdeps/x86/bits/huge_vall.h: This.
2119 * sysdeps/i386/bits/select.h: Removed.
2120 * sysdeps/x86_64/bits/select.h: Renamed to ...
2121 * sysdeps/x86/bits/select.h: This.
2123 * sysdeps/i386/bits/setjmp.h: Removed.
2124 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2125 * sysdeps/x86/bits/setjmp.h: This.
2127 * sysdeps/i386/bits/mathdef.h: Removed.
2128 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2129 * sysdeps/x86/bits/mathdef.h: This.
2131 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2134 * include/sys/socket.h (__connect_internal)
2135 (__libc_sa_len_internal): Remove declaration.
2136 (__connect, __libc_sa_len): Declare hidden_proto.
2137 (SA_LEN): Remove use of INTUSE.
2138 * socket/connect.c: Add libc_hidden_def.
2139 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2140 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2141 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2143 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2144 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2145 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2146 of adding _internal alias.
2148 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2151 * sysdeps/i386/bits/link.h: Removed.
2152 * sysdeps/i386/bits/linkmap.h: Likewise.
2153 * sysdeps/x86_64/bits/link.h: Renamed to ...
2154 * sysdeps/x86/bits/link.h: This.
2155 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2156 * sysdeps/x86/bits/linkmap.h: This.
2158 * sysdeps/i386/bits/endian.h: Removed.
2159 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2160 * sysdeps/x86/bits/endian.h: This.
2162 * sysdeps/i386/bits/byteswap.h: Removed.
2163 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2164 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2165 * sysdeps/x86/bits/byteswap.h: This.
2166 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2167 * sysdeps/x86/bits/byteswap-16.h: This.
2168 * sysdeps/i386/Implies: Add x86.
2169 * sysdeps/x86_64/Implies: Likewise.
2171 2012-05-30 David S. Miller <davem@davemloft.net>
2173 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2174 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2175 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2176 (FP_TRAPPING_EXCEPTIONS): Define.
2177 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2178 (FP_TRAPPING_EXCEPTIONS): Define.
2179 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2180 subnormals only when inexact has been signalled or underflow
2181 exceptions are enabled.
2182 (_FP_PACK_CANONICAL): Likewise.
2184 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2187 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2188 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2190 2012-05-30 Richard Henderson <rth@twiddle.net>
2192 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2193 with #ifndef NOT_IN_libc.
2195 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2196 marked to avoid plt entry.
2198 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2201 * Makeconfig (default-abi): New macro.
2202 (abi-includes): Likewise.
2203 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2204 $(abi-$(default-abi)-lib-soname) for soname if defined.
2205 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2207 * Makefile (installed-stubs): Likewise.
2208 * include/stubs-biarch.h: Removed.
2209 * scripts/lib-names.awk: Only handle one library at a time.
2210 * scripts/soversions.awk: Remove WORDSIZE support.
2211 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2213 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2215 (syscall-list-default-condition): Likewise.
2216 (syscall-list-default-condition): Likewise.
2217 (syscall-list-includes): Likewise.
2218 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2219 syscall-list-* with abi-*. Handle undefined abi-variants.
2220 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2221 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2222 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2223 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2224 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2225 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2227 (syscall-list-32-options): Likewise.
2228 (syscall-list-32-condition): Likewise.
2229 (syscall-list-64-options): Likewise.
2230 (syscall-list-64-condition): Likewise.
2231 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2233 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2236 (abi-64-ld-soname): New macro.
2237 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2238 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2241 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2242 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2244 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2246 * sysdeps/unix/sysv/linux/kernel-features.h
2247 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2248 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2249 include <kernel-features.h>.
2250 [!__NR_ftruncate64]: Remove conditional code.
2251 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2252 [__NR_ftruncate64]: Make code unconditional.
2253 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2254 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2255 include <kernel-features.h>.
2256 [!__NR_ftruncate64]: Remove conditional code.
2257 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2258 [__NR_ftruncate64]: Make code unconditional.
2259 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2261 include <kernel-features.h>.
2262 [!__NR_ftruncate64]: Remove conditional code.
2263 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2264 [__NR_ftruncate64]: Make code unconditional.
2265 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2267 include <kernel-features.h>.
2268 [!__NR_ftruncate64]: Remove conditional code.
2269 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2270 [__NR_ftruncate64]: Make code unconditional.
2271 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2273 * configure.in (libc_cv_fpie): Weaken to a compile test using
2275 * configure: Regenerated.
2277 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2292 2012-05-27 David S. Miller <davem@davemloft.net>
2294 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2296 (__Q_simulate_exceptions): Return void. Change to simulate
2297 exceptions by writing into the %fsr.
2298 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2299 (__Qp_handle_exceptions): Likewise.
2301 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2302 __Qp_handle_exceptions.
2303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2304 __Qp_handle_exceptions.
2305 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2306 as unused and give dummy FP_RND_NEAREST initializer.
2307 (FP_INHIBIT_RESULTS): Define.
2308 (___Q_simulate_exceptions): Update declaration.
2309 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2311 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2312 as unused and give dummy FP_RND_NEAREST initializer.
2313 (__Qp_handle_exceptions): Update declaration.
2314 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2317 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2319 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2320 the temporary FPU control word.
2321 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2322 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2323 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2324 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2325 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2326 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2327 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2328 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2329 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2330 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2331 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2333 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2335 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2338 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2340 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2341 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2342 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2343 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2345 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2346 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2349 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2351 * po/h.po: Update from translation team.
2353 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2355 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2357 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2358 handling of denormals.
2359 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2360 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2361 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2362 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2363 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2368 2012-05-26 Marek Polacek <polacek@redhat.com>
2371 * math/libm-test.inc (fma_test): Don't always expect underflow
2374 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2377 * elf/tst-execstack.c: Include stackinfo.h.
2378 (do_test): Adjust test case to ensure that pthread_getattr_np
2379 behaviour remains the same after marking stack executable.
2381 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2383 * sysdeps/unix/sysv/linux/kernel-features.h
2384 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2385 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2387 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2388 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2389 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2391 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2392 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2394 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2396 * configure.in: Define the default includes to being none.
2397 * configure: Regenerated.
2399 2012-05-25 Roland McGrath <roland@hack.frob.com>
2401 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2402 * sysdeps/x86_64/setjmp.S: Likewise.
2403 * sysdeps/i386/bsd-setjmp.S: Likewise.
2404 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2405 * sysdeps/i386/setjmp.S: Likewise.
2406 * sysdeps/i386/__longjmp.S: Likewise.
2407 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2408 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2410 * include/stap-probe.h: New file.
2411 * configure.in: Handle --enable-systemtap.
2412 * configure: Regenerated.
2413 * config.h.in (USE_STAP_PROBE): New #undef.
2414 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2415 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2416 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2418 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2421 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2422 to 2.4.0 where earlier.
2423 * sysdeps/unix/sysv/linux/configure: Regenerated.
2424 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2425 <kernel-features.h>.
2426 [__ASSUME_32BITUIDS]: Make code unconditional.
2427 [!__ASSUME_32BITUIDS]: Remove conditional code.
2428 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2429 <kernel-features.h>.
2430 [__ASSUME_32BITUIDS]: Make code unconditional.
2431 [!__ASSUME_32BITUIDS]: Remove conditional code.
2432 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2433 [__ASSUME_32BITUIDS]: Make code unconditional.
2434 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2435 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2436 <kernel-features.h>.
2437 [__ASSUME_32BITUIDS]: Make code unconditional.
2438 [!__ASSUME_32BITUIDS]: Remove conditional code.
2439 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2440 <kernel-features.h>.
2441 [__ASSUME_32BITUIDS]: Make code unconditional.
2442 [!__ASSUME_32BITUIDS]: Remove conditional code.
2443 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2444 <kernel-features.h>.
2445 [__ASSUME_32BITUIDS]: Make code unconditional.
2446 [!__ASSUME_32BITUIDS]: Remove conditional code.
2447 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2448 <kernel-features.h>.
2449 [__ASSUME_32BITUIDS]: Make code unconditional.
2450 [!__ASSUME_32BITUIDS]: Remove conditional code.
2451 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2452 <kernel-features.h>.
2453 [__ASSUME_32BITUIDS]: Make code unconditional.
2454 [!__ASSUME_32BITUIDS]: Remove conditional code.
2455 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2456 <kernel-features.h>.
2457 [__ASSUME_32BITUIDS]: Make code unconditional.
2458 [!__ASSUME_32BITUIDS]: Remove conditional code.
2459 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2460 <kernel-features.h>.
2461 [__ASSUME_32BITUIDS]: Make code unconditional.
2462 [!__ASSUME_32BITUIDS]: Remove conditional code.
2463 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2464 <kernel-features.h>.
2465 [__ASSUME_32BITUIDS]: Make code unconditional.
2466 [!__ASSUME_32BITUIDS]: Remove conditional code.
2467 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2468 <kernel-features.h>.
2469 [__ASSUME_32BITUIDS]: Make code unconditional.
2470 [!__ASSUME_32BITUIDS]: Remove conditional code.
2471 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2472 <kernel-features.h>.
2473 [__ASSUME_32BITUIDS]: Make code unconditional.
2474 [!__ASSUME_32BITUIDS]: Remove conditional code.
2475 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2476 <kernel-features.h>.
2477 [__NR_setresgid] (__setresgid): Do not declare.
2478 [__ASSUME_32BITUIDS]: Make code unconditional.
2479 [!__ASSUME_32BITUIDS]: Remove conditional code.
2480 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2481 <kernel-features.h>.
2482 [__NR_setresuid] (__setresuid): Do not declare.
2483 [__ASSUME_32BITUIDS]: Make code unconditional.
2484 [!__ASSUME_32BITUIDS]: Remove conditional code.
2485 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2486 <kernel-features.h>.
2487 [__ASSUME_32BITUIDS]: Make code unconditional.
2488 [!__ASSUME_32BITUIDS]: Remove conditional code.
2489 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2490 <kernel-features.h>.
2491 [__ASSUME_32BITUIDS]: Make code unconditional.
2492 [!__ASSUME_32BITUIDS]: Remove conditional code.
2493 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2494 <kernel-features.h>.
2495 [__ASSUME_32BITUIDS]: Make code unconditional.
2496 [!__ASSUME_32BITUIDS]: Remove conditional code.
2497 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2498 <kernel-features.h>.
2499 [__ASSUME_32BITUIDS]: Make code unconditional.
2500 [!__ASSUME_32BITUIDS]: Remove conditional code.
2501 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2502 <kernel-features.h>.
2503 [__ASSUME_32BITUIDS]: Make code unconditional.
2504 [!__ASSUME_32BITUIDS]: Remove conditional code.
2505 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2506 <kernel-features.h>.
2507 [__ASSUME_32BITUIDS]: Make code unconditional.
2508 [!__ASSUME_32BITUIDS]: Remove conditional code.
2509 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2510 <kernel-features.h>.
2511 [__ASSUME_32BITUIDS]: Make code unconditional.
2512 [!__ASSUME_32BITUIDS]: Remove conditional code.
2513 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2514 <kernel-features.h>.
2515 [__ASSUME_32BITUIDS]: Make code unconditional.
2516 [!__ASSUME_32BITUIDS]: Remove conditional code.
2517 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2518 <kernel-features.h>.
2519 [__ASSUME_32BITUIDS]: Make code unconditional.
2520 [!__ASSUME_32BITUIDS]: Remove conditional code.
2521 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2522 <kernel-features.h>.
2523 [__ASSUME_32BITUIDS]: Make code unconditional.
2524 [!__ASSUME_32BITUIDS]: Remove conditional code.
2525 * sysdeps/unix/sysv/linux/kernel-features.h
2526 (__ASSUME_SETRESUID_SYSCALL): Remove.
2527 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2528 (__ASSUME_32BITUIDS): Likewise.
2529 (__ASSUME_LDT_WORKS): Likewise.
2530 (__ASSUME_O_DIRECTORY): Likewise.
2531 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2532 architecture but not kernel version.
2533 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2534 (__ASSUME_MMAP2_SYSCALL): Likewise.
2535 (__ASSUME_STAT64_SYSCALL): Likewise.
2536 (__ASSUME_IPC64): Likewise.
2537 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2538 <kernel-features.h>.
2539 [__ASSUME_32BITUIDS]: Make code unconditional.
2540 [!__ASSUME_32BITUIDS]: Remove conditional code.
2541 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2542 <kernel-features.h>.
2543 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2544 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2545 132096]: Remove conditional code.
2546 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2547 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2548 <kernel-features.h>.
2549 [__ASSUME_32BITUIDS]: Make code unconditional.
2550 [!__ASSUME_32BITUIDS]: Remove conditional code.
2551 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2552 <kernel-features.h>.
2553 [__ASSUME_32BITUIDS]: Make code unconditional.
2554 [!__ASSUME_32BITUIDS]: Remove conditional code.
2555 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2556 <kernel-features.h>.
2557 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2559 (__setresgid): Do not declare.
2560 [__ASSUME_32BITUIDS]: Make code unconditional.
2561 [!__ASSUME_32BITUIDS]: Remove conditional code.
2562 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2563 <kernel-features.h>.
2564 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2566 (__setresuid): Do not declare.
2567 [__ASSUME_32BITUIDS]: Make code unconditional.
2568 [!__ASSUME_32BITUIDS]: Remove conditional code.
2569 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
2574 <kernel-features.h>.
2575 [__ASSUME_32BITUIDS]: Make code unconditional.
2576 [!__ASSUME_32BITUIDS]: Remove conditional code.
2578 2012-05-25 Richard Henderson <rth@twiddle.net>
2580 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2581 dl_hwcap to ifunc resolver.
2582 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2584 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2585 dl_hwcap to ifunc resolver.
2586 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2588 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2591 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2592 for |x| <= 2**-26, not 2**-57.
2593 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2596 2012-05-24 Jeff Law <law@redhat.com>
2598 * stdio-common/Makefile (tests): Add bug25.
2599 * stdio-common/bug25.c: New test.
2601 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2604 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2605 multiple of MALLOC_ALIGNMENT in size.
2606 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2608 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2610 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2612 (FILENAME_MAX): Use macro-int-constant.
2613 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2614 (_IOFBF): Use macro-int-constant.
2617 (SEEK_CUR): Likewise.
2618 (SEEK_END): Likewise.
2619 (SEEK_SET): Likewise.
2620 (TMP_MAX): Likewise.
2621 (EOF): Use macro-int-constant. Require < 0.
2622 (NULL): Use macro-constant. Require == 0.
2623 (stdin): Require type to be FILE *.
2626 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2628 (EXIT_SUCCESS): Likewise.
2629 (NULL): Use macro-constant. Require == 0.
2630 (RAND_MAX): Use macro-int-constant.
2631 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2632 [C99-based standards] (strtof): Require function.
2633 [C99-based standards] (strtold): Likewise.
2634 [C99-based standards] (strtoll): Likewise.
2635 [C99-based standards] (strtoull): Likewise.
2636 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2637 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2638 [ISO || ISO99 || ISO11] (math.h): Likewise.
2639 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2640 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2641 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2643 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2646 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2647 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2648 * intl/dgettext.c (DCGETTEXT): Likewise.
2649 * intl/gettext.c (DCGETTEXT): Likewise.
2650 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2651 * posix/regex_internal.h (gettext): Likewise.
2652 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2654 * include/argz.h (__argz_count_internal)
2655 (__argz_stringify_internal): Remove declaration.
2656 (__argz_count, __argz_stringify): Declare hidden proto.
2657 * intl/dcgettext.c: Remove use of INTDEF.
2658 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2659 * string/argz-stringify.c: Likewise.
2660 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2661 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2662 Declare hidden proto.
2663 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2664 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2665 Declare hidden proto.
2666 * include/stdio.h (__asprintf_internal): Don't declare.
2667 (__asprintf): Don't define as macro. Declare hidden proto.
2668 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2669 (__fsetlocking): Declare hidden proto.
2670 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2671 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2673 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2674 (_IO_setlinebuf): Remove use of INTUSE.
2675 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2676 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2677 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2679 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2680 (_IO_do_flush): Remove use of INTUSE.
2681 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2682 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2683 (_IO_adjust_column, _IO_least_wmarker)
2684 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2685 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2686 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2687 (_IO_default_doallocate, _IO_wdefault_doallocate)
2688 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2689 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2690 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2691 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2692 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2693 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2694 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2695 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2696 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2697 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2698 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2699 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2700 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2702 (_IO_flush_all_internal, _IO_adjust_column_internal)
2703 (_IO_default_uflow_internal, _IO_default_finish_internal)
2704 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2705 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2706 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2707 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2708 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2709 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2710 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2711 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2712 (_IO_file_close_internal, _IO_file_close_it_internal)
2713 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2714 (_IO_file_init_internal, _IO_file_attach_internal)
2715 (_IO_file_fopen_internal, _IO_file_read_internal)
2716 (_IO_file_sync_internal, _IO_file_seek_internal)
2717 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2718 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2719 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2720 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2721 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2722 (_IO_list_all_internal, _IO_link_in_internal)
2723 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2724 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2725 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2726 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2727 (_IO_do_write_internal, _IO_padn_internal)
2728 (_IO_getline_info_internal, _IO_getline_internal)
2729 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2730 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2731 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2732 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2733 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2734 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2735 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2736 with libc_hidden_ver, remove use of INTUSE.
2737 * libio/genops.c: Likewise.
2738 * libio/freopen.c: Likewise.
2739 * libio/freopen64.c: Likewise.
2740 * libio/iofclose.c: Likewise.
2741 * libio/iofdopen.c: Likewise.
2742 * libio/iofflush.c: Likewise.
2743 * libio/iofflush_u.c: Likewise.
2744 * libio/iofgets.c: Likewise.
2745 * libio/iofgets_u.c: Likewise.
2746 * libio/iofopen.c: Likewise.
2747 * libio/iofopncook.c: Likewise.
2748 * libio/iofread.c: Likewise.
2749 * libio/iofread_u.c: Likewise.
2750 * libio/ioftell.c: Likewise.
2751 * libio/iofwrite.c: Likewise.
2752 * libio/iogetline.c: Likewise.
2753 * libio/iogets.c: Likewise.
2754 * libio/iogetwline.c: Likewise.
2755 * libio/iopadn.c: Likewise.
2756 * libio/iopopen.c: Likewise.
2757 * libio/ioseekoff.c: Likewise.
2758 * libio/ioseekpos.c: Likewise.
2759 * libio/iosetbuffer.c: Likewise.
2760 * libio/iosetvbuf.c: Likewise.
2761 * libio/ioungetc.c: Likewise.
2762 * libio/ioungetwc.c: Likewise.
2763 * libio/iovdprintf.c: Likewise.
2764 * libio/iovsprintf.c: Likewise.
2765 * libio/iovsscanf.c: Likewise.
2766 * libio/memstream.c: Likewise.
2767 * libio/obprintf.c: Likewise.
2768 * libio/oldfileops.c: Likewise.
2769 * libio/oldiofclose.c: Likewise.
2770 * libio/oldiofdopen.c: Likewise.
2771 * libio/oldiofopen.c: Likewise.
2772 * libio/oldiopopen.c: Likewise.
2773 * libio/oldstdfiles.c: Likewise.
2774 * libio/putc.c: Likewise.
2775 * libio/setbuf.c: Likewise.
2776 * libio/setlinebuf.c: Likewise.
2777 * libio/stdfiles.c: Likewise.
2778 * libio/strops.c: Likewise.
2779 * libio/vasprintf.c: Likewise.
2780 * libio/vscanf.c: Likewise.
2781 * libio/vsnprintf.c: Likewise.
2782 * libio/vswprintf.c: Likewise.
2783 * libio/wfiledoalloc.c: Likewise.
2784 * libio/wfileops.c: Likewise.
2785 * libio/wgenops.c: Likewise.
2786 * libio/wmemstream.c: Likewise.
2787 * libio/wstrops.c: Likewise.
2788 * libio/__fpurge.c: Likewise.
2789 * libio/__fsetlocking.c: Likewise.
2790 * assert/assert.c: Likewise.
2791 * debug/fgets_chk.c: Likewise.
2792 * debug/fgets_u_chk.c: Likewise.
2793 * debug/fread_chk.c: Likewise.
2794 * debug/fread_u_chk.c: Likewise.
2795 * debug/gets_chk.c: Likewise.
2796 * debug/obprintf_chk.c: Likewise.
2797 * debug/vasprintf_chk.c: Likewise.
2798 * debug/vdprintf_chk.c: Likewise.
2799 * debug/vsnprintf_chk.c: Likewise.
2800 * debug/vsprintf_chk.c: Likewise.
2801 * malloc/mtrace.c: Likewise.
2802 * misc/error.c: Likewise.
2803 * misc/syslog.c: Likewise.
2804 * stdio-common/asprintf.c: Likewise.
2805 * stdio-common/fxprintf.c: Likewise.
2806 * stdio-common/getw.c: Likewise.
2807 * stdio-common/isoc99_fscanf.c: Likewise.
2808 * stdio-common/isoc99_scanf.c: Likewise.
2809 * stdio-common/isoc99_vfscanf.c: Likewise.
2810 * stdio-common/isoc99_vscanf.c: Likewise.
2811 * stdio-common/isoc99_vsscanf.c: Likewise.
2812 * stdio-common/printf-prs.c: Likewise.
2813 * stdio-common/printf_fp.c: Likewise.
2814 * stdio-common/printf_fphex.c: Likewise.
2815 * stdio-common/printf_size.c: Likewise.
2816 * stdio-common/putw.c: Likewise.
2817 * stdio-common/scanf.c: Likewise.
2818 * stdio-common/sprintf.c: Likewise.
2819 * stdio-common/tmpfile.c: Likewise.
2820 * stdio-common/vfprintf.c: Likewise.
2821 * stdio-common/vfscanf.c: Likewise.
2822 * stdlib/strfmon_l.c: Likewise.
2823 * sunrpc/openchild.c: Likewise.
2824 * sunrpc/xdr_stdio.c: Likewise.
2825 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2826 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2828 2012-05-24 Roland McGrath <roland@hack.frob.com>
2830 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2832 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2833 in the third column, to generate for the shared library an IFUNC
2834 that uses _dl_vdso_vsym.
2835 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2836 * Makeconfig (object-suffixes-noshared): New variable.
2838 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2839 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2840 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2841 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2844 * include/sys/time.h (__gettimeofday): Remove macro.
2845 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2846 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2848 (__gettimeofday): Add libc_hidden_def.
2849 (gettimeofday): Add libc_hidden_weak.
2850 * sysdeps/mach/gettimeofday.c: Likewise.
2851 * sysdeps/posix/gettimeofday.c: Likewise.
2852 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2853 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2854 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2855 (__gettimeofday_internal): Remove strong_alias.
2856 (__gettimeofday): Add libc_hidden_def.
2857 (gettimeofday): Add libc_hidden_weak.
2858 * sysdeps/unix/syscalls.list (gettimeofday):
2859 Remove __gettimeofday_internal alias.
2861 2012-05-24 Daniel Jacobowitz <drow@false.org>
2862 H.J. Lu <hongjiu.lu@intel.com>
2865 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2866 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2867 (largebin_index_32_big): New.
2868 (largebin_index): Use it for 16-byte alignment.
2869 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2870 correction with front_misalign.
2872 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2900 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2901 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2903 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2907 * math/libm-test.inc (exp_test): Add test from bug 14036.
2908 (pow_test): Add test from bug 10846.
2910 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2912 (special_function): Do not include flags in test name.
2913 (parse_args): Likewise.
2914 * sysdeps/i386/fpu/libm-test-ulps: Update.
2915 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2916 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2917 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2920 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2922 * math/libm-test.inc ("Philosophy"): Update comment about
2924 (UNDERFLOW_EXCEPTION): New macro.
2925 (UNDERFLOW_EXCEPTION_OK): Likewise.
2926 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2927 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2928 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2929 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2930 (INVALID_EXCEPTION_OK): Update value.
2931 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2932 (OVERFLOW_EXCEPTION_OK): Likewise.
2933 (IGNORE_ZERO_INF_SIGN): Likewise.
2934 (test_exceptions): Handle underflow exceptions.
2935 (acos_test): Update for underflow exception expectations.
2936 (cexp_test): Likewise.
2937 (clog_test): Likewise.
2938 (clog10_test): Likewise.
2939 (csqrt_test): Likewise.
2940 (ctan_test): Likewise.
2941 (ctanh_test): Likewise.
2942 (exp_test): Likewise.
2943 (exp10_test): Likewise.
2944 (exp2_test): Likewise.
2945 (expm1_test): Likewise.
2946 (fma_test): Likewise.
2947 (j0_test): Likewise.
2948 (jn_test): Likewise.
2949 (nexttoward_test): Likewise.
2950 (pow_test): Likewise.
2951 (scalbn_test): Likewise.
2952 (scalbln_test): Likewise.
2953 (tan_test): Likewise.
2954 (y1_test): Likewise.
2955 * sysdeps/i386/fpu/libm-test-ulps: Update.
2956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2958 2012-05-23 David S. Miller <davem@davemloft.net>
2960 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2961 (__libc_sigaction): Remove unused local variables.
2963 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2965 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2967 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2969 mktime: avoid signed integer overflow
2970 * time/mktime.c (__mktime_internal): Do not mishandle the case
2971 where diff == INT_MIN.
2973 mktime: simplify computation of average
2974 * time/mktime.c (ranged_convert): Use new time_t_avg function
2975 instead of rolling our own (probably-slower) code.
2977 mktime: do not assume signed right shift propagates sign bit
2978 * time/mktime.c (isdst_differ): New static function.
2979 (__mktime_internal): No need to normalize tm_isdst now.
2980 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2983 mktime: merge another wrapv change from gnulib
2984 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2985 from some compilers.
2987 mktime: remove incorrect attempt at unusual arithmetics
2988 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2989 The code didn't really work on such machines anyway.
2990 (TYPE_MINIMUM): Assume two's complement.
2991 (twos_complement_arithmetic): Verify that long_int and time_t
2992 are two's complement (or unsigned, in the latter case).
2994 mktime: check signed shifts on long_int and time_t, too
2995 * time/mktime.c (SHR): Check that shifts work as desired
2996 on the types long_int and time_t too, as SHR is used on
2999 mktime: do not assume 'long' is wide enough
3000 * time/mktime.c (verify): Move decl up.
3001 (long_int): New type.
3002 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3003 to remove assumption in the code that 'long' is wide enough to
3004 store year values. This assumption is not true on x32 and on
3005 some non-glibc platforms.
3007 mktime: merge wrapv change from gnulib
3008 * time/mktime.c (WRAPV): New macro.
3009 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3010 (guess_time_tm, __mktime_internal): Do not assume that signed
3011 integer overflow wraps around; modern compilers generate code
3012 where this assumption is no longer valid.
3014 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3016 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3017 Replace "jmp L(pseudo_end)" with "ret".
3018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3021 2012-05-23 Andreas Jaeger <aj@suse.de>
3023 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3024 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3026 2012-05-23 Andreas Jaeger <aj@suse.de>
3027 Maximilian Attems <max@stro.at>
3029 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3032 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3034 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3035 code so that pseudo_end is just ret and the stack pointer is
3036 correct also for static library in error case.
3038 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3040 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3041 move to syscalls.list.
3042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3047 * manual/install.texi (Running make install): Do not mention Linux
3048 kernel version for which pt_chown is not needed.
3049 (Linux): Do not mention problems with nscd with 2.0 kernels.
3050 * INSTALL: Regenerated.
3052 2012-05-23 Andreas Jaeger <aj@suse.de>
3054 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3055 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3057 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3058 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3059 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3060 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3061 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3062 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3063 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3064 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3065 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3066 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3067 * sysdeps/unix/sysv/linux/bits/in.h
3068 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3070 2012-05-22 Roland McGrath <roland@hack.frob.com>
3072 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3073 (PREPARE_VERSION): Just use assert instead, it will be elided
3074 under [NDEBUG] anyway.
3076 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3078 * sysdeps/unix/sysv/linux/Makefile: Include
3079 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3080 (sysdep_routines): Remove sysctl.
3081 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3082 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3083 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3084 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3085 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3087 2012-05-22 Andreas Jaeger <aj@suse.de>
3089 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3090 that pseudo_end is just ret and the stack pointer is correct also
3091 for static library in error case.
3093 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3096 * nss/nsswitch.c (defconfig_entries): New variable.
3097 (__nss_database_lookup): Don't leak defconfig entries.
3098 (nss_parse_service_list): Don't leak on error paths.
3099 (free_database_entries): New function.
3100 (free_defconfig): New function.
3101 (free_mem): Move common code to free_database_entries.
3103 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3105 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3107 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3109 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3110 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3113 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3114 (INTERNAL_SYSCALL_TYPES): Likewise.
3115 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3116 (LOAD_REGS_TYPES_[1-6]): Likewise.
3117 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3118 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3120 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3122 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3123 copysignl for GLIBC_2_0.
3124 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3125 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3126 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3127 logbl for GLIBC_2_0.
3128 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3129 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3131 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3133 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3134 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3136 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3139 * time/mktime.c: Update copyright years.
3141 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3143 mktime: merge comment-quoting-style change from gnulib
3144 * time/mktime.c: Quote 'like this' in comments.
3145 The GNU coding standards suggest that we no longer quote `like this',
3146 as "`" and "'" are typically rendered asymmetrically nowadays.
3147 The typical gnulib style is to quote 'like this' when quoting
3148 code, and "like this" when quoting English.
3150 * time/mktime.c (compile-command): Add "-I.".
3152 mktime: merge mktime-internal.h change from gnulib
3153 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3155 mktime: merge time_r change from gnulib
3156 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3158 mktime: merge DEBUG change from gnulib
3159 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3160 case system <time.h> has a #define.
3162 mktime: merge <sys/types.h> change from gnulib
3163 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3164 since <time.t> is now guaranteed to define time_t.
3166 mktime: merge HAVE_CONFIG_H change from gnulib
3167 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3169 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3174 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3176 (struct rusage): Use anonymous union to pad each field to
3179 2012-05-21 David S. Miller <davem@davemloft.net>
3181 * Makefules (o-iterator): Remove .s cases.
3182 (compile-command.s): Delete.
3183 (COMPILE.s): Delete.
3184 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3186 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3188 * configure.in (libc_cv_predef_stack_protector): Only consider
3189 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3190 * configure: Regenerated.
3192 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3195 New macro. Use R*LP on int and pointer.
3196 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3197 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3198 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3199 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3201 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3202 [__WORDSIZE_TIME64_COMPAT32] instead of
3203 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3204 (struct utmp): Likewise.
3205 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3206 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3208 (__WORDSIZE_TIME64_COMPAT32): This.
3209 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3210 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3211 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3212 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3213 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3214 (__WORDSIZE_TIME64_COMPAT32): New macro.
3216 2012-05-21 Andreas Jaeger <aj@suse.de>
3218 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3219 only if [SHARED]. Add prototype for __wcschr_ia32.
3221 2012-05-21 Roland McGrath <roland@hack.frob.com>
3223 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3224 of %rbp unmolested in the jmp_buf while mangling the low bits.
3225 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3226 unmolested high bits of %rbp while demangling the low bits.
3227 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3229 2012-05-21 Andreas Jaeger <aj@suse.de>
3231 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3232 * sunrpc/svc_simple.c: Use it for registerrpc.
3233 * sunrpc/xcrypt.c: Use it for passwd2des.
3235 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3237 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3239 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3240 Don't define if [__SYSCALL_WORDSIZE != 32].
3241 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3244 2012-05-21 Bruno Haible <bruno@clisp.org>
3245 Andreas Jaeger <aj@suse.de>
3247 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3248 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3249 inptr and inend for must_buffer_ch.
3250 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3251 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3252 * stdio-common/Makefile (tests): Remove bug15.
3253 (bug15-ENV): Remove macro.
3254 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3257 2012-05-19 Andreas Jaeger <aj@suse.de>
3258 Roland McGrath <roland@hack.frob.com>
3260 * manual/contrib.texi: Completely rewritten. It contains now an
3261 alphabetical list of contributors and their contributions.
3263 2012-05-21 Richard Henderson <rth@twiddle.net>
3265 * misc/getauxval.c (__getauxval): Use unsigned long int.
3266 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3267 (getauxval): Use unsigned long int.
3269 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3271 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3273 2012-05-21 Roland McGrath <roland@hack.frob.com>
3275 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3276 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3277 __alignof__ (long double).
3279 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3283 2012-05-20 Richard Henderson <rth@twiddle.net>
3285 * misc/getauxval.c: New file.
3286 * misc/sys/auxv.h: New file.
3287 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3288 (routines): Add getauxval.
3289 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3290 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3291 * elf/dl-sysdep.c (_dl_auxv): Remove.
3292 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3293 * elf/dl-support.c (_dl_auxv): New variable.
3294 (_dl_aux_init): Initialize it.
3295 * manual/startup.texi (Auxiliary Vector): New node.
3296 * sysdeps/generic/bits/hwcap.h: New file.
3297 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3298 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3299 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3300 * sysdeps/sparc/sysdep.h: ... here. Include it.
3301 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3302 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3314 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3318 2012-05-19 David S. Miller <davem@davemloft.net>
3320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3322 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3325 * math/s_ccosh.c: Include <float.h>
3326 (__ccosh): Avoid internal overflow calculating sinh and cosh
3327 values before multiplying by sin and cos values.
3328 * math/s_ccoshf.c: Likewise.
3329 * math/s_ccoshl.c: Likewise.
3330 * math/s_csin.c: Likewise.
3331 * math/s_csinf.c: Likewise.
3332 * math/s_csinl.c: Likewise.
3333 * math/s_csinh.c: Likewise.
3334 * math/s_csinhf.c: Likewise.
3335 * math/s_csinhl.c: Likewise.
3336 * math/libm-test.inc (ccos_test): Add more tests.
3337 (ccosh_test): Likewise.
3338 (csin_test): Likewise.
3339 (csinh_test): Likewise.
3340 * sysdeps/i386/fpu/libm-test-ulps: Update.
3341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3343 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3345 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3346 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3348 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3350 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3352 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3353 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3354 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3355 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3356 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3357 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3358 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3359 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3360 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3361 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3362 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3363 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3364 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3365 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3366 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3367 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3368 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3369 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3370 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3371 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3372 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3373 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3374 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3375 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3376 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3377 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3378 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3379 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3380 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3381 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3382 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3384 2012-05-18 Andreas Jaeger <aj@suse.de>
3386 * csu/.gitignore: Delete.
3388 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3390 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3391 (timex): Use __syscall_slong_t.
3393 2012-05-18 Andreas Jaeger <aj@suse.de>
3394 Carlos O'Donell <carlos_odonell@mentor.com>
3396 * manual/install.texi (Configuring and compiling): Update
3397 description about files modified in the source directory.
3398 * INSTALL: Regenerated.
3400 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3402 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3403 value. Use "or" to set return value to -1.
3404 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3405 negate return value.
3407 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3409 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3410 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3411 failure if the compiler has Graphite support disabled.
3412 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3414 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3415 CFLAGS-memmove.c): Likewise.
3416 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3419 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3421 * sysdeps/x86_64/x32/_itoa.h: New file.
3423 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3424 getdents system call only if kernel and user dirents have the
3425 same d_ino and d_off.
3427 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3428 LLONG_MAX != LONG_MAX.
3429 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3430 (_fitoa_word): Likewise.
3432 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3434 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3435 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3436 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3438 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3439 include <bits/wordsize.h>. Check __x86_64__ instead of
3441 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3442 if __x86_64__ is defined. Use anonymous union on fpstate.
3444 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3447 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3449 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3450 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3451 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3452 Refer to _rtld_local_ro instead of _rtld_global_ro.
3453 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3455 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3457 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3459 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3460 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3461 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3463 * sysdeps/powerpc/powerpc32/dl-machine.c
3464 (__elf_machine_runtime_setup) [PROF]: Don't reference
3467 2012-05-18 Andreas Jaeger <aj@suse.de>
3469 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3470 function only available for GCCs before 3.4 since GCC 3.4
3471 introduced a builtin.
3473 (llrintf): Likewise.
3481 (nearbyint): Likewise.
3482 (nearbyintf): Likewise.
3488 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3490 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3491 on both fields and cast pointer to __syscall_ulong_t.
3493 * bits/types.h (__fsword_t): New type.
3494 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3495 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3496 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3497 (__FSWORD_T_TYPE): Likewise.
3498 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3499 (__FSWORD_T_TYPE): Likewise.
3500 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3501 (__FSWORD_T_TYPE): Likewise.
3502 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3503 (__FSWORD_T_TYPE): Likewise.
3504 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3505 __SWORD_TYPE with __fsword_t.
3506 (statfs64): Likewise.
3508 2012-05-17 David S. Miller <davem@davemloft.net>
3510 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3512 2012-05-17 Andreas Jaeger <aj@suse.de>
3514 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3517 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3519 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3521 2012-05-17 Andreas Jaeger <aj@suse.de>
3523 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3526 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3528 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3530 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3532 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3533 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3535 2012-05-17 Andreas Jaeger <aj@suse.de>
3536 Carlos O'Donell <carlos_odonell@mentor.com>
3539 * sysdeps/x86_64/multiarch/init-arch.h
3540 (bit_YMM_Usable): Rename to...
3541 (bit_AVX_Usable): ... this.
3542 (bit_FMA4_Usable): New macro.
3543 (bit_XMM_state): New macro.
3544 (bit_YMM_state): New macro.
3545 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3546 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3547 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3548 (CPUID_OSXSAVE): New macro.
3549 (CPUID_AVX): New macro.
3550 (CPUID_FMA4): New macro.
3551 (index_YMM_Usable): Rename to...
3552 (index_AVX_Usable): ... this.
3553 (HAS_AVX): Use HAS_ARCH_FEATURE.
3554 (HAS_FMA4): Likewise.
3555 (HAS_YMM_USABLE): Remove.
3556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3557 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3559 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3560 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3561 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3562 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3563 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3565 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3567 * math/libm-test.c: Support platforms without multiple rounding modes.
3568 * math/bug-nextafter.c: Support platforms without FP exceptions.
3569 * math/bug-nexttoward.c: Likewise.
3570 * math/test-fenv.c: Likewise.
3571 * math/test-misc.c: Likewise.
3572 * stdlib/bug-getcontext.c: Likewise.
3574 2012-05-17 Andreas Jaeger <aj@suse.de>
3576 * manual/examples/search.c (critter_cmp): Change signature to
3578 * manual/string.texi (Collation Functions): Likewise.
3580 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3582 * bits/types.h: Fold copyright years.
3583 * bits/typesizes.h: Likewise.
3584 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3585 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3588 * time/time.h: Likewise.
3590 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3593 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3594 in instead of returning them. Return void.
3595 (__libc_mallinfo): Accumulate over all arenas.
3596 (__malloc_stats): Adjust for change in int_mallinfo interface.
3598 2012-05-16 Roland McGrath <roland@hack.frob.com>
3601 * configure.in (NM): Add AC_CHECK_TOOL for it.
3602 (libc_extra_cflags): New substituted variable.
3603 Check for -fstack-protector being used implicitly.
3604 * configure: Regenerated.
3605 * config.make.in (config-extra-cflags): New variable,
3606 gets @libc_extra_cflags@.
3607 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3610 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3611 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3612 * configure: Regenerated.
3613 * config.make.in (CPPUNDEFS): New substituted variable.
3614 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3615 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3616 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3618 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3620 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3621 (mq_attr): Use __syscall_slong_t.
3623 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3625 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3626 Check __x86_64__ instead of __WORDSIZE.
3627 (_STAT_VER_LINUX): Likewise.
3628 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3629 __syscall_ulong_t and __syscall_slong_t.
3632 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3634 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3636 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3638 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3640 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3642 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3645 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3646 include <bits/wordsize.h>. Check __x86_64__ instead of
3648 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3650 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3652 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3653 include <bits/wordsize.h>. Check __x86_64__ instead of
3655 (user_regs_struct): Use "__extension__ unsigned long long"
3656 instead of "unsigned long" if __x86_64__ is defined.
3657 (user): Likewise. Pad after pointer field if __ILP32__ is
3660 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3662 * configure.in (makeinfo): Require version 4.5 or later. Allow
3664 * configure: Regenerated.
3665 * manual/install.texi (texinfo): Increase version requirement to
3667 * INSTALL: Regenerated.
3669 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3671 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3673 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3675 * sysdeps/x86_64/x32/ffs.c: New file.
3677 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3679 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3680 defined. Use __syscall_ulong_t.
3681 (shminfo): Use __syscall_ulong_t.
3682 (shm_info): Likewise.
3684 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3687 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3689 (msgqnum_t): Use __syscall_ulong_t.
3690 (msglen_t): Likewise.
3691 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3694 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3695 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3697 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3699 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3700 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3702 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3705 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3706 include <bits/wordsize.h>. Check __x86_64__ instead of
3709 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3710 "unsigned long long int" if __x86_64__ is defined.
3711 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3713 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3714 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3715 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3717 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3719 (GET_PC): Cast to uintptr_t first.
3720 (GET_FRAME): Likewise.
3721 (GET_STACK): Likewise.
3723 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3724 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3725 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3726 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3727 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3728 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3729 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3730 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3731 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3732 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3733 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3734 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3735 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3736 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3737 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3738 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3739 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3740 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3741 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3742 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3743 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3744 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3745 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3746 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3747 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3748 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3749 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3750 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3751 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3753 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3755 * Makerules (+depfiles): Also collect depfiles from .oS in
3757 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3758 .oS, $(libnldbl-routines)).
3760 * Makerules (native-compile-mkdep-flags): Define.
3761 * sunrpc/Makefile (extra-objs): Add $(addprefix
3762 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3763 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3764 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3765 calling $(make-target-directory).
3767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3769 * bits/types.h (__snseconds_t): Removed.
3770 * time/time.h (struct timespec): Replace __snseconds_t with
3772 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3773 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3775 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3776 (__SNSECONDS_T_TYPE): Likewise.
3777 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3778 (__SNSECONDS_T_TYPE): Likewise.
3779 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3780 (__SNSECONDS_T_TYPE): Likewise.
3782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3784 * sysdeps/mach/hurd/bits/typesizes.h
3785 (__SYSCALL_SLONG_TYPE): New macro.
3786 (__SYSCALL_ULONG_TYPE): Likewise.
3788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3790 * bits/types.h (__syscall_slong_t): New type.
3791 (__syscall_ulong_t): Likewise.
3793 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3794 (__SYSCALL_ULONG_TYPE): Likewise.
3795 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3796 (__SYSCALL_SLONG_TYPE): Likewise.
3797 (__SYSCALL_ULONG_TYPE): Likewise.
3798 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3799 (__SYSCALL_SLONG_TYPE): Likewise.
3800 (__SYSCALL_ULONG_TYPE): Likewise.
3801 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3802 (__SYSCALL_SLONG_TYPE): Likewise.
3803 (__SYSCALL_ULONG_TYPE): Likewise.
3805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3807 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3808 Add sigaltstack-offsets.sym.
3809 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3810 <sigaltstack-offsets.h>.
3811 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3812 longjmp_msg pointer.
3813 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3814 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3816 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3818 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3820 * elf/stackguard-macros.h: Remove file.
3821 * sysdeps/generic/stackguard-macros.h: New file.
3822 * sysdeps/i386/stackguard-macros.h: Likewise.
3823 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3824 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3825 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3826 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3827 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3828 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3829 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3830 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3831 <elf/stackguard-macros.h>.
3834 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3835 __aligned__ in attribute.
3836 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3837 (gregset_t): Likewise.
3839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3841 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3842 * sysdeps/x86_64/64/Implies-after: Here. New file.
3843 * sysdeps/x86_64/x32/Implies-after: New file.
3845 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3847 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3848 and access return value for _dl_profile_fixup. Use R10_LP to
3851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3853 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3855 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3857 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3858 * sysdeps/x86_64/x32/sysdep.h: New file.
3860 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3862 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3863 * sysdeps/x86_64/setjmp.S: Likewise.
3865 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3867 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3868 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3869 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3870 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3871 remove unused global constant.
3873 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3875 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3876 include of <not-cancel.h>.
3878 2012-05-15 Roland McGrath <roland@hack.frob.com>
3880 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3882 2012-05-15 Jeff Law <law@redhat.com>
3883 Andreas Jaeger <aj@suse.de>
3886 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3888 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3889 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3890 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3891 code changing __hst_map_handle.map.
3893 2012-05-15 Roland McGrath <roland@hack.frob.com>
3895 * configure.in (sysnames): Look for Implies-before and Implies-after
3897 * configure: Regenerated.
3899 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3901 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3902 8-byte data alignment with LP_SIZE alignment.
3904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3906 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3911 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3913 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3915 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3916 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3917 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3919 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3923 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3924 (stackinfo_sub_sp): Likewise.
3926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3928 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3933 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3938 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3943 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3947 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3948 into R11_LP and load __x86_64_shared_cache_size_half into
3951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3953 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3956 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3958 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3960 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3962 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3964 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3965 powerpc32/power7/fpu/s_logb.c via #include.
3966 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3967 powerpc32/power7/fpu/s_logbf.c via #include.
3968 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3969 powerpc32/power7/fpu/s_logbl.c via #include.
3971 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3973 * README.libm: Remove file.
3975 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3977 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3978 count for x32. Use R*_LP and omit operand-size suffix.
3980 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3982 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3983 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3984 * sysdeps/x86_64/x32/shlib-versions: New file.
3986 2012-05-14 Roland McGrath <roland@hack.frob.com>
3988 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3989 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3990 Use _dl_fatal_printf instead.
3992 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3994 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3995 set if not set by the user. Do not allow for being unset.
3996 * sysdeps/unix/sysv/linux/configure: Regenerated.
3998 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4000 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4001 the `q' suffix from lea and replace .quad with ASM_ADDR.
4003 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4006 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4008 (PTR_DEMANGLE): Likewise.
4010 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4012 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4014 (ASM_ADDR): Likewise.
4032 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4034 * sysdeps/x86_64/x32/dl-machine.h: New file.
4036 2012-05-14 Andreas Jaeger <aj@suse.de>
4038 * manual/Makefile (subdir): Remove export of subdir.
4039 (all): Remove target.
4040 (.PHONY): Remove all from list.
4041 (mkinstalldirs): Remove.
4042 (.PHONY): Remove installdirs from list.
4043 ($(inst_infodir)/libc.info): Use make-target-directory.
4044 (installdirs): Remove.
4046 (glibc-targets): Remove.
4049 ($(objpfx)stubs ../po/manual.pot): Remove.
4050 ($(objpfx)stamp%): Remove.
4051 (make-target-directory): Remove.
4052 (subdir_install): Remove.
4060 * manual/.gitignore: Remove, it's not needed anymore.
4061 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4063 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4065 (texis): Renamed to $(objpfx)texis.
4066 (texis-path): New, contains path to generated files.
4067 (chapters.%): Use texis-path for complete path, add extra argument
4069 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4070 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4071 (summary,texi, stamp-summary): Use complete path of
4072 files. Generate files in build dir.
4073 (dir-add.texi): Build in build dir.
4074 (libm-err.texi,stamp-libm-err): Likewise.
4075 (version.texi, stamp-version): Likewise.
4076 (.%c.texi): Likewise.
4077 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4078 (mostlyclean): Remove target.
4079 (realclean): Remove target.
4080 (generated): Add new variable with contents from mostlyclean and
4081 realclean, remove entries duplicated in common-mostlyclean, add
4082 stamp-libm-err and stamp-version.
4083 (generated-dirs): Add libc directory.
4084 ($(inst_infodir)/libc.info): Install files from build dir.
4086 * manual/install.texi (Configuring and compiling): Adjust since
4087 the info files are not part of the tar ball anymore.
4089 2012-05-14 Andreas Jaeger <aj@suse.de>
4091 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4094 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4097 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4098 to 2.2.0 where earlier.
4099 * sysdeps/unix/sysv/linux/configure: Regenerated.
4100 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4101 Remove conditional code.
4102 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4103 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4104 Remove conditional code.
4105 [!__NR_lchown]: Likewise.
4106 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4107 [__NR_lchown]: Likewise.
4108 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4109 comment referencing __ASSUME_LCHOWN_SYSCALL.
4110 * sysdeps/unix/sysv/linux/i386/sigaction.c
4111 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4112 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4113 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4114 Remove conditional code.
4115 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4116 (__protocol_available): Remove #if 0 code.
4117 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4119 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4120 * sysdeps/unix/sysv/linux/kernel-features.h
4121 (__ASSUME_GETCWD_SYSCALL): Don't define.
4122 (__ASSUME_REALTIME_SIGNALS): Likewise.
4123 (__ASSUME_PREAD_SYSCALL): Likewise.
4124 (__ASSUME_PWRITE_SYSCALL): Likewise.
4125 (__ASSUME_POLL_SYSCALL): Likewise.
4126 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4127 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4129 (__ASSUME_SIOCGIFNAME): Don't define.
4130 (__ASSUME_MSG_NOSIGNAL): Likewise.
4131 (__ASSUME_SENDFILE): Define unconditionally.
4132 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4133 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4135 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4136 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4137 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4138 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4139 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4140 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4141 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4143 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4144 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4146 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4149 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4150 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4155 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4158 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4161 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4164 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4165 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4166 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4167 Remove conditional code.
4168 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4169 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4170 Remove conditional code.
4171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4172 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4173 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4174 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4175 Remove conditional code.
4176 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4177 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4178 Remove conditional code.
4179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4180 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4181 Remove conditional code.
4182 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4183 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4184 Remove conditional code.
4185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4186 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4187 Remove conditional code.
4188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4189 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4190 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4192 * sysdeps/unix/sysv/linux/sigaction.c
4193 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4194 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4195 * sysdeps/unix/sysv/linux/sigpending.c
4196 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4197 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4198 * sysdeps/unix/sysv/linux/sigprocmask.c
4199 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4200 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4201 * sysdeps/unix/sysv/linux/sigsuspend.c
4202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4204 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4205 (__libc_missing_rt_sigs): Remove.
4206 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4207 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4208 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4209 Remove conditional code.
4210 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4211 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4213 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4214 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4215 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4216 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4218 2012-05-14 Andreas Jaeger <aj@suse.de>
4220 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4221 it's not used in glibc.
4222 (__coshm1): Likewise.
4223 (__acosh1p): Likewise.
4226 * manual/string.texi (Copying and Concatenation): Add missing
4227 variable in concat example.
4228 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4230 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4233 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4234 __builtin_clzl with __builtin_clzll.
4236 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4239 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4242 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4244 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4245 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4246 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4247 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4249 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4251 * NEWS: Update ia64 info.
4253 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4255 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4258 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4260 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4261 * sysdeps/unix/syscalls.list (dup3): Likewise.
4262 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4263 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4265 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4267 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4268 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4270 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4272 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4274 (TLS_IE): Use mov/add instead of movq/addq to load thread
4276 (TLS_GD_PREFIX): New.
4279 2012-05-11 David S. Miller <davem@davemloft.net>
4281 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4282 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4283 (_FPU_SETCW): Likewise.
4285 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4287 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4290 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4293 * iconvdata/gb18030.c: Update tables.
4294 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4295 characters specially.
4296 (BODY for TO_LOOP): Add encoding of missing ranges.
4298 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4301 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4302 * sysdeps/mach/hurd/dup3.c: Likewise.
4303 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4304 * sysdeps/powerpc/memmove.c:: Likewise.
4306 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4308 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4309 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4311 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4313 * elf/elf.h (R_X86_64_RELATIVE64): New.
4314 (R_X86_64_NUM): Updated.
4315 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4316 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4317 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4318 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4319 tst-quad1pie tst-quad2pie
4320 (modules-names): Add tst-quadmod1 tst-quadmod2.
4321 ($(objpfx)tst-quad1): New dependency.
4322 ($(objpfx)tst-quad2): Likewise.
4323 ($(objpfx)tst-quad1pie): Likewise.
4324 ($(objpfx)tst-quad2pie): Likewise.
4325 * sysdeps/x86_64/tst-quad1.c: New file.
4326 * sysdeps/x86_64/tst-quad1pie.c: New file.
4327 * sysdeps/x86_64/tst-quad2.c: Likewise.
4328 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4329 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4330 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4331 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4332 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4334 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4336 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4337 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4338 * streams/stropts.h (t_scalar_t): Define type.
4340 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4341 (_PATH_PRESERVE): Set to "/var/lib".
4342 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4344 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4347 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4348 if __dir_mkfile succeeded.
4350 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4351 checking for _hurd_dtablesize. Unlock it right after having
4352 finished _hurd_dtable allocation.
4354 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4356 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4357 * sysdeps/mach/hurd/configure: Regenerated.
4358 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4359 special-casing to...
4360 * sysdeps/gnu/configure.in: ... this new file.
4361 * sysdeps/unix/sysv/linux/configure: Regenerated.
4362 * sysdeps/gnu/configure: New generated file.
4364 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4365 for Linux: use nsec instead of usec, as well as:
4366 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4367 members of type struct timespec.
4368 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4370 (struct stat64): Likewise.
4371 (_STATBUF_ST_NSEC): New macro.
4372 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4374 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4375 __strtoul_internal rather than strtoul.
4377 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4379 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4382 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4384 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4385 which preserves existing values.
4386 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4388 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4390 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4391 TIMEOUT values. Return EINVAL for NFDS values either negative or
4392 greater than FD_SETSIZE.
4394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4396 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4397 allocated, call __vm_protect to finish enabling the existing space, and
4398 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4399 allocate the remainder.
4401 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4403 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4404 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4406 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4408 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4409 sysdeps/mach/hurd/readlink.c.
4411 * posix/tst-sysconf.c (posix_options): Only use
4412 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4413 _POSIX_SYNCHRONIZED_IO when they are defined
4414 * sysdeps/mach/hurd/bits/posix_opt.h:
4415 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4416 (_XOPEN_REALTIME): Undefine macro.
4417 (_XOPEN_REALTIME_THREADS): Undefine macro.
4418 (_XOPEN_SHM): Undefine macro.
4419 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4421 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4423 (_POSIX_ASYNC_IO): Undefine macro.
4424 (_POSIX_PRIORITIZED_IO): Undefine macro.
4425 (_POSIX_SPIN_LOCKS): Define macro to -1.
4427 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4428 SA_NODEFER, SA_RESETHAND.
4429 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4430 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4433 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4435 * elf/Makefile (pldd-modules): Define unconditionally.
4437 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4439 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4441 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4443 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4444 Return ENOENT when name is empty.
4445 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4447 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4449 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4451 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4455 Fix mlock in all cases except non-readable pages.
4456 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4457 instead of VM_PROT_ALL as parameter to __vm_wire function.
4459 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4460 (__mkdir): When path is `/', just fail with EEXIST.
4461 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4463 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4465 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4466 <sys/uio.h> (for writev).
4467 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4468 and <sys/param.h> (for MIN).
4470 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4472 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4473 REQUESTED_TIME. Properly set the remaining time and return EINTR
4476 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4478 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4479 Depend on against $(link-rpcuserlibs).
4481 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4483 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4484 (__libc_stack_end): Do not use attribute_relro.
4485 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4486 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4487 to libthread-provided value.
4488 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4491 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4494 * bits/libc-lock.h (__libc_once_get): New macro.
4495 * sysdeps/mach/bits/libc-lock.h: Likewise.
4496 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4497 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4498 instead of using implementation details.
4500 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4501 * libio/freopen.c: Likewise.
4502 * libio/freopen64.c: Likewise.
4503 * misc/syslog.c: Likewise.
4504 * nscd/connections.c: Likewise.
4505 * nscd/netgroupcache.c: Likewise.
4506 * sysdeps/posix/getcwd.c: Likewise.
4508 2012-05-10 Roland McGrath <roland@hack.frob.com>
4510 * math/w_ilogbf.c: Add #include <limits.h>.
4512 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4514 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4515 path instead of returning without unlocking.
4517 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4518 immediate-write ioctls.
4519 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4521 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4523 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4524 __builtin_frame_address instead of making assumptions about the
4525 location of the return address relative to DATA. Force early load of
4527 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4528 __builtin_frame_address.
4531 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4532 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4533 implement dup3 and do some further code clean-ups.
4534 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4535 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4537 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4539 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4541 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4542 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4543 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4544 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4545 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4548 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4549 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4550 when handler == SIG_ERR, not when handler != SIG_ERR.
4552 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4554 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4555 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4558 accept4 for GNU Hurd.
4559 * include/sys/socket.h (__libc_accept4): New prototype.
4560 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4561 to implement __libc_accept4.
4562 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4564 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4566 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4567 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4568 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4573 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4575 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4577 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4578 assertion on O_CLOEXEC flag.
4579 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4580 * hurd/intern-fd.c: Likewise.
4581 * hurd/port2fd.c: Likewise.
4583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4586 * bits/in.h (IPV6_PKTINFO): Define new macro.
4587 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4589 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4594 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4595 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4596 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4597 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4598 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4599 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4600 * math/libm-test.inc (logb_test) : Additional logb tests.
4602 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4603 Andreas Jaeger <aj@suse.de>
4605 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4606 * configure: Regenerated.
4607 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4608 * config.make.in (link-obsolete-rpc): New substituted variable.
4609 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4610 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4611 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4612 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4613 so that libc.a contains the symbols.
4614 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4615 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4616 * sunrpc/auth_none.c: Likewise.
4617 * sunrpc/auth_unix.c: Likewise.
4618 * sunrpc/authdes_prot.c: Likewise.
4619 * sunrpc/authuxprot.c: Likewise.
4620 * sunrpc/clnt_gen.c: Likewise.
4621 * sunrpc/clnt_perr.c: Likewise.
4622 * sunrpc/clnt_raw.c: Likewise.
4623 * sunrpc/clnt_simp.c: Likewise.
4624 * sunrpc/clnt_tcp.c: Likewise.
4625 * sunrpc/clnt_udp.c: Likewise.
4626 * sunrpc/clnt_unix.c: Likewise.
4627 * sunrpc/des_crypt.c: Likewise.
4628 * sunrpc/des_soft.c: Likewise.
4629 * sunrpc/get_myaddr.c: Likewise.
4630 * sunrpc/key_call.c: Likewise.
4631 * sunrpc/key_prot.c: Likewise.
4632 * sunrpc/netname.c: Likewise.
4633 * sunrpc/pm_getmaps.c: Likewise.
4634 * sunrpc/pm_getport.c: Likewise.
4635 * sunrpc/pmap_clnt.c: Likewise.
4636 * sunrpc/pmap_prot.c: Likewise.
4637 * sunrpc/pmap_prot2.c: Likewise.
4638 * sunrpc/pmap_rmt.c: Likewise.
4639 * sunrpc/publickey.c: Likewise.
4640 * sunrpc/rpc_cmsg.c: Likewise.
4641 * sunrpc/rpc_common.c: Likewise.
4642 * sunrpc/rpc_dtable.c: Likewise.
4643 * sunrpc/rpc_prot.c: Likewise.
4644 * sunrpc/rpc_thread.c: Likewise.
4645 * sunrpc/rtime.c: Likewise.
4646 * sunrpc/svc.c: Likewise.
4647 * sunrpc/svc_auth.c: Likewise.
4648 * sunrpc/svc_raw.c: Likewise.
4649 * sunrpc/svc_run.c: Likewise.
4650 * sunrpc/svc_tcp.c: Likewise.
4651 * sunrpc/svc_udp.c: Likewise.
4652 * sunrpc/svc_unix.c: Likewise.
4653 * sunrpc/svcauth_des.c: Likewise.
4654 * sunrpc/xcrypt.c: Likewise.
4655 * sunrpc/xdr.c: Likewise.
4656 * sunrpc/xdr_array.c: Likewise.
4657 * sunrpc/xdr_float.c: Likewise.
4658 * sunrpc/xdr_intXX_t.c: Likewise.
4659 * sunrpc/xdr_mem.c: Likewise.
4660 * sunrpc/xdr_rec.c: Likewise.
4661 * sunrpc/xdr_ref.c: Likewise.
4662 * sunrpc/xdr_sizeof.c: Likewise.
4663 * sunrpc/xdr_stdio.c: Likewise.
4665 2012-05-10 Roland McGrath <roland@hack.frob.com>
4667 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4668 change. Update copyright years.
4670 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4672 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4674 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4675 Joseph Myers <joseph@codesourcery.com>
4676 Paul Pluzhnikov <ppluzhnikov@google.com>
4679 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4681 [cross-compiling] (extra-libs): Likewise.
4682 [cross-compiling] (extra-libs-others): Likewise.
4683 [cross-compiling] (librpcsvc-routines): Likewise.
4684 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4685 [cross-compiling] (omit-deps): Likewise.
4686 (sunrpc-CPPFLAGS): New variable.
4687 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4688 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4689 (cross-rpcgen-objs): New variable.
4690 (extra-objs): Append $(cross-rpcgen-objs).
4691 ($(cross-rpcgen-objs)): New rule.
4692 ($(objpfx)cross-rpcgen): Likewise.
4693 (rpcgen-cmd): Define to use $(built-program-file). Expand
4695 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4696 ($(objpfx)x%.stmp): Likewise.
4697 * sunrpc/proto.h [IS_IN_build] (_): Define.
4698 [IS_IN_build] (_libc_intl_domainname): Likewise.
4700 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4702 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4703 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4704 and R_X86_64_TPOFF64.
4706 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4708 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4709 sysdeps/unix/sysv/syscalls.list.
4712 * sysdeps/unix/sysv/syscalls.list: Remove file.
4714 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4717 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4718 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4719 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4720 (__LC_IDENTIFICATION): Make these macros useful in #if
4721 expressions, as required by C99.
4723 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4725 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4726 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4729 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4731 * stdlib/longlong.h: Updated from GCC.
4733 2012-05-09 Andreas Jaeger <aj@suse.de>
4735 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4736 default is first entry.
4737 (run_mode): Set type.
4738 (main): Remove informal message about syslog.
4739 (options): Fix typo.
4742 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4745 (llrintf): Likewise.
4749 (nearbyint): Likewise.
4750 (nearbyintf): Likewise.
4752 2012-05-09 Andreas Jaeger <aj@suse.de>
4753 Pedro Alves <palves@redhat.com>
4755 * nscd/nscd.c (run_mode): Use enum.
4756 (main): Cleanup coding style issue.
4758 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4759 Andreas Jaeger <aj@suse.de>
4761 * nscd/nscd.c (go_background): Replaced with...
4762 (run_mode): ... this.
4763 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4764 (options): Add -F --foreground.
4765 (main): Implement it.
4766 (parse_opt): Parse it.
4768 2012-05-09 Andreas Jaeger <aj@suse.de>
4771 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4772 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4773 -Wconversion warning.
4774 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4777 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4779 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4781 (LC_ALL): Use macro-int-constant.
4782 (LC_COLLATE): Likewise.
4783 (LC_CTYPE): Likewise.
4784 (LC_MESSAGES): Likewise.
4785 (LC_MONETARY): Likewise.
4786 (LC_NUMERIC): Likewise.
4787 (LC_TIME): Likewise.
4788 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4789 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4790 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4791 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4793 [C99-based standards] (float_t): Expect type.
4794 [C99-based standards] (double_t): Expect type.
4795 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4797 [C99-based standards] (HUGE_VALL): Likewise.
4798 [C99-based standards] (INFINITY): Likewise.
4799 [C99-based standards] (NAN): Likewise.
4800 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4801 [C99-based standards] (FP_NAN): Likewise.
4802 [C99-based standards] (FP_NORMAL): Likewise.
4803 [C99-based standards] (FP_SUBNORMAL): Likewise.
4804 [C99-based standards] (FP_ZERO): Likewise.
4805 [C99-based standards] (FP_FAST_FMA): Use
4806 optional-macro-int-constant. Specify type. Require == 1.
4807 [C99-based standards] (FP_FAST_FMAF): Likewise.
4808 [C99-based standards] (FP_FAST_FMAL): Likewise.
4809 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4810 [C99-based standards] (FP_ILOGBNAN): Likewise.
4811 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4813 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4814 [C99-based standards] (math_errhandling): Specify type.
4815 [ISO99 || ISO11] (signgam): Do not allow.
4816 [non-C99-based standards] (copysignf): Do not allow.
4817 [non-C99-based standards] (exp2f): Likewise.
4818 [non-C99-based standards] (log2f): Likewise.
4819 [non-C99-based standards] (modff): Allow.
4820 [non-C99-based standards] (erff): Do not allow.
4821 [non-C99-based standards] (erfcf): Likewise.
4822 [non-C99-based standards] (gammaf): Likewise.
4823 [non-C99-based standards] (hypotf): Likewise.
4824 [non-C99-based standards] (j0f): Likewise.
4825 [non-C99-based standards] (j1f): Likewise.
4826 [non-C99-based standards] (jnf): Likewise.
4827 [non-C99-based standards] (lgammaf): Likewise.
4828 [non-C99-based standards] (tgammaf): Likewise.
4829 [non-C99-based standards] (y0f): Likewise.
4830 [non-C99-based standards] (y1f): Likewise.
4831 [non-C99-based standards] (ynf): Likewise.
4832 [non-C99-based standards] (isnanf): Likewise.
4833 [non-C99-based standards] (acoshf): Likewise.
4834 [non-C99-based standards] (asinhf): Likewise.
4835 [non-C99-based standards] (atanhf): Likewise.
4836 [non-C99-based standards] (cbrtf): Likewise.
4837 [non-C99-based standards] (expm1f): Likewise.
4838 [non-C99-based standards] (ilogbf): Likewise.
4839 [non-C99-based standards] (log1pf): Likewise.
4840 [non-C99-based standards] (logbf): Likewise.
4841 [non-C99-based standards] (nextafterf): Likewise.
4842 [non-C99-based standards] (remainderf): Likewise.
4843 [non-C99-based standards] (rintf): Likewise.
4844 [non-C99-based standards] (scalbf): Likewise.
4845 [non-C99-based standards] (copysignl): Likewise.
4846 [non-C99-based standards] (exp2l): Likewise.
4847 [non-C99-based standards] (log2l): Likewise.
4848 [non-C99-based standards] (modfl): Allow.
4849 [non-C99-based standards] (erfl): Do not allow.
4850 [non-C99-based standards] (erfcl): Likewise.
4851 [non-C99-based standards] (gammal): Likewise.
4852 [non-C99-based standards] (hypotl): Likewise.
4853 [non-C99-based standards] (j0l): Likewise.
4854 [non-C99-based standards] (j1l): Likewise.
4855 [non-C99-based standards] (jnl): Likewise.
4856 [non-C99-based standards] (lgammal): Likewise.
4857 [non-C99-based standards] (tgammal): Likewise.
4858 [non-C99-based standards] (y0l): Likewise.
4859 [non-C99-based standards] (y1l): Likewise.
4860 [non-C99-based standards] (ynl): Likewise.
4861 [non-C99-based standards] (isnanl): Likewise.
4862 [non-C99-based standards] (acoshl): Likewise.
4863 [non-C99-based standards] (asinhl): Likewise.
4864 [non-C99-based standards] (atanhl): Likewise.
4865 [non-C99-based standards] (cbrtl): Likewise.
4866 [non-C99-based standards] (expm1l): Likewise.
4867 [non-C99-based standards] (ilogbl): Likewise.
4868 [non-C99-based standards] (log1pl): Likewise.
4869 [non-C99-based standards] (logbl): Likewise.
4870 [non-C99-based standards] (nextafterl): Likewise.
4871 [non-C99-based standards] (remainderl): Likewise.
4872 [non-C99-based standards] (rintl): Likewise.
4873 [non-C99-based standards] (scalbl): Likewise.
4874 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4875 [non-C99-based standards] (FP_*): Do not allow.
4876 [C99-based standards] (FP_*): Change to
4877 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4878 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4880 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4881 (SIG_ERR): Likewise.
4882 [X/Open-based standards] (SIG_HOLD): Likewise.
4883 (SIG_IGN): Likewise.
4884 (SIGABRT): Use macro-int-constant. Specify type. Require
4889 (SIGSEGV): Likewise.
4891 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4892 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4893 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4894 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4895 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4896 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4897 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4898 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4899 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4900 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4901 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4902 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4903 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4904 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4905 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4906 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4907 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4908 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4909 [X/Open-based standards] (SIGTRAP): Likewise.
4910 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4911 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4912 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4913 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4914 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4917 2012-05-08 Ian Wienand <ianw@vmware.com>
4920 * time/tzset.c (__tzset_parse_tz): Update default rules for
4921 daylight time changes in the Energy Policy Act of 2005.
4923 2012-05-09 Andreas Jaeger <aj@suse.de>
4926 * elf/ldconfig.c (parse_conf): Change string to make clear that
4927 ldconfig only issued a warning if ld.so.conf does not exist.
4929 2012-05-08 David S. Miller <davem@davemloft.net>
4931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4932 movxtod instead of popping the value on the stack.
4934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4936 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4938 * config.h.in: Add HAVE_ARM_PCS_VFP.
4940 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4943 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4944 checking but the checks are disabled for any reason.
4946 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4948 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4949 and ELF64_R_TYPE with ELFW(R_TYPE).
4951 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4953 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4956 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4957 (settimeofday): Likewise.
4959 2012-05-08 Mike Frysinger <vapier@gentoo.org>
4961 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4962 a struct th_u2 inside the union, and move tu_block/tu_code into
4963 a new th_u3 union of tu_block/tu_code inside of that. Move
4964 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4965 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4966 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4967 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4968 (th_stuff): Change to th_u1.tu_stuff.
4970 (th_msg): Change to th_u1.th_u2.tu_data.
4972 2012-05-07 David S. Miller <davem@davemloft.net>
4974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4977 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4978 (SETUP_PIC_REG): Use it.
4979 (SETUP_PIC_REG_LEAF): Use it.
4981 2012-05-07 Joseph Myers <joseph@codesourcery.com>
4985 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4987 (EXPL_FINITE): Likewise.
4989 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4990 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4992 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4994 (EXPL_FINITE): Likewise.
4996 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4997 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4999 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5000 test of -max_value argument for long double.
5001 * sysdeps/i386/fpu/libm-test-ulps: Update.
5002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5004 2012-05-06 David S. Miller <davem@davemloft.net>
5006 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5007 quad soft-float symbols whose references which are compiler
5009 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5011 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5015 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5017 (EXPL_FINITE): Likewise.
5021 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5022 Adjust comments for base varying.
5023 (__expl_finite): Change alias to EXPL_FINITE.
5024 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5026 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5027 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5028 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5029 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5030 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5032 (EXPL_FINITE): Likewise.
5036 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5037 Adjust comments for base varying.
5038 (__expl_finite): Change alias to EXPL_FINITE.
5039 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5044 * math/libm-test.inc (check_float_internal): Correct ulp
5045 calculation for subnormal expected results.
5047 2012-05-06 Andreas Jaeger <aj@suse.de>
5049 * Makeconfig (+math-flags): New, set to -frounding-math.
5050 (+cflags): Add +math-flags so that all of glibc gets compiled with
5053 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5055 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5057 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5063 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5064 (__ieee754_expl): Allow for and saturate large arguments.
5065 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5066 (u_threshold): Likewise.
5067 (__exp): Call __ieee754_exp before checking for overflow and
5069 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5070 (u_threshold): Likewise.
5071 (__expf): Call __ieee754_expf before checking for overflow and
5073 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5074 (u_threshold): Likewise.
5075 (__expl): Call __ieee754_expl before checking for overflow and
5077 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5078 (__ieee754_expl): Allow for and saturate large arguments.
5079 * math/libm-test.inc (exp_test): Add another test. Do not allow
5080 missing overflow exception on overflow.
5081 (expm1_test): Do not allow missing overflow exception on overflow.
5083 * sysdeps/i386/fpu/e_expl.c: Move to ...
5084 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5085 rather than using inline asm.
5086 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5087 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5088 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5090 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5097 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5099 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5100 sysdeps/unix/common/syscalls.list.
5103 (ftruncate): Likewise.
5104 (getrusage): Likewise.
5105 (gettimeofday): Likewise.
5106 (setpgid): Likewise.
5107 (setregid): Likewise.
5108 (setreuid): Likewise.
5109 (sigaction): Likewise.
5110 (truncate): Likewise.
5111 (vhangup): Likewise.
5112 * sysdeps/unix/common/syscalls.list: Remove file.
5113 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5114 * sysdeps/unix/sysv/linux/Implies: Likewise.
5116 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5118 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5120 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5124 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5127 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5130 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5133 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5136 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5139 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5142 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5146 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5150 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5153 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5157 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5161 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5163 * sysdeps/unix/common/bits/dirent.h: Remove file.
5164 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5166 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5167 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5168 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5169 * sysdeps/unix/bsd/isatty.c: Likewise.
5170 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5171 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5172 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5174 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5177 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5178 long double comparison inaccuracies.
5179 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5182 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5184 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5185 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5187 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5190 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5191 nonzero digits before rounding a hex value.
5192 * stdlib/tst-strtod.c (tests): Add another test.
5194 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5196 * sysdeps/s390/fpu/libm-test-ulps: Update.
5198 2012-05-03 Andreas Jaeger <aj@suse.de>
5200 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5201 does not get optimized out.
5202 (malloc_opt_barrier): New.
5204 2012-05-03 Andreas Jaeger <aj@suse.de>
5205 Roland McGrath <roland@hack.frob.com>
5207 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5208 intermediate file deletion.
5209 (generated): Add .symlist files.
5211 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5214 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5215 Redirect under this condition.
5216 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5217 [__USE_GNU] (__dprintf_chk): Not under this condition.
5218 [__USE_GNU] (__vdprintf_chk): Likewise.
5219 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5220 under this condition.
5221 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5222 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5223 [__USE_XOPEN2K8] (vdprintf): Likewise.
5224 [__USE_GNU] (__dprintf_chk): Not under this condition.
5225 [__USE_GNU] (__vdprintf_chk): Likewise.
5226 [__USE_GNU] (dprintf): Likewise.
5227 [__USE_GNU] (vdprintf): Likewise.
5229 2012-05-03 Roland McGrath <roland@hack.frob.com>
5231 * elf/Makefile (common-generated): Set this instead of generated for
5232 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5233 $(all-built-dso)-derived lists.
5235 2012-05-03 Andreas Jaeger <aj@suse.de>
5237 * sysdeps/i386/fpu/libm-test-ulps: Update.
5241 * scripts/gen-FAQ.pl: Likewise.
5242 * manual/install.texi (Installation): Point to online location of
5244 * Makefile (files-for-dist): Remove FAQ.
5247 2012-05-02 Allan McRae <allan@archlinux.org>
5249 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5250 (LDFLAGS-reldepmod5.so): Likewise.
5251 (LDFLAGS-reldep6mod1.so): Likewise.
5252 (LDFLAGS-reldep6mod4.so): Likewise.
5253 (LDFLAGS-reldep8mod3.so): Likewise.
5254 (LDFLAGS-unload4mod1.so): Likewise.
5255 (LDFLAGS-unload4mod2.so): Likewise.
5256 (LDFLAGS-tst-initorder): Likewise.
5257 (LDFLAGS-tst-initordera2.so): Likewise.
5258 (LDFLAGS-tst-initordera3.so): Likewise.
5259 (LDFLAGS-tst-initordera4.so): Likewise.
5260 (LDFLAGS-tst-initorderb2.so): Likewise.
5261 (LDFLAGS-noload): Likewise.
5262 (LDFLAGS-next): Likewise.
5263 (LDFLAGS-order2mod1.so): Likewise.
5264 (LDFLAGS-order2mod2.so): Likewise.
5265 (LDFLAGS-tst-initorder2): Likewise.
5266 (LDFLAGS-tst-initorder2a.so): Likewise.
5267 (LDFLAGS-tst-initorder2b.so): Likewise.
5268 (LDFLAGS-tst-initorder2c.so): Likewise.
5269 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5271 2012-05-02 David S. Miller <davem@davemloft.net>
5273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5275 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5278 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5280 2012-05-02 Andreas Jaeger <aj@suse.de>
5282 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5283 since we manipulate rounding mode.
5284 (CPPFLAGS-test-idouble.c): Likewise.
5285 (CPPFLAGS-test-ifloat.c): Likewise.
5286 (CFLAGS-test-ldouble.c): Likewise.
5287 (CFLAGS-test-double.c): Likewise.
5288 (CFLAGS-test-float.c): Likewise.
5289 (CFLAGS-test-misc.c): Likewise.
5290 (CFLAGS-test-test-fenv.c): Likewise.
5292 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5296 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5297 comparisons to determine direction to adjust input.
5299 2012-05-01 Roland McGrath <roland@hack.frob.com>
5301 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5302 output to the target.
5304 * scripts/localplt.awk: New file.
5305 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5306 (check-localplt-CFLAGS): Variable removed.
5307 ($(all-built-dso:=.jmprel)): New static pattern rule.
5308 (generated): Add those targets.
5309 (localplt-built-dso): New variable.
5310 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5312 * elf/check-localplt.c: File removed.
5314 * scripts/check-execstack.awk: New file.
5315 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5316 (check-execstack-CFLAGS): Variable removed.
5317 ($(objpfx)check-execstack.h): Target removed.
5318 ($(objpfx)execstack-default): New target.
5319 (generated): Add that instead of check-execstack.h.
5320 ($(all-built-dso:=.phdr)): New static pattern rule.
5321 (generated): Add those targets.
5322 * elf/check-execstack.c: File removed.
5324 * scripts/check-textrel.awk: New file.
5325 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5326 (check-textrel-CFLAGS): Variable removed.
5327 (all-built-dso): Use := to define.o
5328 ($(all-built-dso:=.dyn)): New static pattern rule.
5329 (generated): Add those targets.
5330 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5331 * config.make.in (READELF): New substituted variable.
5332 * elf/check-textrel.c: File removed.
5334 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5336 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5338 * conform/data/ctype.h-data [C99-based standards] (isblank):
5340 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5341 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5342 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5343 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5344 Specify type. Require positive value.
5347 [ISO || POSIX] (EILSEQ): Do not expect.
5348 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5349 Specify type. Require positive value.
5350 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5351 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5352 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5353 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5354 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5355 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5356 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5357 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5358 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5359 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5360 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5361 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5362 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5363 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5364 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5365 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5366 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5367 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5368 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5369 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5370 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5371 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5372 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5373 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5374 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5375 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5376 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5377 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5378 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5379 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5380 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5381 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5382 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5383 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5384 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5385 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5386 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5387 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5388 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5389 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5390 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5391 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5392 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5393 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5394 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5395 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5396 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5397 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5398 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5399 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5400 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5401 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5402 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5403 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5404 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5405 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5406 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5407 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5408 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5409 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5410 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5411 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5412 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5413 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5414 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5415 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5416 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5417 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5418 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5419 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5420 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5421 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5422 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5423 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5424 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5425 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5426 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5428 (FLT_ROUNDS): Expect as macro, not constant.
5429 (FLT_MANT_DIG): Use macro-int-constant.
5430 (DBL_MANT_DIG): Likewise.
5431 (LDBL_MANT_DIG): Likewise.
5432 (FLT_DIG): Likewise.
5433 (DBL_DIG): Likewise.
5434 (LDBL_DIG): Likewise.
5435 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5436 (DBL_MIN_EXP): Likewise.
5437 (LDBL_MIN_EXP): Likewise.
5438 (FLT_MAX_EXP): Use macro-int-constant.
5439 (DBL_MAX_EXP): Likewise.
5440 (LDBL_MAX_EXP): Likewise.
5441 (FLT_MAX_10_EXP): Likewise.
5442 (DBL_MAX_10_EXP): Likewise.
5443 (LDBL_MAX_10_EXP): Likewise.
5444 (FLT_MAX): Use macro-constant.
5445 (DBL_MAX): Likewise.
5446 (LDBL_MAX): Likewise.
5447 (FLT_EPSILON): Use macro-constant. Give upper bound.
5448 (DBL_EPSILON): Likewise.
5449 (LDBL_EPSILON): Likewise.
5450 (FLT_MIN): Likewise.
5451 (DBL_MIN): Likewise.
5452 (LDBL_MIN): Likewise.
5453 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5454 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5455 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5456 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5457 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5458 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5459 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5460 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5461 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5462 [ISO11] (FLT_TRUE_MIN): Likewise.
5463 [ISO11] (LDBL_TRUE_MIN): Likewise.
5464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5465 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5466 (SCHAR_MIN): Use macro-int-constant. Specify type.
5467 (SCHAR_MAX): Likewise.
5468 (UCHAR_MAX): Likewise.
5469 (CHAR_MIN): Likewise.
5470 (CHAR_MAX): Likewise.
5471 (MB_LEN_MAX): Use macro-int-constant.
5472 (SHRT_MIN): Use macro-int-constant. Specify type.
5473 (SHRT_MAX): Likewise.
5474 (USHRT_MAX): Likewise.
5475 (INT_MAX): Likewise.
5476 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5478 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5480 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5482 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5483 bound negative. Suffix upper bound with "L".
5484 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5486 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5488 [C99-based standards] (LLONG_MAX): Likewise.
5489 [C99-based standards] (ULLONG_MAX): Likewise.
5490 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5492 [ISO11] (max_align_t): Require type.
5493 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5495 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5496 from $CFLAGS, without defining away __attribute__ calls.
5497 (checknamespace): Use $CFLAGS_namespace.
5499 * conform/conformtest.pl (@keywords): Only include C99 keywords
5500 for standards based on C99 or C11.
5502 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5504 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5507 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5508 usability of symbols in #if.
5510 * conform/conformtest.pl: If macro or constant types start
5511 "promoted:", expect the symbol to be of the following type
5512 promoted by the integer promotions.
5514 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5515 in one place. Also handle "macro-constant".
5517 * conform/conformtest.pl: Only accept expected macro values with
5518 "==". Parse all "macro" lines in one place.
5519 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5521 * conform/conformtest.pl: Handle braced types on "constant" lines
5522 instead of handling "typed-constant".
5523 * conform/data/signal.h-data: Use "constant" instead of
5526 * conform/conformtest.pl: Handle "optional-" at start of lines in
5527 one place rather than duplicating several cases. Handle each
5528 format of "macro" line with initial "optional-".
5530 * conform/conformtest.pl: Only accept expected constant or
5531 optional-constant values with "==". Parse all "constant" lines in
5532 one place. Parse all "optional-constant" lines in one place.
5533 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5534 * conform/data/fmtmsg.h-data: Likewise.
5535 * conform/data/netinet/in.h-data: Likewise.
5536 * conform/data/tar.h-data: Likewise.
5537 * conform/data/limits.h-data: Use "==" form on "constant" and
5538 "optional-constant" lines.
5540 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5541 Use -std=c99 for XOPEN2K.
5542 (@knownproblems): Remove.
5543 (newtoken): Don't check %isknown.
5545 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5546 Do not expect macro.
5547 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5548 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5549 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5550 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5551 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5552 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5553 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5554 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5555 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5556 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5557 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5558 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5559 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5560 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5561 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5562 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5563 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5564 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5565 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5566 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5567 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5568 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5569 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5570 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5571 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5572 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5573 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5574 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5575 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5576 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5577 [XPG3] (acosh): Likewise.
5578 [XPG3] (asinh): Likewise.
5579 [XPG3] (atanh): Likewise.
5580 [XPG3] (cbrt): Likewise.
5581 [XPG3] (expm1): Likewise.
5582 [XPG3] (ilogb): Likewise.
5583 [XPG3] (log1p): Likewise.
5584 [XPG3] (logb): Likewise.
5585 [XPG3] (nextafter): Likewise.
5586 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5587 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5588 [XPG3] (remainder): Likewise.
5589 [XPG3] (rint): Likewise.
5590 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5591 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5592 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5593 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5594 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5595 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5596 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5597 [UNIX98 || XOPEN2K] (scalb): Expect.
5598 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5599 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5600 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5601 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5602 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5603 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5604 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5605 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5606 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5607 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5608 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5609 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5610 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5611 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5612 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5613 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5614 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5615 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5616 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5617 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5618 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5619 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5620 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5621 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5622 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5623 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5624 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5625 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5626 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5627 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5628 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5629 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5630 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5632 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5633 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5634 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5635 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5636 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5637 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5638 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5639 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5640 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5641 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5642 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5643 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5644 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5645 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5646 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5647 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5648 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5649 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5650 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5651 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5652 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5653 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5654 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5655 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5656 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5657 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5658 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5659 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5660 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5661 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5662 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5663 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5664 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5665 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5666 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5667 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5668 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5669 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5670 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5671 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5672 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5673 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5674 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5676 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5677 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5678 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5679 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5680 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5682 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5683 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5685 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5686 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5687 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5688 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5689 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5692 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5693 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5694 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5695 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5696 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5697 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5698 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5701 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5702 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5711 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5712 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5719 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5720 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5721 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5722 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5723 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5724 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5725 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5726 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5727 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5729 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5730 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5731 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5732 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5733 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5734 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5736 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5737 _XOPEN_SOURCE_EXTENDED for XPG4.
5739 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5741 * Makeconfig (localtime): Remove variable.
5742 (inst_localtime-file): Likewise.
5744 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5765 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5769 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5770 comparisons to determine direction to adjust input.
5771 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5772 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5773 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5775 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5777 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5779 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5780 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5782 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5784 * math/libm-test.inc (nexttoward_test): Add more tests.
5786 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5789 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5790 in version GLIBC_2.1, not GLIBC_2.0.
5791 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5794 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5797 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5799 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5800 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5801 * math/libm-test.inc (acos_test): Add more tests.
5802 (asin_test): Likewise.
5803 * sysdeps/i386/fpu/libm-test-ulps: Update.
5804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5807 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5809 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5810 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5811 * math/libm-test.inc (acos_test_tonearest): New function.
5812 (acos_test_towardzero): Likewise.
5813 (acos_test_downward): Likewise.
5814 (acos_test_upward): Likewise.
5815 (asin_test_tonearest): Likewise.
5816 (asin_test_towardzero): Likewise.
5817 (asin_test_downward): Likewise.
5818 (asin_test_upward): Likewise.
5819 (main): Call the new functions.
5820 * sysdeps/i386/fpu/libm-test-ulps: Update.
5821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5825 * math/e_exp10.c: Include <float.h>.
5826 (__ieee754_exp10): Handle underflow here rather than multiplying
5827 large negative argument by M_LN10.
5828 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5830 * math/e_exp10l.c: Include <float.h>.
5831 (__ieee754_exp10l): Handle underflow here rather than multiplying
5832 large negative argument by M_LN10l.
5833 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5834 spurious overflow exception on underflow.
5836 2012-04-29 Marek Polacek <polacek@redhat.com>
5838 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5839 (__fortify_function): New macro.
5840 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5841 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5842 __extern_always_inline.
5843 * libio/bits/stdio2.h: Likewise.
5844 * libio/bits/stdio.h: Likewise.
5845 * string/string.h: Likewise.
5846 * string/bits/string3.h: Likewise.
5847 * include/stdio.h: Likewise.
5848 * stdlib/bits/stdlib.h: Likewise.
5849 * stdlib/stdlib.h: Likewise.
5850 * rt/bits/mqueue2.h: Likewise.
5851 * rt/mqueue.h: Likewise.
5852 * posix/bits/unistd.h: Likewise.
5853 * posix/unistd.h: Likewise.
5854 * io/bits/poll2.h: Likewise.
5855 * io/bits/fcntl2.h: Likewise.
5856 * io/fcntl.h: Likewise.
5857 * io/sys/poll.h: Likewise.
5858 * misc/bits/syslog.h: Likewise.
5859 * misc/bits/syslog-ldbl.h: Likewise.
5860 * misc/sys/syslog.h: Likewise.
5861 * socket/bits/socket2.h: Likewise.
5862 * socket/sys/socket.h: Likewise.
5863 * debug/tst-chk1.c: Likewise.
5864 * wcsmbs/bits/wchar2.h: Likewise.
5865 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5866 * wcsmbs/wchar.h: Likewise.
5868 2012-04-29 Andreas Jaeger <aj@suse.de>
5870 * Makerules (tests): Remove enable-check-abi protection.
5871 (check-abi-warn): Remove.
5872 (check-abi-%): Remove check-abi-warn usage.
5874 * configure.in: Remove check-abi configure option.
5875 * configure: Regenerated.
5876 * config.make.in (enable-check-abi): Remove.
5878 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5881 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5882 double functions to double *_finite functions.
5885 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5886 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5888 * stdio-common/Makefile (tests): Add tst-sprintf3.
5889 * stdio-common/tst-sprintf3.c: New file.
5891 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5892 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5894 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5896 * conform/conformtest.pl: Remove duplicate typed-constant
5899 2012-04-28 David S. Miller <davem@davemloft.net>
5901 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5902 (check-abi-%): Remove AWK script prerequisite and explicit
5904 (check-abi): Rewrite to just diff the symlist with the abilist.
5905 (config-tls, config-abi-config): Delete, no longer used.
5906 (update-abi-%): Remove AWK script and explicit abilist directory.
5907 (update-abi): Rewrite to simply compare and conditionally copy the
5908 symlist and the sysdep abilist file. Remove update-abi-config
5910 * abilist/ld.abilist: Remove.
5911 * abilist/libBrokenLocale.abilist: Remove.
5912 * abilist/libanl.abilist: Remove.
5913 * abilist/libcrypt.abilist: Remove.
5914 * abilist/libdl.abilist: Remove.
5915 * abilist/librt.abilist: Remove.
5916 * abilist/libthread_db.abilist: Remove.
5917 * abilist/libutil.abilist: Remove.
5918 * scripts/extract-abilist.awk: Remove.
5919 * scripts/merge-abilist.awk: Remove.
5920 * sysdeps/generic/libcidn.abilist: New file.
5921 * sysdeps/generic/libnss_compat.abilist: New file.
5922 * sysdeps/generic/libnss_db.abilist: New file.
5923 * sysdeps/generic/libnss_dns.abilist: New file.
5924 * sysdeps/generic/libnss_files.abilist: New file.
5925 * sysdeps/generic/libnss_hesiod.abilist: New file.
5926 * sysdeps/generic/libnss_nis.abilist: New file.
5927 * sysdeps/generic/libnss_nisplus.abilist: New file.
5928 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5929 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5930 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5932 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5933 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5934 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5935 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5936 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5937 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5938 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5939 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5940 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5942 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5943 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5944 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5945 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5947 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5948 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5949 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5950 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5951 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5952 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5954 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5955 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5956 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5958 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6061 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6062 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6063 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6065 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6066 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6067 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6068 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6069 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6070 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6071 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6072 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6073 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6074 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6126 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6128 * conform/conformtest.pl: Fix typo in handling typed-constant from
6131 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6133 * README: Cut down references to pre-2.6 Linux kernels and
6134 Linuxthreads. Update lists of configurations in libc and ports
6135 and sort alphabetically. Say "or newer" with Linux kernel version
6138 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6140 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6143 * math/libm-test.inc (logb_test_downward): New test to expose
6144 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6147 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6150 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6152 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6153 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6155 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6157 * sysdeps/unix/i386/brk.S: Remove file.
6158 * sysdeps/unix/i386/dl-brk.S: Likewise.
6159 * sysdeps/unix/i386/pipe.S: Likewise.
6160 * sysdeps/unix/i386/sigreturn.S: Likewise.
6161 * sysdeps/unix/i386/syscall.S: Likewise.
6162 * sysdeps/unix/i386/vfork.S: Likewise.
6163 * sysdeps/unix/i386/wait.S: Likewise.
6165 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6166 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6168 * configure.in (arm*-none*): Do not allow without
6169 --enable-hacker-mode.
6170 (netbsd*): Remove case setting base_os.
6171 (386bsd*): Likewise.
6172 (freebsd*): Likewise.
6176 (ultrix*): Likewise.
6177 (newsos*): Likewise.
6187 (solaris[2-9]*): Likewise.
6189 * configure: Regenerated.
6191 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6194 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6195 overflow or cancellation in calculating denominator.
6196 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6197 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6198 down expression to avoid unexpected rounding in newer GCCs.
6199 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6201 2012-04-26 David S. Miller <davem@davemloft.net>
6203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6204 long-double compat symbols.
6205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6219 2012-04-25 David S. Miller <davem@davemloft.net>
6221 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6222 HWCAP_* values only after the memory barriers have been defined.
6223 (atomic_full_barrier): Define.
6224 (atomic_read_barrier): Define.
6225 (atomic_write_barrier): Define.
6227 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6229 * shlib-versions: Add libgcc_s version information.
6230 * sysdeps/generic/libgcc_s.h: Remove.
6231 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6233 * sysdeps/gnu/unwind-resume.c: Likewise.
6234 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6236 2012-04-25 David S. Miller <davem@davemloft.net>
6238 * sysdeps/unix/sparc/brk.S: Delete.
6239 * sysdeps/unix/sparc/dl-brk.S: Delete.
6240 * sysdeps/unix/sparc/pipe.S: Delete.
6241 * sysdeps/unix/sparc/sysdep.S: Delete.
6242 * sysdeps/unix/sparc/sysdep.h: Delete.
6243 * sysdeps/unix/sparc/vfork.S: Delete.
6244 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6245 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6246 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6247 ret_ERRVAL, r0, r1, MOVE): Define.
6248 (JUMPTARGET): Remove.
6249 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6250 sysdeps/unix/sparc/sysdep.h
6251 (ENTRY, END): Remove.
6252 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6254 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6256 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6257 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6260 * timezone/README: Update upstream location and email address for
6262 * timezone/zdump.c: Update from tzcode 2012b.
6263 * timezone/zic.c: Likewise.
6265 * configure.in (libc_cv_as_needed): Remove test.
6266 * configure: Regenerated.
6267 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6268 conditional definition.
6269 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6270 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6271 * config.make.in (have-as-needed): Remove variable.
6273 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6274 Paul Pluzhnikov <ppluzhnikov@google.com>
6276 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6279 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6281 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6282 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6283 * sysdeps/sh/strlen.S: Likewise.
6285 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6287 * sysdeps/unix/fork.S: Remove file.
6288 * sysdeps/unix/i386/fork.S: Likewise.
6289 * sysdeps/unix/sparc/fork.S: Likewise.
6291 * sysdeps/unix/system.c: Remove file.
6292 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6294 * sysdeps/unix/getegid.S: Remove file.
6295 * sysdeps/unix/geteuid.S: Likewise.
6297 2012-04-24 Roland McGrath <roland@hack.frob.com>
6299 * scripts/check-localplt.awk: New file.
6300 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6302 * scripts/data/localplt-generic.data: Add a comment.
6304 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6305 NODE when __dir_mkfile failed.
6306 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6307 Reported by Ludovic Courtès <ludo@gnu.org>.
6309 2012-04-24 Andreas Jaeger <aj@suse.de>
6311 * Makerules (common-clean): Also remove gen-as-const-headers
6314 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6316 * Makerules (native-compile): Do not change working directory for
6317 build. Use $(OUTPUT_OPTION) in command.
6318 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6320 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6323 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6324 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6325 * math/libm-test.inc (floor_test): Add more tests.
6326 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6328 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6330 * sysdeps/unix/getdents.c: Remove file.
6331 * sysdeps/unix/sysv/getdents.c: Likewise.
6332 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6334 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6335 sysdeps/unix/mman/syscalls.list.
6337 (mprotect): Likewise.
6340 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6341 * sysdeps/unix/mman/syscalls.list: Remove.
6342 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6344 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6345 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6346 * configure: Regenerated.
6347 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6349 * config.make.in (libgcc_s_suffix): Remove variable.
6351 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6353 * sysdeps/unix/sysv/gethostname.c: Move to ...
6354 * sysdeps/posix/gethostname.c: ... here.
6356 * sysdeps/unix/execve.S: Remove file.
6358 * sysdeps/unix/_exit.S: Remove file.
6360 2012-04-23 Andreas Jaeger <aj@suse.de>
6363 * manual/Makefile: Remove make dist support, there's no
6364 need for a stand-alone documentation tar ball.
6365 (TEXI2DVI): Define always, it's not in Makeconfig.
6369 (glibc-doc-$(edition).tar): Removed
6373 (ETAGS): Remove, it's in Makeconfig.
6374 (move-if-change): Remove, it's in Makeconfig.
6376 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6379 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6380 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6381 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6382 (strtod_l, strtof_l, strtold_l): Remove __wur.
6383 It is not necessarily an error to ignore strtol's return value.
6384 One can reliably look at the stored endptr to decide whether
6385 the number had valid syntax.
6387 2012-04-21 Andreas Jaeger <aj@suse.de>
6390 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6392 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6394 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6395 * sysdeps/unix/sysv/Versions: Remove file.
6397 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6402 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6405 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6406 version from __vm86.
6408 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6410 * sysdeps/unix/common/lxstat.c: Remove file.
6411 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6413 * sysdeps/unix/sysv/Makefile: Remove file.
6415 * sysdeps/unix/sysv/direct.h: Remove file.
6417 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6418 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6419 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6420 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6421 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6422 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6423 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6425 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6427 * sysdeps/unix/xmknod.c: Remove file.
6428 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6430 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6432 * sysdeps/unix/sysv/i386/time.S: Remove file.
6434 * sysdeps/unix/fxstat.c: Remove file.
6435 * sysdeps/unix/xstat.c: Likewise.
6436 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6438 * sysdeps/unix/sysv/sigaction.c: Remove file.
6440 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6441 (sysdep_headers): Remove variable.
6442 [termio.h not in sysdep_headers] (generated): Likewise.
6443 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6444 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6445 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6446 * sysdeps/unix/sysv/tcflow.c: Likewise.
6447 * sysdeps/unix/sysv/tcflush.c: Likewise.
6448 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6449 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6450 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6451 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6452 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6454 * sysdeps/unix/siglist.c: Remove file.
6456 * sysdeps/unix/getppid.S: Remove file.
6458 * sysdeps/unix/mkdir.c: Remove file.
6459 * sysdeps/unix/rmdir.c: Likewise.
6461 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6463 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6465 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6466 errlist-compat value.
6468 2012-04-18 David S. Miller <davem@davemloft.net>
6470 * sysdeps/generic/memcopy.h (reg_char): Delete.
6471 * debug/strcat_chk.c: Use char, not reg_char.
6472 * debug/strcpy_chk.c: Likewise.
6473 * debug/strncat_chk.c: Likewise.
6474 * debug/strncpy_chk.c: Likewise.
6475 * string/memchr.c: Likewise.
6476 * string/memrchr.c: Likewise.
6477 * string/rawmemchr.c: Likewise.
6478 * string/strcat.c: Likewise.
6479 * string/strchr.c: Likewise.
6480 * string/strchrnul.c: Likewise.
6481 * string/strcmp.c: Likewise.
6482 * string/strcpy.c: Likewise.
6483 * string/strncat.c: Likewise.
6484 * string/strncmp.c: Likewise.
6485 * string/strncpy.c: Likewise.
6487 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6489 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6490 __builtin_memcopy is called when src and dest ranges are known to not
6493 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6495 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6496 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6497 fwd_align_merge macro call.
6498 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6499 bwd_align_merge macro call.
6500 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6502 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6504 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6505 bwd_align_merge macros.
6506 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6507 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6508 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6510 2012-04-18 David S. Miller <davem@davemloft.net>
6512 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6514 2012-04-18 Andreas Jaeger <aj@suse.de>
6517 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6518 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6519 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6521 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6522 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6523 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6525 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6526 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6527 Adjust for changed ldbl-128 files.
6529 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6530 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6531 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6533 2012-04-17 David S. Miller <davem@davemloft.net>
6535 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6537 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6539 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6540 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6541 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6542 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6543 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6544 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6546 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6549 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6550 * math/libm-test.inc: Add ilogb errno and exception tests.
6551 * math/w_ilogb.c: New file: ilogb wrapper.
6552 * math/w_ilogbf.c: New file: ilogbf wrapper.
6553 * math/w_ilogbl.c: New file: ilogbl wrapper.
6554 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6555 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6556 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6557 exception being thrown with 0.0 as argument.
6558 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6559 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6560 exception being thrown with 0.0 as argument.
6561 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6562 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6563 exception being thrown with 0.0 as argument.
6564 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6565 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6566 exception being thrown with 0.0 as argument.
6567 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6568 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6569 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6570 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6571 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6572 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6573 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6574 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6575 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6577 2012-04-17 Petr Baudis <pasky@ucw.cz>
6579 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6582 2012-04-16 Marek Polacek <polacek@redhat.com>
6584 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6586 2012-04-16 Marek Polacek <polacek@redhat.com>
6588 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6589 operands of fdivp instruction.
6591 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6593 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6594 * elf/tst-auditmod3b.c: Likewise.
6595 * elf/tst-auditmod4b.c: Likewise.
6596 * elf/tst-auditmod5b.c: Likewise.
6597 * elf/tst-auditmod6b.c: Likewise.
6598 * elf/tst-auditmod6c.c: Likewise.
6599 * elf/tst-auditmod7b.c: Likewise.
6600 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6601 * sysdeps/x86_64/preconfigure.in: Likewise.
6602 * sysdeps/x86_64/preconfigure: Regenerated.
6604 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6606 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6609 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6611 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6612 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6614 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6617 * locale/iso-639.def: Fix gl language name. Spotted by
6620 2012-04-12 Roland McGrath <roland@hack.frob.com>
6623 * libio/libio.h (__io_write_fn): Update comment.
6625 2012-04-12 Petr Baudis <pasky@ucw.cz>
6628 * stdio.texi (Hook Functions): The user provided writer function
6629 is not allowed to return -1.
6631 2012-04-11 David S. Miller <davem@davemloft.net>
6633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6635 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6637 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6638 Add a leading slash to rtkaio.
6640 2012-04-11 Jim Meyering <meyering@redhat.com>
6643 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6644 It is not necessarily an error to ignore fwrite's return
6645 value. One can reliably use ferror to test for errors after
6648 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6650 * bits/types.h (__snseconds_t): New type.
6651 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6653 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6654 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6655 (__SNSECONDS_T_TYPE): Likewise.
6656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6657 (__SNSECONDS_T_TYPE): Likewise.
6658 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6659 (__SNSECONDS_T_TYPE): Likewise.
6661 2012-04-10 Andreas Jaeger <aj@suse.de>
6664 * manual/time.texi (Processor Time): Return type of times is
6665 elapsed real time since an arbitrary point in the past.
6666 (CPU Time): Move CLK_TCK from here...
6667 (Processor Time): ...to here. Correct description.
6668 * manual/conf.texi (Constants for Sysconf): Correct description of
6671 2012-04-10 David S. Miller <davem@davemloft.net>
6674 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6675 where the is a gap between DT_REL(A) and DT_JMPREL.
6677 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6679 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6680 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6681 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6683 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6685 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6686 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6687 (dl_main): Handle --inhibit-cache.
6688 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6690 * elf/dl-load.c (_dl_map_object): Use it.
6691 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6693 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6696 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6697 (__ieee754_powl): Saturate large exponents rather than testing for
6698 overflow of y*log2(x).
6699 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6700 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6704 * math/s_ctan.c: Include <float.h>.
6705 (__ctan): Avoid internal overflow or cancellation in calculating
6707 * math/s_ctanf.c: Likewise.
6708 * math/s_ctanl.c: Likewise.
6709 * math/s_ctanh.c: Likewise.
6710 * math/s_ctanhf.c: Likewise.
6711 * math/s_ctanhl.c: Likewise.
6712 * math/libm-test.inc (ctan_test): Add more tests.
6713 (ctanh_test): Likewise.
6714 * sysdeps/i386/fpu/libm-test-ulps: Update.
6715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6717 2012-04-09 Andreas Jaeger <aj@suse.de>
6720 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6721 is an optional BSD extension.
6724 * manual/stdio.texi (Opening Streams): Document additional fopen
6727 2012-04-09 Roland McGrath <roland@hack.frob.com>
6729 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6730 %eax without telling the compiler.
6732 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6735 * manual/install.texi: Use sourceware.org.
6737 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6740 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6741 (__ieee754_pow): Generate overflow and underflow using huge*huge
6742 and tiny*tiny rather than just returning constant infinity or zero
6743 for large exponents.
6744 * math/libm-test.inc (pow_test): Require overflow exceptions for
6745 applicable cases of large exponents.
6748 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6749 (__ieee754_pow): Use iterative multiplication algorithm only for
6750 integer exponents with absolute value below 1024. Check for odd
6751 integer exponents when using algorithm for real exponents.
6752 * math/libm-test.inc (pow_test): Add more tests.
6753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6755 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6758 * math/libm-test.inc (exp_test): Do not allow overflow exception
6761 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6764 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6765 instead of __kernel_standard_f.
6767 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6769 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6770 * sysdeps/x86_64/memset_chk.S: Likewise.
6772 2012-04-08 Andreas Jaeger <aj@suse.de>
6775 * manual/startup.texi (Environment Access): Describe return value
6776 for putenv and setenv.
6779 * manual/filesys.texi (Directory Entries): Add description for
6783 * manual/filesys.texi (Directory Entries): Clarify that it's file
6784 system not operating system in the description of DT_UNKNOWN.
6787 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6789 2012-04-08 Stephen Compall <s11@member.fsf.org>
6792 * manual/llio.texi (Opening and Closing Files): Add cross
6793 reference to explain mode argument.
6795 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6797 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6798 * sysdeps/x86_64/memset_chk.S: Likewise.
6800 2012-04-07 David S. Miller <davem@davemloft.net>
6802 * elf/elf.h (R_SPARC_WDISP10): Define.
6803 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6805 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6806 R_SPARC_SIZE64 and R_SPARC_H34.
6808 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6810 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6811 conditions and remove no longer applicable assertion.
6813 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6815 * bits/byteswap.h: Include <features.h>.
6816 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6817 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6819 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6821 * bits/byteswap.h (__bswap_16): Removed.
6822 Include <bits/byteswap-16.h> to get __bswap_16.
6823 * sysdeps/i386/bits/byteswap.h: Likewise.
6824 * sysdeps/s390/bits/byteswap.h: Likewise.
6825 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6826 * bits/byteswap-16.h: New file.
6827 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6828 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6829 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6830 * string/Makefile (headers): Add bits/byteswap-16.h.
6832 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6835 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6837 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6838 * nss/tst-nss-static.c: New.
6840 2012-04-06 Robert Millan <rmh@gnu.org>
6843 * manual/llio.texi (File Position Primitive): lseek
6844 refers to WHENCE when it really means OFFSET.
6846 2012-04-06 Andreas Jaeger <aj@suse.de>
6848 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6849 strncmp declarations.
6851 * abilist/libc.abilist: Add __poll and __ppoll.
6853 2012-04-05 David S. Miller <davem@davemloft.net>
6855 * scripts/check-local-headers.sh: Accept a host triplet in the
6856 path matched by the exclude regexp.
6858 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6860 * sysdeps/powerpc/powerpc32/dl-machine.h
6861 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6862 * sysdeps/s390/s390-32/dl-machine.h
6863 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6864 * sysdeps/sparc/sparc32/dl-machine.h
6865 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6866 * sysdeps/sparc/sparc64/dl-machine.h
6867 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6869 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6871 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6872 undefined symbol errors.
6874 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6877 2012-04-05 Michael Matz <matz@suse.de>
6880 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6882 2012-04-05 Andreas Jaeger <aj@suse.de>
6885 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6888 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6890 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6891 which ROUND is no valid rounding mode.
6893 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6895 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6897 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6899 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6901 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6902 an exception using FPU order intentionally.
6904 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6906 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6907 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6908 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6909 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6911 2012-04-05 Simon Josefsson <simon@josefsson.org>
6914 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6915 EINVAL when BUFLEN is too smal.
6917 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6920 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6921 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6923 2012-04-03 Andreas Jaeger <aj@suse.de>
6926 * manual/setjmp.texi (System V contexts): Fix sentence.
6929 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6930 New macro for this case.
6931 [!__GNUC__] (__bswap_64): New inline function for this case.
6932 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6933 * bits/byteswap.h: Likewise.
6934 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6935 ull, guard with __GLIBC_HAVE_LONG_LONG.
6937 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6938 __GLIBC_HAVE_LONG_LONG.
6940 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6941 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6943 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6946 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6947 inptr and inend, rather than using last_ch.
6949 2012-04-02 David S. Miller <davem@davemloft.net>
6951 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6952 * stdio-common/printf-parse.h (read_int): Change return type to
6953 'int', return -1 on INT_MAX overflow.
6954 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6955 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6956 overflows INT_MAX. Check for overflow of in-format-string precision
6957 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6958 SIZE_MAX not INT_MAX for integer overflow test.
6959 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6960 skip the construct in the format string but do not record anything.
6961 * stdio-common/bug22.c: Adjust to test both width/prevision
6962 INT_MAX overflow as well as total length INT_MAX overflow. Check
6963 explicitly for proper errno values.
6965 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6967 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6969 * string/test-strcmp.c [! WIDE]: Likewise.
6970 * time/tst-mktime2.c: Likewise for INT_MAX.
6971 * string/test-string.h: #include <sys/param.h> for MIN.
6973 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6974 * sysdeps/i386/init-first.c (init): Likewise.
6975 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6976 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6977 * sysdeps/sh/init-first.c (init): Likewise.
6979 2012-04-01 Ulrich Drepper <drepper@gmail.com>
6981 * po/ru.po: Update from translation team.
6982 * po/vi.po: Likewise.
6984 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6986 * resolv/nss_dns/dns-host.c: Merge copyright years.
6988 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6990 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6991 Optimize memcpy with prefetch if
6992 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6993 src, dst pointers have unequal 16 byte alignments.
6995 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6998 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6999 from a CNAME entry and return the minimum ttl for the query.
7000 (gaih_getanswer_slice): Likewise.
7002 2012-03-30 Jeff Law <law@redhat.com>
7004 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7006 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7007 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7009 * resolv/nss_dns/dns-host.c: Update copyright year.
7011 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7013 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7014 requests to save a system call. Fix check that all bytes are sent.
7016 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7017 comments for sendmmsg.
7019 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7022 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7023 with only 1 character between 0x0041 and 0x01b0.
7024 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7025 * wcsmbs/tst-mbsnrtowcs.c: New file.
7027 2012-03-29 David S. Miller <davem@davemloft.net>
7029 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7030 small copies by hand.
7032 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7035 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7036 _nss_compat_initgroups_dyn): Fall back to malloc/free
7037 for large group memberships.
7039 2012-03-28 David S. Miller <davem@davemloft.net>
7041 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7042 that branches into memcpy.
7043 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7044 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7045 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7046 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7047 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7049 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7051 * sysdeps/sparc/mempcpy.S: New file.
7053 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7054 the IFUNC routine in the libc case.
7055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7057 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7058 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7059 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7060 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7061 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7062 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7063 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7064 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7066 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7067 loop to 256 bytes instead of 64 bytes and fix test signedness.
7069 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7070 * sysdeps/sparc/sparc32/Makefile: rather than here...
7071 * sysdeps/sparc/sparc64/Makefile: and here.
7073 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7075 * malloc/mallocbug.c: Avoid warnings about unused variables.
7077 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7080 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7081 in the right place. Discard and retry query if response is
7082 larger than input buffer size.
7084 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7089 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7090 x for large integer exponent.
7091 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7092 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7093 sign of result as needed afterwards.
7094 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7095 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7096 result for underflowing pow the same as for overflow.
7097 (__kernel_standard_l): Handle powl overflow and underflow here
7098 rather than calling __kernel_standard.
7099 * math/libm-test.inc (pow_test): Add more tests.
7114 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7115 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7116 (__kernel_standard_l): New function.
7117 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7119 * math/w_acosl.c (__acosl): Likewise.
7120 * math/w_asinl.c (__asinl): Likewise.
7121 * math/w_atan2l.c (__atan2l): Likewise.
7122 * math/w_atanhl.c (__atanhl): Likewise.
7123 * math/w_coshl.c (__coshl): Likewise.
7124 * math/w_exp10l.c (__exp10l): Likewise.
7125 * math/w_exp2l.c (__exp2l): Likewise.
7126 * math/w_fmodl.c (__fmodl): Likewise.
7127 * math/w_hypotl.c (__hypotl): Likewise.
7128 * math/w_j0l.c (__j0l, __y0l): Likewise.
7129 * math/w_j1l.c (__j1l, __y1l): Likewise.
7130 * math/w_jnl.c (__jnl, __ynl): Likewise.
7131 * math/w_lgammal.c (__lgammal): Likewise.
7132 * math/w_log10l.c (__log10l): Likewise.
7133 * math/w_log2l.c (__log2l): Likewise.
7134 * math/w_logl.c (__logl): Likewise.
7135 * math/w_powl.c (__powl): Likewise.
7136 * math/w_remainderl.c (__remainderl): Likewise.
7137 * math/w_scalbl.c (sysv_scalbl): Likewise.
7138 * math/w_sinhl.c (__sinhl): Likewise.
7139 * math/w_sqrtl.c (__sqrtl): Likewise.
7140 * math/w_tgammal.c (__tgammal): Likewise.
7141 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7142 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7143 * math/libm-test.inc (acos_test): Add more tests.
7144 (acosh_test): Likewise.
7145 (asin_test): Likewise.
7146 (atanh_test): Likewise.
7147 (exp_test): Likewise.
7148 (exp10_test): Likewise.
7149 (exp2_test): Likewise.
7150 (expm1_test): Likewise.
7151 (lgamma_test): Likewise.
7152 (log_test): Likewise.
7153 (log10_test): Likewise.
7154 (log1p_test): Likewise.
7155 (log2_test): Likewise.
7156 (pow_test): Do not allow some spurious overflow exceptions.
7157 (sqrt_test): Add more tests.
7158 (tgamma_test): Likewise.
7159 (y0_test): Likewise.
7160 (y1_test): Likewise.
7161 (yn_test): Likewise.
7163 2012-03-27 Anton Blanchard <anton@samba.org>
7165 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7167 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7168 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7169 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7171 2012-03-27 David S. Miller <davem@davemloft.net>
7173 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7175 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7178 2012-03-27 Andreas Jaeger <aj@suse.de>
7180 * sysdeps/x86_64/elf/configure.in: Moved to ...
7181 * sysdeps/x86_64/configure.in: ... here.
7182 * sysdeps/x86_64/elf/start.S: Moved to ...
7183 * sysdeps/x86_64/start.S: ... here.
7184 * sysdeps/x86_64/elf/configure: Delete.
7186 * sysdeps/x86_64/configure.in: Merge contents from
7187 sysdeps/i386/configure.in (without i686 check).
7189 * sysdeps/i386/elf/Versions: Merge into ...
7190 * sysdeps/i386/Versions: ... this.
7191 * sysdeps/i386/elf/Versions: Delete file.
7192 * sysdeps/i386/elf/start.S: Moved to ...
7193 * sysdeps/i386/start.S: ...here.
7194 * sysdeps/i386/elf/configure.in: Merge into...
7195 * sysdeps/i386/configure.in: ...here.
7196 * sysdeps/i386/elf/configure.in: Delete file.
7197 * sysdeps/i386/elf/configure: Delete file.
7199 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7200 * debug/backtracesyms.c: ... here.
7201 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7202 * debug/backtracesymsfd.c: ... here.
7203 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7204 * sysdeps/generic/ifunc-sel.h: ... here.
7206 * sysdeps/unix/i386/start.c: Delete file.
7207 * sysdeps/unix/sparc/start.c: Delete file.
7208 * sysdeps/unix/start.c: Delete file.
7210 * sysdeps/sh/elf/configure.in: Moved to ...
7211 * sysdeps/sh/configure.in: ... here.
7212 * sysdeps/sh/elf/start.S: Moved to ...
7213 * sysdeps/sh/start.S: ... here.
7214 * sysdeps/sh/elf/configure: Delete file.
7216 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7217 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7218 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7219 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7220 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7221 * sysdeps/powerpc/powerpc64/start.S: here.
7222 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7223 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7224 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7225 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7226 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7228 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7229 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7230 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7231 * sysdeps/powerpc/powerpc32/start.S: ... here.
7232 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7233 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7234 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7236 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7237 * sysdeps/powerpc/ifunc-sel.h: ... here.
7238 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7239 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7241 * sysdeps/sparc/elf/configure.in: Moved to ...
7242 * sysdeps/sparc/configure.in: ... here.
7243 * sysdeps/sparc/elf/configure: Delete file.
7244 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7245 * sysdeps/sparc/sparc32/start.S: ... here.
7246 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7247 * sysdeps/sparc/sparc64/start.S: ... here.
7248 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7249 * sysdeps/sparc/sparc32/Makefile: ... this.
7250 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7251 * sysdeps/sparc/sparc64/Makefile: ... this.
7253 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7254 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7255 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7256 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7257 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7258 * sysdeps/s390/s390-32/setjmp.S: ... here.
7259 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7260 * sysdeps/s390/s390-32/configure.in: ... here.
7261 * sysdeps/s390/s390-32/elf/configure: Delete file.
7262 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7263 * sysdeps/s390/s390-32/start.S: ... here.
7265 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7266 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7267 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7268 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7269 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7270 * sysdeps/s390/s390-64/setjmp.S: ... here.
7271 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7272 * sysdeps/s390/s390-64/configure.in: ... here
7273 * sysdeps/s390/s390-64/elf/configure: Delete file.
7274 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7275 * sysdeps/s390/s390-64/start.S: ... here.
7276 * sysdeps/s390/s390-64/elf/configure: Delete.
7278 * configure.in: Remove support for elf directories in sysdeps.
7280 * configure: Regenerated.
7281 * sysdeps/i386/configure: Regenerated.
7282 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7283 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7284 * sysdeps/s390/s390-32/configure: Regenerated.
7285 * sysdeps/s390/s390-64/configure: Regenerated.
7286 * sysdeps/sh/configure: Regenerated.
7287 * sysdeps/sparc/configure: Regenerated.
7288 * sysdeps/x86_64/configure: Regenerated.
7290 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7294 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7295 denormal result into account.
7297 2012-03-25 Roland McGrath <roland@hack.frob.com>
7299 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7300 Reported by Allan McRae <allan@archlinux.org>.
7302 2012-03-23 Jeff Law <law@redhat.com>
7304 * nss/getnssent.c (__nss_getent): Fix typo.
7306 2012-03-23 David S. Miller <davem@davemloft.net>
7308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7310 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7312 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7313 to pad to uint64_t for each field.
7314 (dl_tls_index): Replace unsigned long with uint64_t.
7316 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7317 Paul Pluzhnikov <ppluzhnikov@google.com>
7320 * grp/Makefile (otherlibs): Don't set it.
7321 * inet/Makefile (otherlibs): Likewise.
7322 * login/Makefile (otherlibs): Likewise.
7323 * nscd/Makefile (otherlibs): Likewise.
7324 * posix/Makefile (otherlibs): Likewise.
7325 * pwd/Makefile (otherlibs): Likewise.
7326 * rt/Makefile (otherlibs): Likewise.
7327 * sunrpc/Makefile (otherlibs): Likewise.
7328 * nss/Makefile (otherlibs): Likewise.
7329 Add libnss_files to routines and static-only-routines.
7330 ($(objpfx)getent): Remove rule.
7331 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7332 static-only-routines.
7334 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7337 * math/s_cexp.c: Include <float.h>.
7338 (__cexp): Handle exp result overflowing not necessarily
7339 overflowing both real and imaginary parts of result.
7340 * math/s_cexpf.c: Likewise.
7341 * math/s_cexpl.c: Likewise.
7342 * math/libm-test.inc (cexp_test): Add more tests.
7343 * sysdeps/i386/fpu/libm-test-ulps: Update.
7344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7346 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7348 * include/link.h (ELFW): New macro.
7349 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7350 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7352 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7354 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7357 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7359 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7361 (struct La_x32_retval): Likewise.
7363 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7365 * sysdeps/x86_64/preconfigure.in: New file.
7366 * sysdeps/x86_64/preconfigure: New generated file.
7368 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7371 * math/e_exp2l.c: Include <float.h>.
7372 (__ieee754_exp2l): Handle overflow and underflow cases
7373 separately. Only pass fractional part of argument to
7375 * math/libm-test.inc (exp2_test): Add more tests.
7377 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7378 negating x to take absolute value.
7379 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7381 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7382 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7384 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7385 computing low part if x was negated.
7386 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7388 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7390 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7392 (pltexit): Cast int_retval to ptrdiff_t.
7393 * elf/tst-auditmod3b.c: Likewise.
7394 * elf/tst-auditmod4b.c: Likewise.
7395 * elf/tst-auditmod5b.c: Likewise.
7396 * elf/tst-auditmod6b.c: Likewise.
7397 * elf/tst-auditmod6c.c: Likewise.
7398 * elf/tst-auditmod7b.c: Likewise.
7400 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7401 and x32_gnu_pltexit.
7403 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7405 (La_x32_regs): New macro.
7406 (La_x32_retval): Likewise.
7407 (la_x32_gnu_pltenter): New function prototype.
7408 (la_x32_gnu_pltexit): Likewise.
7410 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7412 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7417 * configure.in (libc_cv_cc_nofma): Check for option to disable
7418 generation of FMA instructions.
7419 * configure: Regenerate.
7420 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7421 * sysdeps/ieee754/dbl-64/Makefile: New file.
7422 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7423 Remove brandred-fma4.
7424 (CFLAGS-brandred-fma4.c): Remove.
7425 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7426 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7428 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7431 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7433 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7434 LLONG_MAX != LONG_MAX.
7435 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7436 (_fitoa_word): Likewise.
7437 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7438 LLONG_MAX != LONG_MAX.
7439 * stdio-common/_itowa.h: Include <_itoa.h>.
7440 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7441 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7442 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7443 only if not defined.
7444 (_ITOA_WORD_TYPE): Likewise.
7445 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7446 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7448 2012-03-21 David S. Miller <davem@davemloft.net>
7450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7452 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7454 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7455 of x86_64 when setting libc_cv_slibdir, libdir and
7457 * sysdeps/unix/sysv/linux/configure: Regenerated.
7459 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7461 * manual/lang.texi (Old Varargs): Remove section.
7462 (How Variadic): Update menu.
7463 (va_start): Do not mention varargs.h.
7465 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7466 Joseph Myers <joseph@codesourcery.com>
7468 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7470 * configure: Regenerated.
7472 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7474 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7475 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7478 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7481 * Makefile (files-for-dist): Remove NOTES.
7482 (NOTES): Remove rule.
7483 * README: Don't refer to NOTES.
7484 * manual/creature.texi: Don't include macros.texi.
7485 * manual/intro.texi (creature.texi): Remove comment referring to
7488 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7489 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7490 * configure: Regenerated.
7491 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7493 (libc_cv_as_i686): Likewise.
7494 (libc_cv_cc_avx): Likewise.
7495 (libc_cv_cc_sse2avx): Likewise.
7496 (libc_cv_cc_fma4): Likewise.
7497 (libc_cv_cc_novzeroupper): Likewise.
7498 * sysdeps/i386/configure: Regenerated.
7501 * sysdeps/i386/fpu/s_cexp.S: Remove.
7502 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7503 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7504 * math/libm-test.inc (cexp_test): Add more tests.
7505 * sysdeps/i386/fpu/libm-test-ulps: Update.
7506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7508 2012-03-21 Allan McRae <allan@archlinux.org>
7510 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7512 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7515 * math/w_exp2.c: Do not include <float.h>.
7516 (o_threshold, u_threshold): Remove.
7517 (__exp2): Calculate result before checking finiteness and calling
7519 * math/w_exp2f.c: Likewise.
7520 * math/w_exp2l.c: Likewise.
7521 * math/libm-test.inc (exp2_test): Require overflow exception for
7525 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7526 range of signed 64-bit integers before using fistpll. Remove
7527 checks for whether integers fit in mantissa bits.
7528 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7529 the range of signed 32-bit integers before using fistpl. Remove
7530 checks for whether integers fit in mantissa bits.
7531 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7532 (__ieee754_powl): Test for y outside the range of signed 64-bit
7533 integers before using fistpll. Reduce 64-bit values to 63-bit
7535 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7536 divide-by-zero is raised for zero to large negative powers.
7537 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7538 (__ieee754_powl): Test for y outside the range of signed 64-bit
7539 integers before using fistpll. Reduce 64-bit values to 63-bit
7541 * math/libm-test.inc (pow_test): Add more tests.
7543 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7545 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7546 <stdio-common/_itoa.h>.
7547 * debug/segfault.c: Likewise.
7548 * elf/dl-cache.c: Likewise.
7549 * elf/dl-minimal.c: Likewise.
7550 * elf/dl-misc.c: Likewise.
7551 * elf/dl-sysdep.c: Likewise.
7552 * elf/dl-version.c: Likewise.
7553 * elf/rtld.c: Likewise.
7554 * hurd/hurdsock.c: Likewise.
7555 * hurd/lookup-retry.c: Likewise.
7556 * malloc/malloc.c: Likewise.
7557 * malloc/mtrace.c: Likewise.
7558 * nscd/nscd_getgr_r.c: Likewise.
7559 * nscd/nscd_getpw_r.c: Likewise.
7560 * nscd/nscd_getserv_r.c: Likewise.
7561 * posix/getopt_init.c: Likewise.
7562 * posix/wordexp.c: Likewise.
7563 * stdio-common/_itoa.c: Likewise.
7564 * stdio-common/printf_fphex.c: Likewise.
7565 * stdio-common/vfprintf.c: Likewise.
7566 * string/_strerror.c: Likewise.
7567 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7568 * sysdeps/i386/i686/hp-timing.h: Likewise.
7569 * sysdeps/mach/_strerror.c: Likewise.
7570 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7571 * sysdeps/mach/hurd/sethostid.c: Likewise.
7572 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7573 * sysdeps/mach/xpg-strerror.c: Likewise.
7574 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7575 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7576 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7577 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7578 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7579 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7580 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7581 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7582 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7583 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7584 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7585 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7586 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7587 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7588 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7589 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7590 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7591 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7592 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7593 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7594 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7596 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7598 * stdio-common/_itoa.h: Moved to ...
7599 * sysdeps/generic/_itoa.h: Here.
7601 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7603 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7604 instead of "_itoa.h" and "_itowa.h".
7605 * stdio-common/vfprintf.: Likewise.
7607 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7609 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7611 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7612 (__signbit): Likwise.
7616 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7618 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7621 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7623 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7624 OVERFLOW_EXCEPTION_OK.
7625 * math/libm-test.inc ("Philosophy"): Update comment about
7627 (OVERFLOW_EXCEPTION): Define.
7628 (OVERFLOW_EXCEPTION_OK): Likewise.
7629 (INVALID_EXCEPTION_OK): Renumber.
7630 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7631 (IGNORE_ZERO_INF_SIGN): Likewise.
7632 (test_exceptions): Handle FE_OVERFLOW.
7633 (exp10_test): Expect overflow exceptions.
7634 (exp2_test): Likewise.
7635 (expm1_test): Likewise.
7636 (nextafter_test): Likewise.
7637 (pow_test): Likewise.
7638 (scalbn_test): Likewise.
7639 (scalbln_test): Likewise.
7641 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7643 * sysdeps/x86_64/bits/atomic.h
7644 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7646 (atomic_exchange_acq): Likewise.
7647 (__arch_exchange_and_add_body): Likewise.
7648 (__arch_add_body): Likewise.
7649 (atomic_add_negative): Likewise.
7650 (atomic_add_zero): Likewise.
7652 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7654 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7655 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7657 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7659 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7660 Check __x86_64__ instead of __WORDSIZE.
7662 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7664 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7666 2012-03-19 David S. Miller <davem@davemloft.net>
7668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7670 * sysdeps/sparc/fpu/fenv_private.h: New file.
7671 * sysdeps/sparc/fpu/math_private.h: Use it.
7672 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7674 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7675 (libc_feholdexcept_setroundl): Remove.
7676 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7678 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7679 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7681 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7683 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7684 int64_t instead of long int.
7685 (INSERT_WORDS64): Likwise.
7687 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7689 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7690 _Unwind_GetCFA return to _Unwind_Ptr first.
7692 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7695 * math/s_clog.c: Include <float.h>.
7696 (__clog): Scale large or subnormal inputs.
7697 * math/s_clogf.c: Likewise.
7698 * math/s_clogl.c: Likewise.
7699 * math/s_clog10.c: Include <float.h>.
7700 (M_LOG10_2): Define.
7701 (__clog10): Scale large or subnormal inputs.
7702 * math/s_clog10f.c: Likewise.
7703 * math/s_clog10l.c: Likewise.
7704 * math/libm-test.inc (clog_test): Add more tests.
7705 (clog10_test): Likewise.
7706 * sysdeps/i386/fpu/libm-test-ulps: Update.
7707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7710 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7712 * math/libm-test.inc (atan2_test): Add another test.
7714 * Makerules (common-objdir-compile): Remove.
7715 * sysdeps/unix/Makefile (config-generated): Do not add
7716 $(unix-generated) to variable.
7717 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7718 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7720 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7722 [generic bits/local_lim.h] (before-compile): Do not append to
7724 [generic bits/local_lim.h] (common-generated): Likewise.
7725 [generic sys/param.h] (before-compile): Do not append to variable.
7726 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7727 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7728 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7729 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7731 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7732 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7733 [generic sys/param.h] ($(addprefix
7734 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7735 [generic sys/param.h] (common-generated): Do not append to
7737 [generic sys/param.h] (sysdep_headers): Likewise.
7738 [generic bits/errno.h] (before-compile): Do not append to
7740 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7742 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7743 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7744 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7745 [generic bits/errno.h] (common-generated): Do not append to
7747 [generic bits/ioctls.h] (before-compile): Do not append to
7749 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7751 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7752 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7753 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7755 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7756 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7757 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7758 [generic bits/ioctls.h] (common-generated): Do not append to
7760 [generic sys/syscall.h] (syscall.h): Remove variable.
7761 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7763 [generic sys/syscall.h] (before-compile): Do not append to
7765 [generic sys/syscall.h] (common-generated): Likewise.
7766 * sysdeps/unix/errnos-tmpl.c: Remove file.
7767 * sysdeps/unix/errnos.awk: Likewise.
7768 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7769 * sysdeps/unix/ioctls.awk: Likewise.
7770 * sysdeps/unix/mk-local_lim.c: Likewise.
7771 * sysdeps/unix/snarf-ioctls: Likewise.
7773 2012-03-19 Richard Henderson <rth@twiddle.net>
7775 * sysdeps/i386/fpu/fenv_private.h: New file.
7776 * sysdeps/i386/fpu/math_private.h: Use it.
7777 (math_opt_barrier, math_force_eval): Remove.
7778 (libc_feholdexcept_setround_53bit): Remove.
7779 (libc_feupdateenv_53bit): Remove.
7780 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7781 (math_opt_barrier, math_force_eval): Remove.
7782 (libc_feholdexcept): Remove.
7783 (libc_feholdexcept_setround): Remove.
7784 (libc_fetestexcept, libc_fesetenv): Remove.
7785 (libc_feupdateenv_test): Remove.
7786 (libc_feupdateenv, libc_feholdsetround): Remove.
7787 (libc_feresetround): Remove.
7789 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7790 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7792 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7793 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7794 (libc_feupdateenv_testl): New.
7795 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7796 (libc_feupdateenv_testf): New.
7797 (libc_feupdateenv): Use libc_feupdateenv_test.
7798 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7799 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7801 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7802 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7803 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7804 (libc_feresetround_noex): New.
7805 (libc_feresetround_noexf): New.
7806 (libc_feresetround_noexl): New.
7807 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7808 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7809 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7810 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7812 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7813 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7815 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7816 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7817 SET_RESTORE_ROUND_NOEX.
7818 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7819 SET_RESTORE_ROUND_NOEXF.
7820 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7821 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7822 (libc_feholdsetroundf): New.
7823 (libc_feresetround, libc_feresetroundf): New.
7825 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7826 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7827 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7829 * sysdeps/generic/math_private.h: Include <fenv.h>.
7830 (default_libc_feholdexcept): New.
7831 (default_libc_feholdexcept_setround): New.
7832 (default_libc_fesetenv, default_libc_feupdateenv): New.
7833 (libc_feholdexcept): Only define if undefined.
7834 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7835 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7836 (libc_feholdexcept_setroundl): Likewise.
7837 (libc_feholdexcept_setround_53bit): Likewise.
7838 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7839 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7840 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7841 (libc_feupdateenv_53bit): Likewise.
7842 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7843 (libc_feholdexcept): Convert from macro to inline function.
7844 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7845 (libc_fesetenv, libc_feupdateenv): Likewise.
7847 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7848 not previously defined.
7849 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7850 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7851 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7852 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7853 * sysdeps/ieee754/flt-32/math_private.h: New file.
7854 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7855 math_private.h below SET_FLOAT_WORD.
7856 (__isnan, __isinf_ns, __finite): Remove.
7857 (__isnanf, __isinf_nsf, __finitef): Remove.
7859 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7863 2012-03-17 David S. Miller <davem@davemloft.net>
7866 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7869 2012-03-16 David S. Miller <davem@davemloft.net>
7871 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7875 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7877 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7878 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7879 sysdep_routines when subdir is sysvipc.
7880 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7883 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7885 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7887 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7890 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7892 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7893 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7894 (__lround): Renamed to ...
7895 (__llround): This. Replace long int with long long int.
7896 Define lround functions as aliases of llround functions.
7897 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7899 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7901 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7902 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7903 adresses to uintptr_t. Replace "long int" and "unsigned long
7904 int" with "greg_t" on va_arg.
7906 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7908 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7909 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7911 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7912 Move e_machine check before EI_CLASS check. Handle x32
7913 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7914 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7915 SKIP_EM_IA_64 and include
7916 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7918 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7919 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7920 (add_system_dir): New macro.
7922 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7923 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7925 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7936 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7938 * math/w_j0f.c (j0f): Likewise.
7940 * math/w_j0l.c (__j0l): Likewise.
7942 * math/w_j1.c (j1): Likewise.
7944 * math/w_j1f.c (j1f): Likewise.
7946 * math/w_j1l.c (__j1l): Likewise.
7948 * math/w_jn.c (jn): Likewise.
7950 * math/w_jnf.c (jnf): Likewise.
7952 * math/w_jnl.c (__jnl): Likewise.
7954 * math/libm-test.inc (j0_test): Add more tests.
7955 (j1_test): Likewise.
7956 (jn_test): Likewise. Add trailing semicolon to existing test.
7957 (y0_test): Likewise.
7958 (y1_test): Likewise.
7959 * sysdeps/i386/fpu/libm-test-ulps: Update.
7960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7964 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7965 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7966 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7967 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7968 (__tanl): Set errno for infinite argument.
7969 * sysdeps/i386/fpu/mptan.c: Remove.
7970 * sysdeps/i386/fpu/s_tan.S: Likewise.
7971 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7972 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7973 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7974 * math/libm-test.inc (tan_test): Add more tests and enable more
7975 tests for double and long double.
7976 * sysdeps/i386/fpu/libm-test-ulps: Update.
7977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7979 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7981 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7982 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7984 2012-03-16 Roland McGrath <roland@hack.frob.com>
7986 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7987 * configure.in: Use it for both main tree and add-ons.
7988 * configure: Regenerated.
7990 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7992 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7994 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7996 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8000 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8001 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8002 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8003 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8004 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8006 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8007 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8009 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8010 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8011 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8012 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8013 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8014 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8015 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8016 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8017 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8018 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8019 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8020 * math/libm-test.inc (cos_test): Add more tests and enable more
8021 tests for long double.
8022 (sin_test): Likewise.
8023 (sincos_test): Likewise.
8024 * sysdeps/i386/fpu/libm-test-ulps: Update.
8025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8027 2012-03-16 David S. Miller <davem@davemloft.net>
8029 * sysdeps/sparc/fpu/math_private.h: New file.
8031 2012-03-15 David S. Miller <davem@davemloft.net>
8033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8047 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8048 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8050 * sysdeps/sparc/sparc-ifunc.h: New file.
8051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8078 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8089 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8090 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8091 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8092 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8093 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8094 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8096 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8098 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8102 2012-03-15 Andreas Jaeger <aj@suse.de>
8105 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8106 ieee754/flt-32 implementation for sin, cos and sincos.
8107 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8108 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8109 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8110 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8111 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8112 ieee754/flt-32 implementation for tan.
8114 * math/libm-test.inc (cos_test): Enable some large input tests for
8116 (sin_test): Likewise.
8117 (sincos_test): Likewise.
8118 (tan_test): Add tests for large input.
8120 * sysdeps/i386/fpu/libm-test-ulps: Update.
8122 2012-03-15 Andreas Jaeger <aj@suse.de>
8125 * math/libm-test.inc (cos_test): Add more test cases.
8126 (sin_test): Likewise.
8127 (sincos_test): Likewise.
8129 2012-03-15 Andreas Jaeger <aj@suse.de>
8132 * math/libm-test.inc (cos_test): Add a test case for large input
8134 (sin_test): Likewise.
8135 (sincos_test): Likewise.
8137 2012-03-15 Andreas Jaeger <aj@suse.de>,
8138 Joseph Myers <joseph@codesourcery.com>
8141 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8142 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8143 * sysdeps/i386/fpu/branred.c: Likewise.
8144 * sysdeps/i386/fpu/dosincos.c: Likewise.
8145 * sysdeps/i386/fpu/mpa.c: Likewise.
8146 * sysdeps/i386/fpu/s_cos.S: Likewise.
8147 * sysdeps/i386/fpu/s_sin.S: Likewise.
8148 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8149 * sysdeps/i386/fpu/sincos32.c: Likewise.
8151 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8153 (libc_feupdateenv_53bit): Define.
8154 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8156 (libc_feupdateenv_53bit): Define.
8158 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8159 53 bit (without extend i386 double precision).
8161 * math/libm-test.inc (sincos_test): Add tests for large input.
8165 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8167 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8171 2012-03-15 David S. Miller <davem@davemloft.net>
8173 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8174 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8175 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8176 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8200 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8201 fmin/fmax sysdep routines.
8202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8204 2012-03-14 David S. Miller <davem@davemloft.net>
8206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8212 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8213 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8226 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8229 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8231 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8232 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8233 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8234 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8278 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8283 * sysdeps/sparc/configure.in: New file.
8284 * sysdeps/sparc/configure: Generate.
8285 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8286 * configure: Regenerate.
8287 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8288 * config.make.in (have-as-vis3): New.
8289 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8290 available use -Av9d instead of -Av9a.
8291 * sysdeps/sparc/sparc64/Makefile: Likewise.
8292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8301 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8302 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8303 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8307 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8308 fzeros/fnegs to load 0x80000000 into a float register instead of
8310 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8312 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8316 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8317 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8318 ($(inst_includedir)/bits/syscall.h): Remove rule.
8319 ($(objpfx)bits/syscall.d): Include instead of
8320 $(objpfx)syscall-list.d.
8321 (generated): Change syscall-list.h and syscall-list.d to
8322 bits/syscall.h and bits/syscall.d.
8324 2012-03-14 Roland McGrath <roland@hack.frob.com>
8327 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8329 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8332 * math/s_csqrt.c: Include <float.h>.
8333 (__csqrt): Scale large or subnormal inputs.
8334 * math/s_csqrtf.c: Likewise.
8335 * math/s_csqrtl.c: Likewise.
8336 * math/libm-test.inc (csqrt_test): Add more tests.
8337 * sysdeps/i386/fpu/libm-test-ulps: Update.
8338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8341 * math/libm-test.inc (hypot_test): Add more tests.
8343 2012-03-13 David S. Miller <davem@davemloft.net>
8346 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8347 double-precision for the calculation instead of scaling.
8349 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8351 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8352 manipulate bits before adding and subtracting TWO52[sx].
8353 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8354 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8356 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8358 2012-03-13 David S. Miller <davem@davemloft.net>
8360 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8361 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8363 rtld-global-offsets.h
8364 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8366 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8369 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8371 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8372 'err' in the ifdef scope in which it is actually used.
8374 * nss/nss_db/db-init.c: Include string.h
8376 2012-03-12 David S. Miller <davem@davemloft.net>
8378 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8379 masking out of the most significant byte of random value used.
8380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8381 Fix coding style in previous change.
8383 * sysdeps/unix/sysv/linux/kernel-features.h
8384 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8385 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8387 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8390 2012-03-11 David S. Miller <davem@davemloft.net>
8392 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8393 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8394 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8395 for 'resultvar' otherwise things get truncated on 64-bit.
8397 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8398 Fix masking out of the most significant byte of random value used.
8400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8402 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8406 2012-03-09 David S. Miller <davem@davemloft.net>
8408 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8409 variables with appropriate CPP guards.
8410 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8411 frame pointer, not the stack pointer. Correct layout comments. Fix test
8412 on resulting framesize and the management of the outregs buffer for pltexit.
8413 Preserve floating point return values across _dl_call_pltexit call.
8414 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8415 framesize and the management of the outregs buffer for pltexit.
8416 Preserve floating point return values across _dl_call_pltexit
8418 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8419 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8420 (print_exit): Fix format string for return register value.
8422 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8424 * sunrpc/Makefile (others): Add rpcgen.
8425 ($(objpfx)rpcgen): Remove special build rule and dependency on
8427 * sunrpc/rpcgen.c: New file.
8429 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8432 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8433 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8434 * sysdeps/i386/crti.S: Likewise.
8435 * sysdeps/i386/crtn.S: Likewise.
8436 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8437 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8438 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8439 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8440 * sysdeps/sh/crti.S: Likewise.
8441 * sysdeps/sh/crtn.S: Likewise.
8442 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8445 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8447 * locale/programs/locfile-kw.gperf: Likewise.
8448 * locale/programs/charmap-kw.h: Regenerated.
8449 * locale/programs/locfile-kw.h: Likewise.
8452 * intl/plural.y: Replace FSF snail mail address with URL.
8453 * intl/plural.c: Regenerated.
8455 2012-03-09 Richard Henderson <rth@twiddle.net>
8457 * include/math_private.h: Remove file.
8458 * math/math_private.h: Move file ...
8459 * sysdeps/generic/math_private.h: ... here.
8461 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8462 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8463 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8465 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8466 and <math_private.h>.
8467 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8468 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8469 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8470 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8471 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8473 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8474 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8475 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8478 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8479 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8480 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8488 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8493 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8494 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8496 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8555 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8556 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8557 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8558 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8559 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8560 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8561 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8562 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8563 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8564 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8565 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8566 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8567 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8568 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8569 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8570 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8571 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8572 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8573 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8574 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8575 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8576 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8577 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8578 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8579 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8580 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8581 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8582 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8583 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8584 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8585 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8586 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8587 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8588 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8589 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8590 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8591 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8592 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8593 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8594 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8595 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8596 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8597 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8598 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8599 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8600 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8601 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8602 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8603 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8604 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8605 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8606 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8607 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8608 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8609 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8610 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8611 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8612 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8613 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8614 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8615 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8616 * sysdeps/ieee754/k_standard.c: Likewise.
8617 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8618 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8619 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8620 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8621 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8625 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8626 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8627 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8629 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8630 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8631 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8633 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8634 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8635 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8636 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8637 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8638 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8639 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8640 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8641 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8642 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8643 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8644 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8645 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8646 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8732 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8736 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8737 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8739 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8744 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8749 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8765 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8766 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8767 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8777 * sysdeps/ieee754/s_lib_version.c: Likewise.
8778 * sysdeps/ieee754/s_matherr.c: Likewise.
8779 * sysdeps/ieee754/s_signgam.c: Likewise.
8780 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8781 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8782 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8783 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8784 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8785 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8786 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8787 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8788 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8789 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8790 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8791 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8792 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8793 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8794 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8795 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8796 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8797 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8798 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8799 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8800 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8802 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8804 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8805 * sunrpc/rpc_main.c: Likewise.
8806 * sunrpc/rpc_svcout.c: Likewise.
8808 2012-03-09 David S. Miller <davem@davemloft.net>
8810 * include/math_private.h: New file.
8812 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8814 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8815 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8816 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8817 from <bits/socket_type.h>.
8818 (enum __socket_type): Don't define here.
8819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8824 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8827 * Makerules ($(inst_includedir)/%.h): New rule.
8828 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8829 (install-others): Remove variable setting.
8830 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8832 2012-03-08 Richard Henderson <rth@twiddle.net>
8834 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8835 from macro to inline function; merge with the
8836 !__LIBC_INTERNAL_MATH_INLINES version.
8837 (__ieee754_sqrtf): Likewise.
8839 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8841 (__rintf, __floor, __floorf): Likewise.
8843 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8844 macro to inline function.
8845 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8847 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8848 not <math/math_private.h>.
8850 2012-03-08 David S. Miller <davem@davemloft.net>
8852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8854 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8856 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8858 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8860 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8861 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8863 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8865 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8866 be defined individually, they must be defined as a block. Define
8867 S for printing a string instead of hidint the different by using a
8868 macro for adding the 'l'.
8869 * stdio-common/tst-fphex-wide.c: Adjust.
8871 2012-03-07 Marek Polacek <polacek@redhat.com>
8873 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8875 2012-03-08 Marek Polacek <polacek@redhat.com>
8878 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8879 * stdio-common/tst-fphex.c: Define a few macros to make the
8880 test reusable. Use them.
8881 * stdio-common/tst-fphex-wide.c: New file.
8883 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8886 * manual/macros.texi (gnusystems): New macro.
8887 (nongnusystems): Likewise.
8888 (gnulinuxhurdsystems): Likewise.
8889 (gnuhurdsystems): Likewise..
8890 (gnulinuxsystems): Likewise.
8891 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8892 variants of the GNU system, not "GNU system".
8893 * manual/conf.texi: Likewise.
8894 * manual/errno.texi: Likewise. Update example of errno macro
8896 * manual/filesys.texi: Likewise.
8897 (getumask): Document as specific to GNU/Hurd.
8898 * manual/install.texi: Likewise. Reword some references to
8900 * manual/intro.texi: Likewise.
8901 * manual/io.texi: Likewise.
8902 (File Name Portability): Detail which constraints are inapplicable
8903 to all GNU systems and which are only inapplicable to GNU/Hurd.
8904 * manual/job.texi: Likewise.
8905 * manual/llio.texi: Likewise.
8906 (O_NOCTTY): Document as present on GNU/Linux.
8907 * manual/maint.texi: Likewise.
8908 * manual/memory.texi: Likewise.
8909 * manual/pattern.texi: Likewise.
8910 * manual/pipe.texi: Likewise.
8911 * manual/process.texi: Likewise.
8912 * manual/resource.texi: Likewise.
8913 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8915 * manual/setjmp.texi: Likewise.
8916 * manual/signal.texi: Likewise.
8917 * manual/startup.texi: Likewise.
8918 * manual/stdio.texi: Likewise.
8919 * manual/terminal.texi: Likewise.
8920 (ONLCR): Document as POSIX.
8921 (OXTABS): Document availability on GNU/Linux as XTABS.
8922 (ONOEOT): Document availability separately from other bits.
8923 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8924 * manual/time.texi: Likewise.
8925 * manual/users.texi: Likewise.
8926 * INSTALL: Regenerated.
8927 * sysdeps/gnu/errlist.c: Regenerated.
8929 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8930 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8931 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8933 * configure: Regenerated.
8935 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8937 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8938 default includes instead of AC_HEADER_CHECK.
8939 * sysdeps/i386/configure: Regenerated.
8942 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8943 * math/s_cacoshf.c (__cacoshf): Likewise.
8944 * math/s_cacoshl.c (__cacoshl): Likewise.
8945 * math/s_casinh.c (__casinh): Set signs of result from argument.
8946 * math/s_casinhf.c (__casinhf): Likewise.
8947 * math/s_casinhl.c (__casinhl): Likewise.
8948 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8949 (casinh_test): Add more tests.
8950 * sysdeps/i386/fpu/libm-test-ulps: Update.
8951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8953 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8955 * po/zh_TW.po: Update from translation team.
8957 * login/Makefile (distribute): Remove variable.
8958 * catgets/Makefile: Likewise.
8959 * mach/Makefile: Likewise.
8960 * malloc/Makefile: Likewise.
8961 * misc/Makefile: Likewise.
8962 * iconv/Makefile: Likewise.
8963 * nscd/Makefile: Likewise.
8964 * hurd/Makefile: Likewise.
8965 * manual/Makefile: Likewise.
8966 * locale/Makefile: Likewise.
8967 * intl/Makefile: Likewise.
8968 * conform/Makefile: Likewise.
8969 * nss/Makefile: Likewise.
8970 * time/Makefile: Likewise.
8971 * soft-fp/Makefile: Likewise.
8972 * dirent/Makefile: Likewise.
8973 * gmon/Makefile: Likewise.
8974 * po/Makefile: Likewise.
8975 * rt/Makefile: Likewise.
8976 * socket/Makefile: Likewise.
8977 * math/Makefile: Likewise.
8978 * signal/Makefile: Likewise.
8979 * debug/Makefile: Likewise.
8980 * elf/Makefile: Likewise.
8981 * timezone/Makefile: Likewise.
8982 * stdlib/Makefile: Likewise.
8983 * iconvdata/Makefile: Likewise.
8984 * sunrpc/Makefile: Likewise.
8985 * io/Makefile: Likewise.
8986 * argp/Makefile: Likewise.
8987 * inet/Makefile: Likewise.
8988 * hesiod/Makefile: Likewise.
8989 * grp/Makefile: Likewise.
8990 * csu/Makefile: Likewise.
8991 * wctype/Makefile: Likewise.
8992 * crypt/Makefile: Likewise.
8993 * libio/Makefile: Likewise.
8994 * string/Makefile: Likewise.
8995 * nis/Makefile: Likewise.
8996 * resolv/Makefile: Likewise.
8997 * stdio-common/Makefile: Likewise.
8998 * wcsmbs/Makefile: Likewise.
8999 * dlfcn/Makefile: Likewise.
9000 * posix/Makefile: Likewise.
9003 * timezone/Makefile: Don't install timezone files, just the programs
9006 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9008 * nss/databases.def: Add missing gshadow entry.
9010 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9012 2012-03-06 Marek Polacek <polacek@redhat.com>
9015 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9016 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9017 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9018 * stdio-common/tst-long-dbl-fphex.c: New file.
9020 2012-03-06 David S. Miller <davem@davemloft.net>
9022 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9023 (set_obp_int): New function.
9024 (get_obp_int): New function.
9025 (__get_clockfreq_via_dev_openprom): Likewise.
9026 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9027 Avoid unused variable warnings on 'val' and use builtin_expect.
9028 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9030 (INLINE_CLONE_SYSCALL): Likewise.
9032 2012-03-05 David S. Miller <davem@davemloft.net>
9034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9036 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9040 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9042 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9044 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9046 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9047 Replace gettimeofday with __vdso_gettimeofday.
9049 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9050 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9051 __vdso_clock_gettime and __vdso_getcpu.
9053 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9054 time with __vdso_time.
9056 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9058 * manual/lang.texi (size_t): Note types to which size_t may be
9059 equivalent with the GNU C Library, but do not describe when
9060 differences between them are significant.
9062 2012-03-05 Andreas Jaeger <aj@suse.de>
9064 * sysdeps/i386/fpu/libm-test-ulps: Update.
9066 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9069 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9070 (__ieee754_pow): Save and restore rounding mode and use
9071 round-to-nearest for main computations.
9072 * math/libm-test.inc (pow_test_tonearest): New function.
9073 (pow_test_towardzero): Likewise.
9074 (pow_test_downward): Likewise.
9075 (pow_test_upward): Likewise.
9076 (main): Call the new functions.
9077 * sysdeps/i386/fpu/libm-test-ulps: Update.
9078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9081 * math/libm-test.inc (cosh_test_tonearest): New function.
9082 (cosh_test_towardzero): Likewise.
9083 (cosh_test_downward): Likewise.
9084 (cosh_test_upward): Likewise.
9085 (sinh_test_tonearest): Likewise.
9086 (sinh_test_towardzero): Likewise.
9087 (sinh_test_downward): Likewise.
9088 (sinh_test_upward): Likewise.
9089 (main): Call the new functions.
9090 * sysdeps/i386/fpu/libm-test-ulps: Update.
9091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9093 2012-03-05 Tom de Vries <tom@codesourcery.com>
9095 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9096 default stack guard is set in last bytes.
9097 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9099 2012-03-05 Kees Cook <keescook@chromium.org>
9101 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9104 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9105 possibly allocate from heap instead of stack.
9106 * stdio-common/bug-vfprintf-nargs.c: New file.
9107 * stdio-common/Makefile (tests): Add nargs overflow test.
9109 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9113 2012-03-03 Marek Polacek <polacek@redhat.com>
9115 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9116 * math/math_private.h: Likewise.
9117 * stdlib/tst-strtod.c: Likewise.
9118 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9119 * sysdeps/x86_64/bits/atomic.h: Likewise.
9121 2012-03-02 David S. Miller <davem@davemloft.net>
9123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9127 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9128 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9129 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9130 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9132 2012-03-02 Roland McGrath <roland@hack.frob.com>
9135 * manual/examples/README: New file, says the example source files
9136 can be used under GPL>=2.
9137 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9138 line containing just "*/".
9139 * manual/examples/add.c: Add copyright header (GPL>=2).
9140 * manual/examples/argp-ex1.c: Likewise.
9141 * manual/examples/argp-ex2.c: Likewise.
9142 * manual/examples/argp-ex3.c: Likewise.
9143 * manual/examples/argp-ex4.c: Likewise.
9144 * manual/examples/atexit.c: Likewise.
9145 * manual/examples/db.c: Likewise.
9146 * manual/examples/dir.c: Likewise.
9147 * manual/examples/dir2.c: Likewise.
9148 * manual/examples/execinfo.c: Likewise.
9149 * manual/examples/filecli.c: Likewise.
9150 * manual/examples/filesrv.c: Likewise.
9151 * manual/examples/fmtmsgexpl.c: Likewise.
9152 * manual/examples/genpass.c: Likewise.
9153 * manual/examples/inetcli.c: Likewise.
9154 * manual/examples/inetsrv.c: Likewise.
9155 * manual/examples/isockad.c: Likewise.
9156 * manual/examples/longopt.c: Likewise.
9157 * manual/examples/memopen.c: Likewise.
9158 * manual/examples/memstrm.c: Likewise.
9159 * manual/examples/mkfsock.c: Likewise.
9160 * manual/examples/mkisock.c: Likewise.
9161 * manual/examples/mygetpass.c: Likewise.
9162 * manual/examples/pipe.c: Likewise.
9163 * manual/examples/popen.c: Likewise.
9164 * manual/examples/rprintf.c: Likewise.
9165 * manual/examples/search.c: Likewise.
9166 * manual/examples/select.c: Likewise.
9167 * manual/examples/setjmp.c: Likewise.
9168 * manual/examples/sigh1.c: Likewise.
9169 * manual/examples/sigusr.c: Likewise.
9170 * manual/examples/stpcpy.c: Likewise.
9171 * manual/examples/strdupa.c: Likewise.
9172 * manual/examples/strftim.c: Likewise.
9173 * manual/examples/strncat.c: Likewise.
9174 * manual/examples/subopt.c: Likewise.
9175 * manual/examples/swapcontext.c: Likewise.
9176 * manual/examples/termios.c: Likewise.
9177 * manual/examples/testopt.c: Likewise.
9178 * manual/examples/testpass.c: Likewise.
9179 * manual/examples/timeval_subtract.c: Likewise.
9182 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9184 * manual/timeval_subtract.c.texi: ... here, new file.
9186 2012-03-02 David S. Miller <davem@davemloft.net>
9188 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9190 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9193 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9194 (__sin): Save and restore rounding mode and use round-to-nearest
9195 for all computations.
9196 (__cos): Save and restore rounding mode and use round-to-nearest
9197 for all computations.
9198 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9200 (tan): Save and restore rounding mode and use round-to-nearest for
9202 * math/libm-test.inc (cos_test_tonearest): New function.
9203 (cos_test_towardzero): Likewise.
9204 (cos_test_downward): Likewise.
9205 (cos_test_upward): Likewise.
9206 (sin_test_tonearest): Likewise.
9207 (sin_test_towardzero): Likewise.
9208 (sin_test_downward): Likewise.
9209 (sin_test_upward): Likewise.
9210 (tan_test_tonearest): Likewise.
9211 (tan_test_towardzero): Likewise.
9212 (tan_test_downward): Likewise.
9213 (tan_test_upward): Likewise.
9214 (main): Call the new functions.
9215 * sysdeps/i386/fpu/libm-test-ulps: Update.
9216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9219 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9220 small n, then large n, before computing and testing k+n.
9221 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9222 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9224 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9226 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9227 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9228 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9229 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9231 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9232 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9233 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9234 * math/libm-test.inc (scalbn_test): Add more tests.
9235 (scalbln_test): Likewise.
9237 * manual/filesys.texi (mode_t): Describe constraints on size and
9238 signedness, not exact equivalence to a particular type.
9240 (ino64_t): Likewise.
9242 (nlink_t): Likewise.
9243 (blkcnt_t): Likewise.
9244 (blkcnt64_t): Likewise.
9245 * manual/llio.texi (off_t): Likewise.
9248 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9249 (__ieee754_exp): Save and restore rounding mode and use
9250 round-to-nearest for all computations.
9251 * math/libm-test.inc (exp_test_tonearest): New function.
9252 (exp_test_towardzero): Likewise.
9253 (exp_test_downward): Likewise.
9254 (exp_test_upward): Likewise.
9255 (main): Call the new functions.
9256 * sysdeps/i386/fpu/libm-test-ulps: Update.
9257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9259 2012-03-01 Chris Demetriou <cgd@google.com>
9261 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9262 have predictable order.
9264 2012-03-01 David S. Miller <davem@davemloft.net>
9266 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9268 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9269 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9270 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9271 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9273 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9274 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9275 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9277 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9278 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9279 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9280 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9281 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9285 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9286 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9287 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9289 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9290 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9291 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9292 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9293 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9294 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9295 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9296 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9297 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9298 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9299 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9300 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9301 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9302 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9303 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9304 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9305 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9306 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9307 * sysdeps/sparc/elf/configure: Regenerated.
9309 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9311 * configure.in (AS, LD): Require binutils 2.20 or later.
9312 * configure: Regenerated.
9313 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9314 as required minimum version.
9315 * INSTALL: Regenerated.
9319 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9320 before squaring exponent.
9321 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9322 bottom long double and 27 bits of top long double before squaring
9324 * math/libm-test.inc (erfc_test): Add more tests.
9325 * sysdeps/i386/fpu/libm-test-ulps: Update.
9326 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9329 2012-03-01 Kai Tietz <ktietz@redhat.com>
9331 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9332 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9333 containing bit-fields.
9334 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9335 * soft-fp/single.h (_FP_UNION_S): Likewise.
9336 * soft-fp/double.h (_FP_UNION_D): Likewise.
9338 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9341 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9342 not include ../strcmp.S.
9343 [USE_AS_STRNCASECMP_L]: Likewise.
9344 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9345 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9346 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9347 (__strncasecmp_l_ia32): Define as alias to
9348 __strncasecmp_l_nonascii.
9351 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9352 * sysdeps/i386/fpu/libm-test-ulps: Update.
9353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9355 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9358 2012-02-29 Jeff Law <law@redhat.com>
9360 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9363 2012-02-29 Marek Polacek <polacek@redhat.com>
9366 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9367 * elf/Makefile: Add rules to run tst-unused-dep.out.
9369 2012-02-28 David S. Miller <davem@davemloft.net>
9371 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9372 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9373 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9375 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9376 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9378 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9380 * math/libm-test.inc (llround_test): Move one test from
9381 lround_test. Use TEST_f_L in moved test.
9382 (lround_test): Move misplaced test to llround_test. Add testcase
9385 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9387 * sysdeps/x86_64/fpu/e_expf.S: New file.
9388 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9390 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9393 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9394 of remain_len that may cause incomplete multi-byte character and
9396 * posix/bug-regex33.c: New file.
9397 * posix/Makefile (tests): Add bug-regex33.
9399 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9401 * manual/macros.texi: New file.
9402 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9403 * manual/libc.texinfo: Include macros.texi.
9404 * manual/creatute.texi: Likewise.
9405 * manual/install.texi: Likewise.
9406 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9407 @glibcadj{} in references to the GNU C Library.
9408 * manual/charset.texi: Likewise.
9409 * manual/conf.texi: Likewise.
9410 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9411 when not using those macros.
9412 * manual/creature.texi: Likewise.
9413 * manual/crypt.texi: Likewise.
9414 * manual/errno.texi: Likewise.
9415 * manual/filesys.texi: Likewise.
9416 * manual/header.texi: Likewise.
9417 * manual/install.texi: Likewise.
9418 * manual/intro.texi: Likewise.
9419 * manual/io.texi: Likewise.
9420 * manual/job.texi: Likewise.
9421 * manual/lang.texi: Likewise.
9422 * manual/libc.texiinfo: Likewise.
9423 * manual/llio.texi: Likewise.
9424 * manual/locale.texi: Likewise.
9425 * manual/maint.texi: Likewise.
9426 * manual/math.texi: Likewise.
9427 * manual/memory.texi: Likewise.
9428 * manual/message.texi: Likewise.
9429 * manual/nss.texi: Likewise.
9430 * manual/pattern.texi: Likewise.
9431 * manual/process.texi: Likewise.
9432 * manual/resource.texi: Likewise.
9433 * manual/search.texi: Likewise.
9434 * manual/setjmp.texi: Likewise.
9435 * manual/signal.texi: Likewise.
9436 * manual/socket.texi: Likewise.
9437 * manual/startup.texi: Likewise.
9438 * manual/stdio.texi: Likewise.
9439 * manual/string.texi: Likewise.
9440 * manual/sysinfo.texi: Likewise.
9441 * manual/syslog.texi: Likewise.
9442 * manual/terminal.texi: Likewise.
9443 * manual/time.texi: Likewise.
9444 * manual/users.texi: Likewise.
9445 * INSTALL: Regenerated.
9446 * NOTES: Regenerated.
9447 * sysdeps/gnu/errlist.c: Regenerated.
9449 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9451 * include/dirent.h: Include <dirstream.h> before
9454 2012-02-28 David S. Miller <davem@davemloft.net>
9456 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9457 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9458 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9459 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9461 2012-02-27 David S. Miller <davem@davemloft.net>
9463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9465 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9466 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9469 frame pointer instead of stack pointer relative arg slot.
9470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9471 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9472 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9474 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9477 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9479 2012-02-27 David S. Miller <davem@davemloft.net>
9481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9485 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9486 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9487 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9488 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9490 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9492 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9493 later. Allow versions 5-9.
9494 * configure: Regenerated.
9495 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9496 required minimum version and 4.6 as recommended version. Do not
9497 mention bugs in GCC 2.7 and 2.8.
9498 * INSTALL: Regenerated.
9500 2012-02-27 David S. Miller <davem@davemloft.net>
9502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9506 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9507 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9508 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9509 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9511 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9512 manipulate bits before adding and subtracting TWO112[sx].
9513 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9515 2012-02-27 Roland McGrath <roland@hack.frob.com>
9518 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9519 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9520 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9521 being in POSIX, because they are in 1003.1-2008.
9523 * rt/tst-aio.c: Include <fcntl.h>.
9524 * rt/tst-aio7.c: Likewise.
9525 * rt/tst-aio64.c: Likewise.
9527 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9529 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9531 * manual/install.texi (--with-headers): Describe headers as
9532 interface headers, not private headers.
9533 (Specific advice for GNU/Linux systems): Describe use of headers
9534 from "make headers_install", not private headers from older
9536 * INSTALL: Regenerated.
9537 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9539 * sysdeps/unix/sysv/linux/configure: Regenerated.
9541 * manual/llio.texi (fclean): Remove documentation.
9543 * manual/Makefile (libc-texi-generated): New variable. Include
9545 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9546 $(libc-texi-generated), not duplicated list of files.
9547 (version.texi, stamp-version): New rules.
9548 (realclean): Remove $(libc-texi-generated), not individual files
9549 from that list. Do not remove dir-add.texinfo.
9550 * manual/libc.texinfo: Comment out uses of edition numbers and
9551 references to printed manual. Remove last-updated dates.
9552 (EDITION): Comment out.
9554 (VERSION, UPDATED): Remove.
9555 (version.texi): Include.
9557 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9559 * sysdeps/posix/spawni.c: Include <signal.h>.
9560 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9561 * sysdeps/pthread/aio_fsync.c: Likewise.
9563 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9565 * conform/Makefile (tests): Run only when not cross-compiling and
9566 when fast-check is not defined.
9568 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9569 * conform/data/limits.h-data: Fixes for POSIX2008.
9570 * conform/run-conformtest.sh: Run all tests.
9571 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9573 * include/bits/dlfcn.h: Likewise.
9574 * include/langinfo.h: Likewise.
9575 * include/monetary.h: Likewise.
9576 * include/sys/poll.h: Likewise.
9578 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9580 * posix/spawn.h: Define __need_sigset_t.
9581 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9582 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9583 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9584 to get sigevent_t only.
9585 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9588 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9589 process_vm_writev only for __USE_GNU.
9590 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9592 * conform/Makefile: For now ignore errors from run-conformtest.
9593 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9594 POSIX to avoid namespace pollution. Don't prepend headers.
9595 * conform/data/aio.h-data: Fixes for POSIX testing.
9596 * conform/data/fcntl.h-data: Likewise.
9597 * conform/data/glob.h-data: Likewise.
9598 * conform/data/grp.h-data: Likewise.
9599 * conform/data/pthread.h-data: Likewise.
9600 * conform/data/pwd.h-data: Likewise.
9601 * conform/data/signal.h-data: Likewise.
9602 * conform/data/spawn.h-data: Likewise.
9603 * conform/data/stdio.h-data: Likewise.
9604 * conform/data/stdlib.h-data: Likewise.
9605 * conform/data/stropts.h-data: Likewise.
9606 * conform/data/sys/mman.h-data: Likewise.
9607 * conform/data/sys/stat.h-data: Likewise.
9608 * conform/data/sys/types.h-data: Likewise.
9609 * conform/data/sys/wait.h-data: Likewise.
9610 * conform/data/time.h-data: Likewise.
9611 * conform/data/unistd.h-data: Likewise.
9612 * conform/data/utime.h-data: Likewise.
9614 * io/sys/stat.h: fchmod was always in POSIX.
9615 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9616 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9617 * rt/aio.h: Define __need_timespec before including <time.h>.
9618 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9619 struct. Add forward declaration of pthread_attr_t and use it in
9621 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9622 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9623 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9624 always remove CLK_TCK definition.
9626 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9628 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9630 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9632 * conform/run-conformtest.sh: New file.
9633 * conform/Makefile: Run run-conformtest for tests.
9634 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9637 * conform/data/uchar.h-data: New file.
9638 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9639 * conform/data/arpa/inet.h-data: Likewise.
9640 * conform/data/assert.h-data: Likewise.
9641 * conform/data/complex.h-data: Likewise.
9642 * conform/data/cpio.h-data: Likewise.
9643 * conform/data/ctype.h-data: Likewise.
9644 * conform/data/dirent.h-data: Likewise.
9645 * conform/data/dlfcn.h-data: Likewise.
9646 * conform/data/errno.h-data: Likewise.
9647 * conform/data/fcntl.h-data: Likewise.
9648 * conform/data/float.h-data: Likewise.
9649 * conform/data/fmtmsg.h-data: Likewise.
9650 * conform/data/fnmatch.h-data: Likewise.
9651 * conform/data/ftw.h-data: Likewise.
9652 * conform/data/glob.h-data: Likewise.
9653 * conform/data/grp.h-data: Likewise.
9654 * conform/data/iconv.h-data: Likewise.
9655 * conform/data/inttypes.h-data: Likewise.
9656 * conform/data/langinfo.h-data: Likewise.
9657 * conform/data/libgen.h-data: Likewise.
9658 * conform/data/limits.h-data: Likewise.
9659 * conform/data/locale.h-data: Likewise.
9660 * conform/data/math.h-data: Likewise.
9661 * conform/data/monetary.h-data: Likewise.
9662 * conform/data/mqueue.h-data: Likewise.
9663 * conform/data/ndbm.h-data: Likewise.
9664 * conform/data/net/if.h-data: Likewise.
9665 * conform/data/netdb.h-data: Likewise.
9666 * conform/data/netinet/in.h-data: Likewise.
9667 * conform/data/nl_types.h-data: Likewise.
9668 * conform/data/poll.h-data: Likewise.
9669 * conform/data/pthread.h-data: Likewise.
9670 * conform/data/pwd.h-data: Likewise.
9671 * conform/data/regex.h-data: Likewise.
9672 * conform/data/sched.h-data: Likewise.
9673 * conform/data/search.h-data: Likewise.
9674 * conform/data/semaphore.h-data: Likewise.
9675 * conform/data/setjmp.h-data: Likewise.
9676 * conform/data/signal.h-data: Likewise.
9677 * conform/data/spawn.h-data: Likewise.
9678 * conform/data/stdarg.h-data: Likewise.
9679 * conform/data/stdio.h-data: Likewise.
9680 * conform/data/stdlib.h-data: Likewise.
9681 * conform/data/string.h-data: Likewise.
9682 * conform/data/strings.h-data: Likewise.
9683 * conform/data/stropts.h-data: Likewise.
9684 * conform/data/sys/ipc.h-data: Likewise.
9685 * conform/data/sys/mman.h-data: Likewise.
9686 * conform/data/sys/msg.h-data: Likewise.
9687 * conform/data/sys/resource.h-data: Likewise.
9688 * conform/data/sys/select.h-data: Likewise.
9689 * conform/data/sys/sem.h-data: Likewise.
9690 * conform/data/sys/shm.h-data: Likewise.
9691 * conform/data/sys/socket.h-data: Likewise.
9692 * conform/data/sys/stat.h-data: Likewise.
9693 * conform/data/sys/statvfs.h-data: Likewise.
9694 * conform/data/sys/time.h-data: Likewise.
9695 * conform/data/sys/timeb.h-data: Likewise.
9696 * conform/data/sys/times.h-data: Likewise.
9697 * conform/data/sys/types.h-data: Likewise.
9698 * conform/data/sys/uio.h-data: Likewise.
9699 * conform/data/sys/un.h-data: Likewise.
9700 * conform/data/sys/utsname.h-data: Likewise.
9701 * conform/data/sys/wait.h-data: Likewise.
9702 * conform/data/syslog.h-data: Likewise.
9703 * conform/data/tar.h-data: Likewise.
9704 * conform/data/termios.h-data: Likewise.
9705 * conform/data/utime.h-data: Likewise.
9706 * conform/data/utmpx.h-data: Likewise.
9707 * conform/data/varargs.h-data: Likewise.
9708 * conform/data/wchar.h-data: Likewise.
9709 * conform/data/wctype.h-data: Likewise.
9710 * conform/data/wordexp.h-data: Likewise.
9712 * include/stropts.h: New file.
9713 * include/uchar.h: New file.
9714 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9715 * include/assert.h: Likewise.
9716 * include/ctype.h: Likewise.
9717 * include/dirent.h: Likewise.
9718 * include/dlfcn.h: Likewise.
9719 * include/fcntl.h: Likewise.
9720 * include/fnmatch.h: Likewise.
9721 * include/glob.h: Likewise.
9722 * include/grp.h: Likewise.
9723 * include/libio.h: Likewise.
9724 * include/locale.h: Likewise.
9725 * include/math.h: Likewise.
9726 * include/net/if.h: Likewise.
9727 * include/netdb.h: Likewise.
9728 * include/netinet/in.h: Likewise.
9729 * include/pthread.h: Likewise.
9730 * include/pwd.h: Likewise.
9731 * include/regex.h: Likewise.
9732 * include/sched.h: Likewise.
9733 * include/search.h: Likewise.
9734 * include/setjmp.h: Likewise.
9735 * include/signal.h: Likewise.
9736 * include/stdio.h: Likewise.
9737 * include/stdlib.h: Likewise.
9738 * include/string.h: Likewise.
9739 * include/sys/cdefs.h: Likewise.
9740 * include/sys/mman.h: Likewise.
9741 * include/sys/msg.h: Likewise.
9742 * include/sys/resource.h: Likewise.
9743 * include/sys/select.h: Likewise.
9744 * include/sys/socket.h: Likewise.
9745 * include/sys/stat.h: Likewise.
9746 * include/sys/statvfs.h: Likewise.
9747 * include/sys/time.h: Likewise.
9748 * include/sys/times.h: Likewise.
9749 * include/sys/uio.h: Likewise.
9750 * include/sys/utsname.h: Likewise.
9751 * include/sys/wait.h: Likewise.
9752 * include/termios.h: Likewise.
9753 * include/time.h: Likewise.
9754 * include/ulimit.h: Likewise.
9755 * include/unistd.h: Likewise.
9756 * include/utime.h: Likewise.
9757 * include/wchar.h: Likewise.
9758 * include/wctype.h: Likewise.
9759 * include/wordexp.h: Likewise.
9761 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9763 * time/time.h: TIME_UTC must be a macro.
9764 Make timespec_get available for ISO C11 only as well.
9766 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9768 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9769 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9771 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9773 * configure.in: Use -o not -a in test for unsupported multi-arch.
9775 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9777 * manual/texinfo.tex: Update to version 2012-01-19.16.
9779 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9781 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9783 2012-02-24 Roland McGrath <roland@hack.frob.com>
9786 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9787 * manual/fdl-1.3.texi: New file.
9788 * manual/fdl-1.1.texi: File removed.
9791 * manual/libc.texinfo (FDL_VERSION): New @set.
9792 Use it for mention of FDL in cover text.
9793 (Documentation License): Use it in @include file name.
9795 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9796 Roland McGrath <roland@hack.frob.com>
9799 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9800 not LONG_LONG_MAX and LONG_LONG_MIN.
9801 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9802 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9804 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9806 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9810 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9811 manipulate bits before adding and subtracting TWO23[sx].
9812 * math/libm-test.inc (nearbyint_test): Add more tests.
9814 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9817 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9818 bits before adding and subtracting TWO23[sx].
9819 * math/libm-test.inc (rint_test): Add more tests.
9820 (rint_test_tonearest): Likewise.
9821 (rint_test_towardzero): Likewise.
9822 (rint_test_downward): Likewise.
9823 (rint_test_upward: Likewise.
9825 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9828 * include/stdc-predef.h: New file. Extracted from features.h.
9829 * include/features.h: Include stdc-predef.h.
9830 * Makefile (headers): Add stdc-predef.h.
9831 * CONFORMANCE (Compiler limitations): Update.
9833 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9835 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9837 2012-02-21 David S. Miller <davem@davemloft.net>
9839 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9840 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9842 2012-02-20 David S. Miller <davem@davemloft.net>
9844 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9845 using a normal save/restore sequence, rather than allocating a
9846 dummy stack frame just to store a frame pointer and restore.
9847 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9849 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9851 * manual/install.texi: Fix stray word in line-wrapped comment.
9853 2012-02-20 David S. Miller <davem@davemloft.net>
9855 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9856 both binutils and gcc support GOTDATA.
9858 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9859 "rd %pc" in the PIC register setup sequences.
9861 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9862 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9863 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9864 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9865 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9867 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9868 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9870 (SYSCALL_ERROR_HANDLER): Likewise.
9871 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9872 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9874 (SYSCALL_ERROR_HANDLER): Likewise.
9876 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9877 (HAVE_GCC_GOTDATA): New.
9878 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9879 relocation support in both binutils and gcc.
9880 * sysdeps/sparc/elf/configure: Regenerate.
9882 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9883 * sysdeps/sparc/sparc32/elf/configure: Delete.
9884 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9885 * sysdeps/sparc/sparc64/elf/configure: Delete.
9886 * sysdeps/sparc/elf/configure.in: New file.
9887 * sysdeps/sparc/elf/configure: Generate.
9889 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9890 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9891 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9892 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9893 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9895 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9897 * manual/install.texi: Do not mention specific glibc version
9899 * manual/libc.texinfo (VERSION, UPDATED): Update.
9900 (@copying): Use @copyright{} and range of years.
9902 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9905 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9906 [crti.S not in sysdirs] (generated): Do not append.
9907 [crti.S not in sysdirs] (omit-deps): Likewise.
9908 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9909 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9910 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9911 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9912 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9914 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9915 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9916 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9917 * csu/defs.awk: Remove file.
9918 * sysdeps/generic/initfini.c: Likewise.
9919 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9921 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9924 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9926 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9927 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9928 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9929 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9930 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9931 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9933 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9934 (__EPOLL_PACKED): Define to empty if not defined by
9936 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9940 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9942 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9943 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9944 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9945 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9947 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9951 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9953 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9955 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9956 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9957 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9960 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9962 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9963 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9965 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9967 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9968 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9970 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9972 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9975 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9977 * math/w_acos.c: Use non-signaling floating-point comparisons.
9978 * math/w_acosf.c: Likewise.
9979 * math/w_acosh.c: Likewise.
9980 * math/w_acoshf.c: Likewise.
9981 * math/w_acoshl.c: Likewise.
9982 * math/w_acosl.c: Likewise.
9983 * math/w_asin.c: Likewise.
9984 * math/w_asinf.c: Likewise.
9985 * math/w_asinl.c: Likewise.
9986 * math/w_atanh.c: Likewise.
9987 * math/w_atanhf.c: Likewise.
9988 * math/w_atanhl.c: Likewise.
9989 * math/w_exp2.c: Likewise.
9990 * math/w_exp2f.c: Likewise.
9991 * math/w_exp2l.c: Likewise.
9992 * math/w_j0.c: Likewise.
9993 * math/w_j0f.c: Likewise.
9994 * math/w_j0l.c: Likewise.
9995 * math/w_j1.c: Likewise.
9996 * math/w_j1f.c: Likewise.
9997 * math/w_j1l.c: Likewise.
9998 * math/w_jn.c: Likewise.
9999 * math/w_jnf.c: Likewise.
10000 * math/w_log.c: Likewise.
10001 * math/w_log10.c: Likewise.
10002 * math/w_log10f.c: Likewise.
10003 * math/w_log10l.c: Likewise.
10004 * math/w_log2.c: Likewise.
10005 * math/w_log2f.c: Likewise.
10006 * math/w_log2l.c: Likewise.
10007 * math/w_logf.c: Likewise.
10008 * math/w_logl.c: Likewise.
10009 * math/w_sqrt.c: Likewise.
10010 * math/w_sqrtf.c: Likewise.
10011 * math/w_sqrtl.c: Likewise.
10012 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10013 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10014 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10015 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10016 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10018 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10021 * manual/string.texi (strnlen): Use correct parameter name in
10022 equivalent expression.
10024 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10027 * manual/users.texi (seteuid): Consistently use neweuid for
10030 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10033 * manual/nss.texi (Services in the NSS configuration): Correct
10034 list of services in example configuration file.
10036 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10039 * manual/arith.texi: Remove statements about negative zero
10040 behaving identically to zero.
10042 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10045 * manual/install.texi: Do not document upgrading from libc5.
10047 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10050 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10052 2012-02-18 David S. Miller <davem@davemloft.net>
10054 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10055 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10056 %o7 across the call.
10057 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10059 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10060 SETUP_PIC_REG_LEAF.
10061 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10062 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10063 * sysdeps/sparc/crtn.S: Likewise.
10065 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10067 * aout/Makefile: Remove.
10069 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10072 * manual/examples/argp-ex1.c (main): Format definition in GNU
10074 * manual/examples/argp-ex2.c (main): Likewise.
10075 * manual/examples/argp-ex3.c (main): Likewise.
10076 * manual/examples/argp-ex4.c (main): Likewise.
10077 * manual/examples/longopt.c (main): Use new-style prototype
10079 * manual/examples/strncat.c (main): Specify return type and use
10080 (void) for arguments.
10081 * manual/examples/subopt.c (main): Use char **argv argument.
10083 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10086 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10089 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10092 * manual/string.texi (strchr): Change when strchrnul is
10095 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10098 * manual/locale.texi (setlocale): Document LOCPATH.
10100 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10103 * manual/process.texi (execle): Move @dots{} before last argument.
10105 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10108 * manual/charset.texi (Generic Charset Conversion): Fix typo
10109 (LC_TYPE -> LC_CTYPE).
10111 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10114 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10115 (scalbnf): Likewise.
10116 (scalbnl): Likewise.
10117 (scalbln): Likewise.
10118 (scalblnf): Likewise.
10119 (scalblnl): Likewise.
10120 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10121 (vwarnx): Likewise.
10124 * manual/filesys.texi (telldir): Use braces around return type.
10125 * manual/llio.texi (mmap): Add space after comma.
10126 (mmap64): Likewise.
10127 * manual/math.texi (jn): Use @var{} on parameter names.
10133 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10135 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10137 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10138 (sched_get_priority_max): Likewise.
10139 * manual/signal.texi (sigvec): Add space after comma.
10140 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10142 (if_indextoname): Likewise.
10143 (if_freenameindex): Likewise.
10144 (sendto): Use ',' instead of '.' in prototype.
10145 * manual/startup.texi (syscall): Use @dots{} instead of literal
10147 * manual/stdio.texi (__fpending): Separate initial words of
10148 paragraph from @deftypefun line.
10149 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10151 (vsyslog): Use @var{} on parameter names.
10152 * manual/terminal.texi (stty): Use @var{} on parameter names.
10153 * manual/users.texi (getutmp): Use @var{} on parameter names.
10154 (getutmpx): Likewise.
10156 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10159 * manual/stdio.texi (fopen): Fix typos in description of
10162 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10165 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10166 get clock_id definition.
10168 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10171 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10172 (madvise): Cast every argument to void on its own.
10174 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10177 * manual/startup.texi (Exit Status): Fix typo.
10179 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10182 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10183 * manual/examples/argp-ex2.c: Likewise.
10184 * manual/examples/argp-ex3.c: Likewise.
10186 2012-02-16 Richard Henderson <rth@redhat.com>
10188 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10189 * sysdeps/s390/s390-32/initfini.c: Remove.
10190 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10191 * sysdeps/s390/s390-64/initfini.c: Remove.
10193 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10195 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10196 compiler output for sysdeps/generic/initfini.c.
10197 * sysdeps/sh/elf/initfini.c: Remove file.
10199 2012-02-16 David S. Miller <davem@davemloft.net>
10202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10204 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10205 * sysdeps/sparc/crti.S: New file.
10206 * sysdeps/sparc/crtn.S: New file.
10207 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10208 * sysdeps/sparc/sparc64/Makefile: Likewise.
10210 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10213 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10215 2012-02-15 Roland McGrath <roland@hack.frob.com>
10218 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10220 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10221 (write, read, close): Likewise.
10222 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10224 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10226 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10227 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10228 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10229 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10231 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10235 2012-02-14 Marek Polacek <polacek@redhat.com>
10237 * sysdeps/x86_64/crti.S: New file.
10238 * sysdeps/x86_64/crtn.S: New file.
10239 * sysdeps/x86_64/elf/initfini.c: Remove file.
10241 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10243 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10244 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10245 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10246 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10248 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10252 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10254 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10255 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10256 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10257 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10259 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10263 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10265 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10266 __feraiseexcept instead of feraiseexcept.
10268 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10269 nanosleep invocations.
10270 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10271 strings, and add error checking for a nanosleep invocations.
10273 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10275 Replace FSF snail mail address with URLs, as per GNU coding standards.
10276 Most of the snail mail addresses were wrong anyway, and omitting
10277 them makes the source code easier to maintain. Almost all of the
10278 changes are to license notices and to locale LC_IDENTIFICATION
10279 addresses, except for this one:
10280 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10281 not its snail mail address.
10283 2012-02-09 Richard Henderson <rth@twiddle.net>
10285 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10286 of kernel-features.h.
10288 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10290 2012-02-08 Marek Polacek <polacek@redhat.com>
10292 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10293 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10294 * sysdeps/gnu/_G_config.h: Likewise.
10295 * sysdeps/generic/_G_config.h: Likewise.
10297 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10299 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10303 * sysdeps/powerpc/powerpc32/crti.S: New file.
10304 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10305 * sysdeps/powerpc/powerpc64/crti.S: New file.
10306 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10308 * Makeconfig (have-initfini): Don't set.
10309 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10310 * configure.in (nopic_initfini): Don't substitute.
10311 * config.h.in (HAVE_INITFINI): Don't #undef.
10312 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10313 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10315 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10317 Support crti.S and crtn.S provided directly by architectures.
10318 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10319 [crti.S in sysdirs] (omit-deps): Likewise.
10320 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10321 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10322 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10323 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10324 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10325 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10326 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10327 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10328 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10329 compiler output for sysdeps/generic/initfini.c.
10330 * sysdeps/i386/elf/Makefile: Remove file.
10331 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10333 2012-02-07 Marek Polacek <polacek@redhat.com>
10335 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10336 * sysdeps/gnu/_G_config.h: Likewise.
10337 * sysdeps/mach/hurd/_G_config.h: Likewise.
10339 2012-02-07 Marek Polacek <polacek@redhat.com>
10341 * math/Makefile (tests): Add tst-CMPLX2.
10342 * math/tst-CMPLX2.c: New file.
10344 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10346 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10348 * math/libm-test.inc (jn_test): Add missing L suffix.
10350 2012-02-06 Marek Polacek <polacek@redhat.com>
10352 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10353 * sysdeps/i386/fpu/e_powf.S: Likewise.
10354 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10355 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10356 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10357 * sysdeps/i386/fpu/e_pow.S: Likewise.
10358 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10359 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10360 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10361 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10362 * sysdeps/i386/fpu/e_log2.S: Likewise.
10363 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10364 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10365 * sysdeps/i386/fpu/e_powl.S: Likewise.
10366 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10367 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10368 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10369 * sysdeps/i386/fpu/e_logl.S: Likewise.
10370 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10371 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10372 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10373 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10374 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10375 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10376 * sysdeps/i386/fpu/e_log.S: Likewise.
10377 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10378 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10379 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10380 * sysdeps/i386/fpu/e_logf.S: Likewise.
10381 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10382 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10383 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10384 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10385 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10386 * sysdeps/i386/fpu/e_log10.S: Likewise.
10387 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10388 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10389 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10390 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10391 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10392 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10393 * sysdeps/i386/asm-syntax.h: Likewise.
10394 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10395 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10396 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10397 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10398 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10399 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10400 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10401 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10402 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10403 * sysdeps/powerpc/sysdep.h: Likewise.
10404 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10405 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10407 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10410 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10412 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10414 * sysdeps/i386/sysdep.h: Include <features.h>.
10415 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10418 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10420 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10422 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10425 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10427 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10428 (SETUP_PIC_REG): Use GET_PC_THUNK.
10429 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10432 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10434 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10435 for non-PIC compilation.
10436 (SETUP_PIC_REG): Add .p2align directive.
10437 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10438 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10439 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10440 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10441 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10442 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10443 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10444 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10445 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10446 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10447 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10448 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10449 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10450 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10451 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10452 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10453 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10454 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10455 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10456 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10457 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10458 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10459 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10460 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10461 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10462 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10463 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10464 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10465 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10466 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10467 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10468 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10469 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10470 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10471 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10472 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10473 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10474 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10475 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10476 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10477 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10479 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10481 * math/tst-CMPLX.c: Include <stdio.h>.
10483 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10485 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10487 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10488 * sysdeps/sparc/bits/mathdef.h: Likewise.
10490 2012-01-31 Marek Polacek <polacek@redhat.com>
10492 * libio/libio.h: Don't define _PARAMS.
10493 * locale/programs/config.h: Don't define PARAMS.
10494 * stdlib/strtol_l.c: Likewise.
10495 (__strtol_l): Remove PARAMS from the prototype.
10497 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10499 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10500 names. Just use the correct names. Remove unnecessary wrapper
10502 * malloc/arena.c: Likewise.
10503 * malloc/hooks.c: Likewise.
10505 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10506 ARENA_TEST says not to. Simplify test for creation of a new arena.
10507 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10509 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10511 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10513 (update_get_addr): New function.
10514 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10515 GET_ADDR_MODULE parameter.
10517 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10519 * crypt/cert.c: Remove __STDC__ conditionals.
10520 * crypt/crypt-entry.c: Likewise.
10521 * crypt/crypt_util.c: Likewise.
10522 * libio/filedoalloc.c: Likewise.
10523 * libio/fileops.c: Likewise.
10524 * libio/genops.c: Likewise.
10525 * libio/iofclose.c: Likewise.
10526 * libio/iofdopen.c: Likewise.
10527 * libio/iofopen.c: Likewise.
10528 * libio/iofopen64.c: Likewise.
10529 * libio/iogetdelim.c: Likewise.
10530 * libio/iopopen.c: Likewise.
10531 * libio/obprintf.c: Likewise.
10532 * libio/oldfileops.c: Likewise.
10533 * libio/oldiofclose.c: Likewise.
10534 * libio/oldiofdopen.c: Likewise.
10535 * libio/oldiofopen.c: Likewise.
10536 * libio/oldiopopen.c: Likewise.
10537 * libio/wfiledoalloc.c: Likewise.
10538 * libio/wgenops.c: Likewise.
10539 * locale/programs/xmalloc.c: Likewise.
10540 * misc/syslog.c: Likewise.
10541 * stdio-common/xbug.c: Likewise.
10542 * string/memchr.c: Likewise.
10543 * string/memcmp.c: Likewise.
10544 * string/memrchr.c: Likewise.
10545 * string/rawmemchr.c: Likewise.
10546 * sysdeps/posix/getcwd.c: Likewise.
10547 * time/strftime_l.c: Likewise.
10549 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10551 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10552 * config.make.in (config-cflags-sse2avx): Define.
10553 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10556 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10558 * scripts/config.guess: Update from upstream config git repository.
10559 * scripts/config.sub: Likewise.
10561 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10563 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10565 (R_TILEPRO_*, R_TILEGX_*): New macros.
10567 * scripts/firstversions.awk: Fix bug in version range handling.
10569 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10571 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10573 * include/sys/epoll.h: New file.
10574 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10577 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10579 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10580 Avoid unnecessary __WORDSIZE == 64 test.
10581 (fmaxf): Use VEX format if possible.
10586 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10587 * math/math_private.h: Remove libc_fegetround* and
10589 * sysdeps/i386/configure.in: Check for -msse2avx.
10590 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10591 also if SSE2AVX is defined.
10592 Remove libc_fegetround* and libc_fesetround*.
10593 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10594 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10595 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10597 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10598 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10599 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10600 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10601 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10603 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10605 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10607 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10609 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10611 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10614 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10616 * Makeconfig (libm): Define.
10617 * elf/Makefile: Add rules to build and run tst-relsort1.
10618 * elf/tst-relsort1.c: New file.
10619 * elf/tst-relsort1mod1.c: New file.
10620 * elf/tst-relsort1mod2.c: New file.
10622 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10624 * math/s_ldexp.c: Remove __STDC__ conditionals.
10625 * math/s_ldexpf.c: Likewise.
10626 * math/s_ldexpl.c: Likewise.
10627 * math/s_nextafter.c: Likewise.
10628 * math/s_nexttowardf.c: Likewise.
10629 * math/s_significand.c: Likewise.
10630 * math/s_significandf.c: Likewise.
10631 * math/s_significandl.c: Likewise.
10632 * math/w_jnl.c: Likewise.
10633 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10634 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10635 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10636 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10637 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10638 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10639 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10640 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10641 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10642 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10643 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10644 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10652 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10653 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10654 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10655 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10656 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10657 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10658 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10659 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10660 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10661 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10662 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10663 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10664 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10665 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10666 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10667 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10668 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10669 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10670 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10671 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10672 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10673 * sysdeps/ieee754/k_standard.c: Likewise.
10674 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10675 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10676 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10677 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10678 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10679 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10680 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10681 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10682 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10683 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10684 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10685 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10686 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10687 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10688 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10689 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10690 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10691 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10692 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10693 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10694 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10695 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10696 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10697 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10698 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10699 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10702 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10703 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10706 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10710 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10712 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10713 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10717 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10718 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10721 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10722 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10723 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10724 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10725 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10726 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10727 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10728 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10732 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10735 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10736 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10737 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10738 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10740 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10744 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10748 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10749 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10753 * sysdeps/ieee754/s_matherr.c: Likewise.
10754 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10755 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10756 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10757 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10759 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10761 * crypt/md5.h: Remove __STDC__ conditionals.
10762 * libio/libioP.h: Likewise.
10763 * locale/programs/config.h: Likewise.
10764 * sysdeps/generic/sysdep.h: Likewise.
10765 * sysdeps/i386/asm-syntax.h: Likewise.
10766 * sysdeps/s390/asm-syntax.h: Likewise.
10767 * sysdeps/unix/sysdep.h: Likewise.
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10771 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10773 * libio/libio.h: Remove __STDC__ conditionals.
10774 * malloc/obstack.h: Likewise.
10775 * math/complex.h: Likewise.
10776 * math/math.h: Likewise.
10777 * sysdeps/generic/_G_config.h: Likewise.
10778 * sysdeps/gnu/_G_config.h: Likewise.
10779 * sysdeps/mach/hurd/_G_config.h: Likewise.
10780 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10781 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10782 * sysdeps/sparc/bits/mathdef.h: Likewise.
10784 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10787 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10788 Clean up HAS_* macros.
10789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10790 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10792 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10794 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10795 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10796 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10797 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10798 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10800 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10802 * elf/tst-unique3.cc (gets): Remove declaration.
10803 * elf/tst-unique3lib.cc (gets): Likewise.
10804 * elf/tst-unique3lib2.cc (gets): Likewise.
10805 * elf/tst-unique4.cc (gets): Likewise.
10807 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10809 * include/stdio.h: Add C++ protection. Add gets declarations and
10811 * debug/tst-chk1.c: Don't declare gets here.
10812 * stdio-common/tst-gets.c: Likewise.
10814 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10816 * posix/glob: Remove directory.
10818 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10820 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10822 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10824 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10825 of the non-standard EPFNOSUPPORT.
10827 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10829 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10830 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10831 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10833 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10835 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10837 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10839 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10841 * nscd/grpcache.c (cache_addgr): Likewise.
10842 * nscd/hstcache.c (cache_addhst): Likewise.
10843 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10844 * nscd/pwdcache.c (cache_addpw): Likewise.
10845 * nscd/servicescache.c (cache_addserv): Likewise.
10847 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10849 * malloc/malloc.c: Various cleanups.
10850 * malloc/hooks.c: Likewise.
10852 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10853 * stdlib/bug-fmtmsg1.c: New file.
10855 * stdlib/fmtmsg.c (init): Add missing unlock.
10856 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10858 2012-01-12 Marek Polacek <polacek@redhat.com>
10860 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10863 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10865 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10866 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10867 macro to ensure uniqueness of label name.
10868 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10869 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10871 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10873 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10875 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10876 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10877 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10880 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10882 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10884 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10885 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10886 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10888 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10890 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10891 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10892 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10893 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10895 * math/bits/math-finite.h: Add ldexp support.
10897 2012-01-10 Marek Polacek <polacek@redhat.com>
10899 * locale/programs/localedef.h (show_archive_content): Add noreturn
10902 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10904 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10906 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10908 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10910 * io/Makefile (headers): Add bits/poll2.h.
10912 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10915 typo #include statement.
10917 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10919 * include/sys/cdefs.h: Define __attribute_alloc_size.
10920 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10921 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10922 * elf/pldd.c: Likewise.
10923 * iconv/iconv_charmap.c: Likewise.
10924 * iconv/iconvconfig.c: Likewise.
10925 * iconv/strtab.c: Likewise.
10926 * locale/programs/locale.c: Likewise.
10927 * locale/programs/localedef.h: Likewise.
10928 * locale/programs/simple-hash.c: Likewise.
10929 * nscd/nscd.h: Likewise.
10930 * nss/makedb.c: Likewise.
10931 * sysdeps/generic/ldconfig.h: Likewise.
10932 * locale/programs/localedef.c: Remove xmalloc prototype.
10933 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10935 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10937 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10940 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10942 * math/Makefile (tests): Add tst-CMPLX.
10943 * math/tst-CMPLX.c: New file.
10945 * math/complex.h (CMPLXL): Fix typo.
10947 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10948 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10950 * debug/tst-chk1.c: Add poll and ppoll tests.
10951 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10952 * include/sys/poll.h: Add hidden proto for ppoll.
10953 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10954 * sysdeps/mach/hurd/ppoll.c: Likewise.
10955 * io/ppoll.c: Likewise.
10956 * debug/poll_chk.c: New file.
10957 * debug/ppoll_chk.c: New file.
10958 * include/bits/poll2.h: New file.
10959 * io/bits/poll2.h: New file.
10962 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10964 * configure.in: static is always set to yes. Remove.
10965 * config.make.in: Don't set build-static.
10966 * Makeconfig: Remove use of build-static.
10967 * dlfcn/Makefile: Likewise.
10968 * elf/Makefile: Likewise.
10969 * math/Makefile: Likewise.
10970 * misc/Makefile: Likewise.
10971 * nptl/Makefile: Likewise.
10972 * sysdeps/mach/hurd/Makefile: Likewise.
10974 * configure.in: PWD_P is not used anymore.
10975 * config.make.in: Remove PWD_P entry.
10977 * configure.in: Remove last remnants of RANLIB.
10978 No need to check for signed size_t anymore.
10979 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10981 Remove __builtin_expect test because we require at least gcc 3.4.
10982 * aclocal.m4: Likewise.
10984 * wcsmbs/mbrtoc16.c: Implement using towc function.
10985 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10986 * wcsmbs/wcsmbsload.c: Likewise.
10987 * iconv/gconv_simple.c: Likewise.
10988 * iconv/gconv_int.h: Likewise.
10989 * iconv/gconv_builtin.h: Likewise.
10990 * iconv/iconv_prog.c: Remove CHAR16 handling.
10992 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10994 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10996 * configure.in: Remove --with-elf and --enable-bounded options.
10997 Dont set base_machine for ia64. More non-ELF conditions removed.
10998 Remove testing and setting of leading underscore information.
10999 * config.make.in (build-bounded): Set to no.
11000 * config.h.in: Remove NO_UNDERSCORES entry.
11001 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11003 * csu/start.c: Remove !NO_UNDERSCORE code.
11004 * locale/localeinfo.h: Likewise.
11005 * sysdeps/generic/machine-gmon.h: Likewise.
11006 * sysdeps/generic/sysdep.h: Likewise.
11007 * sysdeps/i386/sysdep.h: Likewise.
11008 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11009 * sysdeps/mach/sysdep.h: Likewise.
11010 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11011 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11012 * sysdeps/sh/sysdep.h: Likewise.
11013 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11014 * sysdeps/unix/i386/sysdep.S: Likewise.
11015 * sysdeps/unix/sparc/start.c: Likewise.
11016 * sysdeps/unix/sparc/sysdep.S: Likewise.
11017 * sysdeps/unix/sparc/sysdep.h: Likewise.
11018 * sysdeps/unix/start.c: Likewise.
11019 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11020 * sysdeps/x86_64/sysdep.h: Likewise.
11022 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11025 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11027 * argp/argp-fmtstream.h: Use const instead __const.
11028 * argp/argp.h: Likewise.
11029 * assert/assert.h: Likewise.
11030 * bits/fenv.h: Likewise.
11031 * bits/sched.h: Likewise.
11032 * bits/sigset.h: Likewise.
11033 * bits/sigthread.h: Likewise.
11034 * catgets/nl_types.h: Likewise.
11035 * conform/data/pthread.h-data: Likewise.
11036 * crypt/crypt-private.h: Likewise.
11037 * crypt/crypt.h: Likewise.
11038 * crypt/crypt_util.c: Likewise.
11039 * ctype/ctype.h: Likewise.
11040 * debug/execinfo.h: Likewise.
11041 * debug/mbsnrtowcs_chk.c: Likewise.
11042 * debug/mbsrtowcs_chk.c: Likewise.
11043 * debug/wcsnrtombs_chk.c: Likewise.
11044 * debug/wcsrtombs_chk.c: Likewise.
11045 * debug/wcstombs_chk.c: Likewise.
11046 * dirent/dirent.h: Likewise.
11047 * dlfcn/dlfcn.h: Likewise.
11048 * elf/neededtest4.c: Likewise.
11049 * grp/grp.h: Likewise.
11050 * gshadow/gshadow.h: Likewise.
11051 * iconv/gconv.h: Likewise.
11052 * iconv/gconv_int.h: Likewise.
11053 * iconv/gconv_simple.c: Likewise.
11054 * iconv/iconv.h: Likewise.
11055 * iconv/loop.c: Likewise.
11056 * iconv/skeleton.c: Likewise.
11057 * include/aio.h: Likewise.
11058 * include/aliases.h: Likewise.
11059 * include/argz.h: Likewise.
11060 * include/arpa/inet.h: Likewise.
11061 * include/assert.h: Likewise.
11062 * include/dirent.h: Likewise.
11063 * include/dlfcn.h: Likewise.
11064 * include/execinfo.h: Likewise.
11065 * include/fcntl.h: Likewise.
11066 * include/fenv.h: Likewise.
11067 * include/glob.h: Likewise.
11068 * include/grp.h: Likewise.
11069 * include/libintl.h: Likewise.
11070 * include/mntent.h: Likewise.
11071 * include/netdb.h: Likewise.
11072 * include/pwd.h: Likewise.
11073 * include/rpc/netdb.h: Likewise.
11074 * include/sched.h: Likewise.
11075 * include/search.h: Likewise.
11076 * include/shadow.h: Likewise.
11077 * include/signal.h: Likewise.
11078 * include/stdio.h: Likewise.
11079 * include/stdlib.h: Likewise.
11080 * include/string.h: Likewise.
11081 * include/sys/socket.h: Likewise.
11082 * include/sys/stat.h: Likewise.
11083 * include/sys/statfs.h: Likewise.
11084 * include/sys/statvfs.h: Likewise.
11085 * include/sys/syslog.h: Likewise.
11086 * include/sys/time.h: Likewise.
11087 * include/sys/uio.h: Likewise.
11088 * include/time.h: Likewise.
11089 * include/unistd.h: Likewise.
11090 * include/utmp.h: Likewise.
11091 * include/wchar.h: Likewise.
11092 * include/wctype.h: Likewise.
11093 * inet/aliases.h: Likewise.
11094 * inet/arpa/inet.h: Likewise.
11095 * inet/netinet/ether.h: Likewise.
11096 * inet/netinet/in.h: Likewise.
11097 * intl/libintl.h: Likewise.
11098 * io/bits/fcntl2.h: Likewise.
11099 * io/fcntl.h: Likewise.
11100 * io/ftw.h: Likewise.
11101 * io/sys/poll.h: Likewise.
11102 * io/sys/stat.h: Likewise.
11103 * io/sys/statfs.h: Likewise.
11104 * io/sys/statvfs.h: Likewise.
11105 * io/utime.h: Likewise.
11106 * libio/bits/stdio.h: Likewise.
11107 * libio/bits/stdio2.h: Likewise.
11108 * libio/libio.h: Likewise.
11109 * libio/libioP.h: Likewise.
11110 * libio/stdio.h: Likewise.
11111 * locale/lc-ctype.c: Likewise.
11112 * locale/locale.h: Likewise.
11113 * login/utmp.h: Likewise.
11114 * malloc/arena.c: Likewise.
11115 * malloc/malloc.c: Likewise.
11116 * malloc/malloc.h: Likewise.
11117 * malloc/mcheck.c: Likewise.
11118 * malloc/mtrace.c: Likewise.
11119 * math/bits/mathcalls.h: Likewise.
11120 * math/fenv.h: Likewise.
11121 * math/math_private.h: Likewise.
11122 * misc/bits/error.h: Likewise.
11123 * misc/bits/syslog.h: Likewise.
11124 * misc/err.h: Likewise.
11125 * misc/error.h: Likewise.
11126 * misc/fstab.h: Likewise.
11127 * misc/mntent.h: Likewise.
11128 * misc/regexp.h: Likewise.
11129 * misc/search.h: Likewise.
11130 * misc/sgtty.h: Likewise.
11131 * misc/sys/mman.h: Likewise.
11132 * misc/sys/syslog.h: Likewise.
11133 * misc/sys/uio.h: Likewise.
11134 * misc/sys/xattr.h: Likewise.
11135 * misc/ttyent.h: Likewise.
11136 * nis/rpcsvc/ypclnt.h: Likewise.
11137 * nss/nss.h: Likewise.
11138 * posix/bits/unistd.h: Likewise.
11139 * posix/fnmatch.h: Likewise.
11140 * posix/glob.h: Likewise.
11141 * posix/sched.h: Likewise.
11142 * posix/spawn.h: Likewise.
11143 * posix/sys/wait.h: Likewise.
11144 * posix/unistd.h: Likewise.
11145 * posix/wordexp.h: Likewise.
11146 * pwd/pwd.h: Likewise.
11147 * resolv/netdb.h: Likewise.
11148 * resource/sys/resource.h: Likewise.
11149 * rt/aio.h: Likewise.
11150 * rt/bits/mqueue2.h: Likewise.
11151 * rt/mqueue.h: Likewise.
11152 * shadow/shadow.h: Likewise.
11153 * signal/signal.h: Likewise.
11154 * socket/send.c: Likewise.
11155 * socket/sendto.c: Likewise.
11156 * socket/sys/socket.h: Likewise.
11157 * stdio-common/printf.h: Likewise.
11158 * stdlib/bits/stdlib.h: Likewise.
11159 * stdlib/fmtmsg.h: Likewise.
11160 * stdlib/monetary.h: Likewise.
11161 * stdlib/stdlib.h: Likewise.
11162 * stdlib/ucontext.h: Likewise.
11163 * streams/stropts.h: Likewise.
11164 * string/argz.h: Likewise.
11165 * string/bits/string2.h: Likewise.
11166 * string/string.h: Likewise.
11167 * string/strings.h: Likewise.
11168 * sunrpc/rpc/auth.h: Likewise.
11169 * sunrpc/rpc/auth_des.h: Likewise.
11170 * sunrpc/rpc/clnt.h: Likewise.
11171 * sunrpc/rpc/netdb.h: Likewise.
11172 * sunrpc/rpc/pmap_clnt.h: Likewise.
11173 * sunrpc/rpc/xdr.h: Likewise.
11174 * sysdeps/generic/inttypes.h: Likewise.
11175 * sysdeps/generic/net/if.h: Likewise.
11176 * sysdeps/generic/sys/swap.h: Likewise.
11177 * sysdeps/gnu/net/if.h: Likewise.
11178 * sysdeps/gnu/utmpx.h: Likewise.
11179 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11180 * sysdeps/i386/i486/bits/string.h: Likewise.
11181 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11182 * sysdeps/s390/bits/string.h: Likewise.
11183 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11184 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11185 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11186 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11187 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11188 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11189 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11190 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11191 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11192 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11193 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11194 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11195 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11196 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11197 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11198 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11199 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11200 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11201 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11202 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11203 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11204 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11205 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11206 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11207 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11208 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11209 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11210 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11211 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11212 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11213 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11214 * sysvipc/sys/ipc.h: Likewise.
11215 * sysvipc/sys/msg.h: Likewise.
11216 * sysvipc/sys/sem.h: Likewise.
11217 * sysvipc/sys/shm.h: Likewise.
11218 * termios/termios.h: Likewise.
11219 * time/sys/time.h: Likewise.
11220 * time/time.h: Likewise.
11221 * wcsmbs/bits/wchar2.h: Likewise.
11222 * wcsmbs/uchar.h: Likewise.
11223 * wcsmbs/wchar.h: Likewise.
11224 * wctype/wctype.h: Likewise.
11227 * Makeconfig: Remove all but ELF support including AIX support.
11228 * Makerules: Likewise.
11229 * config.h.in: Likewise.
11230 * config.make.in: Likewise.
11231 * configure: Likewise.
11232 * configure.in: Likewise.
11233 * csu/Makefile: Likewise.
11234 * csu/version.c: Likewise.
11235 * debug/Makefile: Likewise.
11236 * dlfcn/Makefile: Likewise.
11237 * elf/Makefile: Likewise.
11238 * extra-lib.mk: Likewise.
11239 * iconv/Makefile: Likewise.
11240 * include/libc-symbols.h: Likewise.
11241 * include/shlib-compat.h: Likewise.
11242 * resolv/Makefile: Likewise.
11243 * resolv/res_libc.c: Likewise.
11244 * rt/Makefile: Likewise.
11245 * sysdeps/i386/asm-syntax.h: Likewise.
11246 * sysdeps/i386/sysdep.h: Likewise.
11247 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11248 * sysdeps/mach/sysdep.h: Likewise.
11249 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11250 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11251 * sysdeps/s390/asm-syntax.h: Likewise.
11252 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11253 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11254 * sysdeps/sh/sysdep.h: Likewise.
11255 * sysdeps/unix/sparc/sysdep.h: Likewise.
11256 * sysdeps/wordsize-32/divdi3.c: Likewise.
11257 * sysdeps/x86_64/sysdep.h: Likewise.
11259 * argp/Versions: Remove _argp_unlock_xxx.
11262 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11263 * abilist/libBrokenLocale.abilist: Likewise.
11264 * abilist/libanl.abilist: Likewise.
11265 * abilist/libc.abilist: Likewise.
11266 * abilist/libcrypt.abilist: Likewise.
11267 * abilist/libdl.abilist: Likewise.
11268 * abilist/libm.abilist: Likewise.
11269 * abilist/libnsl.abilist: Likewise.
11270 * abilist/libpthread.abilist: Likewise.
11271 * abilist/libresolv.abilist: Likewise.
11272 * abilist/librt.abilist: Likewise.
11273 * abilist/libthread_db.abilist: Likewise.
11274 * abilist/libutil.abilist: Likewise.
11275 * abilist/libnss_db.abilist: New file.
11277 * scripts/abilist.awk: Add support for indirect functions.
11279 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11281 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11283 * shlib-versions: Remove entries for ports architectures.
11285 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11287 * elf/stackguard-macros.h: Remove support for IA-64.
11288 * elf/tst-auditmod1.c: Likewise.
11289 * sysdeps/generic/ldsodefs.h: Likewise.
11291 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11292 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11296 * configure.in: Remove --enable-omitfp support.
11298 * config.make.in: Likewise.
11299 * Makeconfig: Likewise.
11300 * manual/install.texi: Likewise.
11302 In case anyone cares, the IA-64 architecture could move to ports.
11303 * sysdeps/ia64/*: Removed.
11304 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11305 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11308 * configure.in: Remove entries for unsupported architectures.
11311 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11312 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11314 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11315 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11316 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11317 fall back to using wcrtomb.
11318 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11319 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11321 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11322 * wcsmbs/tst-c16c32-1.c: New file.
11324 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11327 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11329 * elf/tst-unique3.cc: Add explicit declaration of gets.
11330 * elf/tst-unique3lib.cc: Likewise.
11331 * elf/tst-unique3lib2.cc: Likewise.
11332 * elf/tst-unique4.cc: Likewise.
11334 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11336 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11339 * assert/assert.h (static_assert): Don't define for C++.
11340 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11341 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11343 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11345 * iconv/loop.c (single loop): Fix assertion in storing of
11348 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11350 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11352 * posix/getconf.c: Update copyright year.
11353 * nss/getent.c: Likewise.
11354 * nss/makedb.c: Likewise.
11355 * iconv/iconvconfig.c: Likewise.
11356 * iconv/iconv_prog.c: Likewise.
11357 * elf/ldconfig.c: Likewise.
11358 * elf/pldd.c: Likewise.
11359 * elf/sotruss.ksh: Likewise.
11360 * catgets/gencat.c: Likewise.
11361 * csu/version.c: Likewise.
11362 * elf/ldd.bash.in: Likewise.
11363 * elf/sprof.c (print_version): Likewise.
11364 * locale/programs/locale.c: Likewise.
11365 * locale/programs/localedef.c: Likewise.
11366 * login/programs/pt_chown.c: Likewise.
11367 * nscd/nscd.c (print_version): Likewise.
11368 * debug/xtrace.sh: Likewise.
11369 * malloc/memusage.sh: Likewise.
11370 * malloc/mtrace.pl: Likewise.
11371 * debug/catchsegv.sh: Likewise.
11373 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11375 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11378 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11381 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11382 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11384 * iconv/gconv_int.h: Likewise.
11385 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11386 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11387 from libc for GLIBC_2.16.
11388 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11389 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11390 * wcsmbs/uchar.h: Really define mbstate_t.
11391 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11392 * wcsmbs/c16rtomb.c: New file.
11393 * wcsmbs/mbrtoc16.c: New file.
11394 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11395 for C/POSIX locale.
11396 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11397 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11399 * wcsmbs/wchar.h: Add missing __restrict.
11401 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11404 * time/Makefile (routines): Add timespec_get.
11405 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11406 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11407 timespec for ISO C11.
11408 * time/timespec_get.c: New file.
11409 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11410 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11413 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11414 * stdlib/stdlib.h: Declare aligned_alloc.
11415 * Versions.def: Add GLIBC_2.16 for libc.
11416 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11419 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11422 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11426 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11429 * assert/assert.h (static_assert): Define.
11431 * version.h: Update for 2.16 development version.
11434 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11437 * version.h (RELEASE): Bump for 2.15 release.
11438 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11440 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11441 Patch by Marek Polacek <mpolacek@redhat.com>.
11443 * bits/byteswap.h: Protect long long constants with __extension__.
11444 * sysdeps/i386/bits/byteswap.h: Likewise.
11445 * sysdeps/ia64/bits/byteswap.h: Likewise.
11446 * sysdeps/s390/bits/byteswap.h: Likewise.
11447 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11449 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11452 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11453 destination buffer.
11454 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11456 2011-12-23 Marek Polacek <polacek@redhat.com>
11458 * elf/dl-addr.c (determine_info): Add inline keyword.
11459 * elf/tst-auditmod4b.c (check_avx): Likewise.
11460 * elf/tst-auditmod6b.c (check_avx): Likewise.
11461 * elf/tst-auditmod6c.c (check_avx): Likewise.
11462 * elf/tst-auditmod7b.c (check_avx): Likewise.
11464 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11466 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11469 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11472 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11473 processing for last bytes.
11475 2011-08-06 Bruno Haible <bruno@clisp.org>
11478 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11479 U+0385, not to U+1FEE.
11482 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11483 entry for U+00A5 U+0301.
11485 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11488 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11489 buffer for the output is too small.
11491 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11495 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11496 SSE flags if possible.
11498 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11501 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11502 processing for last bytes.
11504 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11506 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11507 (syscall-list-default-options, syscall-list-default-condition)
11508 (syscall-list-includes): Define.
11509 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11510 list of ABIs and options and #if conditions for each ABI. Do not
11511 handle common syscalls between ABIs specially.
11512 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11514 (syscall-list-variants, syscall-list-32bit-options)
11515 (syscall-list-32bit-condition, syscall-list-64bit-options)
11516 (syscall-list-64bit-condition): Define.
11517 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11518 (syscall-list-variants, syscall-list-32bit-options)
11519 (syscall-list-32bit-condition, syscall-list-64bit-options)
11520 (syscall-list-64bit-condition): Define.
11521 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11523 (syscall-list-variants, syscall-list-32bit-options)
11524 (syscall-list-32bit-condition, syscall-list-64bit-options)
11525 (syscall-list-64bit-condition): Define.
11526 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11528 (syscall-list-variants, syscall-list-32bit-options)
11529 (syscall-list-32bit-condition, syscall-list-64bit-options)
11530 (syscall-list-64bit-condition): Define.
11532 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11534 * locale/iso-639.def: Add brx entry.
11537 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11538 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11540 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11541 __feraiseexcept_renamed.
11543 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11546 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11547 EPOLLET with unsigned values.
11548 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11549 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11551 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11552 to large cancellation.
11553 * math/s_cacoshf.c: Likewise.
11554 * math/s_cacoshl.c: Likewise.
11556 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11560 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11561 * math/s_cacoshf.c: Likewise.
11562 * math/s_cacoshl.c: Likewise.
11564 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11567 * iconv/gconv.h: Define __GCONV_SWAP.
11568 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11569 * iconvdata/utf-16.c: Likewise.
11570 * iconvdata/utf-32.c: Likewise.
11572 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11575 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11576 numerator after shifting it by one limb.
11578 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11580 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11581 under [__USE_EXTERN_INLINES].
11583 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11586 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11588 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11590 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11591 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11593 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11594 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11595 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11596 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11597 for strncasecmp/strncasecmp_l compilation.
11598 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11599 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11601 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11604 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11607 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11610 * time/tzfile.c (__tzfile_read): Check values from file header.
11612 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11614 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11615 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11616 * powerpc/powerpc32/dl-start.S: Likewise.
11617 * powerpc/powerpc32/elf/start.S: Likewise.
11618 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11619 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11620 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11621 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11622 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11623 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11624 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11625 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11626 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11627 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11628 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11629 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11630 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11631 * powerpc/powerpc32/memset.S: Likewise.
11632 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11633 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11634 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11635 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11636 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11637 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11638 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11639 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11640 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11641 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11642 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11643 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11644 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11646 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11648 * math/libm-test.inc: Added more nearbyint tests.
11649 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11650 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11651 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11652 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11654 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11656 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11659 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11661 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11662 Add wcscpy-ssse3 wcscpy-c.
11663 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11664 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11665 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11666 * sysdeps/x86_64/wcschr.S: New file.
11667 * sysdeps/x86_64/wcsrchr.S: New file.
11668 * string/test-strcmp.c: Remove checking of wcscmp function for
11670 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11671 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11672 wcsrchr-sse2 wcsrchr-c.
11673 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11674 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11675 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11676 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11677 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11678 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11679 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11680 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11681 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11682 * wcsmbc/wcschr.c (WCSCHR): New macro.
11684 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11686 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11687 * wcsmbs/test-wcsrchr.c: New file.
11688 * string/test-strrchr.c: Add wcsrchr support.
11690 * wcsmbs/test-wcscpy.c: New file.
11691 * string/test-strcpy.c: Add wcscpy support.
11694 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11696 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11699 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11702 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11704 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11706 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11707 Minor optimizations.
11709 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11710 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11711 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11713 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11715 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11716 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11717 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11718 for gcc to avoid warnings.
11719 * inet/Makefile (tests): Add tst-checks.
11720 * inet/tst-checks.c: New file.
11722 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11725 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11728 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11729 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11731 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11733 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11735 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11738 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11740 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11742 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11743 conditional on GCC version.
11744 (__arch_compare_and_exchange_val_8_acq)
11745 (__arch_compare_and_exchange_val_16_acq)
11746 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11747 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11748 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11750 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11752 * sysdeps/sh/backtrace.c: New file.
11754 2011-12-02 Andreas Schwab <schwab@redhat.com>
11756 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11759 2011-12-01 Andreas Schwab <schwab@redhat.com>
11761 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11762 falling back to utime.
11764 2011-11-30 Andreas Schwab <schwab@redhat.com>
11766 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11767 expectations for float.
11769 2011-11-29 Andreas Schwab <schwab@redhat.com>
11771 * locale/weight.h (findidx): Add parameter len.
11772 * locale/weightwc.h (findidx): Likewise.
11773 * posix/fnmatch_loop.c (FCT): Adjust caller.
11774 * posix/regcomp.c (build_equiv_class): Likewise.
11775 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11776 * posix/regexec.c (check_node_accept_bytes): Likewise.
11777 * string/strcoll_l.c (STRCOLL): Likewise.
11778 * string/strxfrm_l.c (STRXFRM): Likewise.
11780 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11782 * Makefile.in: Remove CVSOPT handling.
11783 * configure.in: Remove use of AC_REVISION.
11784 * iconvdata/Makefile (distribute): No need to filter out CVS.
11785 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11788 2011-11-16 Andreas Schwab <schwab@redhat.com>
11790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11791 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11792 [USE_AS_STRNCASECMP_L]: Likewise.
11793 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11794 NO_TLS_DIRECT_SEG_REFS.
11795 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11796 Fix argument offsets for non-PIC.
11797 [USE_AS_STRNCASECMP_L]: Likewise.
11798 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11799 NO_TLS_DIRECT_SEG_REFS.
11801 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11803 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11805 * locale/loadlocale.c (_nl_load_locale): Likewise.
11807 2011-11-15 Andreas Schwab <schwab@redhat.com>
11809 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11810 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11811 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11812 (SYSCALL_GETTIME): Set errno on error.
11814 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11815 count references to noai6ai_cached.
11817 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11819 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11821 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11822 FD_CLOEXEC for /proc/self/maps.
11824 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11825 FD_CLOEXEC for /proc/meminfo.
11827 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11830 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11831 FD_CLOEXEC for given file.
11833 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11835 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11836 FD_CLOEXEC for /etc/hosts.
11837 (_gethtent): Likewise.
11839 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11841 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11842 cancellation and set FD_CLOEXEC for /etc/netgroup.
11844 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11845 reading /etc/publickey.
11847 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11848 allow cancellation when reading /etc/group.
11850 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11852 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11854 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11855 when using data file.
11857 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11859 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11860 (write_nis_obj): Use "c" and "e" in fopen.
11862 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11864 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11866 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11868 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11870 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11873 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11875 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11877 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11879 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11880 file parsing and set FD_CLOEXEC.
11882 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11884 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11886 2011-11-14 Andreas Schwab <schwab@redhat.com>
11888 * malloc/arena.c (arena_get2): Don't call reused_arena when
11889 _int_new_arena failed.
11891 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11893 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11894 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11895 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11896 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11897 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11898 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11899 to compile strcasecmp and strncasecmp.
11900 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11901 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11903 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11905 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11907 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11908 locale-defines.sym to gen-as-const-headers.
11909 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11910 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11912 to compile strcasecmp and strncasecmp.
11913 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11914 strcasecmp_l and strncasecmp_l.
11915 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11916 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11917 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11918 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11919 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11920 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11921 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11922 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11923 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11924 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11925 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11927 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11929 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11930 result of SYSDEP_GETTIME_CPU to retval.
11931 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11932 parameter list to macro. Remove trailing semicolon. Adjust users.
11934 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11937 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11939 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11941 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11942 from unused variable.
11944 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11946 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11949 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11952 * sunrpc/rpc_prot.c (rejected): Fix case value.
11954 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11955 unsigned long long int to avoid warnings in shift.
11957 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11959 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11962 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11963 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11964 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11966 * nis/nis_table.c (nis_list): Use variable of correct type for
11967 result of __follow_path call.
11969 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11971 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11972 of math functions ceil, trunc, floor, round, and sqrt, when
11973 avaliable on the platform.
11974 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11976 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11977 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11978 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11980 2011-10-30 Marek Polacek <mpolacek@redhat.com>
11982 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11983 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11985 2011-11-11 Roland McGrath <roland@hack.frob.com>
11987 * include/unistd.h: Fix __readlink return type.
11988 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11990 2011-11-11 Ulrich Drepper <drepper@gmail.com>
11992 * stdlib/ucontext.h: Undo last change for makecontext.
11994 2011-11-11 Andreas Schwab <schwab@redhat.com>
11996 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11998 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11999 * setjmp/setjmp.h: Mark functions as non-leaf.
12000 * setjmp/bits/setjmp2.h: Likewise.
12001 * stdlib/ucontext.h: Likewise.
12003 2011-11-10 Andreas Schwab <schwab@redhat.com>
12005 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12006 (reused_arena): Don't check arena limit.
12007 (arena_get2): Atomically check arena limit.
12009 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12011 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12012 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12014 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12017 2011-11-07 Andreas Schwab <schwab@redhat.com>
12019 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12020 handler when locking.
12022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12023 Fix size of allocated buffer.
12025 2011-11-04 Andreas Schwab <schwab@redhat.com>
12028 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12029 declarations for long double functions.
12030 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12032 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12034 2011-11-03 Andreas Schwab <schwab@redhat.com>
12036 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12039 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12042 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12044 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12046 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12048 * include/alloca.h (stackinfo_alloca_round): Define.
12049 (extend_alloca): Use it.
12050 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12051 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12054 * scripts/check-local-headers.sh: Ignore libaudit.h.
12056 * nscd/Makefile (extra-objs): Make recursively expanded.
12058 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12060 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12061 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12063 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12064 * posix/tst-rfc3484-2.c: Likewise.
12065 * posix/tst-rfc3484-3.c: Likewise.
12067 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12069 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12071 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12072 process_vm_writev from libc using GLIBC_2.15 version.
12074 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12076 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12078 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12081 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12084 * nss/getent.c (initgroups_keys): Show error message in case no group
12087 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12088 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12089 __bump_nl_timestamp.
12090 * nscd/connections (nscd_init): When host database is served open
12091 netlink socket and request notification about configuration changes.
12092 (main_loop_poll): Track netlink file descriptor and bump timestamp
12093 in case data becomes available.
12094 (main_loop_epoll): Likewise.
12095 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12096 (database_pers_head): Add extra_data fileds.
12097 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12098 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12099 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12101 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12102 in6ai data, call __free_in6ai.
12103 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12104 Add -DHAVE_NETLINK.
12105 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12106 interface information. Reuse previous data if netlink timestamp
12108 (__bump_nl_timestamp): New function.
12109 (__free_in6ai): New function.
12111 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12113 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12114 close_not_cancel_no_status here.
12115 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12117 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12120 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12123 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12124 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12125 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12127 2011-07-03 Andreas Jaeger <aj@suse.de>
12130 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12131 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12132 * math/libm-test.inc (sin_test): Add test case.
12134 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12137 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12138 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12140 * elf/chroot_canon.c (chroot_canon): Cleanups.
12142 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12145 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12146 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12148 * string/test-strchr.c: Make usable for strchrnul testing.
12149 * string/test-strchrnul.c: New file.
12150 * string/Makefile (strop-tests): Add strchrnul.
12152 * po/it.po: Update from translation team.
12153 * po/es.po: Likewise.
12155 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12157 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12158 the three constants needed as parameters. Drop the others.
12159 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12160 __m128i_strloadu_tolower.
12161 Create and initialize variable zero and use it in all the places
12162 where _mm_setzero_si128 was used.
12164 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12165 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12166 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12167 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12169 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12170 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12171 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12172 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12173 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12174 __mpranred, __mptan.
12175 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12176 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12177 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12178 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12179 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12180 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12181 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12182 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12183 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12185 2011-10-28 Andreas Schwab <schwab@redhat.com>
12187 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12188 redefine if SHARED.
12189 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12192 wide char related routines to wcsmbs subdir.
12194 2011-10-27 Andreas Schwab <schwab@redhat.com>
12197 * misc/sys/cdefs.h (__THROWNL): Define.
12198 * posix/unistd.h: Use __THREADNL instead of __THREAD
12199 for memory synchronization functions.
12201 2011-10-26 Roland McGrath <roland@hack.frob.com>
12204 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12206 * manual/stdio.texi (Obstack Streams): Node removed.
12208 2011-10-26 Andreas Schwab <schwab@redhat.com>
12210 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12211 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12212 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12214 * math/math_private.h (math_force_eval): Allow non-addressable
12216 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12218 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12220 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12221 file is not needed.
12223 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12224 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12225 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12226 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12227 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12228 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12229 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12230 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12232 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12233 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12234 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12235 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12236 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12237 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12238 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12239 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12240 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12241 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12242 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12243 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12244 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12245 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12246 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12247 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12248 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12249 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12250 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12252 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12253 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12255 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12256 place. Use VEX encoding when compiling for AVX.
12258 2011-10-25 Andreas Schwab <schwab@redhat.com>
12260 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12261 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12263 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12265 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12267 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12268 useless if() expression.
12269 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12272 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12276 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12278 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12279 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12280 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12281 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12282 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12283 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12284 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12285 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12286 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12287 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12289 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12291 2011-10-25 Andreas Schwab <schwab@redhat.com>
12293 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12295 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12297 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12299 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12300 .text section. Avoid duplicate constants.
12301 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12311 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12313 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12316 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12318 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12320 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12321 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12322 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12323 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12324 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12325 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12326 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12327 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12328 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12329 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12330 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12331 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12332 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12333 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12334 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12335 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12336 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12337 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12338 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12339 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12340 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12341 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12342 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12343 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12344 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12345 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12347 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12349 * sysdeps/x86_64/dla.h: Move to ...
12350 * sysdeps/x86_64/fpu/dla.h: ...here.
12351 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12352 situations. Use __builtin_fma only for gcc 4.6 and up.
12354 * config.make.in: Add have-mfma4 entry.
12355 * configure.in: Substitute libc_cv_cc_fma4.
12356 * math/Makefile (dbl-only-routines): Add sincostab.
12357 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12358 Use __sincostab not sincos.
12359 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12361 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12363 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12366 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12367 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12368 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12369 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12371 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12372 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12374 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12375 define aliases when function name is a macro.
12376 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12377 sysdeps/ieee754/dbl-64/sincos.tbl.
12378 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12379 fma4-enabled routines.
12380 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12381 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12382 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12383 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12384 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12385 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12386 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12387 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12388 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12389 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12390 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12391 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12392 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12393 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12394 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12395 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12396 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12397 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12398 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12399 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12400 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12401 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12402 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12403 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12404 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12405 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12406 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12407 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12408 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12409 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12411 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12413 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12422 2011-10-24 Andreas Schwab <schwab@redhat.com>
12424 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12426 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12428 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12430 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12432 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12434 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12435 Remove unused variable magic_bits.
12436 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12438 * string/strnlen.c: Define and use STRNLEN macro.
12439 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12440 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12441 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12442 * wcsmbs/wcslen.c: Define and use WCSLEN.
12443 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12444 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12445 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12446 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12447 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12448 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12449 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12451 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12454 strnlen-sse2-no-bsf.
12455 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12456 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12457 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12458 Add strnlen support.
12459 (USE_AS_STRNLEN): New macro.
12460 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12461 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12462 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12463 * sysdeps/x86_64/wcslen.S: New file.
12465 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12468 XMM-moves are used for copying on small sizes.
12470 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12472 * wcsmbs/Makefile (strop-tests): Add wcschr.
12473 * wcsmbs/test-wcschr.c: New file.
12474 * string/test-strchr.c: Update.
12475 Add wcschr support.
12478 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12480 * wcsmbs/Makefile (strop-tests): Add wcslen.
12481 * wcsmbs/test-wcslen.c: New file.
12482 * string/test-strlen.c: Update.
12483 Add wcslen support.
12486 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12488 * po/it.po: Update from translation team.
12490 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12492 * sysdeps/x86_64/wcscmp.S: Update.
12493 Fix wrong comparison semantics.
12494 wcscmp shall use signed comparison not unsigned.
12495 Don't use substraction to avoid overflow bug.
12496 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12497 * wcsmbc/wcscmp.c: Likewise.
12498 * string/test-strcmp.c: Likewise.
12499 Add new tests to check cases with negative values.
12501 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12503 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12504 * sysdeps/x86_64/dla.h: ...here. New file.
12505 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12506 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12507 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12510 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12511 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12512 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12513 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12515 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12518 __ynl_finite aliases.
12520 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12524 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12526 [DLA_FMA] (EMULV): Use DLA_FMA.
12527 [DLA_FMA] (MUL12): Use EMULV.
12528 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12529 that are not needed.
12530 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12531 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12533 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12534 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12535 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12536 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12538 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12540 * math/s_nan.c: Undef __nan.
12541 * math/s_nanf.c: Undef __nanf.
12542 * math/s_nanl.c: Undef __nanl.
12543 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12546 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12548 * math/s_catan.c: Add branch predictions.
12549 * math/s_catanf.c: Likewise.
12550 * math/s_catanh.c: Likewise.
12551 * math/s_catanhf.c: Likewise.
12552 * math/s_catanhl.c: Likewise.
12553 * math/s_catanl.c: Likewise.
12554 * math/s_cexp.c: Likewise.
12555 * math/s_cexpf.c: Likewise.
12556 * math/s_cexpl.c: Likewise.
12557 * math/s_clog.c: Likewise.
12558 * math/s_clog10.c: Likewise.
12559 * math/s_clog10f.c: Likewise.
12560 * math/s_clog10l.c: Likewise.
12561 * math/s_clogf.c: Likewise.
12562 * math/s_clogl.c: Likewise.
12563 * math/s_csqrt.c: Likewise.
12564 * math/s_csqrtf.c: Likewise.
12565 * math/s_csqrtl.c: Likewise.
12566 * math/s_ctanf.c: Likewise.
12567 * math/s_ctanh.c: Likewise.
12568 * math/s_ctanhf.c: Likewise.
12569 * math/s_ctanhl.c: Likewise.
12570 * math/s_ctanl.c: Likewise.
12572 * math/math_private.h: Define __nan, __nanf, __nanl.
12573 * math/s_cacosh.c: Include <math_private.h>.
12574 * math/s_cacoshl.c: Likewise.
12575 * math/s_casinh.c: Likewise.
12576 * math/s_casinhf.c: Likewise.
12577 * math/s_casinhl.c: Likewise.
12578 * math/s_ccos.c: Rely entire on ccosh.
12579 * math/s_ccosf.c: Rely entire on ccoshf.
12580 * math/s_ccosl.c: Rely entirely on ccoshl.
12581 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12582 Remove tests for FE_INVALID.
12583 * math/s_ccoshf.c: Likewise.
12584 * math/s_ccoshl.c: Likewise.
12585 * math/s_csin.c: Likewise.
12586 * math/s_csinf.c: Likewise.
12587 * math/s_csinh.c Likewise.
12588 * math/s_csinhf.c: Likewise.
12589 * math/s_csinhl.c: Likewise.
12590 * math/s_csinl.c: Likewise.
12591 * math/s_ctan.c: Likewise.
12592 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12593 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12594 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12596 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12599 compilation problems.
12601 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12604 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12606 * sysdeps/i386/configure.in: Test for -mfma4 option.
12607 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12608 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12609 COMMON_CPUID_INDEX_80000001.
12610 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12611 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12612 use it if FMA3 is not supported.
12613 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12615 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12616 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12618 2011-10-20 Andreas Schwab <schwab@redhat.com>
12621 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12622 it would create a cycle with a link time dependency.
12624 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12626 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12628 * string/Makefile (strop-tests): Add rawmemchr.
12629 * string/test-rawmemchr.c: New file.
12631 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12632 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12633 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12634 when compiling str{,n}casecmp and when AVX is available. Hook up
12635 new optimized code in initializers.
12637 2011-10-19 Andreas Schwab <schwab@redhat.com>
12639 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12640 __feraiseexcept instead of feraiseexcept.
12642 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12644 * math/math_private.h: Define defaults for libc_fetestexcept and
12646 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12647 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12648 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12649 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12650 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12651 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12652 libc_fetestexcept and libc_feupdateenv.
12654 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12655 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12656 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12657 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12658 libc_feholdexcept_setround.
12660 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12661 Add s_nearbyint-c and s_nearbyintf-c.
12662 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12663 nearbyintf inlines.
12664 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12665 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12666 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12667 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12669 * math/math_private.h: Define defaults for libc_fegetround,
12670 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12671 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12672 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12673 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12674 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12675 standard functions.
12676 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12677 Remove comments and hacks for old compiler versions.
12678 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12679 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12680 libc_feholdexceptl.
12682 2011-10-18 Andreas Schwab <schwab@redhat.com>
12684 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12685 (__feraiseexcept_renamed): Add __NTH.
12686 (feraiseexcept): Add __NTH. Rename local variables to fix
12687 namespace violations.
12689 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12691 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12693 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12695 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12696 recently added interfaces.
12697 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12699 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12700 about macro parameter expansion.
12702 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12703 __NO_MATH_INLINES is defined. Cleanups.
12705 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12706 and __floorf is target has SSE4.1.
12707 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12708 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12709 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12710 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12712 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12714 (floorf): Likewise.
12716 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12718 2011-10-17 Andreas Schwab <schwab@redhat.com>
12720 * misc/sys/cdefs.h: Fix last change.
12722 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12725 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12727 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12729 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12730 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12735 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12736 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12737 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12738 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12739 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12740 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12741 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12742 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12743 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12744 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12745 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12746 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12747 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12748 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12749 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12750 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12752 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12753 ceil, ceilf, floor, floorf.
12755 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12756 Perform IRELATIVE relocations last.
12758 * elf/do-rel.h: Add another parameter nrelative, replacing the
12759 local variable with the same name. Change name of the function
12760 to end in Rel or Rela (uppercase).
12761 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12762 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12763 elf_dynamic_do_##reloc function.
12765 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12767 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12768 is sufficient, at least on modern CPUs.
12770 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12772 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12773 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12775 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12777 * math/bits/math-finite.h: Add entries for exp.
12778 * math/e_expl.c: Add __*_finite alias.
12779 * sysdeps/i386/fpu/e_exp.S: Likewise.
12780 * sysdeps/i386/fpu/e_expf.S: Likewise.
12781 * sysdeps/i386/fpu/e_expl.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12783 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12784 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12787 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12788 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12790 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12791 is sufficient, at least on modern CPUs.
12793 * ctype/ctype-info.c (__ctype_init): Define.
12794 * include/ctype.h (__ctype_init): Declare.
12795 (__ctype_b_loc): The variable is always initialized.
12796 (__ctype_toupper_loc): Likewise.
12797 (__ctype_tolower_loc): Likewise.
12798 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12799 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12801 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12803 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12805 * configure.in: Also look in $cxxmachine/include for C++ system
12808 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12810 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12811 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12812 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12813 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12814 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12815 (USE_AS_WMEMCMP): New macro.
12817 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12818 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12819 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12820 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12822 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12823 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12824 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12825 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12826 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12827 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12828 (USE_AS_WMEMCMP): New macro.
12829 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12830 * sysdeps/string/test-memcmp.c: Update.
12831 Fix simple_wmemcmp.
12833 * wcsmbs/wmemcmp.c: Update.
12834 (WMEMCMP): New macro.
12837 2011-10-12 Andreas Jaeger <aj@suse.de>
12840 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12842 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12844 * libio/iofwide.c (do_length): Avoid warning.
12846 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12848 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12850 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12852 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12853 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12854 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12855 * sysdeps/i386/i686/fpu/e_log.S: New file.
12856 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12857 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12859 * ctype/ctype.h: Add support for inlined isXXX functions when
12860 compiling C++ code.
12862 2011-10-14 Andreas Schwab <schwab@redhat.com>
12864 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12866 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12868 2011-10-13 Roland McGrath <roland@hack.frob.com>
12871 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12873 2011-10-13 Andreas Schwab <schwab@redhat.com>
12875 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12876 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12879 * sysdeps/x86_64/memrchr.S: Check for zero size.
12881 * string/stratcliff.c: Add memrchr tests.
12883 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12886 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12887 rawmemchr-sse2 rawmemchr-sse2-bsf.
12888 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12889 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12890 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12891 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12892 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12893 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12894 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12895 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12896 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12897 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12898 * string/memrchr.c (MEMRCHR): New macro.
12900 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12902 Add integration with gcc's -ffinite-math-only and optimize wrapper
12904 * Versions.def: Define GLIBC_2.15 version for libm.
12905 * math/Makefile (headers): Add bits/math-finite.h.
12906 * math/bits/math-finite.h: New file.
12907 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12908 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12909 * math/e_acoshl.c: Add __*_finite alias.
12910 * math/e_acosl.c: Likewise.
12911 * math/e_asinl.c: Likewise.
12912 * math/e_atan2l.c: Likewise.
12913 * math/e_atanhl.c: Likewise.
12914 * math/e_coshl.c: Likewise.
12915 * math/e_exp10.c: Likewise.
12916 * math/e_exp10f.c: Likewise.
12917 * math/e_exp10l.c: Likewise.
12918 * math/e_exp2l.c: Likewise.
12919 * math/e_fmodl.c: Likewise.
12920 * math/e_gammal_r.c: Likewise.
12921 * math/e_hypotl.c: Likewise.
12922 * math/e_j0l.c: Likewise.
12923 * math/e_j1l.c: Likewise.
12924 * math/e_jnl.c: Likewise.
12925 * math/e_lgammal_r.c: Likewise.
12926 * math/e_log10l.c: Likewise.
12927 * math/e_log2l.c: Likewise.
12928 * math/e_logl.c: Likewise.
12929 * math/e_powl.c: Likewise.
12930 * math/e_sinhl.c: Likewise.
12931 * math/e_sqrtl.c: Likewise.
12932 * math/e_scalb.c: Completely rewritten and optimized.
12933 * math/e_scalbf.c: Likewise.
12934 * math/e_scalbl.c: Likewise.
12935 * math/w_acos.c: Likewise.
12936 * math/w_acosf.c: Likewise.
12937 * math/w_acosl.c: Likewise.
12938 * math/w_acosh.c: Likewise.
12939 * math/w_acoshf.c: Likewise.
12940 * math/w_acoshl.c: Likewise.
12941 * math/w_asin.c: Likewise.
12942 * math/w_asinf.c: Likewise.
12943 * math/w_asinl.c: Likewise.
12944 * math/w_atan2.c: Likewise.
12945 * math/w_atan2f.c: Likewise.
12946 * math/w_atan2l.c: Likewise.
12947 * math/w_atanh.c: Likewise.
12948 * math/w_atanhf.c: Likewise.
12949 * math/w_atanhl.c: Likewise.
12950 * math/w_exp10.c: Likewise.
12951 * math/w_exp10f.c: Likewise.
12952 * math/w_exp10l.c: Likewise.
12953 * math/w_fmod.c: Likewise.
12954 * math/w_fmodf.c: Likewise.
12955 * math/w_fmodl.c: Likewise.
12956 * math/w_j0.c: Likewise.
12957 * math/w_j0f.c: Likewise.
12958 * math/w_j0l.c: Likewise.
12959 * math/w_j1.c: Likewise.
12960 * math/w_j1f.c: Likewise.
12961 * math/w_j1l.c: Likewise.
12962 * math/w_jn.c: Likewise.
12963 * math/w_jnf.c: Likewise.
12964 * math/w_log.c: Likewise.
12965 * math/w_logf.c: Likewise.
12966 * math/w_logl.c: Likewise.
12967 * math/w_log10.c: Likewise.
12968 * math/w_log10f.c: Likewise.
12969 * math/w_log10l.c: Likewise.
12970 * math/w_log2.c: Likewise.
12971 * math/w_log2f.c: Likewise.
12972 * math/w_log2l.c: Likewise.
12973 * math/w_pow.c: Likewise.
12974 * math/w_powf.c: Likewise.
12975 * math/w_powl.c: Likewise.
12976 * math/w_remainder.c: Likewise.
12977 * math/w_remainderf.c: Likewise.
12978 * math/w_remainderl.c: Likewise.
12979 * math/w_scalb.c: Likewise.
12980 * math/w_scalbf.c: Likewise.
12981 * math/w_scalbl.c: Likewise.
12982 * math/w_sqrt.c: Likewise.
12983 * math/w_sqrtf.c: Likewise.
12984 * math/w_sqrtl.c: Likewise.
12985 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12986 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12988 * math/math_private.h: Declare __kernel_standard_f.
12989 * math/w_cosh.c: Remove cruft and optimize a bit.
12990 * math/w_coshf.c: Likewise.
12991 * math/w_coshl.c: Likewise.
12992 * math/w_exp2.c: Likewise.
12993 * math/w_exp2f.c: Likewise.
12994 * math/w_exp2l.c: Likewise.
12995 * math/w_hypot.c: Likewise.
12996 * math/w_hypotf.c: Likewise.
12997 * math/w_hypotl.c: Likewise.
12998 * math/w_lgamma.c: Likewise.
12999 * math/w_lgamma_r.c: Likewise.
13000 * math/w_lgammaf.c: Likewise.
13001 * math/w_lgammaf_r.c: Likewise.
13002 * math/w_lgammal.c: Likewise.
13003 * math/w_lgammal_r.c: Likewise.
13004 * math/w_sinh.c: Likewise.
13005 * math/w_sinhf.c: Likewise.
13006 * math/w_sinhl.c: Likewise.
13007 * math/w_tgamma.c: Likewise.
13008 * math/w_tgammaf.c: Likewise.
13009 * math/w_tgammal.c: Likewise.
13010 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13011 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13012 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13013 Minor optimizations. Pretty printing. Remove cruft.
13014 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13015 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13016 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13017 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13018 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13019 * sysdeps/i386/fpu/e_asin.S: Likewise.
13020 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13021 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13022 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13023 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13024 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13025 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13026 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13027 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13028 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13029 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13030 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13031 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13032 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13033 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13034 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13035 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13036 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13037 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13038 * sysdeps/i386/fpu/e_log.S: Likewise.
13039 * sysdeps/i386/fpu/e_log10.S: Likewise.
13040 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13041 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13042 * sysdeps/i386/fpu/e_log2.S: Likewise.
13043 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13044 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13045 * sysdeps/i386/fpu/e_logf.S: Likewise.
13046 * sysdeps/i386/fpu/e_logl.S: Likewise.
13047 * sysdeps/i386/fpu/e_pow.S: Likewise.
13048 * sysdeps/i386/fpu/e_powf.S: Likewise.
13049 * sysdeps/i386/fpu/e_powl.S: Likewise.
13050 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13051 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13052 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13053 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13054 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13055 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13056 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13057 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13058 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13060 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13062 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13077 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13078 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13079 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13080 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13081 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13082 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13083 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13084 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13085 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13086 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13087 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13088 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13089 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13090 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13091 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13092 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13093 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13094 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13095 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13096 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13097 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13098 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13099 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13100 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13105 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13107 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13108 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13109 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13111 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13112 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13114 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13115 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13116 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13117 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13118 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13119 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13124 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13125 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13126 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13127 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13128 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13129 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13130 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13131 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13132 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13133 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13137 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13138 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13139 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13142 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13143 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13144 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13145 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13146 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13147 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13148 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13149 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13150 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13151 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13152 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13153 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13154 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13155 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13156 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13157 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13158 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13159 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13160 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13161 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13162 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13163 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13164 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13165 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13166 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13167 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13168 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13169 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13170 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13171 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13172 (__isnanf): Likewise.
13173 (__isinf_ns): Likewise.
13174 (__isinf_nsf): Likewise.
13175 (__finite): Likewise.
13176 (__finitef): Likewise.
13177 (__ieee754_sqrt): Define as macro.
13178 (__ieee754_sqrtf): Define as macro.
13179 (__ieee754_sqrtl): Define as macro.
13180 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13182 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13183 __FINITE_MATH_ONLY__ consistent.
13184 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13186 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13188 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13191 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13193 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13195 * po/ja.po: Update from translation team.
13197 2011-10-08 Roland McGrath <roland@hack.frob.com>
13199 * locale/programs/locarchive.c (prepare_address_space): New function.
13200 (create_archive, enlarge_archive, open_archive): Use it.
13202 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13203 inside [SHARED], where it is used.
13205 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13207 * nss/getent.c (netgroup_keys): Remove unused variable.
13208 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13210 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13212 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13213 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13214 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13215 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13216 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13217 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13218 * math/Makefile (libm-calls): Add s_isinf_ns.
13219 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13220 * math/multc3.c: Likewise.
13221 * math/s_casin.c: Likewise.
13222 * math/s_casinf.c: Likewise.
13223 * math/s_casinl.c: Likewise.
13224 * math/s_ccos.c: Likewise.
13225 * math/s_ccosf.c: Likewise.
13226 * math/s_ccosl.c: Likewise.
13227 * math/s_ctan.c: Likewise.
13228 * math/s_ctanf.c: Likewise.
13229 * math/s_ctanh.c: Likewise.
13230 * math/s_ctanhf.c: Likewise.
13231 * math/s_ctanhl.c: Likewise.
13232 * math/s_ctanl.c: Likewise.
13233 * math/w_fmod.c: Likewise.
13234 * math/w_fmodf.c: Likewise.
13235 * math/w_fmodl.c: Likewise.
13236 * math/w_remainder.c: Likewise.
13237 * math/w_remainderf.c: Likewise.
13238 * math/w_remainderl.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13240 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13241 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13242 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13243 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13244 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13245 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13246 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13248 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13250 * stdio-common/printf_fphex.c: Likewise.
13251 * stdio-common/printf_size.c: Likewise.
13253 * math/e_exp10.c: Include math_private.h using <...> not "...".
13254 * math/e_exp10f.c: Likewise.
13255 * math/e_exp10l.c: Likewise.
13256 * math/e_exp2l.c: Likewise.
13257 * math/e_j0l.c: Likewise.
13258 * math/e_j1l.c: Likewise.
13259 * math/e_jnl.c: Likewise.
13260 * math/e_lgammal_r.c: Likewise.
13261 * math/e_rem_pio2l.c: Likewise.
13262 * math/e_scalb.c: Likewise.
13263 * math/e_scalbf.c: Likewise.
13264 * math/e_scalbl.c: Likewise.
13265 * math/k_cosl.c: Likewise.
13266 * math/k_sinl.c: Likewise.
13267 * math/k_tanl.c: Likewise.
13268 * math/s_cacoshf.c: Likewise.
13269 * math/s_catan.c: Likewise.
13270 * math/s_catanf.c: Likewise.
13271 * math/s_catanh.c: Likewise.
13272 * math/s_catanhf.c: Likewise.
13273 * math/s_catanhl.c: Likewise.
13274 * math/s_catanl.c: Likewise.
13275 * math/s_ccosh.c: Likewise.
13276 * math/s_ccoshf.c: Likewise.
13277 * math/s_ccoshl.c: Likewise.
13278 * math/s_cexp.c: Likewise.
13279 * math/s_cexpf.c: Likewise.
13280 * math/s_cexpl.c: Likewise.
13281 * math/s_clog.c: Likewise.
13282 * math/s_clog10.c: Likewise.
13283 * math/s_clog10f.c: Likewise.
13284 * math/s_clog10l.c: Likewise.
13285 * math/s_clogf.c: Likewise.
13286 * math/s_clogl.c: Likewise.
13287 * math/s_csin.c: Likewise.
13288 * math/s_csinf.c: Likewise.
13289 * math/s_csinh.c: Likewise.
13290 * math/s_csinhf.c: Likewise.
13291 * math/s_csinhl.c: Likewise.
13292 * math/s_csinl.c: Likewise.
13293 * math/s_csqrt.c: Likewise.
13294 * math/s_csqrtf.c: Likewise.
13295 * math/s_csqrtl.c: Likewise.
13296 * math/s_ctan.c: Likewise.
13297 * math/s_ctanf.c: Likewise.
13298 * math/s_ctanh.c: Likewise.
13299 * math/s_ctanhf.c: Likewise.
13300 * math/s_ctanhl.c: Likewise.
13301 * math/s_ctanl.c: Likewise.
13302 * math/s_ldexp.c: Likewise.
13303 * math/s_ldexpf.c: Likewise.
13304 * math/s_ldexpl.c: Likewise.
13305 * math/s_significand.c: Likewise.
13306 * math/s_significandf.c: Likewise.
13307 * math/s_significandl.c: Likewise.
13308 * math/w_acos.c: Likewise.
13309 * math/w_acosf.c: Likewise.
13310 * math/w_acosh.c: Likewise.
13311 * math/w_acoshf.c: Likewise.
13312 * math/w_acoshl.c: Likewise.
13313 * math/w_acosl.c: Likewise.
13314 * math/w_asin.c: Likewise.
13315 * math/w_asinf.c: Likewise.
13316 * math/w_asinl.c: Likewise.
13317 * math/w_atan2.c: Likewise.
13318 * math/w_atan2f.c: Likewise.
13319 * math/w_atan2l.c: Likewise.
13320 * math/w_atanh.c: Likewise.
13321 * math/w_atanhf.c: Likewise.
13322 * math/w_atanhl.c: Likewise.
13323 * math/w_cosh.c: Likewise.
13324 * math/w_coshf.c: Likewise.
13325 * math/w_coshl.c: Likewise.
13326 * math/w_dremf.c: Likewise.
13327 * math/w_exp10.c: Likewise.
13328 * math/w_exp10f.c: Likewise.
13329 * math/w_exp10l.c: Likewise.
13330 * math/w_exp2.c: Likewise.
13331 * math/w_exp2f.c: Likewise.
13332 * math/w_fmod.c: Likewise.
13333 * math/w_fmodf.c: Likewise.
13334 * math/w_fmodl.c: Likewise.
13335 * math/w_hypot.c: Likewise.
13336 * math/w_hypotf.c: Likewise.
13337 * math/w_hypotl.c: Likewise.
13338 * math/w_j0.c: Likewise.
13339 * math/w_j0f.c: Likewise.
13340 * math/w_j0l.c: Likewise.
13341 * math/w_j1.c: Likewise.
13342 * math/w_j1f.c: Likewise.
13343 * math/w_j1l.c: Likewise.
13344 * math/w_jn.c: Likewise.
13345 * math/w_jnf.c: Likewise.
13346 * math/w_jnl.c: Likewise.
13347 * math/w_lgamma.c: Likewise.
13348 * math/w_lgamma_r.c: Likewise.
13349 * math/w_lgammaf.c: Likewise.
13350 * math/w_lgammaf_r.c: Likewise.
13351 * math/w_lgammal.c: Likewise.
13352 * math/w_lgammal_r.c: Likewise.
13353 * math/w_log.c: Likewise.
13354 * math/w_log10.c: Likewise.
13355 * math/w_log10f.c: Likewise.
13356 * math/w_log10l.c: Likewise.
13357 * math/w_log2.c: Likewise.
13358 * math/w_log2f.c: Likewise.
13359 * math/w_log2l.c: Likewise.
13360 * math/w_logf.c: Likewise.
13361 * math/w_logl.c: Likewise.
13362 * math/w_pow.c: Likewise.
13363 * math/w_powf.c: Likewise.
13364 * math/w_powl.c: Likewise.
13365 * math/w_remainder.c: Likewise.
13366 * math/w_remainderf.c: Likewise.
13367 * math/w_remainderl.c: Likewise.
13368 * math/w_scalb.c: Likewise.
13369 * math/w_scalbf.c: Likewise.
13370 * math/w_scalbl.c: Likewise.
13371 * math/w_sinh.c: Likewise.
13372 * math/w_sinhf.c: Likewise.
13373 * math/w_sinhl.c: Likewise.
13374 * math/w_sqrt.c: Likewise.
13375 * math/w_sqrtf.c: Likewise.
13376 * math/w_sqrtl.c: Likewise.
13377 * math/w_tgamma.c: Likewise.
13378 * math/w_tgammaf.c: Likewise.
13379 * math/w_tgammal.c: Likewise.
13381 * po/ja.po: Update from translation team.
13383 2011-09-29 Andreas Jaeger <aj@suse.de>
13386 * sunrpc/netname.c (netname2host): Fix logic.
13390 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13392 * math/w_remainder.c (__remainder): Likewise.
13393 * math/w_remainderf.c (__remainderf): Likewise.
13394 * math/libm-test.inc (remainder_test): Add test cases.
13396 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13398 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13401 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13403 * string/test-memcmp.c: Avoid unncessary #defines.
13404 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13406 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13408 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13409 Use new sse2 version for core i3 - i7 as it's faster
13410 than sse42 version.
13411 (bit_Prefer_PMINUB_for_stringop): New.
13412 * sysdeps/x86_64/rawmemchr.S: Update.
13413 Replace with faster SSE2 version.
13414 * sysdeps/x86_64/memrchr.S: New file.
13415 * sysdeps/x86_64/memchr.S: Update.
13416 Replace with faster SSE2 version.
13418 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13420 * elf/dl-load.c (lose): Add cast to avoid warning.
13422 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13424 * po/ca.po: Update from translation team.
13426 * inet/getnetgrent_r.c: Hook up nscd.
13427 * nscd/Makefile (routines): Add nscd_netgroup.
13428 (nscd-modules): Add netgroupcache.
13429 (CFLAGS-netgroupcache.c): Define.
13430 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13431 (cache_search): Add const to second parameter.
13432 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13434 (dbs): Add netgrdb entry.
13435 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13436 (verify_persistent_db): Handle netgrdb.
13437 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13438 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13440 (netgroup_response_header): Define.
13441 (innetgroup_response_header): Define.
13442 (datahead): Add netgroup_response_header and innetgroup_response_header
13444 * nscd/nscd.conf: Add entries for netgroup cache.
13445 * nscd/nscd.h (dbtype): Add netgrdb.
13446 (_PATH_NSCD_NETGROUP_DB): Define.
13447 (netgroup_iov_disabled): Declare.
13448 (xmalloc, xcalloc, xrealloc): Move declarations here.
13449 (cache_search): Adjust prototype.
13450 Add netgroup-related prototypes.
13451 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13452 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13453 (__nscd_innetgr): Declare.
13454 * nscd/selinux.c (perms): Use access_vector_t as element type and
13455 add netgroup-related initializers.
13456 * nscd/netgroupcache.c: New file.
13457 * nscd/nscd_netgroup.c: New file.
13458 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13459 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13460 For four parameters use innetgr.
13461 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13462 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13463 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13464 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13466 * nscd/connections.c (register_traced_file): Don't register file
13467 for disabled databases.
13469 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13471 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13473 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13474 from tree and freeing node.
13476 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13478 * nss/nsswitch.c (__nss_database_lookup): Handle
13479 nss_parse_service_list out of memory case.
13481 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13483 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13484 out of memory case.
13486 2011-10-04 Andreas Schwab <schwab@redhat.com>
13488 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13489 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13491 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13492 elf_machine_rela, elf_machine_lazy_rel.
13493 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13494 (ELF_DYNAMIC_DO_REL): Likewise.
13495 (ELF_DYNAMIC_DO_RELA): Likewise.
13496 (ELF_DYNAMIC_RELOCATE): Likewise.
13497 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13498 to ELF_DYNAMIC_DO_REL.
13499 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13500 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13501 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13503 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13504 skip_ifunc, don't call ifunc function if non-zero.
13505 (elf_machine_rela): Likewise.
13506 (elf_machine_lazy_rel): Likewise.
13507 (elf_machine_lazy_rela): Likewise.
13508 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13509 (elf_machine_lazy_rel): Likewise.
13510 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13512 (elf_machine_lazy_rel): Likewise.
13513 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13515 (elf_machine_lazy_rel): Likewise.
13516 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13517 (elf_machine_lazy_rel): Likewise.
13518 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13519 (elf_machine_lazy_rel): Likewise.
13520 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13521 (elf_machine_lazy_rel): Likewise.
13522 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13523 (elf_machine_lazy_rel): Likewise.
13524 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13525 (elf_machine_lazy_rel): Likewise.
13526 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13527 (elf_machine_lazy_rel): Likewise.
13529 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13531 * nss/nss_files/files-init.c (_nss_files_init): Use static
13532 initialization for all the *_traced_file variables.
13534 2011-09-28 Andreas Schwab <schwab@redhat.com>
13536 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13538 2011-09-27 Roland McGrath <roland@hack.frob.com>
13541 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13543 2011-09-27 Andreas Schwab <schwab@redhat.com>
13545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13546 Reread the line before reparsing it.
13548 2011-09-26 Andreas Schwab <schwab@redhat.com>
13550 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13552 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13553 Maxim Kuvyrkov <maxim@codesourcery.com>
13554 Joseph Myers <joseph@codesourcery.com>
13556 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13557 if needed for __stack_chk_guard.
13559 2011-09-19 Roland McGrath <roland@hack.frob.com>
13561 * sysdeps/posix/spawni.c (script_execute): Always define it.
13562 It will be optimized away if unused.
13563 (maybe_script_execute): New function.
13564 (__spawni): Call it.
13566 * Makerules: Don't include tls.make.
13567 (config-tls): Always set to thread.
13568 * tls.make.c: File removed.
13570 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13572 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13573 * config.make.in (CPPFLAGS-config): New substituted variable.
13575 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13577 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13580 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13581 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13583 2011-09-15 Roland McGrath <roland@hack.frob.com>
13585 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13586 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13587 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13588 (CALL_FAIL): Likewise.
13589 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13590 (CALL_FAIL): Macro removed.
13591 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13593 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13595 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13596 for __FINITE_MATH_ONLY__ == 1.
13598 2011-09-15 Andreas Schwab <schwab@redhat.com>
13600 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13601 __ieee754_sqrt instead of sqrt.
13602 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13603 __ieee754_sqrtf instead of sqrtf.
13604 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13605 __floorf instead of floorf.
13606 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13607 __floorf, __truncf instead of floorf, truncf.
13609 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13611 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13613 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13614 __extern_always_inline.
13615 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13618 2011-09-14 Andreas Schwab <schwab@redhat.com>
13620 * elf/rtld.c (dl_main): Also relocate in dependency order when
13621 doing symbol dependency testing.
13623 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13625 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13626 Always define `refsym'.
13628 2011-09-13 Andreas Schwab <schwab@redhat.com>
13630 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13631 (__FD_ELT): Renamed from __FDELT.
13632 * misc/bits/select2.h (__FD_ELT): Likewise.
13633 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13634 __FD_MASK instead of __FDELT, __FDMASK.
13635 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13637 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13640 * elf/Makefile (gen-ldd): Fix pattern.
13642 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13643 (init_tls): Likewise.
13645 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13647 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13649 2011-09-12 Andreas Schwab <schwab@redhat.com>
13651 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13652 `struct cmsghdr *' instead of `void *'.
13653 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13656 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13658 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13660 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13661 ldd_rewrite_script.
13663 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13665 * configure.in: Remove --with-tls option.
13666 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13667 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13668 out in case it is missing.
13669 * sysdeps/ia64/elf/configure.in: Likewise.
13670 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13671 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13672 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13673 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13674 * sysdeps/sh/elf/configure.in: Likewise.
13675 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13676 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13677 * sysdeps/x86_64/elf/configure.in: Likewise.
13678 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13679 * sysdeps/mach/hurd/tls.h: Likewise.
13682 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13685 * configure.in: Fix use of AC_INIT.
13687 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13689 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13691 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13693 * malloc/hooks.c: Likewise.
13696 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13697 variables statically.
13698 (narenas): Initialize.
13699 (list_lock): Initialize.
13700 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13701 initializtion of main_arena and list_lock. Small cleanups.
13702 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13703 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13704 Add initializers to main_arena and mp_.
13705 (malloc_state): Remove pagesize member. Change all users to use
13708 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13709 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13710 is always initialized.
13712 * malloc/malloc.c: Removed unused configurations and dead code.
13713 * malloc/arena.c: Likewise.
13714 * malloc/hooks.c: Likewise.
13715 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13717 * include/tls.h: Removed. USE___THREAD must always be defined.
13718 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13719 * elf/dl-libc.c: Likewise.
13720 * elf/dl-tsd.c: Likewise.
13721 * include/errno.h: Likewise.
13722 * include/netdb.h: Likewise.
13723 * include/resolv.h: Likewise.
13724 * inet/herrno-loc.c: Likewise.
13725 * inet/herrno.c: Likewise.
13726 * malloc/arena.c: Likewise.
13727 * malloc/hooks.c: Likewise.
13728 * malloc/malloc.c: Likewise.
13729 * resolv/res-state.c: Likewise.
13730 * resolv/res_libc.c: Likewise.
13731 * sysdeps/i386/dl-machine.h: Likewise.
13732 * sysdeps/ia64/dl-machine.h: Likewise.
13733 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13734 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13735 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13736 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13737 * sysdeps/sh/dl-machine.h: Likewise.
13738 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13739 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13740 * sysdeps/unix/i386/sysdep.S: Likewise.
13741 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13742 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13743 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13744 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13745 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13746 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13747 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13749 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13751 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13752 * sysdeps/x86_64/dl-machine.h: Likewise.
13753 * tls.make.c: Likewise.
13755 * configure.in: Remove --with-__thread option. Make tests for
13756 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13757 tls_model attribute fail if no support is available. Remove
13759 * Makeconfig: Adjust for dropped configure option. All features are
13761 * Makerules: Likewise.
13762 * Versions.def: Likewise.
13763 * argp/argp-fmtstream.c: Likewise.
13764 * argp/argp-fmtstream.h: Likewise.
13765 * argp/argp-help.c: Likewise.
13766 * assert/assert.c: Likewise.
13767 * config.h.in: Likewise.
13768 * config.make.in: Likewise.
13769 * configure: Likewise.
13770 * configure.in: Likewise.
13771 * csu/Versions: Likewise.
13772 * csu/init.c: Likewise.
13773 * elf/tst-audit2.c: Likewise.
13774 * elf/tst-tls10.c: Likewise.
13775 * elf/tst-tls10.h: Likewise.
13776 * elf/tst-tls11.c: Likewise.
13777 * elf/tst-tls12.c: Likewise.
13778 * elf/tst-tls14.c: Likewise.
13779 * elf/tst-tlsmod11.c: Likewise.
13780 * elf/tst-tlsmod12.c: Likewise.
13781 * elf/tst-tlsmod13.c: Likewise.
13782 * elf/tst-tlsmod13a.c: Likewise.
13783 * elf/tst-tlsmod14a.c: Likewise.
13784 * elf/tst-tlsmod15b.c: Likewise.
13785 * elf/tst-tlsmod16a.c: Likewise.
13786 * elf/tst-tlsmod16b.c: Likewise.
13787 * elf/tst-tlsmod7.c: Likewise.
13788 * elf/tst-tlsmod8.c: Likewise.
13789 * elf/tst-tlsmod9.c: Likewise.
13790 * gmon/gmon.c: Likewise.
13791 * grp/fgetgrent_r.c: Likewise.
13792 * grp/putgrent.c: Likewise.
13793 * hurd/fopenport.c: Likewise.
13794 * include/libc-symbols.h: Likewise.
13795 * include/tls.h: Likewise.
13796 * intl/gettextP.h: Likewise.
13797 * intl/loadinfo.h: Likewise.
13798 * locale/global-locale.c: Likewise.
13799 * locale/localeinfo.h: Likewise.
13800 * mach/devstream.c: Likewise.
13801 * malloc/arena.c: Likewise.
13802 * malloc/set-freeres.c: Likewise.
13803 * misc/err.c: Likewise.
13804 * misc/getttyent.c: Likewise.
13805 * misc/mntent_r.c: Likewise.
13806 * posix/getopt.c: Likewise.
13807 * posix/wordexp.c: Likewise.
13808 * pwd/fgetpwent_r.c: Likewise.
13809 * resolv/Versions: Likewise.
13810 * resolv/res_hconf.c: Likewise.
13811 * shadow/fgetspent_r.c: Likewise.
13812 * shadow/putspent.c: Likewise.
13813 * stdio-common/printf_fphex.c: Likewise.
13814 * stdio-common/tmpfile.c: Likewise.
13815 * stdlib/abort.c: Likewise.
13816 * stdlib/fmtmsg.c: Likewise.
13817 * sunrpc/auth_unix.c: Likewise.
13818 * sunrpc/clnt_perr.c: Likewise.
13819 * sunrpc/clnt_tcp.c: Likewise.
13820 * sunrpc/clnt_udp.c: Likewise.
13821 * sunrpc/clnt_unix.c: Likewise.
13822 * sunrpc/openchild.c: Likewise.
13823 * sunrpc/svc_simple.c: Likewise.
13824 * sunrpc/svc_tcp.c: Likewise.
13825 * sunrpc/svc_udp.c: Likewise.
13826 * sunrpc/svc_unix.c: Likewise.
13827 * sunrpc/xdr.c: Likewise.
13828 * sunrpc/xdr_array.c: Likewise.
13829 * sunrpc/xdr_rec.c: Likewise.
13830 * sunrpc/xdr_ref.c: Likewise.
13831 * sunrpc/xdr_stdio.c: Likewise.
13833 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13835 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13837 2011-07-03 Andreas Jaeger <aj@suse.de>
13839 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13840 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13841 regenerate with gen-libm-tests.pl.
13843 2010-05-12 Petr Baudis <pasky@suse.cz>
13846 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13847 around j0() zero points by switching to j1().
13848 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13849 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13850 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13851 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13853 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13855 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13857 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13860 Patch in part by Pavel Roskin <proski@gnu.org>.
13863 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13865 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13866 Free memory block if necessary.
13869 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13870 be NULL. Don't lock in this case.
13872 2011-09-09 Roland McGrath <roland@hack.frob.com>
13874 * elf/elf.h (ELFOSABI_GNU): New macro.
13875 (ELFOSABI_LINUX): Define to that.
13877 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13879 * string/strncat.c (strncat): Undef the symbol in case it has been
13880 defined in bits/string.h.
13882 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13884 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13886 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13889 2011-08-17 Andreas Jaeger <aj@suse.de>
13891 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13893 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13894 Ian Lance Taylor <iant@google.com>
13896 * math/libm-test.inc (lround_test): New testcase.
13897 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13899 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13901 * Makefile: Remove support for automatic cvs check-ins.
13902 * Makerules: Likewise.
13903 * config.make.in: Likewise.
13904 * configure.in: Likewise.
13905 * intl/Makefile: Likewise.
13906 * locale/Makefile: Likewise.
13907 * po/Makefile: Likewise.
13908 * posix/Makefile: Likewise.
13909 * sysdeps/gnu/Makefile: Likewise.
13910 * sysdeps/mach/hurd/Makefile: Likewise.
13911 * sysdeps/sparc/sparc32/Makefile: Likewise.
13914 * posix/Makefile (bug-regex32-ENV): Define.
13915 Patch by John Stanley <jpsinthemix@verizon.net>.
13917 * misc/Makefile (headers): Add bits/select2.h.
13918 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13919 * misc/bits/select2.h: New file.
13920 * include/bits/select2.h: New file.
13921 * debug/Makefile (routines): Add fdelt_chk.
13922 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13923 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13925 * debug/fdelt_chk.c: New file.
13927 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13928 * wcsmbs/test-wmemcmp.c: Likewise.
13929 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13930 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13932 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13934 * string/Makefile (strop-tests): Add memcmp.
13935 * string/test-wmemcmp.c: New file.
13936 * string/test-memcmp.c: Add wmemcmp support.
13938 2011-09-08 Roland McGrath <roland@hack.frob.com>
13941 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13944 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13945 garbage value in a __mach_port_mod_refs call in the cases of the
13946 task-self and thread-self ports.
13948 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13950 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13952 2011-09-08 Andreas Schwab <schwab@redhat.com>
13954 * elf/dl-load.c (lose): Check for non-null L.
13956 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13958 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13960 * elf/dl-libc.c (dlerror_run): Pass back error code from
13964 * elf/dl-load.c (lose): Free l_origin if it is valid.
13966 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13968 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13969 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13970 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13971 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13972 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13973 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13975 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13977 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13978 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13979 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13980 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13981 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13982 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13983 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13984 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13985 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13986 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13988 2011-08-15 Alan Modra <amodra@gmail.com>
13991 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13992 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13993 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13994 ppc_mcount to static-only-routines.
13995 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13997 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13998 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14000 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14002 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14003 for finite and infinity parameters.
14005 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14007 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14008 and add nop instructions for throughput optimization.
14009 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14011 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14013 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14014 aligned copy for power7 with vector-scalar instructions.
14015 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14017 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14019 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14022 2011-09-07 Andreas Schwab <schwab@redhat.com>
14025 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14028 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14030 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14031 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14032 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14033 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14036 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14038 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14039 Forgot to demangle the pointer.
14041 * sysdeps/i386/sysdep.h: Define atom_text_section.
14042 * sysdeps/x86_64/sysdep.h: Likewise.
14043 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14044 section with atom_text_section.
14045 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14046 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14047 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14048 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14049 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14051 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14052 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14053 already be defined. Change to take two parameters and don't assign
14054 result to variable. Adjust all users.
14055 Define INTERNAL_GETTIME if not already defined.
14056 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14058 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14059 HAVE_CLOCK_GETTIME_VSYSCALL.
14060 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14062 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14063 gettimeofday vsyscall, just use time.
14065 2011-09-06 Andreas Schwab <schwab@redhat.com>
14067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14070 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14072 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14074 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14076 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14077 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14078 syscall if possible.
14080 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14082 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14083 e_ident. Don't pass to find_mapsXX.
14084 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14086 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14089 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14090 * sysdeps/x86_64/multiarch/strchr.S: Update.
14091 Check bit_slow_BSF bit.
14092 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14093 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14094 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14096 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14099 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14101 (tryshell): Define.
14102 (__spawni): Change last parameter to be flag. Test
14103 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14104 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14105 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14106 * posix/spawni.c: Likewise.
14107 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14108 * posix/spawnp.c: Likewise. Change normal version to use
14109 SPAWN_XFLAGS_USE_PATH.
14110 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14111 SPAWN_XFLAGS_TRY_SHELL.
14114 * posix/glob.h: Remove gcc 1.x support.
14117 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14119 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14121 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14122 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14124 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14125 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14126 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14127 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14128 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14129 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14131 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14133 * sysdeps/x86_64/wcscmp.S: New file.
14135 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14136 wcscmp-c wcscmp-sse2
14137 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14138 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14139 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14140 * wcsmbs/wcscmp.c: Allow renaming.
14142 2011-09-05 David S. Miller <davem@davemloft.net>
14144 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14145 stack slot, rather than the struct return pointer slot.
14146 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14147 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14149 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14151 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14153 * po/ja.po: Update from translation team.
14156 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14157 kernel in 64-bit binaries.
14159 2011-09-01 David S. Miller <davem@davemloft.net>
14161 * elf/elf.h (HWCAP_SPARC_*): Move to..
14162 * sysdeps/sparc/sysdep.h: this new file and add new values.
14163 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14164 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14165 _DL_HWCAP_COUNT to 24.
14166 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14168 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14169 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14170 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14172 instead of magic constants.
14173 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14175 2011-08-31 David S. Miller <davem@davemloft.net>
14177 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14178 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14179 Reimplement to do errno handling inline.
14180 (SYSCALL_ERROR_HANDLER): New macro.
14181 (__SYSCALL_STRING): Do not do errno handling in asm.
14182 (__CLONE_SYSCALL_STRING): Delete.
14183 (__INTERNAL_SYSCALL_STRING): Delete.
14184 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14185 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14186 (PSEUDO): Reimplement to do errno handling inline.
14187 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14188 (SYSCALL_ERROR_HANDLER): New macro.
14189 (__SYSCALL_STRING): Do not do errno handling in asm.
14190 (__CLONE_SYSCALL_STRING): Delete.
14191 (__INTERNAL_SYSCALL_STRING): Delete.
14192 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14193 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14195 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14196 (inline_syscall*): Add 'err' argument.
14197 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14198 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14199 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14200 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14202 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14203 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14205 2011-08-30 Andreas Schwab <schwab@redhat.com>
14207 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14209 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14211 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14214 2011-08-24 David S. Miller <davem@davemloft.net>
14216 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14218 2011-08-24 Andreas Schwab <schwab@redhat.com>
14220 * elf/Makefile: Add rules to build and run unload8 test.
14221 * elf/unload8.c: New file.
14222 * elf/unload8mod1.c: New file.
14223 * elf/unload8mod1x.c: New file.
14224 * elf/unload8mod2.c: New file.
14225 * elf/unload8mod3.c: New file.
14227 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14230 2011-08-23 David S. Miller <davem@davemloft.net>
14232 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14233 subtract stack bias.
14234 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14235 %sp not %fp in calculations.
14236 (_JMPBUF_UNWINDS_ADJ): Likewise.
14238 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14239 (aio_suspend): Call it to force an exception region around the
14240 AIO_MISC_WAIT() invocation.
14242 2011-08-23 Andreas Schwab <schwab@redhat.com>
14244 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14247 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14249 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14251 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14252 and <dl-machine.h>.
14253 (Elf64_FuncDesc): Remove.
14255 2011-08-22 David S. Miller <davem@davemloft.net>
14257 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14258 sigaltstack check, add missing cfi directives.
14259 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14260 missing cfi directives, and sigaltstack handling.
14262 2011-08-16 Andreas Schwab <schwab@redhat.com>
14265 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14266 object is seen twice.
14267 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14269 * elf/Makefile (distribute): Add tst-initorder2.c.
14270 (tests): Add tst-initorder2.
14271 (modules-names): Add tst-initorder2a tst-initorder2b
14272 tst-initorder2c tst-initorder2d. Add rules to build them.
14273 ($(objpfx)tst-initorder2.out): New rule.
14274 * elf/tst-initorder2.c: New file.
14275 * elf/tst-initorder2.exp: New file.
14277 2011-08-22 Andreas Schwab <schwab@redhat.com>
14279 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14281 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14282 dependencies back to end of function.
14284 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14285 $(elfobjdir)/ld.so.
14287 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14290 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14291 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14292 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14293 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14294 of __vdso_gettimeofday.
14295 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14296 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14298 (_libc_vdso_platform_setup): Remove initialization of
14299 __vdso_gettimeofday and __vdso_time.
14301 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14303 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14304 and fgetc_unlocked.
14305 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14308 * elf/dl-open.c (add_to_global): Report additions to the global scope
14309 for LD_DEBUG=scopes.
14310 (dl_open_worker): Also print scope of newly loaded dependencies.
14311 (_dl_show_scope): Indicate if there is no scope.
14314 * stdio-common/Makefile (tests): Add bug24.
14315 * stdio-common/bug24.c: New file.
14317 2011-08-19 Andreas Jaeger <aj@suse.de>
14320 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14321 non-existant file when using close-on-exec mode.
14323 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14326 the very first instruction.
14328 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14329 the CFI state in the end.
14330 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14331 inclusion of dl-trampoline.h.
14332 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14334 2011-08-19 Andreas Schwab <schwab@redhat.com>
14336 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14337 expectations for long double.
14339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14340 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14342 2011-08-14 David S. Miller <davem@davemloft.net>
14344 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14345 artificual limit depends upon the system page size.
14347 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14349 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14350 * resolv/Makefile: Define CFLAGS-libresolv.
14352 2011-08-17 Andreas Schwab <schwab@redhat.com>
14354 * nss/makedb.c (compute_tables): Make variables used in nested
14357 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14359 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14360 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14361 if buffer was too small.
14363 * elf/pldd.c (main): Attach to all threads in the process.
14364 Rewrite /proc handling to use *at functions.
14366 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14368 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14369 specifies first scope to show.
14370 (dl_open_worker): Update callers. Move printing scope of new
14371 object to before the relocation.
14372 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14373 * sysdeps/generic/ldsodefs.h: Update declaration.
14375 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14376 string for the scope number.
14378 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14380 * nscd/servicescache.c (cache_addserv): Make sure written is always
14383 2011-08-14 Roland McGrath <roland@hack.frob.com>
14385 * sysdeps/i386/i486/bits/atomic.h
14386 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14387 statement expression, so as to suppress "set but not used" warning.
14388 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14390 * string/strncat.c (STRNCAT): Use prototype definition.
14392 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14393 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14395 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14396 (localedef-modules): Add localedef.
14397 (locale-modules): Add locale.
14399 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14400 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14401 to avoid a warning.
14403 2011-08-14 David S. Miller <davem@davemloft.net>
14405 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14406 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14408 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14410 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14411 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14412 * elf/rtld.c (dl_main): Set l_name of vDSO.
14413 Call _dl_show_scope when DL_DEBUG_SCOPES.
14414 (process_dl_debug): Recognize scopes flag and also set it for all.
14415 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14416 Declare _dl_show_scope.
14418 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14419 (do_dlopen): Pass caller_dlopen to dl_open.
14420 (__libc_dlopen_mode): Initialize caller_dlopen.
14422 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14423 of libc. Make tolower call locale-independent. Optimize a bit by
14424 using isdigit instead of isalnum.
14425 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14427 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14429 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14430 was a dependency or dynamically loaded.
14432 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14434 * intl/l10nflist.c: Allow architecture-specific pop function.
14435 * sysdeps/x86_64/l10nflist.c: New file.
14437 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14440 2011-08-10 Andreas Schwab <schwab@redhat.com>
14442 * include/dirent.h: Add libc_hidden_proto for scandirat and
14443 scandirat64. Don't declare __scandirat64.
14444 * dirent/scandirat.c: Add libc_hidden_def.
14445 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14446 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14448 2011-08-10 David S. Miller <davem@davemloft.net>
14450 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14452 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14453 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14454 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14456 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14458 * Versions.def [libc]: Add GLIBC_2.15.
14459 * dirent/Makefile (routines): Add scandirat and scandirat64.
14460 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14462 * dirent/dirent.h: Declare scandirat and scandirat64.
14463 * dirent/scandirat.c: New file.
14464 * dirent/scandirat64.c: New file.
14465 * sysdeps/wordsize-64/scandirat.c: New file.
14466 * sysdeps/wordsize-64/scandirat64.c: New file.
14467 * dirent/opendir.c: Define opendirat.
14468 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14470 * dirent/scandir64.c: Adjust for scandir.c change.
14471 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14472 __scandirat64, and __scandir_cancel_handler.
14473 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14474 additional parameter and use openat instead of open (outside of ld.so).
14475 Add new __opendir as wrapper around __opendirat.
14476 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14477 here without requiring old scandirat implementation.
14479 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14481 * dirent/scandir.c (cancel_handler): Renamed to
14482 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14483 defined. Adjust users.
14484 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14485 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14487 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14489 * string/test-string.h (IMPL): Use __STRING to expand name and then
14492 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14495 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14497 * string/Makefile: Update.
14498 (strop-tests): Append strncat.
14499 * string/test-wcscmp.c: New file.
14500 New comprehensive test for wcscmp.
14501 * string/test-strcmp.c: Update.
14502 (WIDE): New define.
14504 2011-07-22 Andreas Schwab <schwab@redhat.com>
14506 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14509 2011-07-26 Andreas Schwab <schwab@redhat.com>
14511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14512 encoding to ACE if AI_IDN.
14514 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14516 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14517 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14519 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14521 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14522 Fix overflow bug in strncat.
14523 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14525 * string/test-strncat.c: Update.
14526 Add new tests for checking overflow bugs.
14528 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14531 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14532 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14533 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14534 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14535 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14536 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14537 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14538 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14540 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14541 (USE_AS_STRCAT): Define.
14542 Add strcat and strncat support.
14543 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14545 2011-07-25 Andreas Schwab <schwab@redhat.com>
14547 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14548 __n bigger than INT_MAX+1.
14549 (__strncmp_g): Likewise.
14551 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14553 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14554 * libio/stido.h: Likewise.
14556 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14561 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14563 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14564 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14565 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14568 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14573 (_dl_x86_64_save_sse): Likewise.
14575 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14577 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14579 (_dl_x86_64_save_sse): Likewise.
14581 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14583 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14585 2011-07-21 Andreas Schwab <schwab@redhat.com>
14587 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14589 (_dl_x86_64_save_sse): Use correct AVX check.
14591 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14593 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14594 bug in strncpy/strncat.
14595 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14597 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14599 * string/tester.c (test_strcat): Add tests for different alignments
14600 of source and destination.
14601 (test_strncat): Likewise.
14603 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14606 * posix/glob.c (glob): Check passed in values before using them in
14607 expressions to avoid some overflows.
14608 (glob_in_dir): Likewise.
14611 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14612 check for AVX enablement so that we don't crash with old kernels and
14614 * elf/tst-audit4.c: Add same checks here.
14615 * elf/tst-audit6.c: Likewise.
14617 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14619 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14621 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14623 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14625 * po/cs.po: Update from translation team.
14626 * po/bg.po: Likewise.
14628 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14630 * misc/sys/cdefs.h: Add support for const attribute.
14631 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14632 to gnu_dev_{major,minor,makedev} functions.
14634 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14636 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14638 2011-07-20 Andreas Schwab <schwab@redhat.com>
14640 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14643 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14645 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14646 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14647 register in order to avoid conflicts with the soft frame pointer
14648 being held in r11 when necessary.
14649 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14650 (INTERNAL_VSYSCALL_NCS): Likewise.
14652 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14654 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14655 * elf/dl-fini.c (_dl_fini): Adjust caller.
14656 * elf/dl-close.c (_dl_close_worker): Likewise.
14657 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14659 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14661 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14662 "aux_cache->nlibs < 0".
14664 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14665 in the reload-count case.
14667 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14670 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14671 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14672 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14673 * sysdeps/x86_64/multiarch/strcat.S: New file.
14674 * sysdeps/x86_64/multiarch/strncat.S: New file.
14675 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14676 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14677 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14678 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14679 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14680 (USE_AS_STRCAT): Define.
14681 Add strcat and strncat support.
14682 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14683 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14684 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14685 * string/strncat.c: Update.
14686 (USE_AS_STRNCAT): Define.
14687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14688 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14690 * sysdeps/x86_64/multiarch/init-arch.h
14691 (bit_Prefer_PMINUB_for_stringop): New.
14692 (index_Prefer_PMINUB_for_stringop): Likewise.
14693 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14694 bit_Prefer_PMINUB_for_stringop.
14696 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14698 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14700 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14701 of casting of buffer.
14702 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14703 buffer32 and buffer64.
14704 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14705 writes instead of casting of buffer.
14706 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14708 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14711 2011-07-19 Andreas Schwab <schwab@redhat.com>
14713 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14715 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14717 * nscd/nscd.c (termination_handler): Don't do anything for a database
14718 if it has not yet been initialized.
14720 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14722 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14724 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14726 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14728 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14730 * po/nl.po: Update from translation team.
14731 * po/sv.po: Likewise.
14733 2011-07-16 Roland McGrath <roland@hack.frob.com>
14735 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14736 now disallowed by GCC.
14738 * configure.in (use-default-link): Default to yes if a test -shared
14739 link meets our qualifications.
14740 * configure: Regenerated.
14742 * config.make.in (output-format): New variable.
14743 * configure.in: Check for ld --print-output-format support.
14744 * configure: Regenerated.
14745 * Makerules ($(common-objpfx)format.lds)
14746 [$(output-format) != unknown]: Just use $(output-format),
14747 instead of the linker-script munging.
14749 2011-07-14 Roland McGrath <roland@hack.frob.com>
14751 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14752 of $(common-objpfx)shlib.lds.
14753 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14755 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14756 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14758 * configure.in (-z relro check): Adjust test code to add a large
14759 writable data section after it.
14760 * configure: Regenerated.
14762 2011-07-11 Roland McGrath <roland@hack.frob.com>
14764 * configure.in (-z relro check): Fix test code to make the variable
14766 * configure: Regenerated.
14768 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14770 * nscd/nscd.h (struct traced_file): Define.
14771 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14772 elements. Add traced_files.
14773 (inotify_fd): Declare.
14774 (register_traced_file): Declare.
14775 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14776 (inotify_fd): Export.
14777 (resolv_conf_descr): Remove.
14778 (nscd_init): Move inotify descriptor creation to main.
14779 Don't register files for notification here.
14780 (register_traced_file): New function.
14781 (invalidate_cache): Don't use reset_res to determine whether to call
14782 res_init, go through the list of registered files.
14783 (main_loop_poll): The inotify descriptors are now stored in the
14784 structures for the traced files.
14785 (main_loop_epoll): Likewise
14786 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14787 to __nss_disable_nscd.
14788 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14789 for a database anymore. Check the records for all the registered
14791 * nss/Makefile (libnss_files-routines): Add files-init.
14792 (libnss_db-routines): Add db-init.
14793 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14794 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14795 * nss/nss_db/db-init.c: New file.
14796 * nss/nss_files/files-init.c: New file.
14797 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14798 __nss_lookup_function.
14799 (__nss_lookup_function): Call nss_load_library.
14800 (nss_load_all_libraries): New function.
14801 (__nss_disable_nscd): Take parameter with callback function for files
14802 to register. Set is_nscd. Load all the DSOs for the NSS modules
14803 used for the cached services.
14804 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14805 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14806 options for features to all the files in nscd.
14808 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14810 2011-07-10 Roland McGrath <roland@hack.frob.com>
14812 * csu/elf-init.c (__libc_csu_init): Comment typo.
14814 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14816 * po/pl.po: Update from translation team.
14817 * po/ja.po: Likewise.
14818 * po/ru.po: Likewise.
14819 * po/ko.po: Likewise.
14820 * po/fr.po: Likewise.
14822 2011-07-09 Roland McGrath <roland@hack.frob.com>
14824 * configure.in (.ctors/.dtors header and trailer check):
14825 Use an empirical test on a built program.
14826 * configure: Regenerated.
14828 * configure.in (-z relro check): Use an empirical test on a built DSO.
14829 Detect, but do not require, on ia64.
14830 * configure: Regenerated.
14832 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14833 Update tests that use readelf to use $READELF instead.
14834 * configure: Regenerated.
14836 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14838 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14839 if the result is not used.
14841 2011-07-05 Andreas Jaeger <aj@suse.de>
14844 * stdlib/tst-strtod.c: Add testcase.
14846 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14848 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14849 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14850 The latter has a higher limit. Take additional parameter to pass to
14852 (__pathconf): Pass file to __statfs_link_max.
14853 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14855 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14859 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14860 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14862 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14863 (__statfs_filesize_max): Likewise.
14864 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14866 2011-07-05 Andreas Jaeger <aj@suse.de>
14868 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14870 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14872 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14874 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14877 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14879 * Makefile (strop-tests): Add strncat.
14880 * string/test-strncat.c: New file.
14882 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14884 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14886 2011-06-21 Andreas Jaeger <aj@suse.de>
14888 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14889 Copy rule from iconvdata/Makefile.
14891 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14894 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14895 but no long options are defined, just return 'W'.
14897 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14900 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14902 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14904 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14906 (innetgr): Likewise.
14908 2011-07-05 Roland McGrath <roland@hack.frob.com>
14910 * config.make.in (install_root): Default to $(DESTDIR).
14912 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14914 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14916 2011-07-02 Roland McGrath <roland@hack.frob.com>
14918 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14920 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14921 containing directory rather than embedding absolute directory names.
14923 * scripts/check-local-headers.sh: Rewritten using awk.
14924 Match by word, not by line. Print error messages for matches.
14925 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14927 * Makerules [shlib-lds-flags empty]:
14928 ($(common-objpfx)libc_pic.opts): New target.
14929 ($(common-objpfx)libc_pic.os.clean): New target.
14930 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14932 * config.make.in (OBJCOPY): New variable.
14933 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14934 * configure: Regenerated.
14936 * config.make.in (use-default-link): New variable.
14937 * configure.in (use_default_link): Grok --with-default-link to set it.
14938 * configure: Regenerated.
14939 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14940 (shlib-lds, shlib-lds-flags): Define to empty.
14942 * Makerules (shlib-lds): New variable.
14943 (shlib-lds-flags): New variable.
14944 (build-shlib, build-moduile, build-module-asneeded): Use it.
14945 ($(common-objpfx)libc.so): Use $(shlib-lds).
14946 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14947 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14949 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14950 DT_FLAGS/DT_FLAGS_1 with zero flags.
14952 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14953 linker script munging.
14955 2011-07-02 Ulrich Drepper <drepper@gmail.com>
14957 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14959 * crypt/sha512.c (sha512_process_block): Perform total addition using
14960 128-bit if possible.
14961 (__sha512_finish_ctx): Likewise.
14962 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14964 * crypt/sha256.c (SWAP64): Define.
14965 (sha256_process_block): Perform total addition using 64-bit if
14967 (__sha256_finish_ctx): Likewise.
14969 2011-07-01 Ulrich Drepper <drepper@gmail.com>
14971 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14972 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14973 * nscd/hstcache.c (cache_addhst): Likewise.
14974 * nscd/grpcache.c (cache_addgr): Likewise.
14975 * nscd/aicache.c (addhstaiX): Likewise
14976 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14978 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
14980 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14981 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14982 * nscd/hstcache.c (cache_addhst): Likewise.
14983 * nscd/grpcache.c (cache_addgr): Likewise.
14984 * nscd/aicache.c (addhstaiX): Likewise
14986 2011-07-01 Andreas Schwab <schwab@redhat.com>
14988 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14989 domain only when needed.
14991 2011-06-30 Andreas Schwab <schwab@redhat.com>
14993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14994 is always restored.
14996 2011-06-29 Ulrich Drepper <drepper@gmail.com>
14998 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14999 are re-adding the entry.
15000 * nscd/servicescache.c (cache_addserv): Likewise.
15002 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15004 * sysdeps/generic/dl-irel.h: fix protection against multiple
15006 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15008 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15011 * malloc/memusage.sh: Fix quoting in message.
15012 * debug/xtrace.sh: Likewise.
15014 * configure.in: Remove support for --experimental-malloc option, make
15016 * config.make.in: Likewise.
15017 * malloc/Makefile: Likewise.
15019 2011-06-27 Andreas Schwab <schwab@redhat.com>
15021 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15022 two-byte characters.
15024 2011-06-27 Roland McGrath <roland@hack.frob.com>
15026 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15027 AC_CACHE_CHECK invocation.
15028 * configure: Regenerated.
15030 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15032 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15035 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15036 bit from old_res_options.
15038 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15040 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15041 value type for setfct.
15043 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15045 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15046 __gettimeofday instead of gettimeofday.
15048 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15050 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15052 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15054 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15056 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15059 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15062 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15063 strcpy-sse2-unaligned strncpy-sse2-unaligned
15064 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15065 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15066 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15067 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15068 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15069 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15070 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15071 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15072 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15073 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15074 (STRCPY): Support SSE2 and SSSE3 versions.
15076 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15079 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15080 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15081 kernels which artificially limit size of requests.
15083 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15085 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15086 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15087 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15088 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15089 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15090 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15091 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15092 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15095 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15096 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15097 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15098 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15099 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15101 Enable unaligned load optimization for Intel Core i3, i5 and i7
15103 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15105 (index_Fast_Unaligned_Load): Define.
15106 (HAS_FAST_UNALIGNED_LOAD): Define.
15108 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15110 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15112 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15115 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15116 until it is clear that the information is realy needed.
15117 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15119 2011-06-22 Andreas Schwab <schwab@redhat.com>
15121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15123 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15125 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15126 /sys/devices/system/cpu/online if it is usable.
15128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15129 reading the information from the /proc filesystem to once a second.
15131 2011-06-21 Andreas Jaeger <aj@suse.de>
15133 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15134 NULL after inclusion of kernel headers.
15136 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15138 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15139 calls to internal_setent.
15142 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15143 addresses using gethostbyname4_r ignore IPv4 addresses.
15145 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15146 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15148 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15150 2011-06-20 David S. Miller <davem@davemloft.net>
15152 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15154 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15156 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15157 (elf_irel): Use it.
15158 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15159 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15160 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15161 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15162 * sysdeps/x86_64/dl-irel.h: Likewise.
15164 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15165 * elf/dl-sym.c: Likewise.
15167 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15169 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15170 need to dereference resplen2.
15172 2011-06-14 Andreas Schwab <schwab@redhat.com>
15174 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15176 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15178 * Makeconfig: Define vardbdir and inst_vardbdir.
15179 * nss/Makefile: Add rules to install db-Makefile.
15181 * nss/nss_db/db-XXX.c: Cleanup.
15183 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15184 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15186 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15187 * nss/makedb.c: Implement -g option to specify that value strings
15188 are generated and should not be added to table iterated over for
15190 * nss/nss_db/db-initgroups.c: New file.
15192 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15195 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15196 (internal_getgrouplist): Adjust to name change.
15197 Update use_initgroups_entry if this is not the first call.
15198 * nss/databases.def: Add initgroups entry.
15200 * nss/makedb.c (compute_tables): Check result of multiple hash table
15201 sizes to minimize maximum chain length.
15203 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15205 * Versions.def: Add entry for libnss_db.
15206 * shlib-versions: Likewise.
15207 * nss/Makefile: Add rules to build libnss_db.
15208 * nss/Versions: Add libnss_db information. Organize libnss_files
15210 * nss/db-Makefile: Add gshadow support. Change rules for the new
15211 makedb progra. Some minor improvements to generate smaller files.
15212 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15214 * nss/makedb.c: ...here.
15215 Improve database format to be smaller and require less memory at
15217 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15219 * nss/nss_db/db-netgrp.c: Likewise.
15220 * nss/nss_db/db-open.c: Likewise.
15221 * nss/nss_files/flies-XXX.x: Adjust comments.
15222 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15223 * nss/nss_files/files-grp.c: Likewise.
15224 * nss/nss_files/files-hosts.c: Likewise.
15225 * nss/nss_files/files-network.c: Likewise.
15226 * nss/nss_files/files-proto.c: Likewise.
15227 * nss/nss_files/files-pwd.c: Likewise.
15228 * nss/nss_files/files-rpc.c: Likewise.
15229 * nss/nss_files/files-service.c: Likewise.
15230 * nss/nss_files/files-sgrp.c: Likewise.
15231 * nss/nss_files/files-spwd.c: Likewise.
15232 * nss/nss_db/db-alias.c: Removed.
15233 * nss/nss_db/dummy-db.h: Removed.
15235 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15237 * nss/makedb.c: Rewritten to not use database library.
15238 * nss/Makefile: Update to build new makedb program.
15240 2011-06-14 Andreas Jaeger <aj@suse.de>
15242 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15243 memset declaration.
15245 2011-06-10 Andreas Schwab <schwab@redhat.com>
15247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15250 2011-06-10 Roland McGrath <roland@hack.frob.com>
15252 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15253 * elf/Makefile ($(objpfx)ld.so): Likewise.
15255 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15256 Don't list ld.so twice in dependencies.
15258 * posix/bug-regex31.c: Include <stdlib.h>.
15260 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15262 * nis/nss_compat/compat-spwd.c
15263 (getspent_next_nss_netgr): Remove unused variable.
15264 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15266 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15267 nonmembers" output to use the right array.
15269 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15271 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15273 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15274 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15275 * catgets/gencat.c (read_input_file): Likewise.
15276 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15278 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15279 variable definition inside #if's controlling its use.
15281 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15283 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15285 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15287 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15290 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15292 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15293 * configure: Regenerated.
15295 * Makerules: Revert last change.
15296 * elf/Makefile: Likewise.
15298 2011-06-09 Roland McGrath <roland@hack.frob.com>
15300 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15301 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15302 (reloc-link): Likewise.
15304 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15306 * elf/Makefile: Add rules to build pldd.
15307 * elf/pldd.c: New file.
15308 * elf/pldd-xx.c: New file.
15310 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15312 * version.h: Update for 2.15 development version.
15314 2011-06-07 David S. Miller <davem@davemloft.net>
15316 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15318 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15319 elf_machine_lazy_rel): Likewise.
15320 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15321 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15322 elf_machine_lazy_rel): Likewise.
15323 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15324 dl_hwcap via passed in argument.
15325 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15328 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15330 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15332 2011-06-06 Roland McGrath <roland@hack.frob.com>
15335 * manual/fdl-1.1.texi: New file, verbatim from:
15336 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15337 * manual/lgpl-2.1.texi: New file, verbatim from:
15338 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15339 * manual/Makefile (licenses): New variable, list those new file names.
15341 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15343 * manual/fdl.texi: File removed.
15344 * manual/lesser.texi: File removed.
15345 * manual/libc.texinfo (Copying, Documentation License):
15346 Use new @include file names, put @appendix directive before @include.
15348 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15351 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15352 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15353 (mq_open): Add __NTH.
15355 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15358 Assume Intel Core i3/i5/i7 processor if AVX is available.
15360 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15362 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15365 2011-05-31 Andreas Schwab <schwab@redhat.com>
15367 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15368 memory. Use alloca_account. Fix memory leak when retrying.
15370 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15372 * version.h (RELEASE): Bump for 2.14 release.
15373 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15375 * config.make.in (RANLIB): Remove entry.
15377 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15379 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15380 (libc.pot): Work around missing support for .ksh extension in xgettext.
15383 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15384 if both request failed.
15385 (send_dg): In case of server errors clear resplen or *resplen2.
15388 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15389 when there are multiple maps.
15390 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15391 (_dl_fini): Remove test here.
15393 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15395 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15398 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15399 bit from old_res_options.
15400 (gaih_inet): Likewise.
15403 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15406 * resolv/res_init.c (res_setoptions): Make the code more compact.
15409 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15413 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15415 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15418 * malloc/malloc.h: Declare malloc hook variables as volatile.
15420 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15424 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15425 raise in the comment.
15426 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15427 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15428 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15430 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15433 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15434 grow the buffers more if it already has to be sufficient.
15435 (build_wcs_upper_buffer): Likewise.
15436 * posix/regexec.c (check_matching): Likewise.
15437 (clean_state_log_if_needed): Likewise.
15438 (extend_buffers): Don't enlarge buffers beyond size of the input
15440 Patches mostly by Emil Wojak <emil@wojak.eu>.
15441 * posix/bug-regex32.c: New file.
15442 * posix/Makefile (tests): Add bug-regex32.
15444 * locale/findlocale.c (_nl_find_locale): Return right away if
15445 _nl_explode_name failed.
15446 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15448 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15450 * debug/xtrace.sh: Unify messages.
15451 * malloc/memusage.sh: Likewise.
15454 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15455 time symbol from vDSO. Substitute with vsyscall if not available.
15456 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15459 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15460 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15461 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15462 Add sendmmsg and internal_sendmmsg.
15463 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15464 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15465 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15467 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15468 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15469 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15471 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15474 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15475 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15477 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15481 * iconvdata/Makefile (tests): Add bug-iconv9.
15482 * iconvdata/bug-iconv9.c: New file.
15484 2011-05-27 Andreas Schwab <schwab@redhat.com>
15487 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15489 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15491 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15492 (struct user_regs_struct): Change intcs field back to cs.
15494 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15496 * po/ja.po: Update from translation team.
15498 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15501 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15502 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15504 2011-05-20 Andreas Schwab <schwab@redhat.com>
15506 * stdlib/longlong.h: Update from GCC.
15508 2011-05-23 Andreas Schwab <schwab@redhat.com>
15510 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15512 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15513 Add parameter name.
15514 (__sysconf): Pass it down.
15516 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15519 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15521 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15522 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15523 add in in __libc_use_alloca calls. Adjust callers.
15524 (glob): Use malloc in some situations.
15526 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15527 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15530 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15532 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15533 and CLOCK_BOOTTIME_ALARM.
15536 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15539 * string/_strerror.c (__strerror_r): Print negative errors as signed
15543 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15544 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15545 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15547 * configure.in: Fix typo in redirection and correct removal of test
15548 files in two cases.
15551 * locale/setlocale.c (new_composite_name): Fix test to check for
15552 identical name of all categories.
15555 * libio/filedoalloc.c (local_isatty): New function.
15556 (_IO_file_doallocate): Use local_isatty.
15557 * stdio-common/perror.c (perror): In case a new stream is used
15558 forward the stream error.
15559 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15562 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15567 * include/alloca.h (extend_alloca_account): Define.
15570 * posix/regex.h: Fix comments with documentation of user-accessible
15571 fields after compilation and describe correct free'ing of pattern
15572 after re_compile_pattern.
15573 Patch by Reuben Thomas <rrt@sc3d.org>.
15575 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15577 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15578 and -mno-altivec to prevent the compiler from using Altivec and/or
15579 VSX instructions when the corresponding registers are not available.
15581 2011-05-19 Andreas Schwab <schwab@redhat.com>
15583 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15585 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15587 * libio/freopen.c (freopen): Use __dup2, not dup2.
15588 * libio/freopen64.c (freopen64): Likewise.
15590 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15593 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15594 * math/Makefile (tests): Add test-powl.
15595 (CFLAGS-test-powl.c): Define.
15596 * math/test-powl.c: New file.
15598 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15600 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15602 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15605 * iconvdata/gb18030.c: Update to GB18020-2005.
15607 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15609 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15610 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15611 Patch by Aharon Robbins <arnold@skeeve.com>.
15614 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15618 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15619 through underflows.
15622 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15623 point to strings before performing equality test for error_one_per_line
15627 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15630 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15631 (struct user_fpregs_struct): Avoid __uint*_t types.
15634 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15635 symbol info. Use it instead of calling _dl_addr locally.
15636 (lock_and_info): New function.
15637 (tr_freehook): Call lock_and_info and pass symbol info as additional
15638 parameter to tr_where.
15639 (tr_mallochook): Likewise.
15640 (tr_reallochook): Likewise.
15641 (tr_memalignhook): Likewise.
15643 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15644 used and couldn't be at all thread-safe.
15646 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15648 * libio/freopen.c (freopen): Don't close old file descriptor
15649 before the new one is opened. Instead dup the new file descriptor
15650 to the old one after the new stream is created.
15651 * libio/freopen64.c (freopen64): Likewise.
15652 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15653 * libio/fileops.c (_IO_new_file_close_it): Handle new
15654 _IO_FLAGS2_NOCLOSE flag.
15655 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15656 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15657 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15658 _IO_FLAGS2_NOCLOSE flag.
15659 * include/unistd.h: Add hidden_proto for dup3.
15660 Define __have_dup3.
15661 * io/dup3.c: Define hidden symbol.
15662 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15665 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15666 when an incomplete long option is used.
15667 * posix/tst-getopt_long1.c: New file.
15668 * posix/Makefile (tests): Add tst-getopt_long1.
15671 * scripts/config.guess: Update from autoconf-2.68.
15672 * scripts/config.sub: Likewise.
15675 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15677 (has_cpuclock): ...this. New function.
15678 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15679 macro here based on has_cpuclock code.
15682 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15683 First byte (not low byte) is now always NUL.
15684 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15686 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15687 Use non-cancelable interfaces.
15690 * locale/iso-639.def: Add entry for Sorani.
15693 * include/stdlib.h: Move include protection to the right place.
15694 Define abort_msg_s. Declare __abort_msg with it.
15695 * stdlib/abort.c (__abort_msg): Adjust type.
15696 * assert/assert.c (__assert_fail_base): New function. Majority
15697 of code from __assert_fail. Allocate memory for __abort_msg with
15699 (__assert_fail): Now call __assert_fail_base.
15700 * assert/assert-perr.c: Remove bulk of implementation. Use
15701 __assert_fail_base.
15702 * include/assert.hL Declare __assert_fail_base.
15703 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15705 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15707 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15711 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15712 until all modules are registered in the DTV.
15713 * elf/Makefile: Add rules to build and run tst-tls19.
15714 * elf/tst-tls19.c: New file.
15715 * elf/tst-tls19mod1.c: New file.
15716 * elf/tst-tls19mod2.c: New file.
15717 * elf/tst-tls19mod3.c: New file.
15718 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15721 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15725 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15726 two-byte sequence errors.
15727 * iconvdata/Makefile (tests): Add bug-iconv8.
15728 * iconvdata/bug-iconv8.c: New file.
15731 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15734 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15737 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15738 (dummy_getcfa): New function.
15739 (init): Get _Unwind_GetCFA address, use dummy if not found.
15740 (backtrace_helper): In recursion check, also check whether CFA changes.
15741 (__backtrace): Completely initialize arg.
15743 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15744 storing incomplete byte sequence in state object. Avoid testing for
15745 guaranteed too small input if we know there is enough data available.
15747 2011-05-11 Andreas Schwab <schwab@redhat.com>
15749 * Makeconfig (+link-pie): Indent.
15750 * Rules (binaries-pie): Define if $(have-fpie) and
15752 (binaries-shared): Also filter out $(binaries-pie).
15753 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15754 * nscd/Makefile (others-pie): Add nscd.
15755 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15756 ($(objpfx)nscd): Remove command override.
15757 * login/Makefile (others-pie): Add pt_chown.
15758 ($(objpfx)pt_chown): Remove command override.
15759 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15760 remove command overrides.
15762 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15764 * libio/tst_putwc.c: Fix error messages.
15767 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15768 currently writing and seek to current position when not.
15769 * libio/Makefile (tests): Add bug-fclose1.
15770 * libio/bug-fclose1.c: New file.
15772 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15775 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15776 don't set DF_1_NODELETE here.
15777 (do_lookup_x): When entering new entry test for copy relocation
15778 and if necessary set DF_1_NODELETE flag.
15779 * elf/tst-unique4.cc: New file.
15780 * elf/tst-unique4.h: New file.
15781 * elf/tst-unique4lib.cc: New file.
15782 * elf/Makefile: Add rules to build and run tst-unique4.
15783 Patch by Piotr Bury <pbury@goahead.com>.
15785 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15788 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15791 * misc/mntent_r.c (addmntent): Flush the stream after the output
15794 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15795 (is_trusted_path_normalize): Skip initial colon. Append slash
15796 to empty buffer. Duplicate is_trusted_path code but allow
15797 constructed patch to be prefix.
15798 (is_dst): Allow $ORIGIN followed by /.
15799 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15800 Correct testing of result of is_trusted_path_normalize
15801 (decompose_rpath): Fix warning.
15803 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15806 * grp/initgroups.c (internal_getgrouplist): When we found the service
15807 list through the initgroups entry in nsswitch.conf do not always
15808 continue on a successful lookup. Don't always use the
15809 __nss_group_database value if it is set.
15810 * nss/nsswitch.conf (initgroups): Change action for successful db
15811 lookup to continue for compatibility.
15813 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15816 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15818 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15820 * iconvdata/tst-tables.sh: Likewise.
15821 * iconvdata/cp770.c: New file.
15822 * iconvdata/cp771.c: New file.
15823 * iconvdata/cp772.c: New file.
15824 * iconvdata/cp773.c: New file.
15825 * iconvdata/cp774.c: New file.
15826 * iconvdata/testdata/CP770: New file.
15827 * iconvdata/testdata/CP770..UTF8: New file.
15828 * iconvdata/testdata/CP771: New file.
15829 * iconvdata/testdata/CP771..UTF8: New file.
15830 * iconvdata/testdata/CP772: New file.
15831 * iconvdata/testdata/CP772..UTF8: New file.
15832 * iconvdata/testdata/CP773: New file.
15833 * iconvdata/testdata/CP773..UTF8: New file.
15834 * iconvdata/testdata/CP774: New file.
15835 * iconvdata/testdata/CP774..UTF8: New file.
15837 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15839 * iconvdata/gen-8bit-gap.sh: Likewise.
15840 * iconvdata/gen-8bit.sh: Likewise.
15842 * locale/iso-639.def: Add ary entry.
15845 * locale/C-translit.h.in: Add U20A1 transliteration.
15848 * locale/iso-639.def: Add wae entry.
15849 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15852 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15856 * locale/C-translit.h.in: Add entry for U20B9.
15857 Patch by pravin.d.s@gmail.com.
15859 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15862 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15863 ENAMETOOLONG use generic getcwd.
15864 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15865 in rtld. Use *stat64.
15866 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15867 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15868 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15869 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15870 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15871 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15872 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15873 __fstatat64 macros.
15874 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15875 * dirent/rewinddir.c: Add libc_hidden_def.
15876 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15877 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15879 * include/dirent.h (__alloc_dir): Add flags parameter.
15880 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15881 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15883 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15884 from fdopendir if O_CLOEXEC is already set.
15886 2011-03-15 Alan Modra <amodra@gmail.com>
15888 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15889 l_tls_firstbyte_offset non-zero. Save padding offset in
15890 l_tls_firstbyte_offset for later use.
15891 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15892 freeing static tls block.
15894 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15896 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15897 where #ifdef was intended. The intent is to prevent ARG_MAX from
15898 being defined by the kernel headers.
15900 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15903 * resolv/resolv.h: Define RES_NOTLDQUERY.
15904 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15905 no-tld-query and set RES_NOTLDQUERY.
15906 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15907 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15908 modern BIND to search name as TLD unless forbidden.
15910 2011-05-07 Petr Baudis <pasky@suse.cz>
15911 Ulrich Drepper <drepper@gmail.com>
15914 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15915 (is_trusted_path): ...to here.
15916 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15917 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15918 using is_trusted_path_normalize() in setuid scripts.
15920 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15922 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15923 __BEGIN/__END_DECLS.
15925 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15927 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15928 NSS_STATUS_NOTFOUND if no record was found.
15930 2011-05-05 Andreas Schwab <schwab@redhat.com>
15932 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15933 (headers-not-in-tirpc): Remove rpc/netdb.h
15934 * resolv/netdb.h: Revert last change.
15936 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15938 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15939 circular dependency between libgcc.a and libc.a.
15941 2011-05-05 Andreas Schwab <schwab@redhat.com>
15943 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15944 * nis/Makefile: Don't install rpcsvc/*.
15945 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15946 instead of <rpc/types.h>.
15947 (MAXHOSTNAMELEN): Define.
15949 2011-05-03 Andreas Schwab <schwab@redhat.com>
15951 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15953 2011-04-28 Maciej Babinski <mbabinski@google.com>
15956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15957 gethostbyname4_r when IPv6 results are possible.
15959 2011-05-02 Ulrich Drepper <drepper@gmail.com>
15962 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15963 _PC_PIPE_BUF handling.
15965 2011-04-30 Bruno Haible <bruno@clisp.org>
15968 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15969 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15971 * inet/getnameinfo.c (getnameinfo): Likewise.
15973 2011-04-29 Ulrich Drepper <drepper@gmail.com>
15975 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15976 to groups setting in database lookup.
15977 * nss/nsswitch.conf: Add initgroups entry.
15979 2011-04-22 Ulrich Drepper <drepper@gmail.com>
15982 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15984 Patch by Eric Blake <eblake@redhat.com>.
15986 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15988 * sunrpc/Makefile (need-export-routines): Add svc_run.
15989 (routines): Remove svc_run.
15990 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15991 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15992 * sunrpc/svc_run.c (svc_run): Likewise.
15993 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15995 2011-04-21 Ulrich Drepper <drepper@gmail.com>
15997 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15998 problem in reallocation in last patch.
16000 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16002 * sunrpc/Makefile: Move inclusion of Rules.
16004 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16006 * nss/nss_files/files-initgroups.c: New file.
16007 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16008 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16009 _nss_files_initgroups_dyn.
16011 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16013 * elf/elf.h (R_ARM_IRELATIVE): Define.
16015 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16017 * po/ru.po: Update from translation team.
16019 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16021 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16024 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16027 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16028 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16029 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16030 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16031 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16033 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16035 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16037 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16038 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16039 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16041 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16044 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16046 * stdlib/bug-getcontext.c: New file.
16047 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16049 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16051 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16052 instructions into .machine "z9-109".
16053 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16054 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16056 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16058 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16059 between environment variables and auxiliary vector.
16061 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16063 * Makefile: Add rules to build linkobj/libc.so.
16064 * include/libc-symbols.h: Define libc_hidden_nolink.
16065 * include/rpc/auth.h: Mark functions which are to be hidden.
16066 * include/rpc/auth_des.h: Likewise.
16067 * include/rpc/auth_unix.h: Likewise.
16068 * include/rpc/clnt.h: Likewise.
16069 * include/rpc/des_crypt.h: Likewise.
16070 * include/rpc/key_prot.h: Likewise.
16071 * include/rpc/pmap_clnt.h: Likewise.
16072 * include/rpc/pmap_prot.h: Likewise.
16073 * include/rpc/pmap_rmt.h: Likewise.
16074 * include/rpc/rpc_msg.h: Likewise.
16075 * include/rpc/svc.h: Likewise.
16076 * include/rpc/svc_auth.h: Likewise.
16077 * include/rpc/xdr.h: Likewise.
16078 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16079 * nss/Makefile: Likewise.
16080 * sunrpc/Makefile: Don't install headers. Build library with normal
16081 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16082 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16083 for the compat linking library. Remove use of INTDEF/INTUSE.
16084 * sunrpc/auth_none.c: Likewise.
16085 * sunrpc/auth_unix.c: Likewise.
16086 * sunrpc/authdes_prot.c: Likewise.
16087 * sunrpc/authuxprot.c: Likewise.
16088 * sunrpc/clnt_gen.c: Likewise.
16089 * sunrpc/clnt_perr.c: Likewise.
16090 * sunrpc/clnt_raw.c: Likewise.
16091 * sunrpc/clnt_simp.c: Likewise.
16092 * sunrpc/clnt_tcp.c: Likewise.
16093 * sunrpc/clnt_udp.c: Likewise.
16094 * sunrpc/clnt_unix.c: Likewise.
16095 * sunrpc/des_crypt.c: Likewise.
16096 * sunrpc/des_soft.c: Likewise.
16097 * sunrpc/get_myaddr.c: Likewise.
16098 * sunrpc/key_call.c: Likewise.
16099 * sunrpc/key_prot.c: Likewise.
16100 * sunrpc/netname.c: Likewise.
16101 * sunrpc/pm_getmaps.c: Likewise.
16102 * sunrpc/pm_getport.c: Likewise.
16103 * sunrpc/pmap_clnt.c: Likewise.
16104 * sunrpc/pmap_prot.c: Likewise.
16105 * sunrpc/pmap_prot2.c: Likewise.
16106 * sunrpc/pmap_rmt.c: Likewise.
16107 * sunrpc/publickey.c: Likewise.
16108 * sunrpc/rpc_cmsg.c: Likewise.
16109 * sunrpc/rpc_common.c: Likewise.
16110 * sunrpc/rpc_dtable.c: Likewise.
16111 * sunrpc/rpc_prot.c: Likewise.
16112 * sunrpc/rpc_thread.c: Likewise.
16113 * sunrpc/rtime.c: Likewise.
16114 * sunrpc/svc.c: Likewise.
16115 * sunrpc/svc_auth.c: Likewise.
16116 * sunrpc/svc_authux.c: Likewise.
16117 * sunrpc/svc_raw.c: Likewise.
16118 * sunrpc/svc_run.c: Likewise.
16119 * sunrpc/svc_simple.c: Likewise.
16120 * sunrpc/svc_tcp.c: Likewise.
16121 * sunrpc/svc_udp.c: Likewise.
16122 * sunrpc/svc_unix.c: Likewise.
16123 * sunrpc/svcauth_des.c: Likewise.
16124 * sunrpc/xcrypt.c: Likewise.
16125 * sunrpc/xdr.c: Likewise.
16126 * sunrpc/xdr_array.c: Likewise.
16127 * sunrpc/xdr_float.c: Likewise.
16128 * sunrpc/xdr_intXX_t.c: Likewise.
16129 * sunrpc/xdr_mem.c: Likewise.
16130 * sunrpc/xdr_rec.c: Likewise.
16131 * sunrpc/xdr_ref.c: Likewise.
16132 * sunrpc/xdr_sizeof.c: Likewise.
16133 * sunrpc/xdr_stdio.c: Likewise.
16135 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16138 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16139 * sysdeps/ia64/dl-tls.h: Likewise.
16140 * sysdeps/powerpc/dl-tls.h: Likewise.
16141 * sysdeps/s390/dl-tls.h: Likewise.
16142 * sysdeps/sh/dl-tls.h: Likewise.
16143 * sysdeps/sparc/dl-tls.h: Likewise.
16144 * sysdeps/x86_64/dl-tls.h: Likewise.
16145 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16147 2011-03-14 Andreas Schwab <schwab@redhat.com>
16149 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16150 rpath element also skip the following colon.
16151 (expand_dynamic_string_token): Add is_path parameter and pass
16152 down to DL_DST_REQUIRED and _dl_dst_substitute.
16153 (decompose_rpath): Call expand_dynamic_string_token with
16154 non-zero is_path. Ignore empty rpaths.
16155 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16158 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16163 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16166 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16167 Patch by Filipe David Manana <fdmanana@apache.org>.
16169 2011-04-07 Andreas Schwab <schwab@redhat.com>
16171 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16172 Maintain aligned stack.
16173 (CHECK_RSP): Remove unused macro.
16175 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16177 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16178 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16180 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16182 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16184 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16186 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16189 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16190 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16191 * sysdeps/x86_64/memmove.c: New file.
16192 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16193 (memcpy): Renamed to ...
16194 (__new_memcpy): This.
16195 (memcpy): Provide GLIBC_2_14 memcpy.
16196 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16197 (memcpy): Provide GLIBC_2_2_5 memcpy.
16199 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16202 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16204 2011-03-30 Andreas Schwab <schwab@redhat.com>
16206 * misc/syncfs.c: New file.
16207 * misc/Makefile (routines): Add syncfs.
16208 * posix/unistd.h: Declare syncfs.
16209 * sysdeps/unix/syscalls.list: Add syncfs.
16211 2011-04-01 Andreas Schwab <schwab@redhat.com>
16213 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16215 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16216 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16217 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16218 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16220 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16221 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16223 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16225 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16226 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16227 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16228 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16229 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16230 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16231 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16233 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16234 sync_file_range.c with -fexceptions.
16235 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16236 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16237 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16238 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16239 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16240 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16241 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16242 sync_file_range as cancellation point
16243 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16244 now a wrapper around __call_sync_file_range with cancellation handling.
16245 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16246 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16247 function name to __call_sync_file_range.
16248 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16249 Add call_sync_file_range.
16251 2011-04-01 Andreas Schwab <schwab@redhat.com>
16253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16256 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16258 * iconv/iconv.h: Fix typo in comment.
16259 * io/fcntl.h: Likewise.
16260 * libio/stdio.h: Likewise.
16261 * posix/spawn.h: Likewise.
16262 * posix/unistd.h: Likewise.
16263 * stdlib/stdlib.h: Likewise.
16264 * time/time.h: Likewise.
16265 * wcsmbs/wchar.h: Likewise.
16267 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16268 open_by_handle): Add.
16269 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16270 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16271 Augment a few comments.
16272 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16277 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16280 * io/fcntl.h (AT_EMPTY_PATH): Define.
16282 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16284 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16285 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16286 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16288 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16289 * Versions.def: Add GLIBC_2.14.
16290 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16293 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16295 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16297 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16299 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16302 * string/test-strncmp.c (do_page_test): New function.
16303 (check2): Likewise.
16304 (test_main): Call check2.
16305 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16307 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16310 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16311 Handle cache information in CPU leaf 4.
16312 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16314 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16317 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16318 character representation.
16319 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16321 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16323 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16324 END(__isnan) to END(__isnanf) to match function entry point/label
16325 EALIGN(__isnanf,...).
16327 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16329 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16331 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16334 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16335 copy from the symbol referenced in the relocation to initialize the
16337 Patch by Piotr Bury <pbury@goahead.com>.
16338 * elf/Makefile: Add rules to build and tst-unique3.
16339 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16340 * elf/tst-unique3.cc: New file.
16341 * elf/tst-unique3.h: New file.
16342 * elf/tst-unique3lib.cc: New file.
16343 * elf/tst-unique3lib2.cc: New file.
16345 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16347 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16349 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16350 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16353 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16355 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16356 to-be-loaded object along a path to loader is ld.so.
16358 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16359 Ulrich Drepper <drepper@gmail.com>
16361 * sysdeps/x86_64/memset.S: After aligning destination, code
16362 branches to different locations depending on the value of
16363 misalignment, when multiarch is enabled. Fix this.
16365 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16367 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16368 Set _x86_64_preferred_memory_instruction for AMD processsors.
16369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16370 Set bit_Prefer_SSE_for_memop for AMD processors.
16372 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16374 * libio/fmemopen.c (fmemopen): Optimize a bit.
16376 2011-03-03 Andreas Schwab <schwab@redhat.com>
16378 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16380 2011-03-03 Roland McGrath <roland@redhat.com>
16382 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16384 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16386 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16387 __bzero_ultra1 instead of __memset_ultra1.
16389 2011-02-23 Andreas Schwab <schwab@redhat.com>
16390 Ulrich Drepper <drepper@gmail.com>
16393 * include/link.h (struct link_map): Add l_orig_initfini.
16394 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16395 returning unsuccessfully.
16396 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16397 close of a file loaded at startup, restore the original l_initfini
16399 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16400 list, store the pointer.
16401 * elf/Makefile ($(objpfx)noload-mem): New rule.
16402 (noload-ENV): Define.
16403 (tests): Add $(objpfx)noload-mem.
16404 * elf/noload.c: Include <memcheck.h>.
16405 (main): Call mtrace. Close all opened handles.
16407 2011-02-17 Andreas Schwab <schwab@redhat.com>
16410 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16411 dependencies are missing.
16413 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16415 Fix __if_freereq crash: Unlike the generic version which uses free,
16417 * sysdeps/mach/hurd/ifreq.h: New file.
16419 2011-01-27 Petr Baudis <pasky@suse.cz>
16420 Ulrich Drepper <drepper@gmail.com>
16423 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16424 to extend_alloca().
16425 * stdio-common/bug23.c: New file.
16426 * stdio-common/Makefile (tests): Add bug23.
16428 2010-09-28 Andreas Schwab <schwab@redhat.com>
16429 Ulrich Drepper <drepper@gmail.com>
16432 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16433 before performing relro protection. At old place add assertion
16434 to make sure nothing changed.
16436 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16437 Glauber de Oliveira Costa <glommer@gmail.com>
16439 * elf/elf.h: Add new ARM TLS relocs.
16441 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16444 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16446 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16448 * sysdeps/wordsize-64/tst-writev.c: New file.
16450 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16452 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16453 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16454 insns in _dl_start to prevent a TOC reference before relocs are
16457 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16460 * Makeconfig: Remove RANLIB definition.
16461 * Makerules: Don't use RANLIB.
16462 * aclocal.m4: Remove ranlib test.
16463 * configure.in: No need to check for ranlib.
16464 * elf/rtld-Rules: Don't use RANLIB.
16466 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16468 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16470 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16471 inclusion protection macro.
16473 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16474 SIGRTMIN and SIGRTMAX and print information in that case only when
16475 SIGRTMIN is defined.
16477 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16479 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16480 arginfo fn returning -1.
16482 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16483 and thousands string is zero terminated.
16485 2011-02-03 Andreas Schwab <schwab@redhat.com>
16487 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16488 sysdeps/unix/sysv/linux/bits/socket.h.
16490 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16492 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16493 (__CPU_COUNT): Remove old macros.
16494 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16495 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16496 (__CPU_ALLOC, __CPU_FREE): Add macros.
16497 (__sched_cpualloc, __sched_cpufree): Add declarations.
16499 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16501 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16502 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16503 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16504 (readdhstai): Return value of addhstaiX call.
16505 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16506 (addgrbyX): Return value returned by cache_addgr.
16507 (readdgrbyname): Return value returned by addgrbyX.
16508 (readdgrbygid): Likewise.
16509 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16510 (addpwbyX): Return value returned by cache_addpw.
16511 (readdpwbyname): Return value returned by addhstbyX.
16512 (readdpwbyuid): Likewise.
16513 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16514 (addservbyX): Return value returned by cache_addserv.
16515 (readdservbyname): Return value returned by addservbyX:
16516 (readdservbyport): Likewise.
16517 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16518 (addhstbyX): Return value returned by cache_addhst.
16519 (readdhstbyname): Return value returned by addhstbyX.
16520 (readdhstbyaddr): Likewise.
16521 (readdhstbynamev6): Likewise.
16522 (readdhstbyaddrv6): Likewise.
16523 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16524 (readdinitgroups): Return value returned by addinitgroupsX.
16525 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16526 (prune_cache): Keep track of timeout value of re-added entries.
16527 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16528 * nscd/nscd.h: Adjust prototypes of readd* functions.
16530 2011-02-04 Roland McGrath <roland@redhat.com>
16532 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16533 (nis_stats): Likewise.
16534 * nis/nis_modify.c (nis_modify): Likewise.
16535 * nis/nis_remove.c (nis_remove): Likewise.
16536 * nis/nis_add.c (nis_add): Likewise.
16538 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16540 * posix/fnmatch_loop.c: Add some consts.
16542 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16544 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16547 * config.make.in (config-cflags-novzeroupper): Define.
16548 * configure.in: Substitute libc_cv_cc_novzeroupper.
16549 * elf/Makefile (AVX-CFLAGS): Define.
16550 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16551 (CFLAGS-tst-auditmod4a.c): Likewise.
16552 (CFLAGS-tst-auditmod4b.c): Likewise.
16553 (CFLAGS-tst-auditmod6b.c): Likewise.
16554 (CFLAGS-tst-auditmod6c.c): Likewise.
16555 (CFLAGS-tst-auditmod7b.c): Likewise.
16556 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16558 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16560 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16561 function to the callback.
16562 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16564 2011-02-02 Andreas Schwab <schwab@redhat.com>
16566 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16569 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16572 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16574 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16576 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16579 * elf/Makefile: Add rules to build and run new test.
16580 * elf/tst-initorder.c: New file.
16581 * elf/tst-initorder.exp: New file.
16582 * elf/tst-initordera1.c: New file.
16583 * elf/tst-initordera2.c: New file.
16584 * elf/tst-initordera3.c: New file.
16585 * elf/tst-initordera4.c: New file.
16586 * elf/tst-initorderb1.c: New file.
16587 * elf/tst-initorderb2.c: New file.
16588 * elf/tst-order-a1.c: New file.
16589 * elf/tst-order-a2.c: New file.
16590 * elf/tst-order-a3.c: New file.
16591 * elf/tst-order-a4.c: New file.
16592 * elf/tst-order-b1.c: New file.
16593 * elf/tst-order-b2.c: New file.
16594 * elf/tst-order-main.c: New file.
16595 New test case by George Gensure <werkt0@gmail.com>.
16597 2010-10-01 Andreas Schwab <schwab@redhat.com>
16599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16600 decoding ACE if AI_CANONIDN.
16602 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16604 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16606 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16608 * version.h (RELEASE): Bump for 2.13 release.
16609 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16611 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16613 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16615 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16616 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16617 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16618 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16619 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16620 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16622 * posix/getconf.c: Update copyright year.
16623 * catgets/gencat.c: Likewise.
16624 * csu/version.c: Likewise.
16625 * debug/catchsegv.sh: Likewise.
16626 * debug/xtrace.sh: Likewise.
16627 * elf/ldconfig.c: Likewise.
16628 * elf/ldd.bash.in: Likewise.
16629 * elf/sprof.c (print_version): Likewise.
16630 * iconv/iconv_prog.c: Likewise.
16631 * iconv/iconvconfig.c: Likewise.
16632 * locale/programs/locale.c: Likewise.
16633 * locale/programs/localedef.c: Likewise.
16634 * malloc/memusage.sh: Likewise.
16635 * malloc/mtrace.pl: Likewise.
16636 * nscd/nscd.c (print_version): Likewise.
16637 * nss/getent.c: Likewise.
16639 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16640 PF_CAIF, and PF_ALG.
16641 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16643 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16645 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16646 (modules-names): Use them.
16647 (ifunc-test-modules, ifunc-pie-tests): Define.
16648 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16649 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16650 (test-extras): Likewise.
16651 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16652 $(compile-command.c).
16653 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16654 (all-built-dso): Define.
16655 (check-textrel.out, check-execstack.out): Depend on it.
16657 * configure.in: Don't override --enable-multi-arch.
16659 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16662 * nscd/hstcache.c (tryagain): Define.
16663 (cache_addhst): Return tryagain not notfound for temporary errors.
16664 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16667 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16670 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16671 to make the syscall.
16672 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16675 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16676 and fall back to matching as normal character if the string ends before
16677 the matching ']' is found. This is what POSIX requires.
16678 * posix/testfnm.c: Adjust test result.
16679 * posix/globtest.sh: Adjust test result. Add new test.
16680 * posix/tst-fnmatch.input: Likewise.
16681 * posix/tst-fnmatch2.c: Add new test.
16683 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16685 * elf/Makefile (check-execstack): Revert last change. Depend on
16687 (check-execstack.h): New target.
16688 (generated): Add check-execstack.h.
16689 * elf/check-execstack.c: Include "check-execstack.h".
16690 (main): Revert last change.
16691 (handle_file): Return zero if GNU_STACK is absent and
16692 DEFAULT_STACK_PERMS doesn't include PF_X.
16694 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16696 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16697 in child fails because the descriptor is already closed.
16698 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16699 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16700 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16703 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16707 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16708 temporary buffer used to handle multi lookups locally.
16709 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16711 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16713 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16716 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16718 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16719 alignment for SSE2.
16721 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16724 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16725 characters. When rounding increased number of integer digits recompute
16727 * stdio-common/tst-grouping.c: New file.
16728 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16730 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16732 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16733 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16735 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16737 * bits/select.h: Likewise.
16739 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16741 * po/ja.po: Update from translation team.
16743 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16746 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16747 implementation just like for lxstat, fxstatat, et al.
16749 2010-12-27 Jim Meyering <meyering@redhat.com>
16752 * posix/regexec.c (build_trtable): Return failure indication upon
16753 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16755 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16758 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16759 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16760 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16761 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16764 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16767 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16768 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16770 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16772 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16773 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16774 script has SORT_BY_INIT_PRIORITY.
16775 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16776 NO_CTORS_DTORS_SECTIONS is defined.
16777 * elf/soinit.c: Likewise.
16778 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16779 NO_CTORS_DTORS_SECTIONS is defined.
16780 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16781 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16782 * sysdeps/sh/init-first.c: Likewise.
16783 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16785 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16787 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16788 always use the slow path.
16790 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16792 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16793 similar rule which adds the sysdep directories to the header search in
16794 order to pick up the correct platform stackinfo.h.
16795 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16796 perform test if it is, otherwise return successfully without testing.
16797 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16798 DEFAULT_STACK_PERMS define in stackinfo.h.
16799 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16800 defined in stackinfo.h.
16801 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16802 DEFAULT_STACK_PERMS defined in stackinfo.h.
16803 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16804 * sysdeps/ia64/stackinfo.h: Likewise.
16805 * sysdeps/s390/stackinfo.h: Likewise.
16806 * sysdeps/sh/stackinfo.h: Likewise.
16807 * sysdeps/sparc/stackinfo.h: Likewise.
16808 * sysdeps/x86_64/stackinfo.h: Likewise.
16809 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16810 PF_X for powerpc64. Retain PF_X for powerpc32.
16812 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16814 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16816 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16817 GETDENTS_64BIT_ALIGNED.
16819 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16821 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16823 2010-12-10 Andreas Schwab <schwab@redhat.com>
16825 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16828 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16829 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16831 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16832 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16834 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16837 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16840 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16842 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16844 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16846 * po/it.po: Update from translation team.
16848 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16850 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16853 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16855 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16857 2010-11-24 Andreas Schwab <schwab@redhat.com>
16859 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16861 (gaih_getanswer_slice): Likewise.
16863 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16867 2010-05-31 Petr Baudis <pasky@suse.cz>
16870 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16871 silently even in the chroot mode.
16873 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16875 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16876 last patch a bit. Pretty printing
16878 2010-05-31 Petr Baudis <pasky@suse.cz>
16881 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16882 initialization of skip_initgroups_dyn.
16884 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16886 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16887 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16889 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16891 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16893 2010-11-11 Andreas Schwab <schwab@redhat.com>
16895 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16896 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16897 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16898 ($(objpfx)tst-fnmatch-mem): New rule.
16899 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16900 * posix/tst-fnmatch.c (main): Call mtrace.
16902 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16905 Support Intel processor model 6 and model 0x2c.
16907 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16909 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16912 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16915 * string/test-strncasecmp.c (check_result): New function.
16916 (do_one_test): Use it.
16917 (check1): New function.
16918 (test_main): Use it.
16919 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16920 Support strcasecmp and strncasecmp.
16922 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16925 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16926 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16928 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16930 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16934 * sysdeps/x86_64/multiarch/bzero.S: New file.
16935 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16936 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16937 * sysdeps/x86_64/multiarch/memset.S: New file.
16938 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16940 Set bit_Prefer_SSE_for_memop for Intel processors.
16941 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16943 (index_Prefer_SSE_for_memop): Define.
16944 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16946 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16948 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16949 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16951 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16954 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16955 (__x86_64_raw_data_cache_size_half): Likewise.
16956 (__x86_64_raw_shared_cache_size): Likewise.
16957 (__x86_64_raw_shared_cache_size_half): Likewise.
16959 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16960 (__x86_64_raw_data_cache_size_half): Likewise.
16961 (__x86_64_raw_shared_cache_size): Likewise.
16962 (__x86_64_raw_shared_cache_size_half): Likewise.
16963 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16964 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16965 and __x86_64_raw_shared_cache_size_half. Round
16966 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16967 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16968 to multiple of 256 bytes.
16970 2010-11-03 Ulrich Drepper <drepper@gmail.com>
16973 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16974 of inacessible symlinks. Verify result of symlink before returning it.
16975 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16976 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16978 2010-10-28 Erich Ritz <erichritz@gmail.com>
16980 * math/math.h (isinf): Fix typo in comment.
16982 2010-11-01 Ulrich Drepper <drepper@gmail.com>
16984 * po/da.po: Update from translation team.
16986 2010-10-26 Ulrich Drepper <drepper@gmail.com>
16988 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16989 is added to the list.
16991 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16992 Ulrich Drepper <drepper@gmail.com>
16994 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16995 the global list here. Move code to...
16996 (_dl_add_to_namespace_list): ...here. New function.
16997 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16998 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16999 * elf/dl-load.c (lose): Don't remove the element from the list.
17000 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17001 (_dl_map_object): Likewise.
17003 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17006 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17007 into all bytes of SSE register.
17008 Patch by Richard Li <richardpku@gmail.com>.
17010 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17013 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17016 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17018 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17019 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17020 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17021 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17026 2010-10-22 Andreas Schwab <schwab@redhat.com>
17028 * include/dlfcn.h (__RTLD_SECURE): Define.
17029 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17030 mode & __RTLD_SECURE instead.
17031 (open_path): Rename preloaded parameter to secure.
17032 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17033 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17034 * elf/dl-deps.c (openaux): Likewise.
17035 * elf/rtld.c (struct map_args): Remove is_preloaded.
17036 (map_doit): Don't use it.
17037 (dl_main): Likewise.
17038 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17039 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17041 2010-09-09 Andreas Schwab <schwab@redhat.com>
17043 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17044 (sysd-rules-targets): Remove duplicates.
17045 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17046 rtld-%.$o dependency.
17048 2010-10-18 Andreas Schwab <schwab@redhat.com>
17050 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17051 _dl_map_object do it.
17053 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17055 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17056 fast fma builtins, define the macros in the C99 standard.
17057 (FP_FAST_FMAF): Likewise.
17058 (FP_FAST_FMAL): Likewise.
17059 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17061 * bits/mathdef.h: Update copyright year.
17062 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17064 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17066 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17067 builtins, define the macros in the C99 standard.
17068 (FP_FAST_FMAF): Likewise.
17069 (FP_FAST_FMAL): Likewise.
17070 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17072 (FP_FAST_FMAF): Likewise.
17074 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17077 * math/libm-test.inc (fma_test): Some new testcases.
17078 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17079 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17080 y and infinite z. Do multiplication by C already in long double.
17081 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17083 y and infinite z. Do bitwise or of inexact bit into u.d.
17084 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17085 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17086 * sysdeps/i386/fpu/s_fma.S: Removed.
17087 * sysdeps/i386/fpu/s_fmal.S: Removed.
17089 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17092 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17093 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17094 computation is not scheduled after fetestexcept. Fix value
17095 of minimum denormal long double.
17097 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17100 * math/libm-test.inc (fma_test): Add some more tests.
17101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17104 2010-10-15 Andreas Schwab <schwab@redhat.com>
17106 * scripts/data/localplt-s390-linux-gnu.data: New file.
17107 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17109 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17112 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17113 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17115 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17117 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17118 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17119 if one of x and y is very large and the other is subnormal.
17120 * sysdeps/s390/fpu/s_fmaf.c: New file.
17121 * sysdeps/s390/fpu/s_fma.c: New file.
17122 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17123 * sysdeps/powerpc/fpu/s_fma.S: New file.
17124 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17125 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17126 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17128 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17131 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17133 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17134 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17135 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17136 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17137 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17138 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17139 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17141 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17144 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17145 * posix/bug-regex31.input: Add test case.
17147 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17149 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17150 * posix/bug-regex31.input: New file.
17153 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17154 (parse_sub_exp): Fix last change, use postorder.
17156 * posix/bug-regex31.c: New file.
17157 * posix/Makefile: Add rules to build and run bug-regex31.
17159 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17162 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17165 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17166 to have entries in sys_siglist.
17169 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17172 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17175 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17176 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17177 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17178 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17179 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17180 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17181 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17182 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17183 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17184 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17185 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17186 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17187 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17188 * math/ftestexcept.c (fetestexcept): Likewise.
17189 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17190 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17191 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17192 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17193 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17194 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17195 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17197 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17200 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17203 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17205 * string/bug-strstr1.c: New file.
17206 * string/Makefile: Add rules to build and run bug-strstr1.
17208 2010-10-05 Eric Blake <eblake@redhat.com>
17211 * string/str-two-way.h (two_way_long_needle): Always clear memory
17212 when skipping input due to the shift table.
17214 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17217 * malloc/mcheck.c: Handle large requests.
17220 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17221 for strncmp and strncasecmp.
17222 * string/stratcliff.c: Add tests for strcmp and strncmp.
17223 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17225 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17227 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17230 2010-09-30 Andreas Jaeger <aj@suse.de>
17232 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17233 (CGROUP_SUPER_MAGIC): Define.
17234 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17235 Handle btrfs and cgroup file systems.
17236 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17239 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17241 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17242 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17244 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17247 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17248 trying to locate the ELF header.
17250 2010-09-27 Andreas Schwab <schwab@redhat.com>
17253 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17254 Mask out sign-bit copies when constructing f_fsid.
17256 2010-09-24 Petr Baudis <pasky@suse.cz>
17258 * debug/stack_chk_fail_local.c: Add missing licence exception.
17259 * debug/warning-nop.c: Likewise.
17261 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17263 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17264 implementing getdents64 using getdents syscall, set d_type if
17265 __ASSUME_GETDENTS32_D_TYPE.
17267 2010-09-16 Andreas Schwab <schwab@redhat.com>
17269 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17270 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17272 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17275 * posix/unistd.h: Undo change of feature selection for ftruncate from
17278 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17280 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17283 2010-09-20 Andreas Schwab <schwab@redhat.com>
17285 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17287 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17289 2010-09-14 Andreas Schwab <schwab@redhat.com>
17291 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17292 variables after CHECK_SP call.
17293 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17295 2010-09-13 Andreas Schwab <schwab@redhat.com>
17296 Ulrich Drepper <drepper@redhat.com>
17298 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17299 re-relocationg ld.so.
17300 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17301 _dl_init_paths call.
17302 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17305 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17307 * resolv/res_init.c (__res_vinit): Count the default server we added.
17309 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17310 Ulrich Drepper <drepper@redhat.com>
17313 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17314 (____longjmp_chk): Use %ebx for saving value across system call.
17317 2010-09-06 Andreas Schwab <schwab@redhat.com>
17319 * manual/Makefile: Don't mix pattern rules with normal rules.
17321 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17323 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17325 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17326 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17327 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17328 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17329 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17332 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17335 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17336 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17338 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17340 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17341 * sysdeps/x86_64/addmul_1.S: Likewise.
17342 * sysdeps/x86_64/lshift.S: Likewise.
17343 * sysdeps/x86_64/mul_1.S: Likewise.
17344 * sysdeps/x86_64/rshift.S: Likewise.
17345 * sysdeps/x86_64/sub_n.S: Likewise.
17346 * sysdeps/x86_64/submul_1.S: Likewise.
17348 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17350 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17351 Define __sched_param instead of SCHED_* and sched_param when
17352 <bits/sched.h> is included with __need_schedparam defined.
17353 * bits/sched.h [__need_schedparam]
17354 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17355 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17356 (__defined_schedparam): Define to 1.
17357 (__sched_param): New structure, identical to sched_param.
17358 (__need_schedparam): Undefine.
17360 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17362 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17363 (epoll_create1): Declare.
17365 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17367 2010-08-31 Andreas Schwab <schwab@redhat.com>
17370 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17371 shifting retval into place.
17373 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17375 * nis/rpcsvc/nis.h: Update copyright notice.
17376 * nis/rpcsvc/nis.x: Likewise.
17377 * nis/rpcsvc/nis_callback.h: Likewise.
17378 * nis/rpcsvc/nis_callback.x: Likewise.
17379 * nis/rpcsvc/nis_object.x: Likewise.
17380 * nis/rpcsvc/nis_tags.h: Likewise.
17381 * nis/rpcsvc/yp.h: Likewise.
17382 * nis/rpcsvc/yp.x: Likewise.
17383 * nis/rpcsvc/ypupd.h: Likewise.
17384 * nis/yp_xdr.c: Likewise.
17385 * nis/ypupdate_xdr.c: Likewise.
17387 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17388 mainly the body of pmap_getport. Add parameters to specify timeouts.
17389 (pmap_getport): Use __libc_rpc_getport.
17390 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17391 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17392 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17394 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17399 2010-08-27 Roland McGrath <roland@redhat.com>
17401 * sysdeps/i386/i686/multiarch/Makefile
17402 (CFLAGS-varshift.c): New variable.
17404 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17406 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17407 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17409 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17411 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17413 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17415 * sysdeps/x86_64/strlen.S: Unroll the loop.
17416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17417 strlen-sse2 strlen-sse2-bsf.
17418 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17419 __strlen_no_bsf if bit_Slow_BSF is set.
17420 (__strlen_sse42): Removed.
17421 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17422 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17424 2010-08-25 Roland McGrath <roland@redhat.com>
17426 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17427 * sysdeps/x86_64/multiarch/varshift.c: New file.
17428 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17429 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17430 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17431 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17433 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17435 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17436 strlen-sse2 strlen-sse2-bsf.
17437 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17438 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17439 (__strlen_sse2): Removed.
17440 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17441 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17443 bit_Slow_BSF for Atom.
17444 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17445 (index_Slow_BSF): Define.
17446 (HAS_SLOW_BSF): Define.
17448 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17451 * resolv/res_init.c (__res_vinit): When no server address at all
17452 is given default to loopback.
17454 2010-08-24 Roland McGrath <roland@redhat.com>
17456 * configure.in: Remove config-name.h generation.
17457 * configure: Regenerated.
17458 * config-name.in: File removed.
17459 * scripts/config-uname.sh: New file.
17460 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17461 ($(objdir)config-name.h): New target.
17463 * sunrpc/rpc_parse.h: Avoid nested comment.
17465 2010-08-24 Richard Henderson <rth@redhat.com>
17466 Ulrich Drepper <drepper@redhat.com>
17467 H.J. Lu <hongjiu.lu@intel.com>
17469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17470 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17471 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17472 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17473 _mm_alignr_epi8 with _mm_loadu_si128.
17474 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17475 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17476 (__m128i_shift_right): Removed.
17477 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17478 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17479 * sysdeps/x86_64/multiarch/varshift.h: New file.
17480 * sysdeps/x86_64/multiarch/varshift.S: New file.
17482 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17484 * configure.in: Move assembler checks to before sysdep dir checking.
17486 2010-08-20 Petr Baudis <pasky@suse.cz>
17488 * LICENSES: Sync the sunrpc license.
17490 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17492 * sunrpc/auth_des.c: Update copyright notice once again.
17493 * sunrpc/auth_none.c: Likewise.
17494 * sunrpc/auth_unix.c: Likewise.
17495 * sunrpc/authdes_prot.c: Likewise.
17496 * sunrpc/authuxprot.c: Likewise.
17497 * sunrpc/bindrsvprt.c: Likewise.
17498 * sunrpc/clnt_gen.c: Likewise.
17499 * sunrpc/clnt_perr.c: Likewise.
17500 * sunrpc/clnt_raw.c: Likewise.
17501 * sunrpc/clnt_simp.c: Likewise.
17502 * sunrpc/clnt_tcp.c: Likewise.
17503 * sunrpc/clnt_udp.c: Likewise.
17504 * sunrpc/clnt_unix.c: Likewise.
17505 * sunrpc/des_crypt.c: Likewise.
17506 * sunrpc/des_soft.c: Likewise.
17507 * sunrpc/get_myaddr.c: Likewise.
17508 * sunrpc/getrpcport.c: Likewise.
17509 * sunrpc/key_call.c: Likewise.
17510 * sunrpc/key_prot.c: Likewise.
17511 * sunrpc/openchild.c: Likewise.
17512 * sunrpc/pm_getmaps.c: Likewise.
17513 * sunrpc/pm_getport.c: Likewise.
17514 * sunrpc/pmap_clnt.c: Likewise.
17515 * sunrpc/pmap_prot.c: Likewise.
17516 * sunrpc/pmap_prot2.c: Likewise.
17517 * sunrpc/pmap_rmt.c: Likewise.
17518 * sunrpc/rpc/auth.h: Likewise.
17519 * sunrpc/rpc/auth_unix.h: Likewise.
17520 * sunrpc/rpc/clnt.h: Likewise.
17521 * sunrpc/rpc/des_crypt.h: Likewise.
17522 * sunrpc/rpc/key_prot.h: Likewise.
17523 * sunrpc/rpc/netdb.h: Likewise.
17524 * sunrpc/rpc/pmap_clnt.h: Likewise.
17525 * sunrpc/rpc/pmap_prot.h: Likewise.
17526 * sunrpc/rpc/pmap_rmt.h: Likewise.
17527 * sunrpc/rpc/rpc.h: Likewise.
17528 * sunrpc/rpc/rpc_des.h: Likewise.
17529 * sunrpc/rpc/rpc_msg.h: Likewise.
17530 * sunrpc/rpc/svc.h: Likewise.
17531 * sunrpc/rpc/svc_auth.h: Likewise.
17532 * sunrpc/rpc/types.h: Likewise.
17533 * sunrpc/rpc/xdr.h: Likewise.
17534 * sunrpc/rpc_clntout.c: Likewise.
17535 * sunrpc/rpc_cmsg.c: Likewise.
17536 * sunrpc/rpc_common.c: Likewise.
17537 * sunrpc/rpc_cout.c: Likewise.
17538 * sunrpc/rpc_dtable.c: Likewise.
17539 * sunrpc/rpc_hout.c: Likewise.
17540 * sunrpc/rpc_main.c: Likewise.
17541 * sunrpc/rpc_parse.c: Likewise.
17542 * sunrpc/rpc_parse.h: Likewise.
17543 * sunrpc/rpc_prot.c: Likewise.
17544 * sunrpc/rpc_sample.c: Likewise.
17545 * sunrpc/rpc_scan.c: Likewise.
17546 * sunrpc/rpc_scan.h: Likewise.
17547 * sunrpc/rpc_svcout.c: Likewise.
17548 * sunrpc/rpc_tblout.c: Likewise.
17549 * sunrpc/rpc_util.c: Likewise.
17550 * sunrpc/rpc_util.h: Likewise.
17551 * sunrpc/rpcinfo.c: Likewise.
17552 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17553 * sunrpc/rpcsvc/key_prot.x: Likewise.
17554 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17555 * sunrpc/rpcsvc/mount.x: Likewise.
17556 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17557 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17558 * sunrpc/rpcsvc/rex.x: Likewise.
17559 * sunrpc/rpcsvc/rstat.x: Likewise.
17560 * sunrpc/rpcsvc/rusers.x: Likewise.
17561 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17562 * sunrpc/rpcsvc/spray.x: Likewise.
17563 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17564 * sunrpc/rtime.c: Likewise.
17565 * sunrpc/svc.c: Likewise.
17566 * sunrpc/svc_auth.c: Likewise.
17567 * sunrpc/svc_authux.c: Likewise.
17568 * sunrpc/svc_raw.c: Likewise.
17569 * sunrpc/svc_run.c: Likewise.
17570 * sunrpc/svc_simple.c: Likewise.
17571 * sunrpc/svc_tcp.c: Likewise.
17572 * sunrpc/svc_udp.c: Likewise.
17573 * sunrpc/svc_unix.c: Likewise.
17574 * sunrpc/svcauth_des.c: Likewise.
17575 * sunrpc/xcrypt.c: Likewise.
17576 * sunrpc/xdr.c: Likewise.
17577 * sunrpc/xdr_array.c: Likewise.
17578 * sunrpc/xdr_float.c: Likewise.
17579 * sunrpc/xdr_mem.c: Likewise.
17580 * sunrpc/xdr_rec.c: Likewise.
17581 * sunrpc/xdr_ref.c: Likewise.
17582 * sunrpc/xdr_sizeof.c: Likewise.
17583 * sunrpc/xdr_stdio.c: Likewise.
17585 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17588 2010-08-19 Andreas Schwab <schwab@redhat.com>
17590 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17592 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17594 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17595 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17596 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17597 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17598 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17599 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17600 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17601 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17602 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17603 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17604 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17605 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17606 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17607 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17609 2010-07-26 Anton Blanchard <anton@samba.org>
17611 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17612 * malloc/arena.c (heap_trim): Likewise.
17614 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17616 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17618 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17619 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17621 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17623 * sysdeps/i386/elf/Makefile: New file.
17625 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17627 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17628 from fanotify_init.
17629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17630 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17632 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17634 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17636 * sysdeps/multiarch/strcmp.S: Likewise.
17638 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17640 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17641 strncase_l-nonascii.
17642 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17643 Add strncase_l-ssse3.
17644 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17645 * sysdeps/x86_64/strcmp.S: Likewise.
17646 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17647 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17648 * sysdeps/x86_64/strncase.S: New file.
17649 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17650 * sysdeps/x86_64/strncase_l.S: New file.
17651 * string/Makefile (strop-tests): Add strncasecmp.
17652 * string/test-strncasecmp.c: New file.
17654 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17657 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17658 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17660 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17662 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17664 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17666 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17667 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17668 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17670 2010-05-01 Alan Modra <amodra@gmail.com>
17672 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17673 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17674 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17675 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17676 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17677 tidying. Don't tail-call __sigjmp_save for static lib.
17678 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17680 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17681 (CALL_MCOUNT): Add eh info, and nop after bl.
17682 (TAIL_CALL_SYSCALL_ERROR): New macro.
17683 (PSEUDO_RET): Use it.
17684 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17685 Correct save location of integer regs and cr.
17686 (_dl_profile_resolve): Correct cr save location. Delete nops
17687 after bl when SHARED. Reduce cfi size a little by better
17688 placement of cfi directives.
17689 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17690 make a stack frame. Instead use parm save area as a temp.
17691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17692 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17694 Don't make a stack frame for parent, use parm save area.
17695 Increase child stack frame to 112 bytes. Don't save unused reg,
17696 and adjust reg usage. Set up cfi on error recovery and
17697 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17699 (__makecontext): Add dummy nop after jump to exit.
17700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17701 Use correct parm save area and cr save, reduce stack frame.
17702 Correct cfi for possible PSEUDO_RET frame setup.
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17704 Branch to local label emitted by PSEUDO_RET rather than
17707 2010-08-12 Andreas Schwab <schwab@redhat.com>
17710 * locale/programs/locale.c (print_assignment): New function.
17711 (show_locale_vars): Use it.
17713 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17715 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17717 (struct statfs64): Likewise.
17718 (_STATFS_F_FLAGS): Define.
17719 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17720 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17721 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17722 (ST_VALID): Define locally.
17723 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17724 __statvfs_getflags, use the provided value.
17725 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17726 __ASSUME_STATFS_F_FLAGS.
17728 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17730 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17731 Add sys/fanotify.h.
17732 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17733 fanotify_mask for GLIBC_2.13.
17734 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17735 fanotify_init and fanotify_mark.
17736 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17737 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17739 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17741 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17742 prlimit64 for GLIBC_2.13.
17743 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17745 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17748 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17749 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17750 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17751 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17753 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17756 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17757 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17759 * nss/Makefile: Add rules to build and run tst-nss-test1.
17760 * shlib-versions: Add entry for libnss_test1.
17761 * nss/nss_test1.c: New file.
17762 * nss/tst-nss-test1.c: New file.
17764 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17765 (__nss_configure_lookup): Set appropriate entry in
17766 __nss_configure_lookup to true.
17767 * nss/nsswitch.h: Define enum with indeces of databases in
17768 databases and __nss_database_custom arrays. Declare
17769 __nss_database_custom.
17770 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17771 to avoid using nscd when custom rules are installed.
17772 * nss/getXXbyYY_r.c: Likewise.
17773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17775 * nss/nss_files/files-parse.c: Whitespace fixes.
17777 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17780 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17781 * posix/fnmatch_loop.c: Likewise.
17783 2010-07-17 Andi Kleen <ak@linux.intel.com>
17785 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17786 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17787 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17788 * Versions.def [GLIBC_2.13]: Add.
17790 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17792 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17793 Also fail if tpwd after pwuid call is NULL.
17795 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17797 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17798 when converting to ms.
17800 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17802 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17803 EOPNOTSUPP errors with ENOTTY.
17804 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17805 EOPNOTSUPP errors with ENOTTY.
17807 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17809 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17810 Add strcasecmp_l-ssse3.
17811 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17813 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17814 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17815 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17817 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17819 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17821 * string/Makefile (strop-tests): Add strcasecmp.
17822 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17823 strcasecmp_l-nonascii.
17824 (gen-as-const-headers): Add locale-defines.sym.
17825 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17826 * sysdeps/x86_64/strcasecmp.S: New file.
17827 * sysdeps/x86_64/strcasecmp_l.S: New file.
17828 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17829 * sysdeps/x86_64/locale-defines.sym: New file.
17830 * string/test-strcasecmp.c: New file.
17832 * string/test-strcasestr.c: Test both ends of the range of characters.
17833 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17835 2010-07-29 Roland McGrath <roland@redhat.com>
17838 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17840 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17842 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17845 2010-07-27 Andreas Schwab <schwab@redhat.com>
17847 * manual/memory.texi (Malloc Tunable Parameters): Document
17850 2010-07-26 Roland McGrath <roland@redhat.com>
17853 * configure.in (-fgnu89-inline check): Set and substitute
17854 gnu89_inline, not libc_cv_gnu89_inline.
17855 * configure: Regenerated.
17856 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17858 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17860 * string/test-strnlen.c: New file.
17861 * string/Makefile (strop-tests): Add strnlen.
17862 * string/tester.c (test_strnlen): Add a few more test cases.
17863 * string/tst-strlen.c: Better error reporting.
17865 * sysdeps/x86_64/strnlen.S: New file.
17867 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17869 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17870 lower-latency instructions.
17872 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17874 * string/test-strcasestr.c: New file.
17875 * string/test-strstr.c: New file.
17876 * string/Makefile (strop-tests): Add strstr and strcasestr.
17877 * string/str-two-way.h: Don't undefine MAX.
17878 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17880 2010-07-21 Andreas Schwab <schwab@redhat.com>
17882 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17883 strcasestr-nonascii.
17884 (CFLAGS-strcasestr-nonascii.c): Define.
17885 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17886 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17887 Remove unused attribute.
17889 2010-07-20 Roland McGrath <roland@redhat.com>
17891 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17892 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17893 ld.so.cache was broken. With it, there is no way to disable dsocaps
17894 like LD_HWCAP_MASK can disable hwcaps.
17896 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17898 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17900 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17902 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17903 call in strcasestr.
17904 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17905 __strcasestr_sse42_nonascii.
17906 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17907 strcasestr-nonascii.c.
17908 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17910 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17912 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17913 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17914 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17915 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17917 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17919 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17922 2010-07-06 Andreas Schwab <schwab@redhat.com>
17925 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17928 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17930 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17931 _PC_PIPE_BUF using F_GETPIPE_SZ.
17933 2010-07-05 Roland McGrath <roland@redhat.com>
17935 * manual/arith.texi (Rounding Functions): Fix rint description
17936 implicit in round description.
17938 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17940 * elf/Makefile: Fix linking for a few tests to make recent linker
17943 2010-06-30 Andreas Schwab <schwab@redhat.com>
17945 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17946 $(common-objpfx)libc_nonshared.a.
17948 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17950 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17951 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17952 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17953 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17954 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17955 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17956 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17957 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17972 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17973 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17974 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17975 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17976 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17977 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17978 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17979 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17980 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17981 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17982 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17983 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17999 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18001 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18002 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18003 * string/memmove.c (memmove): Renamed to ...
18004 (MEMMOVE): ...this. Default to memmove.
18005 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18006 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18009 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18010 mempcpy-ssse3-back memmove-ssse3-back.
18011 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18012 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18013 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18014 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18015 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18016 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18017 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18018 * sysdeps/x86_64/multiarch/memmove.c: New file.
18019 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18020 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18021 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18022 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18023 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18024 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18026 (index_Fast_Copy_Backward): Define.
18027 (HAS_ARCH_FEATURE): Define.
18028 (HAS_FAST_REP_STRING): Define.
18029 (HAS_FAST_COPY_BACKWARD): Define.
18031 2010-06-21 Andreas Schwab <schwab@redhat.com>
18033 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18034 Restore proper fallback handling.
18036 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18039 * posix/group_member.c (__group_member): Correct checking loop.
18041 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18042 OOM in getpwuid_r correctly. Return error number when the caller
18043 should return, otherwise -1.
18044 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18045 call returning > 0 value.
18046 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18048 2010-06-07 Andreas Schwab <schwab@redhat.com>
18050 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18051 libc_nonshared.a from targets in modules-names.
18053 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18055 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18058 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18060 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18061 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18062 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18063 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18065 2010-06-02 Andreas Schwab <schwab@redhat.com>
18067 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18069 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18071 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18073 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18074 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18077 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18078 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18080 2010-06-14 Roland McGrath <roland@redhat.com>
18082 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18084 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18086 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18087 __REDIRECT followed by __THROW.
18088 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18089 * posix/getopt.h (getopt): Likewise.
18091 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18093 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18094 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18095 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18097 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18098 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18100 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18102 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18104 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18108 Properly check family and model.
18110 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18112 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18114 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18116 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18118 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18120 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18123 2010-05-19 Andreas Schwab <schwab@redhat.com>
18125 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18128 2010-05-21 Andreas Schwab <schwab@redhat.com>
18130 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18131 and internal_recvmmsg.
18132 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18133 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18134 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18135 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18137 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18138 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18139 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18141 2010-05-20 Andreas Schwab <schwab@redhat.com>
18143 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18145 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18147 POWER7 optimizations.
18148 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18149 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18151 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18153 * version.h: Update for 2.13 development version.
18155 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18157 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18158 exceptions. Return 0.
18160 2010-05-07 Roland McGrath <roland@redhat.com>
18162 * elf/ldconfig.c (main): Add a const.
18164 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18166 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18167 (args_options): Add no-idn option.
18168 (ahosts_keys_int): Add idn_flags to ai_flags.
18169 (parse_option): Handle 'i' option to clear idn_flags.
18171 * malloc/malloc.c (_int_free): Possible race in the most recently
18172 added check. Only act on the data if no current modification
18175 See ChangeLog.17 for earlier changes.