]> sourceware.org Git - glibc.git/blob - ChangeLog
[BZ #13939]
[glibc.git] / ChangeLog
1 2012-08-09 Jeff Law <law@redhat.com>
2
3 [BZ #13939]
4 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5 When avoid_arena is set, don't retry in the that arena. Pick the
6 next one, whatever it might be.
7 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8 (arena_lock): Pass in new parameter to arena_get2.
9 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10 arena_get2.
11 (__libc_malloc): Unify retrying after main arena failure with
12 __libc_memalign version.
13 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14
15 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16
17 [BZ #14166]
18 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19 to __redirect_strstr.
20 (__strstr_sse42): Use typeof __redirect_strstr.
21 (__strstr_ia32): Likewise.
22 (__libc_strstr): New prototype.
23 (strstr): Renamed to ...
24 (__libc_strstr): This.
25 (strstr): New strong alias of __libc_strstr.
26 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28 __redirect_time.
29 Include <time.h>.
30 (__libc_time): New prototype.
31 (time_ifunc): Replace time with __libc_time.
32 (time): New strong alias and hidden definition of __libc_time.
33 (__GI_time): Remove strong alias.
34 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35 Include <stddef.h>.
36 (memmove): Redefined to __redirect_memmove.
37 (__memmove_sse2): Use typeof __redirect_memmove.
38 (__memmove_ssse3): Likewise.
39 (__memmove_ssse3_back): Likewise.
40 (__libc_memmove): New prototype.
41 (memmove): Renamed to ...
42 (__libc_memmove): This.
43 (memmove): New strong alias of __libc_memmove.
44
45 2012-08-08 Mark Salter <msalter@redhat.com>
46
47 * elf/elf.h
48 (R_MN10300_TLS_GD): Define.
49 (R_MN10300_TLS_LD): Likewise.
50 (R_MN10300_TLS_LDO): Likewise.
51 (R_MN10300_TLS_GOTIE): Likewise.
52 (R_MN10300_TLS_IE): Likewise.
53 (R_MN10300_TLS_LE): Likewise.
54 (R_MN10300_TLS_DTPMOD): Likewise.
55 (R_MN10300_TLS_DTPOFF): Likewise.
56 (R_MN10300_TLS_TPOFF): Likewise.
57 (R_MN10300_SYM_DIFF): Likewise.
58 (R_MN10300_ALIGN): Likewise.
59 (R_MN10300_NUM): Update.
60
61 2012-08-08 Joseph Myers <joseph@codesourcery.com>
62
63 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
64 Remove.
65
66 2012-08-08 Roland McGrath <roland@hack.frob.com>
67
68 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
69
70 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
71 sysdeps/unix -> sysdeps/posix move.
72 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
73
74 2012-08-07 Allan McRae <allan@archlinux.org>
75
76 [BZ #14303]
77 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78 (SUNOS_CPP): Likewise.
79 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
80 not found.
81 (open_input): Call CPP using execvp.
82
83 2012-08-07 Joseph Myers <joseph@codesourcery.com>
84
85 * sysdeps/unix/sysv/linux/kernel-features.h
86 (__ASSUME_PROT_GROWSUPDOWN): Remove.
87 (__ASSUME_NO_CLONE_DETACHED): Likewise.
88 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
89 (__ASSUME_WAITID_SYSCALL): Likewise.
90 * sysdeps/unix/sysv/linux/dl-execstack.c
91 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
92 code unconditional.
93 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
94 conditional code.
95 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
96 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
97 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
98 code.
99 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
100 unconditional.
101 [__ASSUME_WAITID_SYSCALL]: Likewise.
102 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
103
104 2012-08-07 Roland McGrath <roland@hack.frob.com>
105
106 * sysdeps/unix/closedir.c: Renamed to ...
107 * sysdeps/posix/closedir.c: ... here.
108 * sysdeps/unix/dirfd.c: Renamed to ...
109 * sysdeps/posix/dirfd.c: ... here.
110 * sysdeps/unix/dirstream.h: Renamed to ...
111 * sysdeps/posix/dirstream.h: ... here.
112 * sysdeps/unix/fdopendir.c: Renamed to ...
113 * sysdeps/posix/fdopendir.c: ... here.
114 * sysdeps/unix/opendir.c: Renamed to ...
115 * sysdeps/posix/opendir.c: ... here.
116 * sysdeps/unix/readdir.c: Renamed to ...
117 * sysdeps/posix/readdir.c: ... here.
118 * sysdeps/unix/readdir_r.c: Renamed to ...
119 * sysdeps/posix/readdir_r.c: ... here.
120 * sysdeps/unix/rewinddir.c: Renamed to ...
121 * sysdeps/posix/rewinddir.c: ... here.
122 * sysdeps/unix/seekdir.c: Renamed to ...
123 * sysdeps/posix/seekdir.c: ... here.
124 * sysdeps/unix/telldir.c: Renamed to ...
125 * sysdeps/posix/telldir.c: ... here.
126 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
127 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
128 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
129 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
130
131 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
132 * bits/fcntl.h: ... here.
133
134 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
135 not 0.
136 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
137 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
138 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
139 (struct flock): Move l_start, l_len to the beginning.
140 Use __pid_t for l_pid.
141 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
142 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
143 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
144 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
145 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
146 [__USE_LARGEFILE64] (struct flock64): New type.
147 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
148
149 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
150 * bits/dirent.h: ... here.
151
152 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
153 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
154
155 2012-08-07 Joseph Myers <joseph@codesourcery.com>
156
157 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
158 Change from 2.6.0 to 2.6.16.
159 * sysdeps/unix/sysv/linux/configure: Regenerated.
160 * sysdeps/unix/sysv/linux/kernel-features.h
161 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
162 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
163 version.
164 (__ASSUME_UTIMES): Likewise.
165 (__ASSUME_CLONE_STOPPED): Remove.
166 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
167 architectures, not kernel version.
168 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
169 (__ASSUME_NO_CLONE_DETACHED): Likewise.
170 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
171 (__ASSUME_WAITID_SYSCALL): Likewise.
172 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
173 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
174 * README: State 2.6.16 as minimum Linux kernel version. Do not
175 refer to older versions.
176
177 2012-08-06 Roland McGrath <roland@hack.frob.com>
178
179 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
180 Define alphasort64 as an alias.
181 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
182 Define versionsort64 as an alias.
183 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
184 Define scandir64 as an alias.
185 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
186 Define scandirat64 as an alias.
187 * dirent/alphasort64.c (alphasort64):
188 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
189 * dirent/versionsort64.c: Likewise.
190 * dirent/scandir64.c: Likewise.
191 * dirent/scandirat64.c: Likewise.
192 * sysdeps/wordsize-64/alphasort.c: File removed.
193 * sysdeps/wordsize-64/alphasort64.c: File removed.
194 * sysdeps/wordsize-64/scandir.c: File removed.
195 * sysdeps/wordsize-64/scandir64.c: File removed.
196 * sysdeps/wordsize-64/scandirat.c: File removed.
197 * sysdeps/wordsize-64/scandirat64.c: File removed.
198 * sysdeps/wordsize-64/versionsort.c: File removed.
199 * sysdeps/wordsize-64/versionsort64.c: File removed.
200 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
202 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
203 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
204 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
205 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
206 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
207 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
208
209 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
210 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
211 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
212 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
213 [defined __arch64__ || defined __sparcv9]
214 (__INO_T_MATCHES_INO64_T): New macro.
215 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
216 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
217 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
218 * sysdeps/unix/sysv/linux/bits/dirent.h
219 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
220 (_DIRENT_MATCHES_DIRENT64): New macro.
221
222 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
223 Define lockf64 as an alias.
224 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
225 Define fseeko64 as an alias.
226 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
227 Define ftello64 as an alias.
228 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
229 Define _IO_fgetpos64 and fgetpos64 as aliases.
230 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
231 Define _IO_fsetpos64 and fsetpos64 as aliases.
232 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
233 Conditionalize body on this.
234 * libio/fseeko64.c: Likewise.
235 * libio/ftello64.c: Likewise.
236 * libio/iofgetpos64.c: Likewise.
237 * libio/iofsetpos64.c: Likewise.
238 * sysdeps/wordsize-64/lockf.c: File removed.
239 * sysdeps/wordsize-64/lockf64.c: File removed.
240 * sysdeps/wordsize-64/fseeko.c: File removed.
241 * sysdeps/wordsize-64/fseeko64.c: File removed.
242 * sysdeps/wordsize-64/ftello.c: File removed.
243 * sysdeps/wordsize-64/ftello64.c: File removed.
244 * sysdeps/wordsize-64/iofgetpos.c: File removed.
245 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
246 * sysdeps/wordsize-64/iofsetpos.c: File removed.
247 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
248 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
249 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
250 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
251 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
252 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
253 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
254 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
255 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
256 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
257 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
258
259 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
261 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
263 [defined __arch64__ || defined __sparcv9]
264 (__OFF_T_MATCHES_OFF64_T): New macro.
265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
266 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
267 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
268 (__OFF_T_MATCHES_OFF64_T): New macro.
269
270 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
271
272 * stdlib/secure-getenv.c (__secure_getenv): Replace
273 GLIBC_2_16 with GLIBC_2_17.
274
275 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
276
277 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
278 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
279
280 2012-08-03 David S. Miller <davem@davemloft.net>
281
282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
283
284 2012-08-03 Joseph Myers <joseph@codesourcery.com>
285
286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
287 Remove.
288 (__ASSUME_CORRECT_SI_PID): Likewise.
289 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
290 (__ASSUME_TMPFS_NAME): Likewise.
291 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
292 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
293 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
294 (HAVE_AUX_SECURE): Make definition unconditional.
295 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
296 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
297
298 2012-08-03 Roland McGrath <roland@hack.frob.com>
299
300 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
301 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
302 * sysdeps/mach/hurd/eloop-threshold.h: New file.
303 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
304 __eloop_threshold instead of SYMLOOP_MAX.
305
306 * sysdeps/generic/eloop-threshold.h: New file.
307 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
308 of MAXSYMLINKS.
309 * elf/chroot_canon.c (chroot_canon): Likewise.
310
311 2012-08-03 Joseph Myers <joseph@codesourcery.com>
312
313 [BZ #13717]
314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
315 Change to 2.6.0 everywhere.
316 * sysdeps/unix/sysv/linux/configure: Regenerated.
317 * sysdeps/unix/sysv/linux/kernel-features.h
318 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
319 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
320 kernel versions.
321 (__ASSUME_POSIX_TIMERS): Define unconditionally.
322 (__ASSUME_FUTEX_REQUEUE): Remove.
323 (__ASSUME_STATFS64): Define unconditionally.
324 (__ASSUME_AT_SECURE): Likewise.
325 (__ASSUME_CORRECT_SI_PID): Likewise.
326 (__ASSUME_TGKILL): Define without depending on kernel version for
327 i386.
328 (__ASSUME_UTIMES): Likewise.
329 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
330 kernel version.
331 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
332 (__ASSUME_TMPFS_NAME): Likewise.
333 * README: Update reference to Linux kernel versions.
334
335 2012-08-02 Marek Polacek <polacek@redhat.com>
336
337 [BZ#14150]
338 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
339 libc_cv_asm_type_prefix with %.
340 * configure: Regenerated.
341 * include/libc-symbols.h: Remove comment about
342 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
343 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
344 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
345 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
346 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
347 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
348 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
349 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
350 * elf/tst-unique2mod1.c: Likewise.
351 * elf/tst-unique1mod2.c: Likewise.
352 * elf/tst-unique1mod1.c: Likewise.
353 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
354 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
355 Replace ASM_TYPE_DIRECTIVE with .type.
356 * sysdeps/s390/s390-64/sysdep.h: Likewise.
357 * sysdeps/i386/sysdep.h: Likewise.
358 * sysdeps/x86_64/sysdep.h: Likewise.
359 * sysdeps/sh/sysdep.h: Likewise.
360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
361 Do not define ASM_TYPE_DIRECTIVE.
362 * sysdeps/powerpc/sysdep.h: Likewise.
363 * sysdeps/powerpc/powerpc32/sysdep.h:
364 Replace ASM_TYPE_DIRECTIVE with .type.
365 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
366 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
367 * sysdeps/i386/fpu/e_powf.S: Likewise.
368 * sysdeps/i386/fpu/e_expl.S: Likewise.
369 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
370 * sysdeps/i386/fpu/e_acosh.S: Likewise.
371 * sysdeps/i386/fpu/e_pow.S: Likewise.
372 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
373 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
374 * sysdeps/i386/fpu/s_expm1.S: Likewise.
375 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
376 * sysdeps/i386/fpu/e_log2.S: Likewise.
377 * sysdeps/i386/fpu/e_log2l.S: Likewise.
378 * sysdeps/i386/fpu/e_scalb.S: Likewise.
379 * sysdeps/i386/fpu/e_powl.S: Likewise.
380 * sysdeps/i386/fpu/e_log10f.S: Likewise.
381 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
382 * sysdeps/i386/fpu/e_logl.S: Likewise.
383 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
384 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
385 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
386 * sysdeps/i386/fpu/e_log2f.S: Likewise.
387 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
388 * sysdeps/i386/fpu/e_log.S: Likewise.
389 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
390 * sysdeps/i386/fpu/e_logf.S: Likewise.
391 * sysdeps/i386/fpu/e_log10l.S: Likewise.
392 * sysdeps/i386/fpu/e_atanh.S: Likewise.
393 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
394 * sysdeps/i386/fpu/e_log10.S: Likewise.
395 * sysdeps/i386/fpu/s_frexp.S: Likewise.
396 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
397 * sysdeps/i386/fpu/s_asinh.S: Likewise.
398 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
399 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
400 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
401 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
402 * sysdeps/i386/i686/strtok.S: Likewise.
403 * sysdeps/i386/i386-mcount.S: Likewise.
404 * sysdeps/i386/strtok.S: Likewise.
405 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
406 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
407 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
408 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
409 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
410 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
411 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
412 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
413 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
414 * sysdeps/x86_64/_mcount.S: Likewise.
415 * sysdeps/x86_64/strtok.S: Likewise.
416 * sysdeps/sh/_mcount.S: Likewise.
417
418 2012-08-01 Roland McGrath <roland@hack.frob.com>
419
420 * libio/iofopen.c: Include <fcntl.h>.
421 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
422 (_IO_fopen64, fopen64): Define as aliases.
423 * libio/iofopen64.c: Include <fcntl.h>.
424 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
425 Conditionalize body on this.
426 * sysdeps/wordsize-64/iofopen.c: File removed.
427 * sysdeps/wordsize-64/iofopen64.c: File removed.
428
429 2012-08-01 Marek Polacek <polacek@redhat.com>
430
431 * libc/Makeconfig: Use elf in place of binfmt-subdir.
432 Use dlfcn directly instead of a variable.
433 (binfmt-subdir): Do not define.
434 (dlfcn): Likewise.
435
436 2012-08-01 Joseph Myers <joseph@codesourcery.com>
437
438 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
439 Remove all definitions.
440 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
441 <kernel-features.h>.
442 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
443 (miss_F_GETOWN_EX): Remove all definitions.
444 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
445 macro definition.
446 [!__ASSUME_FCNTL64]: Remove conditional code.
447 [__ASSUME_FCNTL64]: Make code unconditional.
448 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
449 <kernel-features.h>.
450 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
451 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
452 (lockf64) [__NR_fcntl64]: Make code unconditional.
453 (lockf64) [__ASSUME_FCNTL64]: Likewise.
454
455 * sysdeps/unix/sysv/linux/kernel-features.h
456 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
457 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
458 Make code unconditional.
459 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
460 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
462 [__NR_vfork]: Make code unconditional.
463 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
464 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
466 [__NR_vfork]: Make code unconditional.
467 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
468 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
469
470 2012-08-01 Roland McGrath <roland@hack.frob.com>
471
472 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
473 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
474
475 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
476 Define mkstemp64 as an alias.
477 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
478 Define mkstemps64 as an alias.
479 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
480 Define mkostemp64 as an alias.
481 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
482 Define mkostemps64 as an alias.
483 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
484 Conditionalize body on this.
485 * misc/mkostemp64.c: Likewise.
486 * misc/mkostemps64.c: Likewise.
487 * misc/mkstemps64.c: Likewise.
488 * sysdeps/wordsize-64/mkstemp64.c: File removed.
489 * sysdeps/wordsize-64/mkostemp64.c: File removed.
490 * sysdeps/wordsize-64/mkostemp.c: File removed.
491 * sysdeps/wordsize-64/mkstemp.c: File removed.
492 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
493 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
494 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
495 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
496
497 [BZ #14138]
498 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
499 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
500 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
501 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
502
503 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
504 compat_symbol macros from <shlib-compat.h> rather than the underlying
505 default_symbol_version and symbol_version macros, so that DEFAULT
506 lines in shlib-versions are respected.
507 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
508
509 2012-08-01 Florian Weimer <fweimer@redhat.com>
510
511 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
512 Declare with warn_unused_result.
513 (setgid, setregid, setegid, setresgid): Likewise.
514 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
515 Likewise.
516 * WUR-REPORT: Remove set*id functions.
517
518 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
519
520 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
521
522 2012-07-31 Roland McGrath <roland@hack.frob.com>
523
524 * include/sys/socket.h (__libc_accept, __libc_accept4):
525 Add attribute_hidden.
526 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
527
528 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
529 use of PTR_MANGLE.
530 * inet/getnetgrent_r.c (setup): Likewise.
531
532 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
533
534 2012-07-31 David S. Miller <davem@davemloft.net>
535
536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
537
538 2012-07-31 Joseph Myers <joseph@codesourcery.com>
539
540 [BZ #13629]
541 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
542 value between 1.0 and 2.0 and smaller part has absolute value less
543 than 1.0.
544 * math/s_clog10.c (__clog10): Likewise.
545 * math/s_clog10f.c (__clog10f): Likewise.
546 * math/s_clog10l.c (__clog10l): Likewise.
547 * math/s_clogf.c (__clogf): Likewise.
548 * math/s_clogl.c (__clogl): Likewise.
549 * math/libm-test.inc (clog_test): Add more tests.
550 (clog10_test): Likewise.
551 * sysdeps/i386/fpu/libm-test-ulps: Update.
552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
553
554 2012-07-31 Florian Weimer <fweimer@redhat.com>
555
556 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
557 Exit with zero in case no suitable GID is found, and write a
558 message to standard error.
559
560 2012-07-30 Roland McGrath <roland@hack.frob.com>
561
562 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
563 rather than to 1.
564 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
565 (MAXPATHLEN): Removed.
566 (NOGROUP, NODEV): New macros.
567 (setbit, clrbit, isset, isclr): New macros.
568 (howmany, roundup, powerof2): New macros.
569 (DEV_BSIZE): New macro.
570
571 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
572 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
573
574 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
575 definition on [!__NO_LONG_DOUBLE_MATH].
576
577 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
578 PTR_MANGLE and PTR_DEMANGLE.
579
580 * socket/accept4.c (accept4): Rename to __libc_accept4.
581 Define accept4 as a weak alias.
582
583 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
584 on [_DIRENT_HAVE_D_TYPE].
585 * io/ftw.c (ftw_dir): Likewise.
586
587 * io/xmknod.c (__xmknod): Don't check PATH for being null.
588
589 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
590
591 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
592 Use the BSD numbers rather than the arbitrary ones we had.
593 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
594 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
595 (SIGXCPU, SIGXFSZ): New macros.
596 (_NSIG): Now 32.
597
598 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
599 initializer on [_LIBC_REENTRANT].
600
601 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
602 definitions inside [_POSIX_MAPPED_FILES].
603
604 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
605
606 * dirent/opendir.c: Include <fcntl.h>.
607
608 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
609 (__libc_getspecific): Likewise.
610 (__libc_key_create): Likewise.
611
612 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
613 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
614 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
615 (tmpfile64): Define as alias.
616 * sysdeps/wordsize-64/tmpfile.c: File removed.
617 * sysdeps/wordsize-64/tmpfile64.c: File removed.
618 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
620
621 * stdio-common/vfscanf.c: Include <stdbool.h>.
622 * nss/makedb.c: Likewise.
623 * stdio-common/_i18n_number.h: Likewise.
624 * argp/argp-help.c: Likewise.
625 * posix/wordexp.c: Likewise.
626 * sysdeps/posix/spawni.c: Likewise.
627 * nss/nss_files/files-initgroups.c: Likewise.
628 * stdio-common/reg-modifier.c: Include <stdlib.h>.
629 * nss/nss_files/files-initgroups.c: Likewise.
630 * nss/nss_db/db-netgrp.c: Likewise.
631 * nss/nss_db/db-initgroups.c: Likewise.
632 * io/fchmodat.c: Include <sys/stat.h>.
633
634 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
635 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
636
637 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
638 [HAVE_MMAP].
639
640 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
641 Add multiple inclusion protection.
642
643 2012-07-27 David S. Miller <davem@davemloft.net>
644
645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
646
647 2012-07-27 Gary Benson <gbenson@redhat.com>
648
649 [BZ #14298]
650 * elf/rtld.c: Include <stap-probe.h>.
651 (dl_main): Added static probes "init_start" and "init_complete".
652 * elf/dl-load.c: Include <stap-probe.h>.
653 (lose): Take new parameter "nsid".
654 Added static probe "map_failed".
655 (_dl_map_object_from_fd): Pass namespace id to lose.
656 Added static probe "map_start".
657 (open_verify): Pass namespace id to lose.
658 * elf/dl-open.c: Include <stap-probe.h>.
659 (dl_open_worker) Added static probes "map_complete", "reloc_start"
660 and "reloc_complete".
661 * elf/dl-close.c: Include <stap-probe.h>.
662 (_dl_close_worker): Added static probes "unmap_start" and
663 "unmap_complete".
664 * elf/rtld-debugger-interface.txt: New file documenting the above.
665
666 2012-07-26 Roland McGrath <roland@hack.frob.com>
667
668 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
669 rather than a string variable.
670 * sunrpc/rpc_main.c (h_output): Likewise.
671 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
672
673 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
674
675 * inet/check_native.c: New file.
676
677 2012-07-26 Joseph Myers <joseph@codesourcery.com>
678
679 [BZ #13629]
680 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
681 if larger part has absolute value 1.0.
682 * math/s_clog10.c (__clog10): Likewise.
683 * math/s_clog10f.c (__clog10f): Likewise.
684 * math/s_clog10l.c (__clog10l): Likewise.
685 * math/s_clogf.c (__clogf): Likewise.
686 * math/s_clogl.c (__clogl): Likewise.
687 * math/libm-test.inc (clog_test): Add more tests.
688 (clog10_test): Likewise.
689 * sysdeps/i386/fpu/libm-test-ulps: Update.
690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
691
692 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
693 (pltexit): Likewise.
694 (La_regs): Likewise.
695 (La_retval): Likewise.
696 (int_retval): Likewise.
697 Update #error for removed macros to refer only to definitions in
698 tst-audit.h.
699 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
700 macro.
701 (pltexit): Likewise.
702 (La_regs): Likewise.
703 (La_retval): Likewise.
704 (int_retval): Likewise.
705 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
706 macro.
707 (pltexit): Likewise.
708 (La_regs): Likewise.
709 (La_retval): Likewise.
710 (int_retval): Likewise.
711 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
712 macro.
713 (pltexit): Likewise.
714 (La_regs): Likewise.
715 (La_retval): Likewise.
716 (int_retval): Likewise.
717 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
718 macro.
719 (pltexit): Likewise.
720 (La_regs): Likewise.
721 (La_retval): Likewise.
722 (int_retval): Likewise.
723 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
724 macro.
725 (pltexit): Likewise.
726 (La_regs): Likewise.
727 (La_retval): Likewise.
728 (int_retval): Likewise.
729 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
730 macro.
731 (pltexit): Likewise.
732 (La_regs): Likewise.
733 (La_retval): Likewise.
734 (int_retval): Likewise.
735 * sysdeps/generic/tst-audit.h: Update comment to refer only to
736 macro definitions in tst-audit.h.
737 * sysdeps/i386/tst-audit.h: New file.
738 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
739 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
740 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
741 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
742 * sysdeps/sh/tst-audit.h: Likewise.
743 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
744 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
745 * sysdeps/x86_64/tst-audit.h: Likewise.
746
747 2012-07-26 Andreas Jaeger <aj@suse.de>
748
749 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
750 ptrace.
751
752 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
753 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
754 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
755 PTRACE_O_MASK.
756 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
757 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
758 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
759
760 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
761 value.
762
763 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
764 _sigsys.
765 (si_call_addr, si_syscall, si_arch): Define new macro.
766 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
767 _sigsys.
768 (si_call_addr, si_syscall, si_arch): Define new marcro.
769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
770 _sigsys.
771 (si_call_addr, si_syscall, si_arch): Define new macro.
772 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
773 _sigsys.
774 (si_call_addr, si_syscall, si_arch): Define new macro.
775
776 2012-07-25 Joseph Myers <joseph@codesourcery.com>
777
778 [BZ #13717]
779 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
780 Change to 2.4.21 where previously 2.4.1.
781 * sysdeps/unix/sysv/linux/configure: Regenerated.
782 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
783 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
784 Linux kernel version.
785 (__ASSUME_STD_AUXV): Remove.
786 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
787 kernel version.
788 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
789 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
790 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
791 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
792 (__ASSUME_NETLINK_SUPPORT): Likewise.
793 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
794 (__no_netlink_support): Remove conditional definition.
795 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
796 Remove.
797 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
798 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
799 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
800 (if_nameindex_ioctl): Remove.
801 (if_nameindex_netlink): Do not handle __no_netlink_support.
802 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
803 code.
804 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
805 Remove conditional code.
806 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
807 code.
808 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
809 unconditional.
810 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
811 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
812 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
813 Remove.
814 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
815 [!__ASSUME_STD_AUXV]: Remove conditional code.
816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
817 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
818 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
820 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
821 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
822 code.
823 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
825 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
826 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
827 conditional code.
828 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
830 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
831 code.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
833 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
834 conditional code.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
836 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
837 code unconditional.
838 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
839 conditional code.
840 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
841 unconditional.
842 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
843 conditional code.
844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
845 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
846 unconditional.
847 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
848 conditional code.
849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
850 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
851 code unconditional.
852 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
853 conditional code.
854 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
855 unconditional.
856 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
857 conditional code.
858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
859 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
860 code unconditional.
861 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
862 conditional code.
863 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
864 unconditional.
865 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
866 conditional code.
867
868 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
869
870 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
871 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
872 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
873 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
874 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
875 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
876 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
877 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
878 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
879 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
880 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
881 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
882 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
883 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
884 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
885 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
886 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
887 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
888 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
890 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
891 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
892 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
893
894 2012-07-25 Florian Weimer <fweimer@redhat.com>
895
896 * Versions.def: Add GLIBC_2.17.
897 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
898 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
899 Introduce __libc_secure_getenv.
900 * stdlib/Versions (2.17): Add secure_getenv
901 (GLIBC_PRIVATE): Add __libc_secure_getenv.
902 * stdlib/secure-getenv.c: Rename __secure_getenv to
903 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
904 symbol __secure_getenv for GLIBC_2.0.
905 * stdlib/tst-secure-getenv.c: New.
906 * stdlib/Makefile (tests): Add testcase.
907 * manual/startup.texi (Environment Access): Document
908 secure_getenv.
909 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
910 __libc_secure_getenv.
911 * inet/ruserpass.c (ruserpass): Likewise.
912 * malloc/mtrace.c (mtrace): Likewise.
913 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
914 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
915 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
916 * sysdeps/posix/tempname.c: Likewise. Evaluate
917 HAVE_SECURE_GETENV.
918 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
919 __secure_getenv to __libc_secure_getenv.
920 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
922 Likewise.
923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
924 Likewise.
925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
932
933 2012-07-25 Joseph Myers <joseph@codesourcery.com>
934
935 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
936 (struct La_i86_retval): Likewise.
937 (struct La_x86_64_regs): Likewise.
938 (struct La_x86_64_retval): Likewise.
939 (struct La_x32_regs): Likewise.
940 (struct La_x32_retval): Likewise.
941 (struct La_ppc32_regs): Likewise.
942 (struct La_ppc32_retval): Likewise.
943 (struct La_ppc64_regs): Likewise.
944 (struct La_ppc64_retval): Likewise.
945 (struct La_sh_regs): Likewise.
946 (struct La_sh_retval): Likewise.
947 (struct La_s390_32_regs): Likewise.
948 (struct La_s390_32_retval): Likewise.
949 (struct La_s390_64_regs): Likewise.
950 (struct La_s390_64_retval): Likewise.
951 (struct La_sparc32_regs): Likewise.
952 (struct La_sparc32_retval): Likewise.
953 (struct La_sparc64_regs): Likewise.
954 (struct La_sparc64_retval): Likewise.
955 (struct audit_ifaces): Remove architecture-specific pltenter and
956 pltexit members.
957 * sysdeps/i386/ldsodefs.h: New file.
958 * sysdeps/powerpc/ldsodefs.h: Likewise.
959 * sysdeps/s390/ldsodefs.h: Likewise.
960 * sysdeps/sh/ldsodefs.h: Likewise.
961 * sysdeps/sparc/ldsodefs.h: Likewise.
962 * sysdeps/x86_64/ldsodefs.h: Likewise.
963
964 2012-07-25 Marek Polacek <polacek@redhat.com>
965
966 [BZ #6808]
967 * math/libm-test.inc (yn_test): Add another test.
968 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
969 to ERANGE when the result is +-Inf.
970 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
971 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
972 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
973 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
974
975 2012-07-24 Joseph Myers <joseph@codesourcery.com>
976
977 * conform/data/time.h-data (NULL): Use macro-constant. Require
978 equal to 0.
979 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
980 clock_t.
981 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
982
983 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
984
985 * configure.in <sysdeps resolving>: Correct printing
986 Implies_before.
987 * configure: Regenerate.
988
989 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
990
991 * math/w_ilogb.c: Include <limits.h>.
992 * math/w_ilogbl.c: Likewise.
993
994 2012-07-20 Joseph Myers <joseph@codesourcery.com>
995
996 * manual/lang.texi (__va_copy): Document primarily as ISO C99
997 va_copy. Document allowing for unavailable va_copy only as
998 pre-C99 compatibility.
999 * manual/string.texi (Copying and Concatenation): Use va_copy
1000 instead of __va_copy in concat example.
1001
1002 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1003
1004 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1005 (__sendto): Use create_address_port. Initialize APORT and deallocate
1006 it if not null.
1007
1008 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1009 with O_NOLINK passed to __file_name_lookup.
1010
1011 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1012 with O_NOLINK passed to __file_name_lookup.
1013
1014 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1015 negative N or less than NGIDS.
1016
1017 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1018 type to string_t. Set ERANGE as errno and return it if NAME is not big
1019 enough. Use memcpy instead of strncpy.
1020
1021 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1022
1023 * elf/Makefile (check-data): Remove.
1024 (localplt.data): New vpath directive.
1025 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1026 instead of $(check-data).
1027 * scripts/data/localplt-generic.data: Move to ...
1028 * sysdeps/generic/localplt.data: ... here.
1029 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1030 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1031 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1033 ... here.
1034 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1036 ... here.
1037 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1039 ... here.
1040 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1042 ... here.
1043 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1045 ... here.
1046 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1048 ... here.
1049
1050 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1051
1052 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1053 PPC32 and PPC64 files.
1054 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1055 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1056
1057 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1058
1059 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1060 __makecontext_ret to ...
1061 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1062 ... here and call exit if uc_link is NULL. New file.
1063 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1064 __makecontext_ret.S.
1065 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1066 __makecontext_ret to ...
1067 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1068 ... here and call exit if uc_link is NULL. New file.
1069 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1070 __makecontext_ret.S.
1071
1072 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1073
1074 * elf/elf.h (R_390_IRELATIVE): New definition.
1075 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1076 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1077 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1078 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1079 (elf_machine_lazy_rel): Likewise.
1080 * sysdeps/s390/dl-irel.h: New file.
1081 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1082 * sysdeps/s390/s390-64/memset.S: New asm code.
1083 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1084 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1085 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1086 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1087 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1088 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1089 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1090 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1091 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1092 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1093 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1094 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1095 * sysdeps/s390/s390-32/memset.S: New asm code.
1096 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1097
1098 2012-07-17 Marek Polacek <polacek@redhat.com>
1099
1100 [BZ #14349]
1101 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1102 * sysdeps/s390/s390-64/configure.in: Likewise.
1103 * sysdeps/sparc/configure.in: Likewise.
1104 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1105 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1106 * sysdeps/i386/configure.in: Likewise.
1107 * sysdeps/x86_64/configure.in: Likewise.
1108 * sysdeps/sh/configure.in: Likewise.
1109 * sysdeps/s390/s390-32/configure: Regenerated.
1110 * sysdeps/s390/s390-64/configure: Likewise.
1111 * sysdeps/x86_64/configure: Likewise.
1112 * sysdeps/sh/configure: Likewise.
1113 * sysdeps/powerpc/powerpc64/configure: Likewise.
1114 * sysdeps/powerpc/powerpc32/configure: Likewise.
1115 * sysdeps/sparc/configure: Likwise.
1116 * sysdeps/i386/configure: Likewise.
1117
1118 * elf/dl-open.c: Comment fixes.
1119
1120 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1121
1122 * Makefile [CXX] (check-data): Remove.
1123 [CXX] (c++-types.data): New vpath directive.
1124 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1125 vpath. Do not allow for C++ type data being missing.
1126 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1127 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1128 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1129 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1130 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1131 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1132 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1134 ... here.
1135 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1137 ... here.
1138 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1140 ... here.
1141 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1143 ... here.
1144 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1146 ... here.
1147 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1149 ... here.
1150 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1152 ... here.
1153 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1155
1156 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1157 definitions to architecture-specific files.
1158 (TLS_IE): Likewise.
1159 (TLS_LD): Likewise.
1160 (TLS_GD): Likewise.
1161 * sysdeps/i386/tls-macros.h: New file.
1162 * sysdeps/powerpc/tls-macros.h: Likewise.
1163 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1164 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1165 * sysdeps/sh/tls-macros.h: Likewise.
1166 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1167 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1168 * sysdeps/x86_64/tls-macros.h: Likewise.
1169
1170 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1171
1172 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1173 zero value for regular exit case.
1174
1175 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1176 (__start_context): Preserve zero value for regular exit case.
1177
1178 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1179 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1180
1181 * manual/setjmp.texi (setcontext): Clarify normal process
1182 termination when uc_link is the null pointer.
1183 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1184 exit call.
1185
1186 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1187
1188 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1189 preprocessor. Test for each exception mask separately.
1190
1191 2012-07-16 Andreas Jaeger <aj@suse.de>
1192
1193 * po/ru.po: Update from translation team.
1194
1195 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1196
1197 * conform/data/string.h-data (NULL): Use macro-constant. Require
1198 equal to 0.
1199 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1200 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1201 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1202 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1203 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1204
1205 2012-07-13 Andreas Jaeger <aj@suse.de>
1206
1207 * po/fr.po: Update from translation team.
1208
1209 2012-07-12 Marek Polacek <polacek@redhat.com>
1210
1211 [BZ #14173]
1212 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1213 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1214 loop condition.
1215
1216 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1217
1218 [BZ #13717]
1219 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1220 Change to 2.4.1 where previously 2.4.0.
1221 * sysdeps/unix/sysv/linux/configure: Regenerated.
1222 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1223 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1224 version.
1225 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1226 (__ASSUME_AT_CLKTCK): Remove.
1227 (__ASSUME_AT_PAGESIZE): Likewise.
1228 (__ASSUME_AT_XID): Likewise.
1229 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1230 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1231 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1232 unconditionally.
1233 (HAVE_AUX_PAGESIZE): Likewise.
1234 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1235 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1236 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1237
1238 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1239
1240 [BZ #14307]
1241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1242 the temporary buffer used to invoke __gethostbyname2_r,
1243 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1244 host_data / struct gaih_addrtuple.
1245 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1246 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1247 header file nss/nsswitch.h.
1248 * nss/nsswitch.h (global scope): Add definition of implementation
1249 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1250 resolv/nss_dns/dns-host.c).
1251
1252 2012-07-11 Andreas Jaeger <aj@suse.de>
1253
1254 * po/fr.po: Update from translation team.
1255
1256 * po/sv.po: Update from translation team
1257 * po/fr.po: Another update from translation team.
1258
1259 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1260
1261 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1262 for subnormals or multiply small sinh result by itself.
1263 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1265
1266 2012-07-11 David S. Miller <davem@davemloft.net>
1267
1268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1269
1270 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1271
1272 [BZ #14347]
1273 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1274 (INTERNAL_MARK): Shift it here.
1275
1276 2012-07-10 Marek Polacek <polacek@redhat.com>
1277
1278 [BZ #14151]
1279 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1280 libc_cv_asm_global_directive with .globl.
1281 * configure: Regenerated.
1282 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1283 with .globl.
1284 * sysdeps/i386/configure: Regenerated.
1285 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1286 with .globl.
1287 * sysdeps/x86_64/configure: Regenerated.
1288 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1289 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1290 * elf/tst-unique2mod2.c: Likewise.
1291 * elf/tst-unique2mod1.c: Likewise.
1292 * elf/tst-unique1mod2.c: Likewise.
1293 * elf/tst-unique1mod1.c: Likewise.
1294 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1295 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1296 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1297 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1298 * sysdeps/mach/sysdep.h: Likewise.
1299 * sysdeps/i386/sysdep.h: Likewise.
1300 * sysdeps/i386/i386-mcount.S: Likewise.
1301 * sysdeps/x86_64/_mcount.S: Likewise.
1302 * sysdeps/x86_64/sysdep.h: Likewise.
1303 * sysdeps/sh/_mcount.S: Likewise.
1304 * sysdeps/sh/sysdep.h: Likewise.
1305 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1306 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1307 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1308 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1309 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1310 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1311 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1312 * locale/localeinfo.h: Likewise.
1313 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1314 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1315
1316 2012-07-09 Roland McGrath <roland@hack.frob.com>
1317
1318 [BZ #14336]
1319 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1320 system".
1321 * manual/message.texi (The Uniforum approach): Likewise.
1322 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1323 (glibc iconv Implementation): Likewise.
1324
1325 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1326
1327 [BZ #14337]
1328 * math/s_clog.c (__clog): Avoid scaling a value down where that
1329 could result in underflow.
1330 * math/s_clog10.c (__clog10): Likewise.
1331 * math/s_clog10f.c (__clog10f): Likewise.
1332 * math/s_clog10l.c (__clog10l): Likewise.
1333 * math/s_clogf.c (__clogf): Likewise.
1334 * math/s_clogl.c (__clogl): Likewise.
1335 * math/libm-test.inc (clog_test): Add more tests.
1336 (clog10_test): Likewise.
1337 * sysdeps/i386/fpu/libm-test-ulps: Update.
1338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1339
1340 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1341
1342 [BZ #14283]
1343 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1344 by 7 not 8 to examine high bit of fractional part.
1345
1346 [BZ #14042]
1347 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1348 for call to __mcount_internal.
1349 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1350 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1351 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1352
1353 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1354
1355 [BZ #14154]
1356 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1357 approximation for values within 0x1p-13f of an odd multiple of
1358 pi/4.
1359 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1360 exception. Add more tests.
1361 * sysdeps/i386/fpu/libm-test-ulps: Update.
1362
1363 [BZ #6778]
1364 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1365 inputs and return -1 for them. Do not check for +Inf in case not
1366 reachable for +Inf.
1367 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1368 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1369 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1370 and return -1 for them. Do not check for +Inf in case not
1371 reachable for +Inf.
1372 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1373 define.
1374 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1375 and return -1 for them. Do not check for +Inf in case not
1376 reachable for +Inf.
1377 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1378 spurious underflow.
1379 * sysdeps/i386/fpu/libm-test-ulps: Update.
1380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1381
1382 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1383
1384 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1385
1386 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1387
1388 [BZ #14157]
1389 [BZ #14331]
1390 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1391 could result in spurious underflow. Scale down values above
1392 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1393 * math/s_csqrtf.c (__csqrtf): Likewise.
1394 * math/s_csqrtl.c (__csqrtl): Likewise.
1395 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1396 spurious underflow.
1397 * sysdeps/i386/fpu/libm-test-ulps: Update.
1398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1399
1400 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1401
1402 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1403 xopen-msg.sed.
1404 * catgets/xopen-msg.awk: New file.
1405 * catgets/xopen-msg.sed: Removed.
1406
1407 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1408 po2text.sed.
1409 * intl/po2test.awk: New file.
1410 * intl/po2test.sed: Removed.
1411
1412 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1413
1414 [BZ #14328]
1415 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1416 or multiply small sinh result by itself.
1417 * math/s_ctanf.c (__ctanf): Likewise.
1418 * math/s_ctanh.c (__ctanh): Likewise.
1419 * math/s_ctanhf.c (__ctanhf): Likewise.
1420 * math/s_ctanhl.c (__ctanhl): Likewise.
1421 * math/s_ctanl.c (__ctanl): Likewise.
1422 * math/libm-test.inc (ctan_test_tonearest): New function.
1423 (ctan_test_towardzero): Likewise.
1424 (ctan_test_downward): Likewise.
1425 (ctan_test_upward): Likewise.
1426 (ctanh_test_tonearest): Likewise.
1427 (ctanh_test_towardzero): Likewise.
1428 (ctanh_test_downward): Likewise.
1429 (ctanh_test_upward): Likewise.
1430 (main): Call these new functions.
1431 * sysdeps/i386/fpu/libm-test-ulps: Update.
1432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1433
1434 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1435
1436 * .gitignore: Delete /ports entry.
1437
1438 2012-07-03 Andreas Jaeger <aj@suse.de>
1439
1440 * po/bg.po: Update from translation team.
1441 * po/cs.po: Likewise.
1442 * po/de.po: Likewise.
1443 * po/hr.po: Likewise.
1444 * po/nl.pl: Likewise.
1445 * po/pl.po: Likewise.
1446 * po/vi.po: Likewise.
1447
1448 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1449
1450 * Makeconfig [!+link] (+link-before-libc): New variable.
1451 [!+link] (+link-after-libc): Likewise.
1452 [!+link] (+link-tests): Likewise.
1453 [!+link] (+link): Define in terms of $(+link-before-libc) and
1454 $(+link-after-libc).
1455 [!+link-static] (+link-static-before-libc): New variable.
1456 [!+link-static] (+link-static-after-libc): Likewise.
1457 [!+link-static] (+link-static-tests): Likewise.
1458 [!+link-static] (+link-static): Define in terms of
1459 $(+link-static-before-libc) and $(+link-static-after-libc).
1460 [build-shared] (link-libc-before-gnulib): New variable.
1461 [build-shared] (link-libc-tests): Likewise.
1462 [build-shared] (link-libc): Define in terms of
1463 $(link-libc-before-gnulib).
1464 [!build-shared] (link-libc-tests): New variable.
1465 (link-libc-static-tests): New variable.
1466 [!gnulib] (gnulib-arch): New variable.
1467 [!gnulib] (gnulib-tests): Likewise.
1468 [!gnulib] (static-gnulib-arch): Likewise.
1469 [!gnulib] (static-gnulib-tests): Likewise.
1470 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1471 Define with "=" instead of ":=".
1472 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1473 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1474 * Rules (binaries-all-notests): New variable.
1475 (binaries-all-tests): Likewise.
1476 (binaries-static-notests): Likewise.
1477 (binaries-static-tests): Likewise.
1478 (binaries-all): Define using $(binaries-all-notests) and
1479 $(binaries-all-tests).
1480 (binaries-static): Define using $(binaries-static-notests) and
1481 $(binaries-static-tests).
1482 (binaries-shared-tests): New variable.
1483 (binaries-shared-notests): Likewise.
1484 (binaries-shared): Remove variable.
1485 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1486 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1487 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1488 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1489 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1490 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1491 * elf/Makefile (sln-modules): New variable.
1492 (extra-objs): Add $(sln-modules:=.o).
1493 (ldconfig-modules): Add static-stubs.
1494 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1495 * elf/static-stubs.c: New file.
1496
1497 [BZ #14283]
1498 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1499 by 7 not 8 to examine high bit of fractional part. Use volatile
1500 variables when splitting into final array of floats if
1501 __FLT_EVAL_METHOD__ != 0.
1502 * math/libm-test.inc (cos_test): Add another test.
1503 (sin_test): Likewise.
1504 * sysdeps/i386/fpu/libm-test-ulps: Update.
1505
1506 [BZ #14273]
1507 * math/libm-test.inc (cosh_test): Add more tests.
1508
1509 * version.h (RELEASE): Set to "development".
1510 (VERSION): Set to "2.16.90".
1511
1512 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1513
1514 * NEWS: Update copyright. Remove last-updated date.
1515 Mention math library bug fixes and timezone data changes.
1516 * README: Mention GNU/Hurd, x32, and HPPA support status.
1517
1518 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1519
1520 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1521
1522 2012-06-27 Andreas Jaeger <aj@suse.de>
1523
1524 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1525
1526 2012-06-25 Andreas Jaeger <aj@suse.de>
1527
1528 * sysdeps/s390/fpu/libm-test-ulps: Update.
1529
1530 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1531 Thomas Schwinge <thomas@codesourcery.com>
1532
1533 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1534 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1535 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1536 fanotify_mark.
1537
1538 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1539
1540 * sysdeps/mach/start.c: Remove file.
1541 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1542 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1543 * sysdeps/sh/init-first.c: Likewise.
1544
1545 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1546 registers for frame unwinding purposes, add CFI directives.
1547 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1548 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1549 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1550 Likewise.
1551
1552 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1553 __fortify_fail returning.
1554 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1555
1556 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1557 sysdeps/sh/____longjmp_chk.S.
1558 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1559 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1560 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1561 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1562
1563 * sysdeps/sh/abort-instr.h: New file.
1564 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1565 process in case exit returns.
1566
1567 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1568 initialize the GOT register before use.
1569
1570 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1571 calculation of ARGC > 4.
1572
1573 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1574 meaningful names to some local labels.
1575
1576 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1577 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1578
1579 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1580 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1581 (__arch_compare_and_exchange_val_16_acq): Likewise.
1582 (__arch_compare_and_exchange_val_32_acq): Likewise.
1583 (atomic_exchange_and_add): Fix gUSA sequence.
1584 (atomic_add): Likewise.
1585 (atomic_add_negative): Likewise.
1586 (atomic_add_zero): Likewise.
1587 (atomic_bit_test_set): Likewise.
1588
1589 2012-06-22 Andreas Schwab <schwab@redhat.com>
1590
1591 [BZ #13579]
1592 * include/link.h (struct link_map): Add l_free_initfini.
1593 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1594 l_initfini.
1595 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1596 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1597 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1598 set.
1599
1600 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1601
1602 * configure.in: Use AC_LANG_SOURCE.
1603 * configure: Regenerate.
1604
1605 2012-06-22 Roland McGrath <roland@hack.frob.com>
1606
1607 * configure.in (libc_cv_localstatedir): New substituted variable.
1608 * configure: Regenerated.
1609 * config.make.in (localstatedir): New variable, substituted from
1610 libc_cv_localstatedir.
1611 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1612 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1613 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1614 * sysdeps/gnu/configure: Regenerated.
1615
1616 2012-06-21 Jeff Law <law@redhat.com>
1617
1618 [BZ #14277]
1619 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1620 free. Simplify list management for _LIBC case.
1621
1622 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1623
1624 [BZ #14273]
1625 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1626 Clear sign bit of 64-bit integer value before comparing against
1627 overflow value.
1628
1629 * sysdeps/mach/configure: Regenerated.
1630
1631 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1632
1633 [BZ #14278]
1634 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1635
1636 2012-06-21 Jeff Law <law@redhat.com>
1637
1638 [BZ #13882]
1639 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1640 uint16_t for elements in the "seen" array to avoid char overflows.
1641 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1642 * elf/dl-open.c (dl_open_worker): Likewise.
1643
1644 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1645
1646 * scripts/list-sources.sh: Scan PORTS for translations.
1647 * po/libc.pot: Regenerated.
1648
1649 2012-06-21 Andreas Jaeger <aj@suse.de>
1650
1651 [BZ #12194]
1652 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1653 warning.
1654 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1655 * bits/byteswap-16.h (__bswap_16): Likewise.
1656 * bits/byteswap.h (__bswap_constant_16): Likewise.
1657
1658 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1659
1660 [BZ #14117]
1661 * sysdeps/i386/fpu_control.h: Removed.
1662 * sysdeps/x86_64/fpu_control.h: Moved to ...
1663 * sysdeps/x86/fpu_control.h: Here.
1664
1665 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1666 (_FPU_SETCW): Likewise.
1667
1668 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1669
1670 [BZ #14117]
1671 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1672 * sysdeps/x86/fpu/bits/mathinline.h: This.
1673 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1674
1675 [BZ #14050]
1676 [BZ #14117]
1677 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1678 functions if __x86_64__ is defined.
1679
1680 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1681
1682 * string/endian.h: Add !__ASSEMBLER__ condition for including
1683 conversion interfaces.
1684
1685 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1686
1687 [BZ #14241]
1688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1689 of ABS(x) in calculating zero to negative powers other than odd
1690 integers.
1691 * math/libm-test.inc (pow_test): Add more tests.
1692
1693 2012-06-15 Andreas Jaeger <aj@suse.de>
1694
1695 * manual/contrib.texi (Contributors): Update entry of Liubov
1696 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1697 Machado Filho.
1698
1699 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1700
1701 * string/string.h: Add __wur to GNU version of strerror_r.
1702
1703 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1704
1705 [BZ #14229]
1706 * string/Makefile (tests): Add tst-strtok_r.
1707 * string/tst-strtok_r.c: New file.
1708 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1709 RAX_LP/RDX_LP on SAVE_PTR.
1710
1711 2012-06-14 Roland McGrath <roland@hack.frob.com>
1712
1713 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1714
1715 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1716
1717 * libm_test.inc (csqrt_test): Allow more spurious underflow
1718 exceptions.
1719 (j0_test): Likewise.
1720 (j1_test): Likewise.
1721 (y0_test): Likewise.
1722 (y1_test): Likewise.
1723
1724 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1725
1726 * po/Makefile (libc.pot): Use UTF-8 charset.
1727
1728 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1729
1730 [BZ #14210]
1731 Suppress sign-conversion warning from FD_SET.
1732 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1733 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1734 not unsigned long int.
1735 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1736
1737 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1738
1739 [BZ #14050]
1740 [BZ #14117]
1741 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1742 __extern_always_inline instead of __extern_inline.
1743 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1744 (__signbit): Likewise.
1745 (__signbitl): Support C++ namespace.
1746 (lrintf): New inline function.
1747 (lrint): Likewise.
1748 (llrintf): Likewise.
1749 (llrint): Likewise.
1750 (fmaxf): Likewise.
1751 (fmax): Likewise.
1752 (fminf): Likewise.
1753 (fmin): Likewise.
1754 (rint): Likewise.
1755 (rintf): Likewise.
1756 (ceil): Likewise.
1757 (ceilf): Likewise.
1758 (floor): Likewise.
1759 (floorf): Likewise.
1760 (nearbyint): Likewise.
1761 (nearbyintf): Likewise.
1762
1763 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1764
1765 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1766 non-default versions.
1767
1768 2012-06-11 Roland McGrath <roland@hack.frob.com>
1769
1770 [BZ #14218]
1771 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1772
1773 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1774
1775 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1776 (FE_UPWARD, FE_DOWNWARD): Don't define.
1777 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1778 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1779
1780 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1781 reading it.
1782 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1783 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1784
1785 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1786
1787 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1788 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1789 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1790 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1791
1792 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1793
1794 [BZ #14117]
1795 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1796 * sysdeps/i386/fpu/Implies: New file.
1797 * sysdeps/x86_64/fpu/Implies: Likewise.
1798 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1799 * sysdeps/x86/fpu/bits/fenv.h: This.
1800
1801 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1802 __SSE_MATH__.
1803
1804 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1805
1806 [BZ #14134]
1807 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1808 character 0xffff that matches the last element of the
1809 conversion table.
1810
1811 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1812
1813 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1814 fmodl commit.
1815
1816 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1817
1818 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1819 values higher than 25.6283.
1820
1821 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1822
1823 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1824 subnormal exponent extraction and add some __builtin_expect.
1825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1826 Fix for subnormal mantissa calculation.
1827
1828 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1829
1830 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1831 cpu2 is -1 and errno is not ENOSYS.
1832
1833 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1834
1835 [BZ #14117]
1836 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1837 * sysdeps/x86/bits/string.h: This.
1838 * sysdeps/x86_64/bits/string.h: Removed.
1839
1840 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1841 if not compiling for x86-64, but compiling for >= i486.
1842
1843 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1844 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1845
1846 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1847 New macro from Linux kernel 3.4.0.
1848 (FP_XSTATE_MAGIC2): Likewise.
1849 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1850 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1851 (struct _fpx_sw_bytes): New struct.
1852 (struct _xsave_hdr): Likewise.
1853 (struct _ymmh_state): Likewise.
1854 (struct _xstate): Likewise.
1855
1856 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1857 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1858 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1859 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1860 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1861 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1862
1863 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1864 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1865 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1866 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1867 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1868 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1869
1870 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1871
1872 [BZ #13743]
1873 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1874 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1875 (sysdep_headers): Include sys/platform/ppc.h.
1876 * sysdeps/powerpc/test-gettimebase.c: Test for
1877 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1878 * manual/Makefile (appendices): Include platform.texi.
1879 * manual/contrib.texi (Contributors): Update @node pointers.
1880 * manual/maint.texi (Maintenance): Likewise.
1881 (Platform): New node.
1882 * manual/platform.texi: New file. Document the new features.
1883
1884 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1885 Jakub Jelinek <jakub@redhat.com>
1886
1887 [BZ #14188]
1888 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1889 where __builtin_expect is unavailable.
1890
1891 2012-06-03 David S. Miller <davem@davemloft.net>
1892
1893 * stdlib/longlong.h: Updated from GCC.
1894
1895 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1896
1897 [BZ #14042]
1898 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1899 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1900 __mcount_internal.
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1902 (GLIBC_2.16): Likewise.
1903
1904 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1905
1906 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1907
1908 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1909
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1911 (default-abi): New variable.
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1913 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1914 variable.
1915 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1916 Likewise.
1917 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1918 Likewise.
1919 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1920 Likewise.
1921
1922 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1923 definition. Document in comment.
1924
1925 2012-06-01 David S. Miller <davem@davemloft.net>
1926
1927 * stdlib/longlong.h: Updated from GCC.
1928
1929 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1930
1931 [BZ #14117]
1932 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1933 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1934 sys/debugreg.h sys/io.h here.
1935 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1936 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1937 sys/io.h.
1938 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1939 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1940 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1941 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1942 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1943 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1944
1945 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1946 Define only if __x86_64__ is defined.
1947
1948 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1949
1950 [BZ #14048]
1951 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1952 Use int64_t for variable i.
1953 * math/libm-test.inc (fmod_test): Add more tests.
1954
1955 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1956 z computation is not scheduled after fetestexcept.
1957 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1958 Use math_force_eval instead of asm to ensure calculation scheduled
1959 before exception test.
1960 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1961 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1962
1963 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1964
1965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1966 computation is not scheduled after fetestexcept.
1967
1968 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1969
1970 [BZ #14117]
1971 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1972 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1973
1974 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1975
1976 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1977 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1978
1979 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1980
1981 [BZ #14117]
1982 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1983 <bits/wordsize.h>.
1984 (__WCHAR_MIN): Support __WORDSIZE == 64.
1985 (__WCHAR_MAX): Likewise.
1986
1987 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1988 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1989
1990 [BZ #14183]
1991 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1992 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1993
1994 [BZ #14117]
1995 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1996 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1997
1998 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1999 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2000
2001 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2002 Defined to 1 if __x86_64__ isn't defined.
2003 (_STAT_VER_LINUX_OLD): New.
2004 (st_atime): Remove duplicate.
2005 (st_mtime): Likewise.
2006 (st_ctime): Likewise.
2007
2008 2012-05-31 David S. Miller <davem@davemloft.net>
2009
2010 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2011 entries.
2012
2013 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2014
2015 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2016 gen-libm-test.pl.
2017
2018 [BZ #14132]
2019 * elf/dl-reloc.c: Include <_itoa.h>.
2020 (_dl_reloc_bad_type): Remove use of INTUSE.
2021 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2022 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2023 * stdio-common/psiginfo.c (psiginfo): Likewise.
2024 * stdio-common/psignal.c (psignal): Likewise.
2025 * string/strsignal.c (strsignal): Likewise.
2026 * include/signal.h (_sys_siglist): Declare hidden proto.
2027 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2028 INTVARDEF with libc_hidden_data_def.
2029 * stdio-common/itoa-udigits.c: Likewise.
2030 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2031 (_itoa_lower_digits_internal): Remove declaration.
2032 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2033 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2034 (_sys_sigabbrev_internal): Remove aliases.
2035 (_sys_siglist): Define hidden alias.
2036
2037 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2038
2039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2040 bits/sysctl.h.
2041
2042 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2043
2044 [BZ #14117]
2045 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2046 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2047
2048 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2049 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2050 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2051 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2052 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2053 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2054
2055 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2056 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2057 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2058
2059 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2060 with __addr.
2061 (insw): Likewise.
2062 (insl): Likewise.
2063 (outsb): Likewise.
2064 (outsw): Likewise.
2065 (outsl): Likewise.
2066
2067 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2068 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2069 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2070
2071 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2072 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2073 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2074 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2075 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2076 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2077
2078 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2079 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2080
2081 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2082 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2083
2084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2086 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2087
2088 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2089 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2090 to ...
2091 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2092
2093 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2094 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2095 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2096
2097 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2098 for x86-64.
2099 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2100
2101 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2102
2103 * math/math.h (M_El): Use two more decimal places.
2104 (M_LOG2El): Likewise.
2105 (M_LOG10El): Likewise.
2106 (M_LN2l): Likewise.
2107 (M_LN10l): Likewise.
2108 (M_PIl): Likewise.
2109 (M_PI_2l): Likewise.
2110 (M_PI_4l): Likewise.
2111 (M_1_PIl): Likewise.
2112 (M_2_PIl): Likewise.
2113 (M_2_SQRTPIl): Likewise.
2114 (M_SQRT2l): Likewise.
2115 (M_SQRT1_2l): Likewise.
2116
2117 2012-05-31 David S. Miller <davem@davemloft.net>
2118
2119 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2120 values between float registers.
2121 * sysdeps/sparc/sparc64/memset.S: Likewise.
2122 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2123
2124 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2125
2126 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2127 -D_FORTIFY_SOURCE=1.
2128 (CPPFLAGS-tst-longjmp_chk.c): Define.
2129 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2130 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2131 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2132 CFLAGS-tst-wchar-h.c.
2133
2134 2012-05-31 Marek Polacek <polacek@redhat.com>
2135
2136 [BZ #14132]
2137 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2138 __endmntent_internal): Remove declaration.
2139 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2140 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2141 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2142
2143 2012-05-30 David S. Miller <davem@davemloft.net>
2144
2145 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2146 (___Q_simulate_exceptions): Use real FP ops rather than writing
2147 into the %fsr.
2148 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2149 Likewise.
2150
2151 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2152
2153 [BZ #14117]
2154 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2155 * sysdeps/x86/bits/xtitypes.h: This.
2156
2157 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2158 * sysdeps/x86/bits/wordsize.h: This.
2159
2160 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2161 * sysdeps/x86/bits/huge_vall.h: This.
2162
2163 * sysdeps/i386/bits/select.h: Removed.
2164 * sysdeps/x86_64/bits/select.h: Renamed to ...
2165 * sysdeps/x86/bits/select.h: This.
2166
2167 * sysdeps/i386/bits/setjmp.h: Removed.
2168 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2169 * sysdeps/x86/bits/setjmp.h: This.
2170
2171 * sysdeps/i386/bits/mathdef.h: Removed.
2172 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2173 * sysdeps/x86/bits/mathdef.h: This.
2174
2175 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2176
2177 [BZ #14132]
2178 * include/sys/socket.h (__connect_internal)
2179 (__libc_sa_len_internal): Remove declaration.
2180 (__connect, __libc_sa_len): Declare hidden_proto.
2181 (SA_LEN): Remove use of INTUSE.
2182 * socket/connect.c: Add libc_hidden_def.
2183 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2184 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2185 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2186 alias.
2187 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2188 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2189 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2190 of adding _internal alias.
2191
2192 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2193
2194 [BZ #14117]
2195 * sysdeps/i386/bits/link.h: Removed.
2196 * sysdeps/i386/bits/linkmap.h: Likewise.
2197 * sysdeps/x86_64/bits/link.h: Renamed to ...
2198 * sysdeps/x86/bits/link.h: This.
2199 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2200 * sysdeps/x86/bits/linkmap.h: This.
2201
2202 * sysdeps/i386/bits/endian.h: Removed.
2203 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2204 * sysdeps/x86/bits/endian.h: This.
2205
2206 * sysdeps/i386/bits/byteswap.h: Removed.
2207 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2208 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2209 * sysdeps/x86/bits/byteswap.h: This.
2210 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2211 * sysdeps/x86/bits/byteswap-16.h: This.
2212 * sysdeps/i386/Implies: Add x86.
2213 * sysdeps/x86_64/Implies: Likewise.
2214
2215 2012-05-30 David S. Miller <davem@davemloft.net>
2216
2217 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2218 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2219 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2220 (FP_TRAPPING_EXCEPTIONS): Define.
2221 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2222 (FP_TRAPPING_EXCEPTIONS): Define.
2223 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2224 subnormals only when inexact has been signalled or underflow
2225 exceptions are enabled.
2226 (_FP_PACK_CANONICAL): Likewise.
2227
2228 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2229
2230 [BZ #14183]
2231 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2232 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2233
2234 2012-05-30 Richard Henderson <rth@twiddle.net>
2235
2236 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2237 with #ifndef NOT_IN_libc.
2238
2239 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2240 marked to avoid plt entry.
2241
2242 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2243
2244 [BZ #14112]
2245 * Makeconfig (default-abi): New macro.
2246 (abi-includes): Likewise.
2247 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2248 $(abi-$(default-abi)-lib-soname) for soname if defined.
2249 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2250 abi-variants.
2251 * Makefile (installed-stubs): Likewise.
2252 * include/stubs-biarch.h: Removed.
2253 * scripts/lib-names.awk: Only handle one library at a time.
2254 * scripts/soversions.awk: Remove WORDSIZE support.
2255 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2256 entries.
2257 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2258 Removed.
2259 (syscall-list-default-condition): Likewise.
2260 (syscall-list-default-condition): Likewise.
2261 (syscall-list-includes): Likewise.
2262 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2263 syscall-list-* with abi-*. Handle undefined abi-variants.
2264 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2265 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2266 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2267 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2268 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2269 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2270 Removed.
2271 (syscall-list-32-options): Likewise.
2272 (syscall-list-32-condition): Likewise.
2273 (syscall-list-64-options): Likewise.
2274 (syscall-list-64-condition): Likewise.
2275 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2276 macro.
2277 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2278 Renamed to ...
2279 (abi-*): This.
2280 (abi-64-ld-soname): New macro.
2281 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2282 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2283 Renamed to ...
2284 (abi-*): This.
2285 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2286 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2287
2288 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2289
2290 * sysdeps/unix/sysv/linux/kernel-features.h
2291 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2292 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2293 include <kernel-features.h>.
2294 [!__NR_ftruncate64]: Remove conditional code.
2295 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2296 [__NR_ftruncate64]: Make code unconditional.
2297 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2298 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2299 include <kernel-features.h>.
2300 [!__NR_ftruncate64]: Remove conditional code.
2301 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2302 [__NR_ftruncate64]: Make code unconditional.
2303 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2305 include <kernel-features.h>.
2306 [!__NR_ftruncate64]: Remove conditional code.
2307 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2308 [__NR_ftruncate64]: Make code unconditional.
2309 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2311 include <kernel-features.h>.
2312 [!__NR_ftruncate64]: Remove conditional code.
2313 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2314 [__NR_ftruncate64]: Make code unconditional.
2315 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2316
2317 * configure.in (libc_cv_fpie): Weaken to a compile test using
2318 LIBC_TRY_CC_OPTION.
2319 * configure: Regenerated.
2320
2321 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2322
2323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2327 Refreshed.
2328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2334 Refreshed.
2335
2336 2012-05-27 David S. Miller <davem@davemloft.net>
2337
2338 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2339 (___Q_zero): New.
2340 (__Q_simulate_exceptions): Return void. Change to simulate
2341 exceptions by writing into the %fsr.
2342 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2343 (__Qp_handle_exceptions): Likewise.
2344 (numbers): Delete.
2345 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2346 __Qp_handle_exceptions.
2347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2348 __Qp_handle_exceptions.
2349 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2350 as unused and give dummy FP_RND_NEAREST initializer.
2351 (FP_INHIBIT_RESULTS): Define.
2352 (___Q_simulate_exceptions): Update declaration.
2353 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2354 formatting.
2355 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2356 as unused and give dummy FP_RND_NEAREST initializer.
2357 (__Qp_handle_exceptions): Update declaration.
2358 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2359 formatting.
2360
2361 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2362
2363 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2364 the temporary FPU control word.
2365 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2366 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2367 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2368 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2369 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2370 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2371 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2372 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2373 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2374 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2375 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2376
2377 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2378
2379 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2380 fields.
2381
2382 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2383
2384 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2385 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2386 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2387 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2388 Likewise.
2389 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2390 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2391 Likewise.
2392
2393 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2394
2395 * po/h.po: Update from translation team.
2396
2397 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2398
2399 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2400
2401 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2402 handling of denormals.
2403 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2404 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2405 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2406 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2407 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2408 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2410 Likewise.
2411
2412 2012-05-26 Marek Polacek <polacek@redhat.com>
2413
2414 [BZ #14152]
2415 * math/libm-test.inc (fma_test): Don't always expect underflow
2416 exception.
2417
2418 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2419
2420 [BZ #12416]
2421 * elf/tst-execstack.c: Include stackinfo.h.
2422 (do_test): Adjust test case to ensure that pthread_getattr_np
2423 behaviour remains the same after marking stack executable.
2424
2425 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2426
2427 * sysdeps/unix/sysv/linux/kernel-features.h
2428 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2429 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2430 kernel-features.h.
2431 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2432 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2433 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2434 kernel-features.h.
2435 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2436 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2437
2438 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2439
2440 * configure.in: Define the default includes to being none.
2441 * configure: Regenerated.
2442
2443 2012-05-25 Roland McGrath <roland@hack.frob.com>
2444
2445 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2446 * sysdeps/x86_64/setjmp.S: Likewise.
2447 * sysdeps/i386/bsd-setjmp.S: Likewise.
2448 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2449 * sysdeps/i386/setjmp.S: Likewise.
2450 * sysdeps/i386/__longjmp.S: Likewise.
2451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2452 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2453
2454 * include/stap-probe.h: New file.
2455 * configure.in: Handle --enable-systemtap.
2456 * configure: Regenerated.
2457 * config.h.in (USE_STAP_PROBE): New #undef.
2458 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2459 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2460 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2461
2462 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2463
2464 [BZ #13717]
2465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2466 to 2.4.0 where earlier.
2467 * sysdeps/unix/sysv/linux/configure: Regenerated.
2468 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2469 <kernel-features.h>.
2470 [__ASSUME_32BITUIDS]: Make code unconditional.
2471 [!__ASSUME_32BITUIDS]: Remove conditional code.
2472 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2473 <kernel-features.h>.
2474 [__ASSUME_32BITUIDS]: Make code unconditional.
2475 [!__ASSUME_32BITUIDS]: Remove conditional code.
2476 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2477 [__ASSUME_32BITUIDS]: Make code unconditional.
2478 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2479 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2480 <kernel-features.h>.
2481 [__ASSUME_32BITUIDS]: Make code unconditional.
2482 [!__ASSUME_32BITUIDS]: Remove conditional code.
2483 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2484 <kernel-features.h>.
2485 [__ASSUME_32BITUIDS]: Make code unconditional.
2486 [!__ASSUME_32BITUIDS]: Remove conditional code.
2487 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2488 <kernel-features.h>.
2489 [__ASSUME_32BITUIDS]: Make code unconditional.
2490 [!__ASSUME_32BITUIDS]: Remove conditional code.
2491 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2492 <kernel-features.h>.
2493 [__ASSUME_32BITUIDS]: Make code unconditional.
2494 [!__ASSUME_32BITUIDS]: Remove conditional code.
2495 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2496 <kernel-features.h>.
2497 [__ASSUME_32BITUIDS]: Make code unconditional.
2498 [!__ASSUME_32BITUIDS]: Remove conditional code.
2499 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2500 <kernel-features.h>.
2501 [__ASSUME_32BITUIDS]: Make code unconditional.
2502 [!__ASSUME_32BITUIDS]: Remove conditional code.
2503 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2504 <kernel-features.h>.
2505 [__ASSUME_32BITUIDS]: Make code unconditional.
2506 [!__ASSUME_32BITUIDS]: Remove conditional code.
2507 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2508 <kernel-features.h>.
2509 [__ASSUME_32BITUIDS]: Make code unconditional.
2510 [!__ASSUME_32BITUIDS]: Remove conditional code.
2511 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2512 <kernel-features.h>.
2513 [__ASSUME_32BITUIDS]: Make code unconditional.
2514 [!__ASSUME_32BITUIDS]: Remove conditional code.
2515 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2516 <kernel-features.h>.
2517 [__ASSUME_32BITUIDS]: Make code unconditional.
2518 [!__ASSUME_32BITUIDS]: Remove conditional code.
2519 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2520 <kernel-features.h>.
2521 [__NR_setresgid] (__setresgid): Do not declare.
2522 [__ASSUME_32BITUIDS]: Make code unconditional.
2523 [!__ASSUME_32BITUIDS]: Remove conditional code.
2524 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2525 <kernel-features.h>.
2526 [__NR_setresuid] (__setresuid): Do not declare.
2527 [__ASSUME_32BITUIDS]: Make code unconditional.
2528 [!__ASSUME_32BITUIDS]: Remove conditional code.
2529 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2530 <kernel-features.h>.
2531 [__ASSUME_32BITUIDS]: Make code unconditional.
2532 [!__ASSUME_32BITUIDS]: Remove conditional code.
2533 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2534 <kernel-features.h>.
2535 [__ASSUME_32BITUIDS]: Make code unconditional.
2536 [!__ASSUME_32BITUIDS]: Remove conditional code.
2537 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2538 <kernel-features.h>.
2539 [__ASSUME_32BITUIDS]: Make code unconditional.
2540 [!__ASSUME_32BITUIDS]: Remove conditional code.
2541 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2542 <kernel-features.h>.
2543 [__ASSUME_32BITUIDS]: Make code unconditional.
2544 [!__ASSUME_32BITUIDS]: Remove conditional code.
2545 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2546 <kernel-features.h>.
2547 [__ASSUME_32BITUIDS]: Make code unconditional.
2548 [!__ASSUME_32BITUIDS]: Remove conditional code.
2549 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2550 <kernel-features.h>.
2551 [__ASSUME_32BITUIDS]: Make code unconditional.
2552 [!__ASSUME_32BITUIDS]: Remove conditional code.
2553 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2554 <kernel-features.h>.
2555 [__ASSUME_32BITUIDS]: Make code unconditional.
2556 [!__ASSUME_32BITUIDS]: Remove conditional code.
2557 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2558 <kernel-features.h>.
2559 [__ASSUME_32BITUIDS]: Make code unconditional.
2560 [!__ASSUME_32BITUIDS]: Remove conditional code.
2561 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2562 <kernel-features.h>.
2563 [__ASSUME_32BITUIDS]: Make code unconditional.
2564 [!__ASSUME_32BITUIDS]: Remove conditional code.
2565 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2566 <kernel-features.h>.
2567 [__ASSUME_32BITUIDS]: Make code unconditional.
2568 [!__ASSUME_32BITUIDS]: Remove conditional code.
2569 * sysdeps/unix/sysv/linux/kernel-features.h
2570 (__ASSUME_SETRESUID_SYSCALL): Remove.
2571 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2572 (__ASSUME_32BITUIDS): Likewise.
2573 (__ASSUME_LDT_WORKS): Likewise.
2574 (__ASSUME_O_DIRECTORY): Likewise.
2575 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2576 architecture but not kernel version.
2577 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2578 (__ASSUME_MMAP2_SYSCALL): Likewise.
2579 (__ASSUME_STAT64_SYSCALL): Likewise.
2580 (__ASSUME_IPC64): Likewise.
2581 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2582 <kernel-features.h>.
2583 [__ASSUME_32BITUIDS]: Make code unconditional.
2584 [!__ASSUME_32BITUIDS]: Remove conditional code.
2585 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2586 <kernel-features.h>.
2587 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2588 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2589 132096]: Remove conditional code.
2590 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2591 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2592 <kernel-features.h>.
2593 [__ASSUME_32BITUIDS]: Make code unconditional.
2594 [!__ASSUME_32BITUIDS]: Remove conditional code.
2595 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2596 <kernel-features.h>.
2597 [__ASSUME_32BITUIDS]: Make code unconditional.
2598 [!__ASSUME_32BITUIDS]: Remove conditional code.
2599 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2600 <kernel-features.h>.
2601 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2602 unconditional.
2603 (__setresgid): Do not declare.
2604 [__ASSUME_32BITUIDS]: Make code unconditional.
2605 [!__ASSUME_32BITUIDS]: Remove conditional code.
2606 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2607 <kernel-features.h>.
2608 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2609 unconditional.
2610 (__setresuid): Do not declare.
2611 [__ASSUME_32BITUIDS]: Make code unconditional.
2612 [!__ASSUME_32BITUIDS]: Remove conditional code.
2613 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2614 <kernel-features.h>.
2615 [__ASSUME_32BITUIDS]: Make code unconditional.
2616 [!__ASSUME_32BITUIDS]: Remove conditional code.
2617 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2618 <kernel-features.h>.
2619 [__ASSUME_32BITUIDS]: Make code unconditional.
2620 [!__ASSUME_32BITUIDS]: Remove conditional code.
2621
2622 2012-05-25 Richard Henderson <rth@twiddle.net>
2623
2624 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2625 dl_hwcap to ifunc resolver.
2626 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2627 elf_ifunc_invoke.
2628 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2629 dl_hwcap to ifunc resolver.
2630 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2631
2632 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2633
2634 [BZ #14153]
2635 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2636 for |x| <= 2**-26, not 2**-57.
2637 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2638 exception.
2639
2640 2012-05-24 Jeff Law <law@redhat.com>
2641
2642 * stdio-common/Makefile (tests): Add bug25.
2643 * stdio-common/bug25.c: New test.
2644
2645 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2646
2647 [BZ #13576]
2648 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2649 multiple of MALLOC_ALIGNMENT in size.
2650 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2651
2652 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2653
2654 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2655 Require >= 256.
2656 (FILENAME_MAX): Use macro-int-constant.
2657 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2658 (_IOFBF): Use macro-int-constant.
2659 (_IOLBF): Likewise.
2660 (_IONBF): Likewise.
2661 (SEEK_CUR): Likewise.
2662 (SEEK_END): Likewise.
2663 (SEEK_SET): Likewise.
2664 (TMP_MAX): Likewise.
2665 (EOF): Use macro-int-constant. Require < 0.
2666 (NULL): Use macro-constant. Require == 0.
2667 (stdin): Require type to be FILE *.
2668 (stdout): Likewise.
2669 (stderr): Likewise.
2670 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2671 macro-int-constant.
2672 (EXIT_SUCCESS): Likewise.
2673 (NULL): Use macro-constant. Require == 0.
2674 (RAND_MAX): Use macro-int-constant.
2675 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2676 [C99-based standards] (strtof): Require function.
2677 [C99-based standards] (strtold): Likewise.
2678 [C99-based standards] (strtoll): Likewise.
2679 [C99-based standards] (strtoull): Likewise.
2680 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2681 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2682 [ISO || ISO99 || ISO11] (math.h): Likewise.
2683 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2684 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2685 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2686
2687 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2688
2689 [BZ #14132]
2690 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2691 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2692 * intl/dgettext.c (DCGETTEXT): Likewise.
2693 * intl/gettext.c (DCGETTEXT): Likewise.
2694 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2695 * posix/regex_internal.h (gettext): Likewise.
2696 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2697 Remove declaration.
2698 * include/argz.h (__argz_count_internal)
2699 (__argz_stringify_internal): Remove declaration.
2700 (__argz_count, __argz_stringify): Declare hidden proto.
2701 * intl/dcgettext.c: Remove use of INTDEF.
2702 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2703 * string/argz-stringify.c: Likewise.
2704 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2705 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2706 Declare hidden proto.
2707 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2708 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2709 Declare hidden proto.
2710 * include/stdio.h (__asprintf_internal): Don't declare.
2711 (__asprintf): Don't define as macro. Declare hidden proto.
2712 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2713 (__fsetlocking): Declare hidden proto.
2714 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2715 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2716 hidden proto.
2717 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2718 (_IO_setlinebuf): Remove use of INTUSE.
2719 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2720 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2721 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2722 Remove declaration.
2723 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2724 (_IO_do_flush): Remove use of INTUSE.
2725 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2726 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2727 (_IO_adjust_column, _IO_least_wmarker)
2728 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2729 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2730 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2731 (_IO_default_doallocate, _IO_wdefault_doallocate)
2732 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2733 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2734 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2735 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2736 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2737 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2738 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2739 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2740 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2741 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2742 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2743 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2744 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2745 proto.
2746 (_IO_flush_all_internal, _IO_adjust_column_internal)
2747 (_IO_default_uflow_internal, _IO_default_finish_internal)
2748 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2749 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2750 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2751 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2752 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2753 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2754 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2755 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2756 (_IO_file_close_internal, _IO_file_close_it_internal)
2757 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2758 (_IO_file_init_internal, _IO_file_attach_internal)
2759 (_IO_file_fopen_internal, _IO_file_read_internal)
2760 (_IO_file_sync_internal, _IO_file_seek_internal)
2761 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2762 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2763 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2764 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2765 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2766 (_IO_list_all_internal, _IO_link_in_internal)
2767 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2768 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2769 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2770 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2771 (_IO_do_write_internal, _IO_padn_internal)
2772 (_IO_getline_info_internal, _IO_getline_internal)
2773 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2774 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2775 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2776 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2777 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2778 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2779 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2780 with libc_hidden_ver, remove use of INTUSE.
2781 * libio/genops.c: Likewise.
2782 * libio/freopen.c: Likewise.
2783 * libio/freopen64.c: Likewise.
2784 * libio/iofclose.c: Likewise.
2785 * libio/iofdopen.c: Likewise.
2786 * libio/iofflush.c: Likewise.
2787 * libio/iofflush_u.c: Likewise.
2788 * libio/iofgets.c: Likewise.
2789 * libio/iofgets_u.c: Likewise.
2790 * libio/iofopen.c: Likewise.
2791 * libio/iofopncook.c: Likewise.
2792 * libio/iofread.c: Likewise.
2793 * libio/iofread_u.c: Likewise.
2794 * libio/ioftell.c: Likewise.
2795 * libio/iofwrite.c: Likewise.
2796 * libio/iogetline.c: Likewise.
2797 * libio/iogets.c: Likewise.
2798 * libio/iogetwline.c: Likewise.
2799 * libio/iopadn.c: Likewise.
2800 * libio/iopopen.c: Likewise.
2801 * libio/ioseekoff.c: Likewise.
2802 * libio/ioseekpos.c: Likewise.
2803 * libio/iosetbuffer.c: Likewise.
2804 * libio/iosetvbuf.c: Likewise.
2805 * libio/ioungetc.c: Likewise.
2806 * libio/ioungetwc.c: Likewise.
2807 * libio/iovdprintf.c: Likewise.
2808 * libio/iovsprintf.c: Likewise.
2809 * libio/iovsscanf.c: Likewise.
2810 * libio/memstream.c: Likewise.
2811 * libio/obprintf.c: Likewise.
2812 * libio/oldfileops.c: Likewise.
2813 * libio/oldiofclose.c: Likewise.
2814 * libio/oldiofdopen.c: Likewise.
2815 * libio/oldiofopen.c: Likewise.
2816 * libio/oldiopopen.c: Likewise.
2817 * libio/oldstdfiles.c: Likewise.
2818 * libio/putc.c: Likewise.
2819 * libio/setbuf.c: Likewise.
2820 * libio/setlinebuf.c: Likewise.
2821 * libio/stdfiles.c: Likewise.
2822 * libio/strops.c: Likewise.
2823 * libio/vasprintf.c: Likewise.
2824 * libio/vscanf.c: Likewise.
2825 * libio/vsnprintf.c: Likewise.
2826 * libio/vswprintf.c: Likewise.
2827 * libio/wfiledoalloc.c: Likewise.
2828 * libio/wfileops.c: Likewise.
2829 * libio/wgenops.c: Likewise.
2830 * libio/wmemstream.c: Likewise.
2831 * libio/wstrops.c: Likewise.
2832 * libio/__fpurge.c: Likewise.
2833 * libio/__fsetlocking.c: Likewise.
2834 * assert/assert.c: Likewise.
2835 * debug/fgets_chk.c: Likewise.
2836 * debug/fgets_u_chk.c: Likewise.
2837 * debug/fread_chk.c: Likewise.
2838 * debug/fread_u_chk.c: Likewise.
2839 * debug/gets_chk.c: Likewise.
2840 * debug/obprintf_chk.c: Likewise.
2841 * debug/vasprintf_chk.c: Likewise.
2842 * debug/vdprintf_chk.c: Likewise.
2843 * debug/vsnprintf_chk.c: Likewise.
2844 * debug/vsprintf_chk.c: Likewise.
2845 * malloc/mtrace.c: Likewise.
2846 * misc/error.c: Likewise.
2847 * misc/syslog.c: Likewise.
2848 * stdio-common/asprintf.c: Likewise.
2849 * stdio-common/fxprintf.c: Likewise.
2850 * stdio-common/getw.c: Likewise.
2851 * stdio-common/isoc99_fscanf.c: Likewise.
2852 * stdio-common/isoc99_scanf.c: Likewise.
2853 * stdio-common/isoc99_vfscanf.c: Likewise.
2854 * stdio-common/isoc99_vscanf.c: Likewise.
2855 * stdio-common/isoc99_vsscanf.c: Likewise.
2856 * stdio-common/printf-prs.c: Likewise.
2857 * stdio-common/printf_fp.c: Likewise.
2858 * stdio-common/printf_fphex.c: Likewise.
2859 * stdio-common/printf_size.c: Likewise.
2860 * stdio-common/putw.c: Likewise.
2861 * stdio-common/scanf.c: Likewise.
2862 * stdio-common/sprintf.c: Likewise.
2863 * stdio-common/tmpfile.c: Likewise.
2864 * stdio-common/vfprintf.c: Likewise.
2865 * stdio-common/vfscanf.c: Likewise.
2866 * stdlib/strfmon_l.c: Likewise.
2867 * sunrpc/openchild.c: Likewise.
2868 * sunrpc/xdr_stdio.c: Likewise.
2869 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2870 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2871
2872 2012-05-24 Roland McGrath <roland@hack.frob.com>
2873
2874 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2875
2876 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2877 in the third column, to generate for the shared library an IFUNC
2878 that uses _dl_vdso_vsym.
2879 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2880 * Makeconfig (object-suffixes-noshared): New variable.
2881
2882 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2883 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2884 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2885 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2886
2887 [BZ #14132]
2888 * include/sys/time.h (__gettimeofday): Remove macro.
2889 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2890 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2891 Remove INTDEF.
2892 (__gettimeofday): Add libc_hidden_def.
2893 (gettimeofday): Add libc_hidden_weak.
2894 * sysdeps/mach/gettimeofday.c: Likewise.
2895 * sysdeps/posix/gettimeofday.c: Likewise.
2896 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2897 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2899 (__gettimeofday_internal): Remove strong_alias.
2900 (__gettimeofday): Add libc_hidden_def.
2901 (gettimeofday): Add libc_hidden_weak.
2902 * sysdeps/unix/syscalls.list (gettimeofday):
2903 Remove __gettimeofday_internal alias.
2904
2905 2012-05-24 Daniel Jacobowitz <drow@false.org>
2906 H.J. Lu <hongjiu.lu@intel.com>
2907
2908 [BZ #12495]
2909 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2910 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2911 (largebin_index_32_big): New.
2912 (largebin_index): Use it for 16-byte alignment.
2913 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2914 correction with front_misalign.
2915
2916 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2917
2918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2920 Likewise.
2921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2922 Likewise.
2923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2924 Likewise.
2925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2926 Likewise.
2927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2928 Likewise.
2929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2930 Likewise.
2931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2932 Likewise.
2933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2934 Likewise.
2935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2936 Likewise.
2937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2938 Likewise.
2939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2940 Likewise.
2941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2942 Likewise.
2943
2944 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2945 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2946
2947 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2948
2949 [BZ #10846]
2950 [BZ #14036]
2951 * math/libm-test.inc (exp_test): Add test from bug 14036.
2952 (pow_test): Add test from bug 10846.
2953
2954 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2955 and other flags.
2956 (special_function): Do not include flags in test name.
2957 (parse_args): Likewise.
2958 * sysdeps/i386/fpu/libm-test-ulps: Update.
2959 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2960 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2961 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2963
2964 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2965 exceptions.
2966 * math/libm-test.inc ("Philosophy"): Update comment about
2967 exception testing.
2968 (UNDERFLOW_EXCEPTION): New macro.
2969 (UNDERFLOW_EXCEPTION_OK): Likewise.
2970 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2971 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2972 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2973 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2974 (INVALID_EXCEPTION_OK): Update value.
2975 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2976 (OVERFLOW_EXCEPTION_OK): Likewise.
2977 (IGNORE_ZERO_INF_SIGN): Likewise.
2978 (test_exceptions): Handle underflow exceptions.
2979 (acos_test): Update for underflow exception expectations.
2980 (cexp_test): Likewise.
2981 (clog_test): Likewise.
2982 (clog10_test): Likewise.
2983 (csqrt_test): Likewise.
2984 (ctan_test): Likewise.
2985 (ctanh_test): Likewise.
2986 (exp_test): Likewise.
2987 (exp10_test): Likewise.
2988 (exp2_test): Likewise.
2989 (expm1_test): Likewise.
2990 (fma_test): Likewise.
2991 (j0_test): Likewise.
2992 (jn_test): Likewise.
2993 (nexttoward_test): Likewise.
2994 (pow_test): Likewise.
2995 (scalbn_test): Likewise.
2996 (scalbln_test): Likewise.
2997 (tan_test): Likewise.
2998 (y1_test): Likewise.
2999 * sysdeps/i386/fpu/libm-test-ulps: Update.
3000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3001
3002 2012-05-23 David S. Miller <davem@davemloft.net>
3003
3004 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3005 (__libc_sigaction): Remove unused local variables.
3006
3007 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3008
3009 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3010
3011 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3012
3013 mktime: avoid signed integer overflow
3014 * time/mktime.c (__mktime_internal): Do not mishandle the case
3015 where diff == INT_MIN.
3016
3017 mktime: simplify computation of average
3018 * time/mktime.c (ranged_convert): Use new time_t_avg function
3019 instead of rolling our own (probably-slower) code.
3020
3021 mktime: do not assume signed right shift propagates sign bit
3022 * time/mktime.c (isdst_differ): New static function.
3023 (__mktime_internal): No need to normalize tm_isdst now.
3024 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3025 tm_isdst values.
3026
3027 mktime: merge another wrapv change from gnulib
3028 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3029 from some compilers.
3030
3031 mktime: remove incorrect attempt at unusual arithmetics
3032 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3033 The code didn't really work on such machines anyway.
3034 (TYPE_MINIMUM): Assume two's complement.
3035 (twos_complement_arithmetic): Verify that long_int and time_t
3036 are two's complement (or unsigned, in the latter case).
3037
3038 mktime: check signed shifts on long_int and time_t, too
3039 * time/mktime.c (SHR): Check that shifts work as desired
3040 on the types long_int and time_t too, as SHR is used on
3041 such types.
3042
3043 mktime: do not assume 'long' is wide enough
3044 * time/mktime.c (verify): Move decl up.
3045 (long_int): New type.
3046 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3047 to remove assumption in the code that 'long' is wide enough to
3048 store year values. This assumption is not true on x32 and on
3049 some non-glibc platforms.
3050
3051 mktime: merge wrapv change from gnulib
3052 * time/mktime.c (WRAPV): New macro.
3053 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3054 (guess_time_tm, __mktime_internal): Do not assume that signed
3055 integer overflow wraps around; modern compilers generate code
3056 where this assumption is no longer valid.
3057
3058 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3059
3060 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3061 Replace "jmp L(pseudo_end)" with "ret".
3062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3063 Likewise.
3064
3065 2012-05-23 Andreas Jaeger <aj@suse.de>
3066
3067 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3068 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3069
3070 2012-05-23 Andreas Jaeger <aj@suse.de>
3071 Maximilian Attems <max@stro.at>
3072
3073 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3074 New macros.
3075
3076 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3077
3078 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3079 code so that pseudo_end is just ret and the stack pointer is
3080 correct also for static library in error case.
3081
3082 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3083
3084 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3085 move to syscalls.list.
3086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3090
3091 * manual/install.texi (Running make install): Do not mention Linux
3092 kernel version for which pt_chown is not needed.
3093 (Linux): Do not mention problems with nscd with 2.0 kernels.
3094 * INSTALL: Regenerated.
3095
3096 2012-05-23 Andreas Jaeger <aj@suse.de>
3097
3098 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3099 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3100 macro.
3101 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3102 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3103 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3104 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3105 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3106 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3107 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3108 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3109 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3110 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3111 * sysdeps/unix/sysv/linux/bits/in.h
3112 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3113
3114 2012-05-22 Roland McGrath <roland@hack.frob.com>
3115
3116 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3117 (PREPARE_VERSION): Just use assert instead, it will be elided
3118 under [NDEBUG] anyway.
3119
3120 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3121
3122 * sysdeps/unix/sysv/linux/Makefile: Include
3123 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3124 (sysdep_routines): Remove sysctl.
3125 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3126 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3127 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3128 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3129 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3130
3131 2012-05-22 Andreas Jaeger <aj@suse.de>
3132
3133 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3134 that pseudo_end is just ret and the stack pointer is correct also
3135 for static library in error case.
3136
3137 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3138
3139 [BZ #14122]
3140 * nss/nsswitch.c (defconfig_entries): New variable.
3141 (__nss_database_lookup): Don't leak defconfig entries.
3142 (nss_parse_service_list): Don't leak on error paths.
3143 (free_database_entries): New function.
3144 (free_defconfig): New function.
3145 (free_mem): Move common code to free_database_entries.
3146
3147 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3148
3149 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3150 Add arch_prctl.
3151 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3152
3153 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3154 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3156 New macro.
3157 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3158 (INTERNAL_SYSCALL_TYPES): Likewise.
3159 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3160 (LOAD_REGS_TYPES_[1-6]): Likewise.
3161 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3162 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3163
3164 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3165
3166 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3167 copysignl for GLIBC_2_0.
3168 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3169 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3170 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3171 logbl for GLIBC_2_0.
3172 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3173 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3174
3175 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3176
3177 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3178 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3179
3180 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3181 Use "neg %eax".
3182
3183 * time/mktime.c: Update copyright years.
3184
3185 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3186
3187 mktime: merge comment-quoting-style change from gnulib
3188 * time/mktime.c: Quote 'like this' in comments.
3189 The GNU coding standards suggest that we no longer quote `like this',
3190 as "`" and "'" are typically rendered asymmetrically nowadays.
3191 The typical gnulib style is to quote 'like this' when quoting
3192 code, and "like this" when quoting English.
3193
3194 * time/mktime.c (compile-command): Add "-I.".
3195
3196 mktime: merge mktime-internal.h change from gnulib
3197 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3198
3199 mktime: merge time_r change from gnulib
3200 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3201
3202 mktime: merge DEBUG change from gnulib
3203 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3204 case system <time.h> has a #define.
3205
3206 mktime: merge <sys/types.h> change from gnulib
3207 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3208 since <time.t> is now guaranteed to define time_t.
3209
3210 mktime: merge HAVE_CONFIG_H change from gnulib
3211 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3212
3213 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3214
3215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3216 Use "neg %eax".
3217
3218 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3219 __rlim_t cast.
3220 (struct rusage): Use anonymous union to pad each field to
3221 __syscall_slong_t.
3222
3223 2012-05-21 David S. Miller <davem@davemloft.net>
3224
3225 * Makefules (o-iterator): Remove .s cases.
3226 (compile-command.s): Delete.
3227 (COMPILE.s): Delete.
3228 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3229
3230 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3231
3232 * configure.in (libc_cv_predef_stack_protector): Only consider
3233 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3234 * configure: Regenerated.
3235
3236 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3237
3238 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3239 New macro. Use R*LP on int and pointer.
3240 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3241 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3242 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3243 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3244
3245 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3246 [__WORDSIZE_TIME64_COMPAT32] instead of
3247 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3248 (struct utmp): Likewise.
3249 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3250 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3251 Renamed to ...
3252 (__WORDSIZE_TIME64_COMPAT32): This.
3253 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3254 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3255 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3256 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3257 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3258 (__WORDSIZE_TIME64_COMPAT32): New macro.
3259
3260 2012-05-21 Andreas Jaeger <aj@suse.de>
3261
3262 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3263 only if [SHARED]. Add prototype for __wcschr_ia32.
3264
3265 2012-05-21 Roland McGrath <roland@hack.frob.com>
3266
3267 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3268 of %rbp unmolested in the jmp_buf while mangling the low bits.
3269 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3270 unmolested high bits of %rbp while demangling the low bits.
3271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3272
3273 2012-05-21 Andreas Jaeger <aj@suse.de>
3274
3275 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3276 * sunrpc/svc_simple.c: Use it for registerrpc.
3277 * sunrpc/xcrypt.c: Use it for passwd2des.
3278
3279 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3280
3281 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3282
3283 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3284 Don't define if [__SYSCALL_WORDSIZE != 32].
3285 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3286 New macro.
3287
3288 2012-05-21 Bruno Haible <bruno@clisp.org>
3289 Andreas Jaeger <aj@suse.de>
3290
3291 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3292 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3293 inptr and inend for must_buffer_ch.
3294 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3295 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3296 * stdio-common/Makefile (tests): Remove bug15.
3297 (bug15-ENV): Remove macro.
3298 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3299 anymore.
3300
3301 2012-05-19 Andreas Jaeger <aj@suse.de>
3302 Roland McGrath <roland@hack.frob.com>
3303
3304 * manual/contrib.texi: Completely rewritten. It contains now an
3305 alphabetical list of contributors and their contributions.
3306
3307 2012-05-21 Richard Henderson <rth@twiddle.net>
3308
3309 * misc/getauxval.c (__getauxval): Use unsigned long int.
3310 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3311 (getauxval): Use unsigned long int.
3312
3313 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3314
3315 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3316
3317 2012-05-21 Roland McGrath <roland@hack.frob.com>
3318
3319 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3320 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3321 __alignof__ (long double).
3322
3323 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3324
3325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3326
3327 2012-05-20 Richard Henderson <rth@twiddle.net>
3328
3329 * misc/getauxval.c: New file.
3330 * misc/sys/auxv.h: New file.
3331 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3332 (routines): Add getauxval.
3333 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3334 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3335 * elf/dl-sysdep.c (_dl_auxv): Remove.
3336 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3337 * elf/dl-support.c (_dl_auxv): New variable.
3338 (_dl_aux_init): Initialize it.
3339 * manual/startup.texi (Auxiliary Vector): New node.
3340 * sysdeps/generic/bits/hwcap.h: New file.
3341 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3342 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3343 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3344 * sysdeps/sparc/sysdep.h: ... here. Include it.
3345 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3346 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3348 Update.
3349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3352 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3357
3358 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3359
3360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3361
3362 2012-05-19 David S. Miller <davem@davemloft.net>
3363
3364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3365
3366 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3367
3368 [BZ #14123]
3369 * math/s_ccosh.c: Include <float.h>
3370 (__ccosh): Avoid internal overflow calculating sinh and cosh
3371 values before multiplying by sin and cos values.
3372 * math/s_ccoshf.c: Likewise.
3373 * math/s_ccoshl.c: Likewise.
3374 * math/s_csin.c: Likewise.
3375 * math/s_csinf.c: Likewise.
3376 * math/s_csinl.c: Likewise.
3377 * math/s_csinh.c: Likewise.
3378 * math/s_csinhf.c: Likewise.
3379 * math/s_csinhl.c: Likewise.
3380 * math/libm-test.inc (ccos_test): Add more tests.
3381 (ccosh_test): Likewise.
3382 (csin_test): Likewise.
3383 (csinh_test): Likewise.
3384 * sysdeps/i386/fpu/libm-test-ulps: Update.
3385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3386
3387 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3388
3389 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3390 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3391
3392 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3393
3394 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3395
3396 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3397 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3398 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3399 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3400 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3401 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3402 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3403 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3404 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3405 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3406 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3407 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3408 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3409 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3410 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3411 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3412 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3413 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3414 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3415 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3416 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3417 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3418 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3419 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3420 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3421 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3422 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3423 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3424 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3425 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3426 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3427
3428 2012-05-18 Andreas Jaeger <aj@suse.de>
3429
3430 * csu/.gitignore: Delete.
3431
3432 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3433
3434 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3435 (timex): Use __syscall_slong_t.
3436
3437 2012-05-18 Andreas Jaeger <aj@suse.de>
3438 Carlos O'Donell <carlos_odonell@mentor.com>
3439
3440 * manual/install.texi (Configuring and compiling): Update
3441 description about files modified in the source directory.
3442 * INSTALL: Regenerated.
3443
3444 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3445
3446 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3447 value. Use "or" to set return value to -1.
3448 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3449 negate return value.
3450
3451 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3452
3453 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3454 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3455 failure if the compiler has Graphite support disabled.
3456 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3457 Likewise.
3458 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3459 CFLAGS-memmove.c): Likewise.
3460 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3461 Likewise.
3462
3463 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3464
3465 * sysdeps/x86_64/x32/_itoa.h: New file.
3466
3467 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3468 getdents system call only if kernel and user dirents have the
3469 same d_ino and d_off.
3470
3471 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3472 LLONG_MAX != LONG_MAX.
3473 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3474 (_fitoa_word): Likewise.
3475
3476 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3477 years.
3478 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3479 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3480 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3481
3482 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3483 include <bits/wordsize.h>. Check __x86_64__ instead of
3484 __WORDSIZE.
3485 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3486 if __x86_64__ is defined. Use anonymous union on fpstate.
3487
3488 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3489 anonymous union.
3490
3491 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3492
3493 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3494 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3495 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3496 Refer to _rtld_local_ro instead of _rtld_global_ro.
3497 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3498 Likewise.
3499 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3500 Likewise.
3501 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3502 Likewise.
3503 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3504 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3505 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3506
3507 * sysdeps/powerpc/powerpc32/dl-machine.c
3508 (__elf_machine_runtime_setup) [PROF]: Don't reference
3509 _dl_prof_resolve.
3510
3511 2012-05-18 Andreas Jaeger <aj@suse.de>
3512
3513 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3514 function only available for GCCs before 3.4 since GCC 3.4
3515 introduced a builtin.
3516 (lrint): Likewise.
3517 (llrintf): Likewise.
3518 (llrint): Likewise.
3519 (fmaxf): Likewise.
3520 (fmax): Likewise.
3521 (fminf): Likewise.
3522 (fmin): Likewise.
3523 (rint): Likewise.
3524 (rintf): Likewise.
3525 (nearbyint): Likewise.
3526 (nearbyintf): Likewise.
3527 (ceil): Likewise.
3528 (ceilf): Likewise.
3529 (floor): Likewise.
3530 (floorf): Likewise.
3531
3532 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3533
3534 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3535 on both fields and cast pointer to __syscall_ulong_t.
3536
3537 * bits/types.h (__fsword_t): New type.
3538 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3539 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3541 (__FSWORD_T_TYPE): Likewise.
3542 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3543 (__FSWORD_T_TYPE): Likewise.
3544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3545 (__FSWORD_T_TYPE): Likewise.
3546 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3547 (__FSWORD_T_TYPE): Likewise.
3548 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3549 __SWORD_TYPE with __fsword_t.
3550 (statfs64): Likewise.
3551
3552 2012-05-17 David S. Miller <davem@davemloft.net>
3553
3554 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3555
3556 2012-05-17 Andreas Jaeger <aj@suse.de>
3557
3558 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3559 warning.
3560
3561 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3562
3563 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3564
3565 2012-05-17 Andreas Jaeger <aj@suse.de>
3566
3567 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3568 when it is used.
3569
3570 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3571
3572 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3573
3574 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3575
3576 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3577 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3578
3579 2012-05-17 Andreas Jaeger <aj@suse.de>
3580 Carlos O'Donell <carlos_odonell@mentor.com>
3581
3582 [BZ #14059]
3583 * sysdeps/x86_64/multiarch/init-arch.h
3584 (bit_YMM_Usable): Rename to...
3585 (bit_AVX_Usable): ... this.
3586 (bit_FMA4_Usable): New macro.
3587 (bit_XMM_state): New macro.
3588 (bit_YMM_state): New macro.
3589 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3590 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3591 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3592 (CPUID_OSXSAVE): New macro.
3593 (CPUID_AVX): New macro.
3594 (CPUID_FMA4): New macro.
3595 (index_YMM_Usable): Rename to...
3596 (index_AVX_Usable): ... this.
3597 (HAS_AVX): Use HAS_ARCH_FEATURE.
3598 (HAS_FMA4): Likewise.
3599 (HAS_YMM_USABLE): Remove.
3600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3601 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3602 are present.
3603 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3604 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3605 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3606 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3607 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3608
3609 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3610
3611 * math/libm-test.c: Support platforms without multiple rounding modes.
3612 * math/bug-nextafter.c: Support platforms without FP exceptions.
3613 * math/bug-nexttoward.c: Likewise.
3614 * math/test-fenv.c: Likewise.
3615 * math/test-misc.c: Likewise.
3616 * stdlib/bug-getcontext.c: Likewise.
3617
3618 2012-05-17 Andreas Jaeger <aj@suse.de>
3619
3620 * manual/examples/search.c (critter_cmp): Change signature to
3621 avoid warnings.
3622 * manual/string.texi (Collation Functions): Likewise.
3623
3624 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3625
3626 * bits/types.h: Fold copyright years.
3627 * bits/typesizes.h: Likewise.
3628 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3629 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3630 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3631 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3632 * time/time.h: Likewise.
3633
3634 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3635
3636 [BZ #208]
3637 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3638 in instead of returning them. Return void.
3639 (__libc_mallinfo): Accumulate over all arenas.
3640 (__malloc_stats): Adjust for change in int_mallinfo interface.
3641
3642 2012-05-16 Roland McGrath <roland@hack.frob.com>
3643
3644 [BZ #10375]
3645 * configure.in (NM): Add AC_CHECK_TOOL for it.
3646 (libc_extra_cflags): New substituted variable.
3647 Check for -fstack-protector being used implicitly.
3648 * configure: Regenerated.
3649 * config.make.in (config-extra-cflags): New variable,
3650 gets @libc_extra_cflags@.
3651 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3652
3653 [BZ #10375]
3654 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3655 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3656 * configure: Regenerated.
3657 * config.make.in (CPPUNDEFS): New substituted variable.
3658 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3659 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3660 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3661
3662 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3663
3664 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3665 (mq_attr): Use __syscall_slong_t.
3666
3667 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3668
3669 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3670 Check __x86_64__ instead of __WORDSIZE.
3671 (_STAT_VER_LINUX): Likewise.
3672 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3673 __syscall_ulong_t and __syscall_slong_t.
3674 (stat64): Likewise.
3675
3676 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3677
3678 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3679
3680 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3681
3682 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3683
3684 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3685
3686 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3687 __syscall_ulong_t.
3688
3689 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3690 include <bits/wordsize.h>. Check __x86_64__ instead of
3691 __WORDSIZE.
3692 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3693 defined.
3694 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3695
3696 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3697 include <bits/wordsize.h>. Check __x86_64__ instead of
3698 __WORDSIZE.
3699 (user_regs_struct): Use "__extension__ unsigned long long"
3700 instead of "unsigned long" if __x86_64__ is defined.
3701 (user): Likewise. Pad after pointer field if __ILP32__ is
3702 defined.
3703
3704 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3705
3706 * configure.in (makeinfo): Require version 4.5 or later. Allow
3707 versions 5 to 9.
3708 * configure: Regenerated.
3709 * manual/install.texi (texinfo): Increase version requirement to
3710 4.5 or later.
3711 * INSTALL: Regenerated.
3712
3713 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3714
3715 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3716
3717 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3718
3719 * sysdeps/x86_64/x32/ffs.c: New file.
3720
3721 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3722 __syscall_ulong_t.
3723 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3724 defined. Use __syscall_ulong_t.
3725 (shminfo): Use __syscall_ulong_t.
3726 (shm_info): Likewise.
3727
3728 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3729 __syscall_ulong_t.
3730
3731 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3732 <bits/wordsize.h>.
3733 (msgqnum_t): Use __syscall_ulong_t.
3734 (msglen_t): Likewise.
3735 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3736 __syscall_ulong_t.
3737
3738 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3739 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3740
3741 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3742
3743 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3744 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3745
3746 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3747 __syscall_slong_t.
3748
3749 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3750 include <bits/wordsize.h>. Check __x86_64__ instead of
3751 __WORDSIZE.
3752
3753 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3754 "unsigned long long int" if __x86_64__ is defined.
3755 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3756
3757 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3758 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3759 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3760
3761 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3762 <stdint.h>.
3763 (GET_PC): Cast to uintptr_t first.
3764 (GET_FRAME): Likewise.
3765 (GET_STACK): Likewise.
3766
3767 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3768 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3769 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3771 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3773 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3774 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3775 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3776 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3778 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3780 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3781 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3782 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3784 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3786 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3787 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3788 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3789 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3790 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3791 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3792 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3794 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3796
3797 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3798
3799 * Makerules (+depfiles): Also collect depfiles from .oS in
3800 $(extra-objs).
3801 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3802 .oS, $(libnldbl-routines)).
3803
3804 * Makerules (native-compile-mkdep-flags): Define.
3805 * sunrpc/Makefile (extra-objs): Add $(addprefix
3806 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3807 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3808 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3809 calling $(make-target-directory).
3810
3811 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3812
3813 * bits/types.h (__snseconds_t): Removed.
3814 * time/time.h (struct timespec): Replace __snseconds_t with
3815 __syscall_slong_t.
3816 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3817 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3818 Likewise.
3819 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3820 (__SNSECONDS_T_TYPE): Likewise.
3821 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3822 (__SNSECONDS_T_TYPE): Likewise.
3823 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3824 (__SNSECONDS_T_TYPE): Likewise.
3825
3826 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3827
3828 * sysdeps/mach/hurd/bits/typesizes.h
3829 (__SYSCALL_SLONG_TYPE): New macro.
3830 (__SYSCALL_ULONG_TYPE): Likewise.
3831
3832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3833
3834 * bits/types.h (__syscall_slong_t): New type.
3835 (__syscall_ulong_t): Likewise.
3836
3837 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3838 (__SYSCALL_ULONG_TYPE): Likewise.
3839 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3840 (__SYSCALL_SLONG_TYPE): Likewise.
3841 (__SYSCALL_ULONG_TYPE): Likewise.
3842 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3843 (__SYSCALL_SLONG_TYPE): Likewise.
3844 (__SYSCALL_ULONG_TYPE): Likewise.
3845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3846 (__SYSCALL_SLONG_TYPE): Likewise.
3847 (__SYSCALL_ULONG_TYPE): Likewise.
3848
3849 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3850
3851 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3852 Add sigaltstack-offsets.sym.
3853 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3854 <sigaltstack-offsets.h>.
3855 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3856 longjmp_msg pointer.
3857 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3858 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3859 signal stack.
3860 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3861
3862 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3863
3864 * elf/stackguard-macros.h: Remove file.
3865 * sysdeps/generic/stackguard-macros.h: New file.
3866 * sysdeps/i386/stackguard-macros.h: Likewise.
3867 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3868 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3869 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3870 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3871 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3872 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3873 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3874 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3875 <elf/stackguard-macros.h>.
3876
3877 [BZ #14109]
3878 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3879 __aligned__ in attribute.
3880 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3881 (gregset_t): Likewise.
3882
3883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3884
3885 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3886 * sysdeps/x86_64/64/Implies-after: Here. New file.
3887 * sysdeps/x86_64/x32/Implies-after: New file.
3888
3889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3890
3891 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3892 and access return value for _dl_profile_fixup. Use R10_LP to
3893 load frame size.
3894
3895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3896
3897 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3898
3899 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3900
3901 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3902 * sysdeps/x86_64/x32/sysdep.h: New file.
3903
3904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3905
3906 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3907 * sysdeps/x86_64/setjmp.S: Likewise.
3908
3909 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3910
3911 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3913 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3914 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3915 remove unused global constant.
3916
3917 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3918
3919 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3920 include of <not-cancel.h>.
3921
3922 2012-05-15 Roland McGrath <roland@hack.frob.com>
3923
3924 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3925
3926 2012-05-15 Jeff Law <law@redhat.com>
3927 Andreas Jaeger <aj@suse.de>
3928
3929 [BZ #13594]
3930 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3931 out from...
3932 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3933 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3934 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3935 code changing __hst_map_handle.map.
3936
3937 2012-05-15 Roland McGrath <roland@hack.frob.com>
3938
3939 * configure.in (sysnames): Look for Implies-before and Implies-after
3940 files.
3941 * configure: Regenerated.
3942
3943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3944
3945 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3946 8-byte data alignment with LP_SIZE alignment.
3947
3948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3949
3950 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3951 into R10_LP.
3952
3953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3954
3955 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3956
3957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3958
3959 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3960 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3961 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3962 Likewise.
3963 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3964
3965 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3966
3967 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3968 (stackinfo_sub_sp): Likewise.
3969
3970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3971
3972 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3973 RAX_LP.
3974
3975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3976
3977 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3978 into R*_LP.
3979
3980 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3981
3982 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3983 sizes into R*_LP.
3984
3985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3986
3987 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3988
3989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3990
3991 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3992 into R11_LP and load __x86_64_shared_cache_size_half into
3993 R8_LP.
3994
3995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3996
3997 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3998 R8_LP.
3999
4000 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4001
4002 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4003 logb for POWER7.
4004 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4005 logbf for POWER7.
4006 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4007 logbl for POWER7.
4008 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4009 powerpc32/power7/fpu/s_logb.c via #include.
4010 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4011 powerpc32/power7/fpu/s_logbf.c via #include.
4012 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4013 powerpc32/power7/fpu/s_logbl.c via #include.
4014
4015 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4016
4017 * README.libm: Remove file.
4018
4019 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4020
4021 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4022 count for x32. Use R*_LP and omit operand-size suffix.
4023
4024 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4025
4026 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4027 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4028 * sysdeps/x86_64/x32/shlib-versions: New file.
4029
4030 2012-05-14 Roland McGrath <roland@hack.frob.com>
4031
4032 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4033 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4034 Use _dl_fatal_printf instead.
4035
4036 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4037
4038 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4039 set if not set by the user. Do not allow for being unset.
4040 * sysdeps/unix/sysv/linux/configure: Regenerated.
4041
4042 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4043
4044 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4045 the `q' suffix from lea and replace .quad with ASM_ADDR.
4046
4047 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4048
4049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4050 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4051 instead of $17.
4052 (PTR_DEMANGLE): Likewise.
4053
4054 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4055
4056 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4057 (LP_OP): Likewise.
4058 (ASM_ADDR): Likewise.
4059 (RAX_LP): Likewise.
4060 (RBP_LP): Likewise.
4061 (RBX_LP): Likewise.
4062 (RCX_LP): Likewise.
4063 (RDI_LP): Likewise.
4064 (RSI_LP): Likewise.
4065 (RSP_LP): Likewise.
4066 (R8_LP): Likewise.
4067 (R9_LP): Likewise.
4068 (R10_LP): Likewise.
4069 (R10_LP): Likewise.
4070 (R11_LP): Likewise.
4071 (R12_LP): Likewise.
4072 (R13_LP): Likewise.
4073 (R14_LP): Likewise.
4074 (R15_LP): Likewise.
4075
4076 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4077
4078 * sysdeps/x86_64/x32/dl-machine.h: New file.
4079
4080 2012-05-14 Andreas Jaeger <aj@suse.de>
4081
4082 * manual/Makefile (subdir): Remove export of subdir.
4083 (all): Remove target.
4084 (.PHONY): Remove all from list.
4085 (mkinstalldirs): Remove.
4086 (.PHONY): Remove installdirs from list.
4087 ($(inst_infodir)/libc.info): Use make-target-directory.
4088 (installdirs): Remove.
4089 (subdir_%): Remove.
4090 (glibc-targets): Remove.
4091 (lib): Remove.
4092 (stubs): Remove.
4093 ($(objpfx)stubs ../po/manual.pot): Remove.
4094 ($(objpfx)stamp%): Remove.
4095 (make-target-directory): Remove.
4096 (subdir_install): Remove.
4097 (routines): Remove.
4098 (aux): Remove.
4099 (sources): Remove.
4100 (objects): Remove.
4101 (headers): Remove.
4102
4103 [BZ #13750]
4104 * manual/.gitignore: Remove, it's not needed anymore.
4105 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4106 all files in it.
4107 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4108 directory.
4109 (texis): Renamed to $(objpfx)texis.
4110 (texis-path): New, contains path to generated files.
4111 (chapters.%): Use texis-path for complete path, add extra argument
4112 libc-texinfo.sh.
4113 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4114 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4115 (summary,texi, stamp-summary): Use complete path of
4116 files. Generate files in build dir.
4117 (dir-add.texi): Build in build dir.
4118 (libm-err.texi,stamp-libm-err): Likewise.
4119 (version.texi, stamp-version): Likewise.
4120 (.%c.texi): Likewise.
4121 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4122 (mostlyclean): Remove target.
4123 (realclean): Remove target.
4124 (generated): Add new variable with contents from mostlyclean and
4125 realclean, remove entries duplicated in common-mostlyclean, add
4126 stamp-libm-err and stamp-version.
4127 (generated-dirs): Add libc directory.
4128 ($(inst_infodir)/libc.info): Install files from build dir.
4129
4130 * manual/install.texi (Configuring and compiling): Adjust since
4131 the info files are not part of the tar ball anymore.
4132
4133 2012-05-14 Andreas Jaeger <aj@suse.de>
4134
4135 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4136 variable.
4137
4138 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4139
4140 [BZ #13717]
4141 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4142 to 2.2.0 where earlier.
4143 * sysdeps/unix/sysv/linux/configure: Regenerated.
4144 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4145 Remove conditional code.
4146 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4147 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4148 Remove conditional code.
4149 [!__NR_lchown]: Likewise.
4150 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4151 [__NR_lchown]: Likewise.
4152 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4153 comment referencing __ASSUME_LCHOWN_SYSCALL.
4154 * sysdeps/unix/sysv/linux/i386/sigaction.c
4155 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4156 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4157 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4158 Remove conditional code.
4159 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4160 (__protocol_available): Remove #if 0 code.
4161 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4162 conditional code.
4163 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4164 * sysdeps/unix/sysv/linux/kernel-features.h
4165 (__ASSUME_GETCWD_SYSCALL): Don't define.
4166 (__ASSUME_REALTIME_SIGNALS): Likewise.
4167 (__ASSUME_PREAD_SYSCALL): Likewise.
4168 (__ASSUME_PWRITE_SYSCALL): Likewise.
4169 (__ASSUME_POLL_SYSCALL): Likewise.
4170 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4171 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4172 non-SPARC.
4173 (__ASSUME_SIOCGIFNAME): Don't define.
4174 (__ASSUME_MSG_NOSIGNAL): Likewise.
4175 (__ASSUME_SENDFILE): Define unconditionally.
4176 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4177 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4178 conditional code.
4179 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4180 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4181 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4182 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4183 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4184 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4185 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4187 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4190 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4193 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4196 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4199 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4200 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4202 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4205 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4208 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4210 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4211 Remove conditional code.
4212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4213 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4214 Remove conditional code.
4215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4216 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4217 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4218 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4219 Remove conditional code.
4220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4221 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4222 Remove conditional code.
4223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4224 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4225 Remove conditional code.
4226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4227 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4228 Remove conditional code.
4229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4230 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4231 Remove conditional code.
4232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4233 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4234 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4236 * sysdeps/unix/sysv/linux/sigaction.c
4237 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4238 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4239 * sysdeps/unix/sysv/linux/sigpending.c
4240 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4241 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4242 * sysdeps/unix/sysv/linux/sigprocmask.c
4243 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4244 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4245 * sysdeps/unix/sysv/linux/sigsuspend.c
4246 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4247 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4248 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4249 (__libc_missing_rt_sigs): Remove.
4250 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4251 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4252 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4253 Remove conditional code.
4254 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4255 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4256 return 1.
4257 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4258 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4259 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4260 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4261
4262 2012-05-14 Andreas Jaeger <aj@suse.de>
4263
4264 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4265 it's not used in glibc.
4266 (__coshm1): Likewise.
4267 (__acosh1p): Likewise.
4268 (__sgn): Likewise.
4269
4270 * manual/string.texi (Copying and Concatenation): Add missing
4271 variable in concat example.
4272 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4273
4274 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4275
4276 [BZ #14103]
4277 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4278 __builtin_clzl with __builtin_clzll.
4279
4280 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4281
4282 [BZ #14104]
4283 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4284 libc_freeres_ptr.
4285
4286 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4287
4288 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4289 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4290 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4291 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4292
4293 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4294
4295 * NEWS: Update ia64 info.
4296
4297 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4298
4299 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4300 used as bcopy.
4301
4302 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4303
4304 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4305 * sysdeps/unix/syscalls.list (dup3): Likewise.
4306 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4307 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4308
4309 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4310
4311 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4312 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4313
4314 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4315
4316 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4317 thread pointer.
4318 (TLS_IE): Use mov/add instead of movq/addq to load thread
4319 pointer.
4320 (TLS_GD_PREFIX): New.
4321 (TLS_GD): Use it.
4322
4323 2012-05-11 David S. Miller <davem@davemloft.net>
4324
4325 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4326 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4327 (_FPU_SETCW): Likewise.
4328
4329 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4330
4331 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4332 is 32-byte aligned.
4333
4334 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4335
4336 [BZ #11837]
4337 * iconvdata/gb18030.c: Update tables.
4338 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4339 characters specially.
4340 (BODY for TO_LOOP): Add encoding of missing ranges.
4341
4342 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4343
4344 [BZ #13673]
4345 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4346 * sysdeps/mach/hurd/dup3.c: Likewise.
4347 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4348 * sysdeps/powerpc/memmove.c:: Likewise.
4349
4350 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4351
4352 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4353 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4354
4355 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4356
4357 * elf/elf.h (R_X86_64_RELATIVE64): New.
4358 (R_X86_64_NUM): Updated.
4359 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4360 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4361 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4362 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4363 tst-quad1pie tst-quad2pie
4364 (modules-names): Add tst-quadmod1 tst-quadmod2.
4365 ($(objpfx)tst-quad1): New dependency.
4366 ($(objpfx)tst-quad2): Likewise.
4367 ($(objpfx)tst-quad1pie): Likewise.
4368 ($(objpfx)tst-quad2pie): Likewise.
4369 * sysdeps/x86_64/tst-quad1.c: New file.
4370 * sysdeps/x86_64/tst-quad1pie.c: New file.
4371 * sysdeps/x86_64/tst-quad2.c: Likewise.
4372 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4373 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4374 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4375 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4376 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4377
4378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4379
4380 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4381 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4382 * streams/stropts.h (t_scalar_t): Define type.
4383
4384 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4385 (_PATH_PRESERVE): Set to "/var/lib".
4386 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4387
4388 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4389 instead of int.
4390
4391 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4392 if __dir_mkfile succeeded.
4393
4394 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4395 checking for _hurd_dtablesize. Unlock it right after having
4396 finished _hurd_dtable allocation.
4397
4398 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4399
4400 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4401 * sysdeps/mach/hurd/configure: Regenerated.
4402 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4403 special-casing to...
4404 * sysdeps/gnu/configure.in: ... this new file.
4405 * sysdeps/unix/sysv/linux/configure: Regenerated.
4406 * sysdeps/gnu/configure: New generated file.
4407
4408 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4409 for Linux: use nsec instead of usec, as well as:
4410 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4411 members of type struct timespec.
4412 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4413 New macros.
4414 (struct stat64): Likewise.
4415 (_STATBUF_ST_NSEC): New macro.
4416 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4417
4418 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4419 __strtoul_internal rather than strtoul.
4420
4421 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4422
4423 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4424 and reject them.
4425
4426 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4427
4428 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4429 which preserves existing values.
4430 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4431
4432 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4433
4434 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4435 TIMEOUT values. Return EINVAL for NFDS values either negative or
4436 greater than FD_SETSIZE.
4437
4438 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4439
4440 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4441 allocated, call __vm_protect to finish enabling the existing space, and
4442 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4443 allocate the remainder.
4444
4445 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4446
4447 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4448 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4449
4450 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4451
4452 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4453 sysdeps/mach/hurd/readlink.c.
4454
4455 * posix/tst-sysconf.c (posix_options): Only use
4456 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4457 _POSIX_SYNCHRONIZED_IO when they are defined
4458 * sysdeps/mach/hurd/bits/posix_opt.h:
4459 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4460 (_XOPEN_REALTIME): Undefine macro.
4461 (_XOPEN_REALTIME_THREADS): Undefine macro.
4462 (_XOPEN_SHM): Undefine macro.
4463 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4464 macro to -1.
4465 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4466 macro to -1.
4467 (_POSIX_ASYNC_IO): Undefine macro.
4468 (_POSIX_PRIORITIZED_IO): Undefine macro.
4469 (_POSIX_SPIN_LOCKS): Define macro to -1.
4470
4471 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4472 SA_NODEFER, SA_RESETHAND.
4473 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4474 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4475 F_DUPFD_CLOEXEC.
4476
4477 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4478
4479 * elf/Makefile (pldd-modules): Define unconditionally.
4480
4481 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4482
4483 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4484
4485 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4486
4487 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4488 Return ENOENT when name is empty.
4489 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4490
4491 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4492
4493 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4494
4495 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4496
4497 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4498
4499 Fix mlock in all cases except non-readable pages.
4500 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4501 instead of VM_PROT_ALL as parameter to __vm_wire function.
4502
4503 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4504 (__mkdir): When path is `/', just fail with EEXIST.
4505 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4506
4507 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4508
4509 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4510 <sys/uio.h> (for writev).
4511 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4512 and <sys/param.h> (for MIN).
4513
4514 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4515
4516 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4517 REQUESTED_TIME. Properly set the remaining time and return EINTR
4518 if interrupted.
4519
4520 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4521
4522 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4523 Depend on against $(link-rpcuserlibs).
4524
4525 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4526
4527 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4528 (__libc_stack_end): Do not use attribute_relro.
4529 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4530 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4531 to libthread-provided value.
4532 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4533 attribute_relro.
4534
4535 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4536
4537 [BZ #3748]
4538 * bits/libc-lock.h (__libc_once_get): New macro.
4539 * sysdeps/mach/bits/libc-lock.h: Likewise.
4540 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4541 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4542 instead of using implementation details.
4543
4544 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4545 * libio/freopen.c: Likewise.
4546 * libio/freopen64.c: Likewise.
4547 * misc/syslog.c: Likewise.
4548 * nscd/connections.c: Likewise.
4549 * nscd/netgroupcache.c: Likewise.
4550 * sysdeps/posix/getcwd.c: Likewise.
4551
4552 2012-05-10 Roland McGrath <roland@hack.frob.com>
4553
4554 * math/w_ilogbf.c: Add #include <limits.h>.
4555
4556 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4557
4558 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4559 path instead of returning without unlocking.
4560
4561 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4562 immediate-write ioctls.
4563 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4564
4565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4566
4567 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4568 __builtin_frame_address instead of making assumptions about the
4569 location of the return address relative to DATA. Force early load of
4570 the return address.
4571 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4572 __builtin_frame_address.
4573
4574 dup3 for GNU Hurd.
4575 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4576 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4577 implement dup3 and do some further code clean-ups.
4578 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4579 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4580
4581 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4582
4583 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4584
4585 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4586 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4587 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4588 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4589 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4590 d->port.lock.
4591
4592 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4593 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4594 when handler == SIG_ERR, not when handler != SIG_ERR.
4595
4596 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4597
4598 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4599 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4600 definitions.
4601
4602 accept4 for GNU Hurd.
4603 * include/sys/socket.h (__libc_accept4): New prototype.
4604 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4605 to implement __libc_accept4.
4606 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4607 __libc_accept4.
4608 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4609
4610 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4611 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4612 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4613 signal-defines.sym.
4614
4615 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4616
4617 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4618
4619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4620
4621 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4622 assertion on O_CLOEXEC flag.
4623 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4624 * hurd/intern-fd.c: Likewise.
4625 * hurd/port2fd.c: Likewise.
4626
4627 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4628
4629 [BZ #3906]
4630 * bits/in.h (IPV6_PKTINFO): Define new macro.
4631 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4632
4633 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4634
4635 [BZ #13954]
4636 [BZ #13955]
4637 [BZ #13956]
4638 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4639 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4640 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4641 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4642 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4643 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4644 * math/libm-test.inc (logb_test) : Additional logb tests.
4645
4646 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4647 Andreas Jaeger <aj@suse.de>
4648
4649 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4650 * configure: Regenerated.
4651 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4652 * config.make.in (link-obsolete-rpc): New substituted variable.
4653 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4654 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4655 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4656 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4657 so that libc.a contains the symbols.
4658 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4659 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4660 * sunrpc/auth_none.c: Likewise.
4661 * sunrpc/auth_unix.c: Likewise.
4662 * sunrpc/authdes_prot.c: Likewise.
4663 * sunrpc/authuxprot.c: Likewise.
4664 * sunrpc/clnt_gen.c: Likewise.
4665 * sunrpc/clnt_perr.c: Likewise.
4666 * sunrpc/clnt_raw.c: Likewise.
4667 * sunrpc/clnt_simp.c: Likewise.
4668 * sunrpc/clnt_tcp.c: Likewise.
4669 * sunrpc/clnt_udp.c: Likewise.
4670 * sunrpc/clnt_unix.c: Likewise.
4671 * sunrpc/des_crypt.c: Likewise.
4672 * sunrpc/des_soft.c: Likewise.
4673 * sunrpc/get_myaddr.c: Likewise.
4674 * sunrpc/key_call.c: Likewise.
4675 * sunrpc/key_prot.c: Likewise.
4676 * sunrpc/netname.c: Likewise.
4677 * sunrpc/pm_getmaps.c: Likewise.
4678 * sunrpc/pm_getport.c: Likewise.
4679 * sunrpc/pmap_clnt.c: Likewise.
4680 * sunrpc/pmap_prot.c: Likewise.
4681 * sunrpc/pmap_prot2.c: Likewise.
4682 * sunrpc/pmap_rmt.c: Likewise.
4683 * sunrpc/publickey.c: Likewise.
4684 * sunrpc/rpc_cmsg.c: Likewise.
4685 * sunrpc/rpc_common.c: Likewise.
4686 * sunrpc/rpc_dtable.c: Likewise.
4687 * sunrpc/rpc_prot.c: Likewise.
4688 * sunrpc/rpc_thread.c: Likewise.
4689 * sunrpc/rtime.c: Likewise.
4690 * sunrpc/svc.c: Likewise.
4691 * sunrpc/svc_auth.c: Likewise.
4692 * sunrpc/svc_raw.c: Likewise.
4693 * sunrpc/svc_run.c: Likewise.
4694 * sunrpc/svc_tcp.c: Likewise.
4695 * sunrpc/svc_udp.c: Likewise.
4696 * sunrpc/svc_unix.c: Likewise.
4697 * sunrpc/svcauth_des.c: Likewise.
4698 * sunrpc/xcrypt.c: Likewise.
4699 * sunrpc/xdr.c: Likewise.
4700 * sunrpc/xdr_array.c: Likewise.
4701 * sunrpc/xdr_float.c: Likewise.
4702 * sunrpc/xdr_intXX_t.c: Likewise.
4703 * sunrpc/xdr_mem.c: Likewise.
4704 * sunrpc/xdr_rec.c: Likewise.
4705 * sunrpc/xdr_ref.c: Likewise.
4706 * sunrpc/xdr_sizeof.c: Likewise.
4707 * sunrpc/xdr_stdio.c: Likewise.
4708
4709 2012-05-10 Roland McGrath <roland@hack.frob.com>
4710
4711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4712 change. Update copyright years.
4713
4714 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4715
4716 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4717
4718 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4719 Joseph Myers <joseph@codesourcery.com>
4720 Paul Pluzhnikov <ppluzhnikov@google.com>
4721
4722 [BZ #14012]
4723 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4724 requiring rpcgen.
4725 [cross-compiling] (extra-libs): Likewise.
4726 [cross-compiling] (extra-libs-others): Likewise.
4727 [cross-compiling] (librpcsvc-routines): Likewise.
4728 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4729 [cross-compiling] (omit-deps): Likewise.
4730 (sunrpc-CPPFLAGS): New variable.
4731 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4732 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4733 (cross-rpcgen-objs): New variable.
4734 (extra-objs): Append $(cross-rpcgen-objs).
4735 ($(cross-rpcgen-objs)): New rule.
4736 ($(objpfx)cross-rpcgen): Likewise.
4737 (rpcgen-cmd): Define to use $(built-program-file). Expand
4738 comment.
4739 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4740 ($(objpfx)x%.stmp): Likewise.
4741 * sunrpc/proto.h [IS_IN_build] (_): Define.
4742 [IS_IN_build] (_libc_intl_domainname): Likewise.
4743
4744 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4745
4746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4747 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4748 and R_X86_64_TPOFF64.
4749
4750 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4751
4752 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4753 sysdeps/unix/sysv/syscalls.list.
4754 (stime): Likewise.
4755 (utime): Likewise.
4756 * sysdeps/unix/sysv/syscalls.list: Remove file.
4757
4758 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4759
4760 [BZ #3440]
4761 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4762 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4763 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4764 (__LC_IDENTIFICATION): Make these macros useful in #if
4765 expressions, as required by C99.
4766
4767 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4768
4769 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4770 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4771 after this.
4772
4773 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4774
4775 * stdlib/longlong.h: Updated from GCC.
4776
4777 2012-05-09 Andreas Jaeger <aj@suse.de>
4778
4779 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4780 default is first entry.
4781 (run_mode): Set type.
4782 (main): Remove informal message about syslog.
4783 (options): Fix typo.
4784
4785 [BZ #14053]
4786 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4787 to asm.
4788 (lrint): Likewise.
4789 (llrintf): Likewise.
4790 (llrint): Likewise.
4791 (rint): Likewise.
4792 (rintf): Likewise.
4793 (nearbyint): Likewise.
4794 (nearbyintf): Likewise.
4795
4796 2012-05-09 Andreas Jaeger <aj@suse.de>
4797 Pedro Alves <palves@redhat.com>
4798
4799 * nscd/nscd.c (run_mode): Use enum.
4800 (main): Cleanup coding style issue.
4801
4802 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4803 Andreas Jaeger <aj@suse.de>
4804
4805 * nscd/nscd.c (go_background): Replaced with...
4806 (run_mode): ... this.
4807 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4808 (options): Add -F --foreground.
4809 (main): Implement it.
4810 (parse_opt): Parse it.
4811
4812 2012-05-09 Andreas Jaeger <aj@suse.de>
4813
4814 [BZ #14083]
4815 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4816 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4817 -Wconversion warning.
4818 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4819 Likewise.
4820
4821 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4822
4823 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4824 == 0.
4825 (LC_ALL): Use macro-int-constant.
4826 (LC_COLLATE): Likewise.
4827 (LC_CTYPE): Likewise.
4828 (LC_MESSAGES): Likewise.
4829 (LC_MONETARY): Likewise.
4830 (LC_NUMERIC): Likewise.
4831 (LC_TIME): Likewise.
4832 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4833 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4834 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4835 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4836 Specify type.
4837 [C99-based standards] (float_t): Expect type.
4838 [C99-based standards] (double_t): Expect type.
4839 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4840 type.
4841 [C99-based standards] (HUGE_VALL): Likewise.
4842 [C99-based standards] (INFINITY): Likewise.
4843 [C99-based standards] (NAN): Likewise.
4844 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4845 [C99-based standards] (FP_NAN): Likewise.
4846 [C99-based standards] (FP_NORMAL): Likewise.
4847 [C99-based standards] (FP_SUBNORMAL): Likewise.
4848 [C99-based standards] (FP_ZERO): Likewise.
4849 [C99-based standards] (FP_FAST_FMA): Use
4850 optional-macro-int-constant. Specify type. Require == 1.
4851 [C99-based standards] (FP_FAST_FMAF): Likewise.
4852 [C99-based standards] (FP_FAST_FMAL): Likewise.
4853 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4854 [C99-based standards] (FP_ILOGBNAN): Likewise.
4855 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4856 Specify type.
4857 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4858 [C99-based standards] (math_errhandling): Specify type.
4859 [ISO99 || ISO11] (signgam): Do not allow.
4860 [non-C99-based standards] (copysignf): Do not allow.
4861 [non-C99-based standards] (exp2f): Likewise.
4862 [non-C99-based standards] (log2f): Likewise.
4863 [non-C99-based standards] (modff): Allow.
4864 [non-C99-based standards] (erff): Do not allow.
4865 [non-C99-based standards] (erfcf): Likewise.
4866 [non-C99-based standards] (gammaf): Likewise.
4867 [non-C99-based standards] (hypotf): Likewise.
4868 [non-C99-based standards] (j0f): Likewise.
4869 [non-C99-based standards] (j1f): Likewise.
4870 [non-C99-based standards] (jnf): Likewise.
4871 [non-C99-based standards] (lgammaf): Likewise.
4872 [non-C99-based standards] (tgammaf): Likewise.
4873 [non-C99-based standards] (y0f): Likewise.
4874 [non-C99-based standards] (y1f): Likewise.
4875 [non-C99-based standards] (ynf): Likewise.
4876 [non-C99-based standards] (isnanf): Likewise.
4877 [non-C99-based standards] (acoshf): Likewise.
4878 [non-C99-based standards] (asinhf): Likewise.
4879 [non-C99-based standards] (atanhf): Likewise.
4880 [non-C99-based standards] (cbrtf): Likewise.
4881 [non-C99-based standards] (expm1f): Likewise.
4882 [non-C99-based standards] (ilogbf): Likewise.
4883 [non-C99-based standards] (log1pf): Likewise.
4884 [non-C99-based standards] (logbf): Likewise.
4885 [non-C99-based standards] (nextafterf): Likewise.
4886 [non-C99-based standards] (remainderf): Likewise.
4887 [non-C99-based standards] (rintf): Likewise.
4888 [non-C99-based standards] (scalbf): Likewise.
4889 [non-C99-based standards] (copysignl): Likewise.
4890 [non-C99-based standards] (exp2l): Likewise.
4891 [non-C99-based standards] (log2l): Likewise.
4892 [non-C99-based standards] (modfl): Allow.
4893 [non-C99-based standards] (erfl): Do not allow.
4894 [non-C99-based standards] (erfcl): Likewise.
4895 [non-C99-based standards] (gammal): Likewise.
4896 [non-C99-based standards] (hypotl): Likewise.
4897 [non-C99-based standards] (j0l): Likewise.
4898 [non-C99-based standards] (j1l): Likewise.
4899 [non-C99-based standards] (jnl): Likewise.
4900 [non-C99-based standards] (lgammal): Likewise.
4901 [non-C99-based standards] (tgammal): Likewise.
4902 [non-C99-based standards] (y0l): Likewise.
4903 [non-C99-based standards] (y1l): Likewise.
4904 [non-C99-based standards] (ynl): Likewise.
4905 [non-C99-based standards] (isnanl): Likewise.
4906 [non-C99-based standards] (acoshl): Likewise.
4907 [non-C99-based standards] (asinhl): Likewise.
4908 [non-C99-based standards] (atanhl): Likewise.
4909 [non-C99-based standards] (cbrtl): Likewise.
4910 [non-C99-based standards] (expm1l): Likewise.
4911 [non-C99-based standards] (ilogbl): Likewise.
4912 [non-C99-based standards] (log1pl): Likewise.
4913 [non-C99-based standards] (logbl): Likewise.
4914 [non-C99-based standards] (nextafterl): Likewise.
4915 [non-C99-based standards] (remainderl): Likewise.
4916 [non-C99-based standards] (rintl): Likewise.
4917 [non-C99-based standards] (scalbl): Likewise.
4918 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4919 [non-C99-based standards] (FP_*): Do not allow.
4920 [C99-based standards] (FP_*): Change to
4921 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4922 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4923 allow.
4924 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4925 (SIG_ERR): Likewise.
4926 [X/Open-based standards] (SIG_HOLD): Likewise.
4927 (SIG_IGN): Likewise.
4928 (SIGABRT): Use macro-int-constant. Specify type. Require
4929 positive value.
4930 (SIGFPE): Likewise.
4931 (SIGILL): Likewise.
4932 (SIGINT): Likewise.
4933 (SIGSEGV): Likewise.
4934 (SIGTER): Likewise.
4935 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4936 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4937 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4938 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4939 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4940 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4941 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4942 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4943 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4944 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4945 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4946 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4947 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4948 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4949 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4950 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4951 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4952 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4953 [X/Open-based standards] (SIGTRAP): Likewise.
4954 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4955 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4956 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4957 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4958 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4959 allow.
4960
4961 2012-05-08 Ian Wienand <ianw@vmware.com>
4962
4963 [BZ #14080]
4964 * time/tzset.c (__tzset_parse_tz): Update default rules for
4965 daylight time changes in the Energy Policy Act of 2005.
4966
4967 2012-05-09 Andreas Jaeger <aj@suse.de>
4968
4969 [BZ #13983]
4970 * elf/ldconfig.c (parse_conf): Change string to make clear that
4971 ldconfig only issued a warning if ld.so.conf does not exist.
4972
4973 2012-05-08 David S. Miller <davem@davemloft.net>
4974
4975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4976 movxtod instead of popping the value on the stack.
4977
4978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4979
4980 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4981
4982 * config.h.in: Add HAVE_ARM_PCS_VFP.
4983
4984 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4985
4986 [BZ #13979]
4987 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4988 checking but the checks are disabled for any reason.
4989
4990 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4991
4992 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4993 and ELF64_R_TYPE with ELFW(R_TYPE).
4994
4995 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4996
4997 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4998 (ulimit): Likewise.
4999
5000 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5001 (settimeofday): Likewise.
5002
5003 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5004
5005 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5006 a struct th_u2 inside the union, and move tu_block/tu_code into
5007 a new th_u3 union of tu_block/tu_code inside of that. Move
5008 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5009 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5010 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5011 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5012 (th_stuff): Change to th_u1.tu_stuff.
5013 (th_data): Define.
5014 (th_msg): Change to th_u1.th_u2.tu_data.
5015
5016 2012-05-07 David S. Miller <davem@davemloft.net>
5017
5018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5019
5020 [BZ #14074]
5021 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5022 (SETUP_PIC_REG): Use it.
5023 (SETUP_PIC_REG_LEAF): Use it.
5024
5025 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5026
5027 [BZ #13885]
5028 [BZ #13923]
5029 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5030 USE_AS_EXPM1L.
5031 (EXPL_FINITE): Likewise.
5032 (FLDLOG): Likewise.
5033 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5034 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5035 e_expl.S.
5036 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5037 USE_AS_EXPM1L.
5038 (EXPL_FINITE): Likewise.
5039 (FLDLOG): Likewise.
5040 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5041 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5042 e_expl.S.
5043 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5044 test of -max_value argument for long double.
5045 * sysdeps/i386/fpu/libm-test-ulps: Update.
5046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5047
5048 2012-05-06 David S. Miller <davem@davemloft.net>
5049
5050 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5051 quad soft-float symbols whose references which are compiler
5052 generated.
5053 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5054
5055 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5056
5057 [BZ #13884]
5058 [BZ #13914]
5059 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5060 USE_AS_EXP10L.
5061 (EXPL_FINITE): Likewise.
5062 (FLDLOG): Likewise.
5063 (c0): Likewise.
5064 (c1): Likewise.
5065 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5066 Adjust comments for base varying.
5067 (__expl_finite): Change alias to EXPL_FINITE.
5068 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5069 e_expl.S.
5070 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5071 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5072 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5073 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5074 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5075 USE_AS_EXP10L.
5076 (EXPL_FINITE): Likewise.
5077 (FLDLOG): Likewise.
5078 (c0): Likewise.
5079 (c1): Likewise.
5080 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5081 Adjust comments for base varying.
5082 (__expl_finite): Change alias to EXPL_FINITE.
5083 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5084 tests for bugs.
5085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5086
5087 [BZ #14064]
5088 * math/libm-test.inc (check_float_internal): Correct ulp
5089 calculation for subnormal expected results.
5090
5091 2012-05-06 Andreas Jaeger <aj@suse.de>
5092
5093 * Makeconfig (+math-flags): New, set to -frounding-math.
5094 (+cflags): Add +math-flags so that all of glibc gets compiled with
5095 it.
5096
5097 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5098
5099 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5100
5101 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5102 Disable one test.
5103
5104 [BZ #13787]
5105 [BZ #13922]
5106 [BZ #14036]
5107 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5108 (__ieee754_expl): Allow for and saturate large arguments.
5109 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5110 (u_threshold): Likewise.
5111 (__exp): Call __ieee754_exp before checking for overflow and
5112 underflow.
5113 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5114 (u_threshold): Likewise.
5115 (__expf): Call __ieee754_expf before checking for overflow and
5116 underflow.
5117 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5118 (u_threshold): Likewise.
5119 (__expl): Call __ieee754_expl before checking for overflow and
5120 underflow.
5121 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5122 (__ieee754_expl): Allow for and saturate large arguments.
5123 * math/libm-test.inc (exp_test): Add another test. Do not allow
5124 missing overflow exception on overflow.
5125 (expm1_test): Do not allow missing overflow exception on overflow.
5126
5127 * sysdeps/i386/fpu/e_expl.c: Move to ...
5128 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5129 rather than using inline asm.
5130 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5131 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5132 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5133
5134 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5135 (nice): Likewise.
5136 (poll): Likewise.
5137 (signal): Likewise.
5138 (time): Likewise.
5139 (times): Likewise.
5140
5141 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5142
5143 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5144 sysdeps/unix/common/syscalls.list.
5145 (fchmod): Likewise.
5146 (fchown): Likewise.
5147 (ftruncate): Likewise.
5148 (getrusage): Likewise.
5149 (gettimeofday): Likewise.
5150 (setpgid): Likewise.
5151 (setregid): Likewise.
5152 (setreuid): Likewise.
5153 (sigaction): Likewise.
5154 (truncate): Likewise.
5155 (vhangup): Likewise.
5156 * sysdeps/unix/common/syscalls.list: Remove file.
5157 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5158 * sysdeps/unix/sysv/linux/Implies: Likewise.
5159
5160 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5161
5162 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5164 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5165 Moved to ...
5166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5167 Here.
5168 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5169 to ...
5170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5171 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5172 to ...
5173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5174 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5175 to ...
5176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5177 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5178 to ...
5179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5180 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5181 to ...
5182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5183 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5184 to ...
5185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5186 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5187 to ...
5188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5189 Here.
5190 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5191 to ...
5192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5193 Here.
5194 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5195 to ...
5196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5197 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5198 Moved to ...
5199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5200 Here.
5201 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5202 to ...
5203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5204
5205 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5206
5207 * sysdeps/unix/common/bits/dirent.h: Remove file.
5208 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5209
5210 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5211 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5212 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5213 * sysdeps/unix/bsd/isatty.c: Likewise.
5214 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5215 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5216 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5217
5218 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5219
5220 [BZ #13563]
5221 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5222 long double comparison inaccuracies.
5223 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5225
5226 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5227
5228 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5229 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5230
5231 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5232
5233 [BZ #14049]
5234 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5235 nonzero digits before rounding a hex value.
5236 * stdlib/tst-strtod.c (tests): Add another test.
5237
5238 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5239
5240 * sysdeps/s390/fpu/libm-test-ulps: Update.
5241
5242 2012-05-03 Andreas Jaeger <aj@suse.de>
5243
5244 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5245 does not get optimized out.
5246 (malloc_opt_barrier): New.
5247
5248 2012-05-03 Andreas Jaeger <aj@suse.de>
5249 Roland McGrath <roland@hack.frob.com>
5250
5251 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5252 intermediate file deletion.
5253 (generated): Add .symlist files.
5254
5255 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5256
5257 [BZ #13775]
5258 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5259 Redirect under this condition.
5260 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5261 [__USE_GNU] (__dprintf_chk): Not under this condition.
5262 [__USE_GNU] (__vdprintf_chk): Likewise.
5263 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5264 under this condition.
5265 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5266 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5267 [__USE_XOPEN2K8] (vdprintf): Likewise.
5268 [__USE_GNU] (__dprintf_chk): Not under this condition.
5269 [__USE_GNU] (__vdprintf_chk): Likewise.
5270 [__USE_GNU] (dprintf): Likewise.
5271 [__USE_GNU] (vdprintf): Likewise.
5272
5273 2012-05-03 Roland McGrath <roland@hack.frob.com>
5274
5275 * elf/Makefile (common-generated): Set this instead of generated for
5276 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5277 $(all-built-dso)-derived lists.
5278
5279 2012-05-03 Andreas Jaeger <aj@suse.de>
5280
5281 * sysdeps/i386/fpu/libm-test-ulps: Update.
5282
5283 * FAQ: Removed.
5284 * FAQ.in: Likewise.
5285 * scripts/gen-FAQ.pl: Likewise.
5286 * manual/install.texi (Installation): Point to online location of
5287 FAQ.
5288 * Makefile (files-for-dist): Remove FAQ.
5289 (FAQ): Remove.
5290
5291 2012-05-02 Allan McRae <allan@archlinux.org>
5292
5293 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5294 (LDFLAGS-reldepmod5.so): Likewise.
5295 (LDFLAGS-reldep6mod1.so): Likewise.
5296 (LDFLAGS-reldep6mod4.so): Likewise.
5297 (LDFLAGS-reldep8mod3.so): Likewise.
5298 (LDFLAGS-unload4mod1.so): Likewise.
5299 (LDFLAGS-unload4mod2.so): Likewise.
5300 (LDFLAGS-tst-initorder): Likewise.
5301 (LDFLAGS-tst-initordera2.so): Likewise.
5302 (LDFLAGS-tst-initordera3.so): Likewise.
5303 (LDFLAGS-tst-initordera4.so): Likewise.
5304 (LDFLAGS-tst-initorderb2.so): Likewise.
5305 (LDFLAGS-noload): Likewise.
5306 (LDFLAGS-next): Likewise.
5307 (LDFLAGS-order2mod1.so): Likewise.
5308 (LDFLAGS-order2mod2.so): Likewise.
5309 (LDFLAGS-tst-initorder2): Likewise.
5310 (LDFLAGS-tst-initorder2a.so): Likewise.
5311 (LDFLAGS-tst-initorder2b.so): Likewise.
5312 (LDFLAGS-tst-initorder2c.so): Likewise.
5313 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5314
5315 2012-05-02 David S. Miller <davem@davemloft.net>
5316
5317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5318
5319 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5320
5321 [BZ #14055]
5322 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5323
5324 2012-05-02 Andreas Jaeger <aj@suse.de>
5325
5326 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5327 since we manipulate rounding mode.
5328 (CPPFLAGS-test-idouble.c): Likewise.
5329 (CPPFLAGS-test-ifloat.c): Likewise.
5330 (CFLAGS-test-ldouble.c): Likewise.
5331 (CFLAGS-test-double.c): Likewise.
5332 (CFLAGS-test-float.c): Likewise.
5333 (CFLAGS-test-misc.c): Likewise.
5334 (CFLAGS-test-test-fenv.c): Likewise.
5335
5336 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5337
5338 [BZ #2550]
5339 [BZ #2570]
5340 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5341 comparisons to determine direction to adjust input.
5342
5343 2012-05-01 Roland McGrath <roland@hack.frob.com>
5344
5345 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5346 output to the target.
5347
5348 * scripts/localplt.awk: New file.
5349 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5350 (check-localplt-CFLAGS): Variable removed.
5351 ($(all-built-dso:=.jmprel)): New static pattern rule.
5352 (generated): Add those targets.
5353 (localplt-built-dso): New variable.
5354 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5355
5356 * elf/check-localplt.c: File removed.
5357
5358 * scripts/check-execstack.awk: New file.
5359 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5360 (check-execstack-CFLAGS): Variable removed.
5361 ($(objpfx)check-execstack.h): Target removed.
5362 ($(objpfx)execstack-default): New target.
5363 (generated): Add that instead of check-execstack.h.
5364 ($(all-built-dso:=.phdr)): New static pattern rule.
5365 (generated): Add those targets.
5366 * elf/check-execstack.c: File removed.
5367
5368 * scripts/check-textrel.awk: New file.
5369 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5370 (check-textrel-CFLAGS): Variable removed.
5371 (all-built-dso): Use := to define.o
5372 ($(all-built-dso:=.dyn)): New static pattern rule.
5373 (generated): Add those targets.
5374 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5375 * config.make.in (READELF): New substituted variable.
5376 * elf/check-textrel.c: File removed.
5377
5378 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5379
5380 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5381 allow.
5382 * conform/data/ctype.h-data [C99-based standards] (isblank):
5383 Expect function.
5384 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5385 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5386 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5387 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5388 Specify type. Require positive value.
5389 (EILSEQ): Likewise.
5390 (ERANGE): Likewise.
5391 [ISO || POSIX] (EILSEQ): Do not expect.
5392 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5393 Specify type. Require positive value.
5394 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5395 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5396 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5397 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5398 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5399 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5400 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5401 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5402 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5403 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5404 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5405 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5406 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5407 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5408 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5409 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5410 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5411 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5412 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5413 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5414 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5415 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5416 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5417 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5418 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5419 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5420 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5421 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5422 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5423 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5424 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5425 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5426 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5427 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5428 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5429 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5430 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5431 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5432 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5433 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5434 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5435 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5436 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5437 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5438 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5439 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5440 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5441 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5442 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5443 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5444 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5445 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5446 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5447 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5448 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5449 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5450 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5451 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5452 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5453 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5454 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5455 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5456 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5457 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5458 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5459 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5460 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5461 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5462 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5463 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5464 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5465 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5466 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5467 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5468 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5469 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5470 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5471 Require >= 2.
5472 (FLT_ROUNDS): Expect as macro, not constant.
5473 (FLT_MANT_DIG): Use macro-int-constant.
5474 (DBL_MANT_DIG): Likewise.
5475 (LDBL_MANT_DIG): Likewise.
5476 (FLT_DIG): Likewise.
5477 (DBL_DIG): Likewise.
5478 (LDBL_DIG): Likewise.
5479 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5480 (DBL_MIN_EXP): Likewise.
5481 (LDBL_MIN_EXP): Likewise.
5482 (FLT_MAX_EXP): Use macro-int-constant.
5483 (DBL_MAX_EXP): Likewise.
5484 (LDBL_MAX_EXP): Likewise.
5485 (FLT_MAX_10_EXP): Likewise.
5486 (DBL_MAX_10_EXP): Likewise.
5487 (LDBL_MAX_10_EXP): Likewise.
5488 (FLT_MAX): Use macro-constant.
5489 (DBL_MAX): Likewise.
5490 (LDBL_MAX): Likewise.
5491 (FLT_EPSILON): Use macro-constant. Give upper bound.
5492 (DBL_EPSILON): Likewise.
5493 (LDBL_EPSILON): Likewise.
5494 (FLT_MIN): Likewise.
5495 (DBL_MIN): Likewise.
5496 (LDBL_MIN): Likewise.
5497 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5498 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5499 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5500 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5501 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5502 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5503 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5504 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5505 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5506 [ISO11] (FLT_TRUE_MIN): Likewise.
5507 [ISO11] (LDBL_TRUE_MIN): Likewise.
5508 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5509 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5510 (SCHAR_MIN): Use macro-int-constant. Specify type.
5511 (SCHAR_MAX): Likewise.
5512 (UCHAR_MAX): Likewise.
5513 (CHAR_MIN): Likewise.
5514 (CHAR_MAX): Likewise.
5515 (MB_LEN_MAX): Use macro-int-constant.
5516 (SHRT_MIN): Use macro-int-constant. Specify type.
5517 (SHRT_MAX): Likewise.
5518 (USHRT_MAX): Likewise.
5519 (INT_MAX): Likewise.
5520 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5521 bound negative.
5522 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5523 bound with "U".
5524 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5525 bound with "L".
5526 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5527 bound negative. Suffix upper bound with "L".
5528 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5529 bound with "UL".
5530 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5531 Specify type.
5532 [C99-based standards] (LLONG_MAX): Likewise.
5533 [C99-based standards] (ULLONG_MAX): Likewise.
5534 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5535 == 0.
5536 [ISO11] (max_align_t): Require type.
5537 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5538
5539 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5540 from $CFLAGS, without defining away __attribute__ calls.
5541 (checknamespace): Use $CFLAGS_namespace.
5542
5543 * conform/conformtest.pl (@keywords): Only include C99 keywords
5544 for standards based on C99 or C11.
5545
5546 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5547 Disable tests.
5548 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5549 UNIX98]: Likewise.
5550
5551 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5552 usability of symbols in #if.
5553
5554 * conform/conformtest.pl: If macro or constant types start
5555 "promoted:", expect the symbol to be of the following type
5556 promoted by the integer promotions.
5557
5558 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5559 in one place. Also handle "macro-constant".
5560
5561 * conform/conformtest.pl: Only accept expected macro values with
5562 "==". Parse all "macro" lines in one place.
5563 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5564
5565 * conform/conformtest.pl: Handle braced types on "constant" lines
5566 instead of handling "typed-constant".
5567 * conform/data/signal.h-data: Use "constant" instead of
5568 "typed-constant".
5569
5570 * conform/conformtest.pl: Handle "optional-" at start of lines in
5571 one place rather than duplicating several cases. Handle each
5572 format of "macro" line with initial "optional-".
5573
5574 * conform/conformtest.pl: Only accept expected constant or
5575 optional-constant values with "==". Parse all "constant" lines in
5576 one place. Parse all "optional-constant" lines in one place.
5577 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5578 * conform/data/fmtmsg.h-data: Likewise.
5579 * conform/data/netinet/in.h-data: Likewise.
5580 * conform/data/tar.h-data: Likewise.
5581 * conform/data/limits.h-data: Use "==" form on "constant" and
5582 "optional-constant" lines.
5583
5584 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5585 Use -std=c99 for XOPEN2K.
5586 (@knownproblems): Remove.
5587 (newtoken): Don't check %isknown.
5588
5589 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5590 Do not expect macro.
5591 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5592 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5593 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5594 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5595 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5596 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5597 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5598 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5599 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5600 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5601 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5602 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5603 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5604 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5605 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5606 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5607 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5608 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5609 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5610 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5611 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5612 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5614 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5615 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5616 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5617 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5618 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5619 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5620 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5621 [XPG3] (acosh): Likewise.
5622 [XPG3] (asinh): Likewise.
5623 [XPG3] (atanh): Likewise.
5624 [XPG3] (cbrt): Likewise.
5625 [XPG3] (expm1): Likewise.
5626 [XPG3] (ilogb): Likewise.
5627 [XPG3] (log1p): Likewise.
5628 [XPG3] (logb): Likewise.
5629 [XPG3] (nextafter): Likewise.
5630 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5632 [XPG3] (remainder): Likewise.
5633 [XPG3] (rint): Likewise.
5634 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5635 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5636 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5637 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5638 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5639 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5640 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5641 [UNIX98 || XOPEN2K] (scalb): Expect.
5642 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5643 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5644 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5645 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5646 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5647 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5648 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5649 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5650 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5651 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5652 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5653 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5654 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5655 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5656 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5657 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5658 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5659 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5660 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5661 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5662 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5663 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5664 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5665 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5666 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5667 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5668 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5669 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5670 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5671 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5672 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5673 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5674 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5676 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5677 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5678 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5679 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5680 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5682 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5683 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5685 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5686 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5687 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5688 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5689 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5692 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5693 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5694 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5695 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5696 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5697 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5698 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5701 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5702 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5711 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5712 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5719 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5720 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5721 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5722 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5723 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5724 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5725 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5726 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5727 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5729 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5730 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5731 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5732 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5733 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5734 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5735 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5736 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5737 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5738 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5739 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5740 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5741 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5742 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5743 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5750 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5751 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5755 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5756 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5766 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5767 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5768 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5769 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5771 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5772 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5773 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5774 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5775 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5776 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5777 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5778 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5779
5780 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5781 _XOPEN_SOURCE_EXTENDED for XPG4.
5782
5783 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5784
5785 * Makeconfig (localtime): Remove variable.
5786 (inst_localtime-file): Likewise.
5787
5788 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5789
5790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5791 Update.
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5793 Update.
5794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5795 Update.
5796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5797 Update.
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5799 Update.
5800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5801 Update.
5802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5803 Update.
5804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5805 Update.
5806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5807 Update.
5808
5809 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5810
5811 [BZ #2550]
5812 [BZ #2570]
5813 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5814 comparisons to determine direction to adjust input.
5815 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5816 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5817 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5818 Likewise.
5819 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5820 Likewise.
5821 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5822 Likewise.
5823 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5824 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5825 Likewise.
5826 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5827 Likewise.
5828 * math/libm-test.inc (nexttoward_test): Add more tests.
5829
5830 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5831
5832 [BZ #14040]
5833 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5834 in version GLIBC_2.1, not GLIBC_2.0.
5835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5836 Likewise.
5837
5838 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5839
5840 [BZ #13942]
5841 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5842 (1 - x) * (1 + x).
5843 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5844 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5845 * math/libm-test.inc (acos_test): Add more tests.
5846 (asin_test): Likewise.
5847 * sysdeps/i386/fpu/libm-test-ulps: Update.
5848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5849
5850 [BZ #14034]
5851 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5852 of square root.
5853 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5854 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5855 * math/libm-test.inc (acos_test_tonearest): New function.
5856 (acos_test_towardzero): Likewise.
5857 (acos_test_downward): Likewise.
5858 (acos_test_upward): Likewise.
5859 (asin_test_tonearest): Likewise.
5860 (asin_test_towardzero): Likewise.
5861 (asin_test_downward): Likewise.
5862 (asin_test_upward): Likewise.
5863 (main): Call the new functions.
5864 * sysdeps/i386/fpu/libm-test-ulps: Update.
5865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5866
5867 [BZ #13884]
5868 [BZ #13924]
5869 * math/e_exp10.c: Include <float.h>.
5870 (__ieee754_exp10): Handle underflow here rather than multiplying
5871 large negative argument by M_LN10.
5872 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5873 of __ieee754_expf.
5874 * math/e_exp10l.c: Include <float.h>.
5875 (__ieee754_exp10l): Handle underflow here rather than multiplying
5876 large negative argument by M_LN10l.
5877 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5878 spurious overflow exception on underflow.
5879
5880 2012-04-29 Marek Polacek <polacek@redhat.com>
5881
5882 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5883 (__fortify_function): New macro.
5884 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5885 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5886 __extern_always_inline.
5887 * libio/bits/stdio2.h: Likewise.
5888 * libio/bits/stdio.h: Likewise.
5889 * string/string.h: Likewise.
5890 * string/bits/string3.h: Likewise.
5891 * include/stdio.h: Likewise.
5892 * stdlib/bits/stdlib.h: Likewise.
5893 * stdlib/stdlib.h: Likewise.
5894 * rt/bits/mqueue2.h: Likewise.
5895 * rt/mqueue.h: Likewise.
5896 * posix/bits/unistd.h: Likewise.
5897 * posix/unistd.h: Likewise.
5898 * io/bits/poll2.h: Likewise.
5899 * io/bits/fcntl2.h: Likewise.
5900 * io/fcntl.h: Likewise.
5901 * io/sys/poll.h: Likewise.
5902 * misc/bits/syslog.h: Likewise.
5903 * misc/bits/syslog-ldbl.h: Likewise.
5904 * misc/sys/syslog.h: Likewise.
5905 * socket/bits/socket2.h: Likewise.
5906 * socket/sys/socket.h: Likewise.
5907 * debug/tst-chk1.c: Likewise.
5908 * wcsmbs/bits/wchar2.h: Likewise.
5909 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5910 * wcsmbs/wchar.h: Likewise.
5911
5912 2012-04-29 Andreas Jaeger <aj@suse.de>
5913
5914 * Makerules (tests): Remove enable-check-abi protection.
5915 (check-abi-warn): Remove.
5916 (check-abi-%): Remove check-abi-warn usage.
5917
5918 * configure.in: Remove check-abi configure option.
5919 * configure: Regenerated.
5920 * config.make.in (enable-check-abi): Remove.
5921
5922 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5923
5924 [BZ #14033]
5925 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5926 double functions to double *_finite functions.
5927
5928 [BZ #13941]
5929 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5930 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5931 LDBL_MIN_EXP.
5932 * stdio-common/Makefile (tests): Add tst-sprintf3.
5933 * stdio-common/tst-sprintf3.c: New file.
5934
5935 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5936 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5937
5938 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5939
5940 * conform/conformtest.pl: Remove duplicate typed-constant
5941 handling.
5942
5943 2012-04-28 David S. Miller <davem@davemloft.net>
5944
5945 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5946 (check-abi-%): Remove AWK script prerequisite and explicit
5947 abilist directory.
5948 (check-abi): Rewrite to just diff the symlist with the abilist.
5949 (config-tls, config-abi-config): Delete, no longer used.
5950 (update-abi-%): Remove AWK script and explicit abilist directory.
5951 (update-abi): Rewrite to simply compare and conditionally copy the
5952 symlist and the sysdep abilist file. Remove update-abi-config
5953 checks.
5954 * abilist/ld.abilist: Remove.
5955 * abilist/libBrokenLocale.abilist: Remove.
5956 * abilist/libanl.abilist: Remove.
5957 * abilist/libcrypt.abilist: Remove.
5958 * abilist/libdl.abilist: Remove.
5959 * abilist/librt.abilist: Remove.
5960 * abilist/libthread_db.abilist: Remove.
5961 * abilist/libutil.abilist: Remove.
5962 * scripts/extract-abilist.awk: Remove.
5963 * scripts/merge-abilist.awk: Remove.
5964 * sysdeps/generic/libcidn.abilist: New file.
5965 * sysdeps/generic/libnss_compat.abilist: New file.
5966 * sysdeps/generic/libnss_db.abilist: New file.
5967 * sysdeps/generic/libnss_dns.abilist: New file.
5968 * sysdeps/generic/libnss_files.abilist: New file.
5969 * sysdeps/generic/libnss_hesiod.abilist: New file.
5970 * sysdeps/generic/libnss_nis.abilist: New file.
5971 * sysdeps/generic/libnss_nisplus.abilist: New file.
5972 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5973 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5974 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5975 file.
5976 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5977 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5978 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5979 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5980 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5981 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5982 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5983 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5984 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5985 file.
5986 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5987 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5988 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5989 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5990 file.
5991 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5992 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5993 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5994 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5995 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5996 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5997 file.
5998 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5999 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6000 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6001 file.
6002 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6004 New file.
6005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6006 New file.
6007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6008 New file.
6009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6010 New file.
6011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6012 New file.
6013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6014 New file.
6015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6016 New file.
6017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6018 New file.
6019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6020 New file.
6021 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6022 New file.
6023 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6024 New file.
6025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6026 New file.
6027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6028 New file.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6030 file.
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6032 New file.
6033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6034 New file.
6035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6036 file.
6037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6038 New file.
6039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6040 New file.
6041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6042 file.
6043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6044 New file.
6045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6046 New file.
6047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6048 New file.
6049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6050 New file.
6051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6052 New file.
6053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6054 New file.
6055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6057 file.
6058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6059 New file.
6060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6061 file.
6062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6063 file.
6064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6065 file.
6066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6067 file.
6068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6069 file.
6070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6071 New file.
6072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6073 file.
6074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6075 file.
6076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6077 New file.
6078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6079 file.
6080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6082 file.
6083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6084 New file.
6085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6086 file.
6087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6088 file.
6089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6090 file.
6091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6092 file.
6093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6094 file.
6095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6096 New file.
6097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6098 file.
6099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6100 file.
6101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6102 New file.
6103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6104 file.
6105 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6106 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6107 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6108 file.
6109 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6110 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6111 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6112 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6113 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6114 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6115 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6116 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6117 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6118 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6121 file.
6122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6123 New file.
6124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6125 file.
6126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6127 file.
6128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6129 file.
6130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6131 file.
6132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6133 file.
6134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6135 New file.
6136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6137 New file.
6138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6139 file.
6140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6141 New file.
6142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6143 file.
6144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6146 file.
6147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6148 New file.
6149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6150 file.
6151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6152 file.
6153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6154 file.
6155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6156 file.
6157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6158 file.
6159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6160 New file.
6161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6162 New file.
6163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6164 file.
6165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6166 New file.
6167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6168 file.
6169
6170 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6171
6172 * conform/conformtest.pl: Fix typo in handling typed-constant from
6173 allow-header.
6174
6175 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6176
6177 * README: Cut down references to pre-2.6 Linux kernels and
6178 Linuxthreads. Update lists of configurations in libc and ports
6179 and sort alphabetically. Say "or newer" with Linux kernel version
6180 requirements.
6181
6182 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6183
6184 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6185
6186 [BZ #887]
6187 * math/libm-test.inc (logb_test_downward): New test to expose
6188 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6189 rounding mode.
6190
6191 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6192
6193 [BZ #14027]
6194 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6195 to be done.
6196 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6197 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6198
6199 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6200
6201 * sysdeps/unix/i386/brk.S: Remove file.
6202 * sysdeps/unix/i386/dl-brk.S: Likewise.
6203 * sysdeps/unix/i386/pipe.S: Likewise.
6204 * sysdeps/unix/i386/sigreturn.S: Likewise.
6205 * sysdeps/unix/i386/syscall.S: Likewise.
6206 * sysdeps/unix/i386/vfork.S: Likewise.
6207 * sysdeps/unix/i386/wait.S: Likewise.
6208
6209 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6210 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6211
6212 * configure.in (arm*-none*): Do not allow without
6213 --enable-hacker-mode.
6214 (netbsd*): Remove case setting base_os.
6215 (386bsd*): Likewise.
6216 (freebsd*): Likewise.
6217 (bsdi*): Likewise.
6218 (osf*): Likewise.
6219 (sunos*): Likewise.
6220 (ultrix*): Likewise.
6221 (newsos*): Likewise.
6222 (dynix*): Likewise.
6223 (*bsd*): Likewise.
6224 (sysv*): Likewise.
6225 (isc*): Likewise.
6226 (esix*): Likewise.
6227 (sco*): Likewise.
6228 (minix*): Likewise.
6229 (irix4*): Likewise.
6230 (irix6*): Likewise.
6231 (solaris[2-9]*): Likewise.
6232 (none): Likewise.
6233 * configure: Regenerated.
6234
6235 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6236
6237 [BZ #11521]
6238 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6239 overflow or cancellation in calculating denominator.
6240 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6241 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6242 down expression to avoid unexpected rounding in newer GCCs.
6243 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6244
6245 2012-04-26 David S. Miller <davem@davemloft.net>
6246
6247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6248 long-double compat symbols.
6249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6262
6263 2012-04-25 David S. Miller <davem@davemloft.net>
6264
6265 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6266 HWCAP_* values only after the memory barriers have been defined.
6267 (atomic_full_barrier): Define.
6268 (atomic_read_barrier): Define.
6269 (atomic_write_barrier): Define.
6270
6271 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6272
6273 * shlib-versions: Add libgcc_s version information.
6274 * sysdeps/generic/libgcc_s.h: Remove.
6275 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6276 libgcc_s.h.
6277 * sysdeps/gnu/unwind-resume.c: Likewise.
6278 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6279
6280 2012-04-25 David S. Miller <davem@davemloft.net>
6281
6282 * sysdeps/unix/sparc/brk.S: Delete.
6283 * sysdeps/unix/sparc/dl-brk.S: Delete.
6284 * sysdeps/unix/sparc/pipe.S: Delete.
6285 * sysdeps/unix/sparc/sysdep.S: Delete.
6286 * sysdeps/unix/sparc/sysdep.h: Delete.
6287 * sysdeps/unix/sparc/vfork.S: Delete.
6288 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6289 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6290 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6291 ret_ERRVAL, r0, r1, MOVE): Define.
6292 (JUMPTARGET): Remove.
6293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6294 sysdeps/unix/sparc/sysdep.h
6295 (ENTRY, END): Remove.
6296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6297
6298 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6299
6300 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6301 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6302 -DIS_IN_build.
6303
6304 * timezone/README: Update upstream location and email address for
6305 tzcode and tzdata.
6306 * timezone/zdump.c: Update from tzcode 2012b.
6307 * timezone/zic.c: Likewise.
6308
6309 * configure.in (libc_cv_as_needed): Remove test.
6310 * configure: Regenerated.
6311 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6312 conditional definition.
6313 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6314 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6315 * config.make.in (have-as-needed): Remove variable.
6316
6317 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6318 Paul Pluzhnikov <ppluzhnikov@google.com>
6319
6320 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6321 strings correctly.
6322
6323 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6324
6325 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6326 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6327 * sysdeps/sh/strlen.S: Likewise.
6328
6329 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6330
6331 * sysdeps/unix/fork.S: Remove file.
6332 * sysdeps/unix/i386/fork.S: Likewise.
6333 * sysdeps/unix/sparc/fork.S: Likewise.
6334
6335 * sysdeps/unix/system.c: Remove file.
6336 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6337
6338 * sysdeps/unix/getegid.S: Remove file.
6339 * sysdeps/unix/geteuid.S: Likewise.
6340
6341 2012-04-24 Roland McGrath <roland@hack.frob.com>
6342
6343 * scripts/check-localplt.awk: New file.
6344 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6345 of diff.
6346 * scripts/data/localplt-generic.data: Add a comment.
6347
6348 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6349 NODE when __dir_mkfile failed.
6350 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6351 Reported by Ludovic Courtès <ludo@gnu.org>.
6352
6353 2012-04-24 Andreas Jaeger <aj@suse.de>
6354
6355 * Makerules (common-clean): Also remove gen-as-const-headers
6356 files.
6357
6358 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6359
6360 * Makerules (native-compile): Do not change working directory for
6361 build. Use $(OUTPUT_OPTION) in command.
6362 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6363
6364 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6365
6366 [BZ #13886]
6367 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6368 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6369 * math/libm-test.inc (floor_test): Add more tests.
6370 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6371
6372 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6373
6374 * sysdeps/unix/getdents.c: Remove file.
6375 * sysdeps/unix/sysv/getdents.c: Likewise.
6376 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6377
6378 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6379 sysdeps/unix/mman/syscalls.list.
6380 (mmap): Likewise.
6381 (mprotect): Likewise.
6382 (msync): Likewise.
6383 (munmap): Likewise.
6384 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6385 * sysdeps/unix/mman/syscalls.list: Remove.
6386 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6387
6388 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6389 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6390 * configure: Regenerated.
6391 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6392 $(libgcc_s_suffix).
6393 * config.make.in (libgcc_s_suffix): Remove variable.
6394
6395 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6396
6397 * sysdeps/unix/sysv/gethostname.c: Move to ...
6398 * sysdeps/posix/gethostname.c: ... here.
6399
6400 * sysdeps/unix/execve.S: Remove file.
6401
6402 * sysdeps/unix/_exit.S: Remove file.
6403
6404 2012-04-23 Andreas Jaeger <aj@suse.de>
6405
6406 [BZ #13739]
6407 * manual/Makefile: Remove make dist support, there's no
6408 need for a stand-alone documentation tar ball.
6409 (TEXI2DVI): Define always, it's not in Makeconfig.
6410 (dist): Removed.
6411 (tar-it): Removed.
6412 (edition): Removed.
6413 (glibc-doc-$(edition).tar): Removed
6414 (%.Z): Removed.
6415 (%.gz): Removed.
6416 (%.uu): Removed.
6417 (ETAGS): Remove, it's in Makeconfig.
6418 (move-if-change): Remove, it's in Makeconfig.
6419
6420 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6421
6422 [BZ #13970]
6423 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6424 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6425 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6426 (strtod_l, strtof_l, strtold_l): Remove __wur.
6427 It is not necessarily an error to ignore strtol's return value.
6428 One can reliably look at the stored endptr to decide whether
6429 the number had valid syntax.
6430
6431 2012-04-21 Andreas Jaeger <aj@suse.de>
6432
6433 [BZ #13739]
6434 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6435
6436 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6437
6438 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6439 * sysdeps/unix/sysv/Versions: Remove file.
6440
6441 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6442
6443 [BZ #13927]
6444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6445
6446 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6447
6448 [BZ #7064]
6449 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6450 version from __vm86.
6451
6452 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6453
6454 * sysdeps/unix/common/lxstat.c: Remove file.
6455 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6456
6457 * sysdeps/unix/sysv/Makefile: Remove file.
6458
6459 * sysdeps/unix/sysv/direct.h: Remove file.
6460
6461 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6462 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6463 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6464 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6465 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6466 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6467 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6468
6469 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6470
6471 * sysdeps/unix/xmknod.c: Remove file.
6472 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6473
6474 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6475
6476 * sysdeps/unix/sysv/i386/time.S: Remove file.
6477
6478 * sysdeps/unix/fxstat.c: Remove file.
6479 * sysdeps/unix/xstat.c: Likewise.
6480 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6481
6482 * sysdeps/unix/sysv/sigaction.c: Remove file.
6483
6484 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6485 (sysdep_headers): Remove variable.
6486 [termio.h not in sysdep_headers] (generated): Likewise.
6487 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6488 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6489 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6490 * sysdeps/unix/sysv/tcflow.c: Likewise.
6491 * sysdeps/unix/sysv/tcflush.c: Likewise.
6492 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6493 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6494 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6495 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6496 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6497
6498 * sysdeps/unix/siglist.c: Remove file.
6499
6500 * sysdeps/unix/getppid.S: Remove file.
6501
6502 * sysdeps/unix/mkdir.c: Remove file.
6503 * sysdeps/unix/rmdir.c: Likewise.
6504
6505 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6506
6507 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6508 ERR_MAX value.
6509 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6510 errlist-compat value.
6511
6512 2012-04-18 David S. Miller <davem@davemloft.net>
6513
6514 * sysdeps/generic/memcopy.h (reg_char): Delete.
6515 * debug/strcat_chk.c: Use char, not reg_char.
6516 * debug/strcpy_chk.c: Likewise.
6517 * debug/strncat_chk.c: Likewise.
6518 * debug/strncpy_chk.c: Likewise.
6519 * string/memchr.c: Likewise.
6520 * string/memrchr.c: Likewise.
6521 * string/rawmemchr.c: Likewise.
6522 * string/strcat.c: Likewise.
6523 * string/strchr.c: Likewise.
6524 * string/strchrnul.c: Likewise.
6525 * string/strcmp.c: Likewise.
6526 * string/strcpy.c: Likewise.
6527 * string/strncat.c: Likewise.
6528 * string/strncmp.c: Likewise.
6529 * string/strncpy.c: Likewise.
6530
6531 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6532
6533 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6534 __builtin_memcopy is called when src and dest ranges are known to not
6535 overlap.
6536
6537 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6538
6539 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6540 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6541 fwd_align_merge macro call.
6542 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6543 bwd_align_merge macro call.
6544 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6545
6546 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6547
6548 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6549 bwd_align_merge macros.
6550 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6551 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6552 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6553
6554 2012-04-18 David S. Miller <davem@davemloft.net>
6555
6556 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6557
6558 2012-04-18 Andreas Jaeger <aj@suse.de>
6559
6560 [BZ# 6794]
6561 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6562 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6563 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6564
6565 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6566 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6567 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6568
6569 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6570 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6571 Adjust for changed ldbl-128 files.
6572
6573 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6574 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6575 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6576
6577 2012-04-17 David S. Miller <davem@davemloft.net>
6578
6579 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6580
6581 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6582
6583 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6584 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6585 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6586 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6587 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6588 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6589
6590 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6591
6592 [BZ #6794]
6593 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6594 * math/libm-test.inc: Add ilogb errno and exception tests.
6595 * math/w_ilogb.c: New file: ilogb wrapper.
6596 * math/w_ilogbf.c: New file: ilogbf wrapper.
6597 * math/w_ilogbl.c: New file: ilogbl wrapper.
6598 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6599 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6600 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6601 exception being thrown with 0.0 as argument.
6602 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6603 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6604 exception being thrown with 0.0 as argument.
6605 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6606 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6607 exception being thrown with 0.0 as argument.
6608 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6609 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6610 exception being thrown with 0.0 as argument.
6611 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6612 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6613 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6614 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6615 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6616 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6617 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6618 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6619 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6620
6621 2012-04-17 Petr Baudis <pasky@ucw.cz>
6622
6623 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6624 with altivec.
6625
6626 2012-04-16 Marek Polacek <polacek@redhat.com>
6627
6628 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6629
6630 2012-04-16 Marek Polacek <polacek@redhat.com>
6631
6632 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6633 operands of fdivp instruction.
6634
6635 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6636
6637 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6638 * elf/tst-auditmod3b.c: Likewise.
6639 * elf/tst-auditmod4b.c: Likewise.
6640 * elf/tst-auditmod5b.c: Likewise.
6641 * elf/tst-auditmod6b.c: Likewise.
6642 * elf/tst-auditmod6c.c: Likewise.
6643 * elf/tst-auditmod7b.c: Likewise.
6644 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6645 * sysdeps/x86_64/preconfigure.in: Likewise.
6646 * sysdeps/x86_64/preconfigure: Regenerated.
6647
6648 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6649
6650 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6651 __ILP32__.
6652
6653 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6654
6655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6656 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6657
6658 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6659
6660 [BZ #13973]
6661 * locale/iso-639.def: Fix gl language name. Spotted by
6662 Yaron Shahrabani.
6663
6664 2012-04-12 Roland McGrath <roland@hack.frob.com>
6665
6666 [BZ #2074]
6667 * libio/libio.h (__io_write_fn): Update comment.
6668
6669 2012-04-12 Petr Baudis <pasky@ucw.cz>
6670
6671 [BZ #2074]
6672 * stdio.texi (Hook Functions): The user provided writer function
6673 is not allowed to return -1.
6674
6675 2012-04-11 David S. Miller <davem@davemloft.net>
6676
6677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6678
6679 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6680
6681 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6682 Add a leading slash to rtkaio.
6683
6684 2012-04-11 Jim Meyering <meyering@redhat.com>
6685
6686 [BZ #11959]
6687 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6688 It is not necessarily an error to ignore fwrite's return
6689 value. One can reliably use ferror to test for errors after
6690 the fact.
6691
6692 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6693
6694 * bits/types.h (__snseconds_t): New type.
6695 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6696
6697 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6698 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6699 (__SNSECONDS_T_TYPE): Likewise.
6700 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6701 (__SNSECONDS_T_TYPE): Likewise.
6702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6703 (__SNSECONDS_T_TYPE): Likewise.
6704
6705 2012-04-10 Andreas Jaeger <aj@suse.de>
6706
6707 [BZ #2636]
6708 * manual/time.texi (Processor Time): Return type of times is
6709 elapsed real time since an arbitrary point in the past.
6710 (CPU Time): Move CLK_TCK from here...
6711 (Processor Time): ...to here. Correct description.
6712 * manual/conf.texi (Constants for Sysconf): Correct description of
6713 _SC_CLK_TCK.
6714
6715 2012-04-10 David S. Miller <davem@davemloft.net>
6716
6717 [BZ #13967]
6718 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6719 where the is a gap between DT_REL(A) and DT_JMPREL.
6720
6721 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6722
6723 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6724 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6725 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6726
6727 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6728
6729 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6730 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6731 (dl_main): Handle --inhibit-cache.
6732 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6733 _dl_inhibit_cache.
6734 * elf/dl-load.c (_dl_map_object): Use it.
6735 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6736
6737 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6738
6739 [BZ #13872]
6740 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6741 (__ieee754_powl): Saturate large exponents rather than testing for
6742 overflow of y*log2(x).
6743 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6744 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6745 exceptions.
6746
6747 [BZ #11521]
6748 * math/s_ctan.c: Include <float.h>.
6749 (__ctan): Avoid internal overflow or cancellation in calculating
6750 denominator.
6751 * math/s_ctanf.c: Likewise.
6752 * math/s_ctanl.c: Likewise.
6753 * math/s_ctanh.c: Likewise.
6754 * math/s_ctanhf.c: Likewise.
6755 * math/s_ctanhl.c: Likewise.
6756 * math/libm-test.inc (ctan_test): Add more tests.
6757 (ctanh_test): Likewise.
6758 * sysdeps/i386/fpu/libm-test-ulps: Update.
6759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6760
6761 2012-04-09 Andreas Jaeger <aj@suse.de>
6762
6763 [BZ #6894]
6764 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6765 is an optional BSD extension.
6766
6767 [BZ #10254]
6768 * manual/stdio.texi (Opening Streams): Document additional fopen
6769 parameters.
6770
6771 2012-04-09 Roland McGrath <roland@hack.frob.com>
6772
6773 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6774 %eax without telling the compiler.
6775
6776 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6777
6778 [BZ # 13963]
6779 * manual/install.texi: Use sourceware.org.
6780
6781 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6782
6783 [BZ #13873]
6784 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6785 (__ieee754_pow): Generate overflow and underflow using huge*huge
6786 and tiny*tiny rather than just returning constant infinity or zero
6787 for large exponents.
6788 * math/libm-test.inc (pow_test): Require overflow exceptions for
6789 applicable cases of large exponents.
6790
6791 [BZ #706]
6792 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6793 (__ieee754_pow): Use iterative multiplication algorithm only for
6794 integer exponents with absolute value below 1024. Check for odd
6795 integer exponents when using algorithm for real exponents.
6796 * math/libm-test.inc (pow_test): Add more tests.
6797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6798
6799 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6800
6801 [BZ #13705]
6802 * math/libm-test.inc (exp_test): Do not allow overflow exception
6803 on underflow test.
6804
6805 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6806
6807 [BZ #13705]
6808 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6809 instead of __kernel_standard_f.
6810
6811 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6812
6813 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6814 * sysdeps/x86_64/memset_chk.S: Likewise.
6815
6816 2012-04-08 Andreas Jaeger <aj@suse.de>
6817
6818 [BZ #10153]
6819 * manual/startup.texi (Environment Access): Describe return value
6820 for putenv and setenv.
6821
6822 [BZ #6895]
6823 * manual/filesys.texi (Directory Entries): Add description for
6824 DT_LNK.
6825
6826 [BZ #6890]
6827 * manual/filesys.texi (Directory Entries): Clarify that it's file
6828 system not operating system in the description of DT_UNKNOWN.
6829
6830 [BZ #6578]
6831 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6832
6833 2012-04-08 Stephen Compall <s11@member.fsf.org>
6834
6835 [BZ #6649]
6836 * manual/llio.texi (Opening and Closing Files): Add cross
6837 reference to explain mode argument.
6838
6839 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6840
6841 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6842 * sysdeps/x86_64/memset_chk.S: Likewise.
6843
6844 2012-04-07 David S. Miller <davem@davemloft.net>
6845
6846 * elf/elf.h (R_SPARC_WDISP10): Define.
6847 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6848 R_SPARC_SIZE32.
6849 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6850 R_SPARC_SIZE64 and R_SPARC_H34.
6851
6852 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6853
6854 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6855 conditions and remove no longer applicable assertion.
6856
6857 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6858
6859 * bits/byteswap.h: Include <features.h>.
6860 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6861 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6862
6863 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6864
6865 * bits/byteswap.h (__bswap_16): Removed.
6866 Include <bits/byteswap-16.h> to get __bswap_16.
6867 * sysdeps/i386/bits/byteswap.h: Likewise.
6868 * sysdeps/s390/bits/byteswap.h: Likewise.
6869 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6870 * bits/byteswap-16.h: New file.
6871 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6872 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6873 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6874 * string/Makefile (headers): Add bits/byteswap-16.h.
6875
6876 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6877
6878 [BZ #13895]
6879 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6880 extra indirection.
6881 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6882 * nss/tst-nss-static.c: New.
6883
6884 2012-04-06 Robert Millan <rmh@gnu.org>
6885
6886 [BZ #6486]
6887 * manual/llio.texi (File Position Primitive): lseek
6888 refers to WHENCE when it really means OFFSET.
6889
6890 2012-04-06 Andreas Jaeger <aj@suse.de>
6891
6892 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6893 strncmp declarations.
6894
6895 * abilist/libc.abilist: Add __poll and __ppoll.
6896
6897 2012-04-05 David S. Miller <davem@davemloft.net>
6898
6899 * scripts/check-local-headers.sh: Accept a host triplet in the
6900 path matched by the exclude regexp.
6901
6902 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6903 definition.
6904 * sysdeps/powerpc/powerpc32/dl-machine.h
6905 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6906 * sysdeps/s390/s390-32/dl-machine.h
6907 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6908 * sysdeps/sparc/sparc32/dl-machine.h
6909 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6910 * sysdeps/sparc/sparc64/dl-machine.h
6911 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6912
6913 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6914 lazy binding.
6915 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6916 undefined symbol errors.
6917
6918 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6919 DT_NEEDED entries.
6920
6921 2012-04-05 Michael Matz <matz@suse.de>
6922
6923 [BZ #13592]
6924 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6925
6926 2012-04-05 Andreas Jaeger <aj@suse.de>
6927
6928 [BZ #13908]
6929 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6930 comment.
6931
6932 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6933
6934 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6935 which ROUND is no valid rounding mode.
6936
6937 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6938
6939 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6940 read again.
6941 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6942
6943 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6944
6945 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6946 an exception using FPU order intentionally.
6947
6948 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6949
6950 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6951 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6952 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6953 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6954
6955 2012-04-05 Simon Josefsson <simon@josefsson.org>
6956
6957 [BZ #12340]
6958 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6959 EINVAL when BUFLEN is too smal.
6960
6961 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6962
6963 [BZ #13553]
6964 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6965 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6966
6967 2012-04-03 Andreas Jaeger <aj@suse.de>
6968
6969 [BZ #13938]
6970 * manual/setjmp.texi (System V contexts): Fix sentence.
6971
6972 [BZ #13926]
6973 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6974 New macro for this case.
6975 [!__GNUC__] (__bswap_64): New inline function for this case.
6976 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6977 * bits/byteswap.h: Likewise.
6978 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6979 ull, guard with __GLIBC_HAVE_LONG_LONG.
6980
6981 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6982 __GLIBC_HAVE_LONG_LONG.
6983
6984 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6985 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6986
6987 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6988
6989 [BZ #13691]
6990 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6991 inptr and inend, rather than using last_ch.
6992
6993 2012-04-02 David S. Miller <davem@davemloft.net>
6994
6995 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6996 * stdio-common/printf-parse.h (read_int): Change return type to
6997 'int', return -1 on INT_MAX overflow.
6998 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6999 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7000 overflows INT_MAX. Check for overflow of in-format-string precision
7001 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7002 SIZE_MAX not INT_MAX for integer overflow test.
7003 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7004 skip the construct in the format string but do not record anything.
7005 * stdio-common/bug22.c: Adjust to test both width/prevision
7006 INT_MAX overflow as well as total length INT_MAX overflow. Check
7007 explicitly for proper errno values.
7008
7009 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7010
7011 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7012 CHAR_MAX.
7013 * string/test-strcmp.c [! WIDE]: Likewise.
7014 * time/tst-mktime2.c: Likewise for INT_MAX.
7015 * string/test-string.h: #include <sys/param.h> for MIN.
7016
7017 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7018 * sysdeps/i386/init-first.c (init): Likewise.
7019 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7020 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7021 * sysdeps/sh/init-first.c (init): Likewise.
7022
7023 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7024
7025 * po/ru.po: Update from translation team.
7026 * po/vi.po: Likewise.
7027
7028 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7029
7030 * resolv/nss_dns/dns-host.c: Merge copyright years.
7031
7032 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7033
7034 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7035 Optimize memcpy with prefetch if
7036 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7037 src, dst pointers have unequal 16 byte alignments.
7038
7039 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7040
7041 [BZ #13928]
7042 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7043 from a CNAME entry and return the minimum ttl for the query.
7044 (gaih_getanswer_slice): Likewise.
7045
7046 2012-03-30 Jeff Law <law@redhat.com>
7047
7048 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7049 due to long keys.
7050 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7051 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7052
7053 * resolv/nss_dns/dns-host.c: Update copyright year.
7054
7055 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7056
7057 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7058 requests to save a system call. Fix check that all bytes are sent.
7059
7060 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7061 comments for sendmmsg.
7062
7063 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7064
7065 [BZ #13691]
7066 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7067 with only 1 character between 0x0041 and 0x01b0.
7068 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7069 * wcsmbs/tst-mbsnrtowcs.c: New file.
7070
7071 2012-03-29 David S. Miller <davem@davemloft.net>
7072
7073 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7074 small copies by hand.
7075
7076 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7077
7078 [BZ #13761]
7079 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7080 _nss_compat_initgroups_dyn): Fall back to malloc/free
7081 for large group memberships.
7082
7083 2012-03-28 David S. Miller <davem@davemloft.net>
7084
7085 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7086 that branches into memcpy.
7087 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7088 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7090 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7092 bits.
7093 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7094 implementation too.
7095 * sysdeps/sparc/mempcpy.S: New file.
7096
7097 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7098 the IFUNC routine in the libc case.
7099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7100
7101 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7102 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7103 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7104 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7105 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7106 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7107 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7108 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7109
7110 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7111 loop to 256 bytes instead of 64 bytes and fix test signedness.
7112
7113 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7114 * sysdeps/sparc/sparc32/Makefile: rather than here...
7115 * sysdeps/sparc/sparc64/Makefile: and here.
7116
7117 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7118
7119 * malloc/mallocbug.c: Avoid warnings about unused variables.
7120
7121 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7122
7123 [BZ #13760]
7124 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7125 in the right place. Discard and retry query if response is
7126 larger than input buffer size.
7127
7128 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7129
7130 [BZ #369]
7131 [BZ #2678]
7132 [BZ #3866]
7133 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7134 x for large integer exponent.
7135 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7136 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7137 sign of result as needed afterwards.
7138 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7139 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7140 result for underflowing pow the same as for overflow.
7141 (__kernel_standard_l): Handle powl overflow and underflow here
7142 rather than calling __kernel_standard.
7143 * math/libm-test.inc (pow_test): Add more tests.
7144
7145 [BZ #3868]
7146 [BZ #13879]
7147 [BZ #13910]
7148 [BZ #13911]
7149 [BZ #13912]
7150 [BZ #13913]
7151 [BZ #13915]
7152 [BZ #13916]
7153 [BZ #13917]
7154 [BZ #13918]
7155 [BZ #13919]
7156 [BZ #13920]
7157 [BZ #13921]
7158 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7159 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7160 (__kernel_standard_l): New function.
7161 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7162 __kernel_standard.
7163 * math/w_acosl.c (__acosl): Likewise.
7164 * math/w_asinl.c (__asinl): Likewise.
7165 * math/w_atan2l.c (__atan2l): Likewise.
7166 * math/w_atanhl.c (__atanhl): Likewise.
7167 * math/w_coshl.c (__coshl): Likewise.
7168 * math/w_exp10l.c (__exp10l): Likewise.
7169 * math/w_exp2l.c (__exp2l): Likewise.
7170 * math/w_fmodl.c (__fmodl): Likewise.
7171 * math/w_hypotl.c (__hypotl): Likewise.
7172 * math/w_j0l.c (__j0l, __y0l): Likewise.
7173 * math/w_j1l.c (__j1l, __y1l): Likewise.
7174 * math/w_jnl.c (__jnl, __ynl): Likewise.
7175 * math/w_lgammal.c (__lgammal): Likewise.
7176 * math/w_log10l.c (__log10l): Likewise.
7177 * math/w_log2l.c (__log2l): Likewise.
7178 * math/w_logl.c (__logl): Likewise.
7179 * math/w_powl.c (__powl): Likewise.
7180 * math/w_remainderl.c (__remainderl): Likewise.
7181 * math/w_scalbl.c (sysv_scalbl): Likewise.
7182 * math/w_sinhl.c (__sinhl): Likewise.
7183 * math/w_sqrtl.c (__sqrtl): Likewise.
7184 * math/w_tgammal.c (__tgammal): Likewise.
7185 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7186 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7187 * math/libm-test.inc (acos_test): Add more tests.
7188 (acosh_test): Likewise.
7189 (asin_test): Likewise.
7190 (atanh_test): Likewise.
7191 (exp_test): Likewise.
7192 (exp10_test): Likewise.
7193 (exp2_test): Likewise.
7194 (expm1_test): Likewise.
7195 (lgamma_test): Likewise.
7196 (log_test): Likewise.
7197 (log10_test): Likewise.
7198 (log1p_test): Likewise.
7199 (log2_test): Likewise.
7200 (pow_test): Do not allow some spurious overflow exceptions.
7201 (sqrt_test): Add more tests.
7202 (tgamma_test): Likewise.
7203 (y0_test): Likewise.
7204 (y1_test): Likewise.
7205 (yn_test): Likewise.
7206
7207 2012-03-27 Anton Blanchard <anton@samba.org>
7208
7209 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7210 MAP_HUGETLB.
7211 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7212 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7213 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7214
7215 2012-03-27 David S. Miller <davem@davemloft.net>
7216
7217 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7218
7219 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7220 have-as-vis3 check.
7221
7222 2012-03-27 Andreas Jaeger <aj@suse.de>
7223
7224 * sysdeps/x86_64/elf/configure.in: Moved to ...
7225 * sysdeps/x86_64/configure.in: ... here.
7226 * sysdeps/x86_64/elf/start.S: Moved to ...
7227 * sysdeps/x86_64/start.S: ... here.
7228 * sysdeps/x86_64/elf/configure: Delete.
7229
7230 * sysdeps/x86_64/configure.in: Merge contents from
7231 sysdeps/i386/configure.in (without i686 check).
7232
7233 * sysdeps/i386/elf/Versions: Merge into ...
7234 * sysdeps/i386/Versions: ... this.
7235 * sysdeps/i386/elf/Versions: Delete file.
7236 * sysdeps/i386/elf/start.S: Moved to ...
7237 * sysdeps/i386/start.S: ...here.
7238 * sysdeps/i386/elf/configure.in: Merge into...
7239 * sysdeps/i386/configure.in: ...here.
7240 * sysdeps/i386/elf/configure.in: Delete file.
7241 * sysdeps/i386/elf/configure: Delete file.
7242
7243 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7244 * debug/backtracesyms.c: ... here.
7245 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7246 * debug/backtracesymsfd.c: ... here.
7247 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7248 * sysdeps/generic/ifunc-sel.h: ... here.
7249
7250 * sysdeps/unix/i386/start.c: Delete file.
7251 * sysdeps/unix/sparc/start.c: Delete file.
7252 * sysdeps/unix/start.c: Delete file.
7253
7254 * sysdeps/sh/elf/configure.in: Moved to ...
7255 * sysdeps/sh/configure.in: ... here.
7256 * sysdeps/sh/elf/start.S: Moved to ...
7257 * sysdeps/sh/start.S: ... here.
7258 * sysdeps/sh/elf/configure: Delete file.
7259
7260 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7261 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7262 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7263 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7264 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7265 * sysdeps/powerpc/powerpc64/start.S: here.
7266 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7267 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7268 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7269 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7270 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7271
7272 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7273 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7274 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7275 * sysdeps/powerpc/powerpc32/start.S: ... here.
7276 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7277 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7278 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7279
7280 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7281 * sysdeps/powerpc/ifunc-sel.h: ... here.
7282 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7283 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7284
7285 * sysdeps/sparc/elf/configure.in: Moved to ...
7286 * sysdeps/sparc/configure.in: ... here.
7287 * sysdeps/sparc/elf/configure: Delete file.
7288 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7289 * sysdeps/sparc/sparc32/start.S: ... here.
7290 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7291 * sysdeps/sparc/sparc64/start.S: ... here.
7292 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7293 * sysdeps/sparc/sparc32/Makefile: ... this.
7294 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7295 * sysdeps/sparc/sparc64/Makefile: ... this.
7296
7297 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7298 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7299 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7300 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7301 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7302 * sysdeps/s390/s390-32/setjmp.S: ... here.
7303 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7304 * sysdeps/s390/s390-32/configure.in: ... here.
7305 * sysdeps/s390/s390-32/elf/configure: Delete file.
7306 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7307 * sysdeps/s390/s390-32/start.S: ... here.
7308
7309 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7310 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7311 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7312 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7313 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7314 * sysdeps/s390/s390-64/setjmp.S: ... here.
7315 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7316 * sysdeps/s390/s390-64/configure.in: ... here
7317 * sysdeps/s390/s390-64/elf/configure: Delete file.
7318 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7319 * sysdeps/s390/s390-64/start.S: ... here.
7320 * sysdeps/s390/s390-64/elf/configure: Delete.
7321
7322 * configure.in: Remove support for elf directories in sysdeps.
7323
7324 * configure: Regenerated.
7325 * sysdeps/i386/configure: Regenerated.
7326 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7327 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7328 * sysdeps/s390/s390-32/configure: Regenerated.
7329 * sysdeps/s390/s390-64/configure: Regenerated.
7330 * sysdeps/sh/configure: Regenerated.
7331 * sysdeps/sparc/configure: Regenerated.
7332 * sysdeps/x86_64/configure: Regenerated.
7333
7334 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7335
7336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7337
7338 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7339 denormal result into account.
7340
7341 2012-03-25 Roland McGrath <roland@hack.frob.com>
7342
7343 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7344 Reported by Allan McRae <allan@archlinux.org>.
7345
7346 2012-03-23 Jeff Law <law@redhat.com>
7347
7348 * nss/getnssent.c (__nss_getent): Fix typo.
7349
7350 2012-03-23 David S. Miller <davem@davemloft.net>
7351
7352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7353
7354 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7355
7356 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7357 to pad to uint64_t for each field.
7358 (dl_tls_index): Replace unsigned long with uint64_t.
7359
7360 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7361 Paul Pluzhnikov <ppluzhnikov@google.com>
7362
7363 [BZ #6528]
7364 * grp/Makefile (otherlibs): Don't set it.
7365 * inet/Makefile (otherlibs): Likewise.
7366 * login/Makefile (otherlibs): Likewise.
7367 * nscd/Makefile (otherlibs): Likewise.
7368 * posix/Makefile (otherlibs): Likewise.
7369 * pwd/Makefile (otherlibs): Likewise.
7370 * rt/Makefile (otherlibs): Likewise.
7371 * sunrpc/Makefile (otherlibs): Likewise.
7372 * nss/Makefile (otherlibs): Likewise.
7373 Add libnss_files to routines and static-only-routines.
7374 ($(objpfx)getent): Remove rule.
7375 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7376 static-only-routines.
7377
7378 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7379
7380 [BZ #13892]
7381 * math/s_cexp.c: Include <float.h>.
7382 (__cexp): Handle exp result overflowing not necessarily
7383 overflowing both real and imaginary parts of result.
7384 * math/s_cexpf.c: Likewise.
7385 * math/s_cexpl.c: Likewise.
7386 * math/libm-test.inc (cexp_test): Add more tests.
7387 * sysdeps/i386/fpu/libm-test-ulps: Update.
7388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7389
7390 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7391
7392 * include/link.h (ELFW): New macro.
7393 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7394 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7395
7396 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7397
7398 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7399 with uint64_t.
7400
7401 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7402
7403 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7404 declaration.
7405 (struct La_x32_retval): Likewise.
7406
7407 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7408
7409 * sysdeps/x86_64/preconfigure.in: New file.
7410 * sysdeps/x86_64/preconfigure: New generated file.
7411
7412 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7413
7414 [BZ #13824]
7415 * math/e_exp2l.c: Include <float.h>.
7416 (__ieee754_exp2l): Handle overflow and underflow cases
7417 separately. Only pass fractional part of argument to
7418 __ieee754_expl.
7419 * math/libm-test.inc (exp2_test): Add more tests.
7420
7421 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7422 negating x to take absolute value.
7423 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7424 Likewise.
7425 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7426 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7427 Likewise.
7428 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7429 computing low part if x was negated.
7430 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7431
7432 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7433
7434 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7435 la_x32_gnu_pltexit.
7436 (pltexit): Cast int_retval to ptrdiff_t.
7437 * elf/tst-auditmod3b.c: Likewise.
7438 * elf/tst-auditmod4b.c: Likewise.
7439 * elf/tst-auditmod5b.c: Likewise.
7440 * elf/tst-auditmod6b.c: Likewise.
7441 * elf/tst-auditmod6c.c: Likewise.
7442 * elf/tst-auditmod7b.c: Likewise.
7443
7444 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7445 and x32_gnu_pltexit.
7446
7447 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7448 __ELF_NATIVE_CLASS.
7449 (La_x32_regs): New macro.
7450 (La_x32_retval): Likewise.
7451 (la_x32_gnu_pltenter): New function prototype.
7452 (la_x32_gnu_pltexit): Likewise.
7453
7454 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7455
7456 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7457 exponent.
7458
7459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7460
7461 * configure.in (libc_cv_cc_nofma): Check for option to disable
7462 generation of FMA instructions.
7463 * configure: Regenerate.
7464 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7465 * sysdeps/ieee754/dbl-64/Makefile: New file.
7466 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7467 Remove brandred-fma4.
7468 (CFLAGS-brandred-fma4.c): Remove.
7469 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7470 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7471 define.
7472 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7473 define.
7474
7475 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7476
7477 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7478 LLONG_MAX != LONG_MAX.
7479 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7480 (_fitoa_word): Likewise.
7481 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7482 LLONG_MAX != LONG_MAX.
7483 * stdio-common/_itowa.h: Include <_itoa.h>.
7484 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7485 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7486 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7487 only if not defined.
7488 (_ITOA_WORD_TYPE): Likewise.
7489 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7490 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7491
7492 2012-03-21 David S. Miller <davem@davemloft.net>
7493
7494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7495
7496 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7497
7498 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7499 of x86_64 when setting libc_cv_slibdir, libdir and
7500 libc_cv_localedir.
7501 * sysdeps/unix/sysv/linux/configure: Regenerated.
7502
7503 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7504
7505 * manual/lang.texi (Old Varargs): Remove section.
7506 (How Variadic): Update menu.
7507 (va_start): Do not mention varargs.h.
7508
7509 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7510 Joseph Myers <joseph@codesourcery.com>
7511
7512 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7513 link test.
7514 * configure: Regenerated.
7515
7516 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7517
7518 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7519 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7520 conformtest.pl
7521
7522 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7523
7524 * NOTES: Remove.
7525 * Makefile (files-for-dist): Remove NOTES.
7526 (NOTES): Remove rule.
7527 * README: Don't refer to NOTES.
7528 * manual/creature.texi: Don't include macros.texi.
7529 * manual/intro.texi (creature.texi): Remove comment referring to
7530 NOTES.
7531
7532 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7533 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7534 * configure: Regenerated.
7535 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7536 LIBC_TRY_CC_OPTION.
7537 (libc_cv_as_i686): Likewise.
7538 (libc_cv_cc_avx): Likewise.
7539 (libc_cv_cc_sse2avx): Likewise.
7540 (libc_cv_cc_fma4): Likewise.
7541 (libc_cv_cc_novzeroupper): Likewise.
7542 * sysdeps/i386/configure: Regenerated.
7543
7544 [BZ #13883]
7545 * sysdeps/i386/fpu/s_cexp.S: Remove.
7546 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7547 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7548 * math/libm-test.inc (cexp_test): Add more tests.
7549 * sysdeps/i386/fpu/libm-test-ulps: Update.
7550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7551
7552 2012-03-21 Allan McRae <allan@archlinux.org>
7553
7554 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7555
7556 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7557
7558 [BZ #13871]
7559 * math/w_exp2.c: Do not include <float.h>.
7560 (o_threshold, u_threshold): Remove.
7561 (__exp2): Calculate result before checking finiteness and calling
7562 __kernel_standard.
7563 * math/w_exp2f.c: Likewise.
7564 * math/w_exp2l.c: Likewise.
7565 * math/libm-test.inc (exp2_test): Require overflow exception for
7566 1e6 input.
7567
7568 [BZ #3866]
7569 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7570 range of signed 64-bit integers before using fistpll. Remove
7571 checks for whether integers fit in mantissa bits.
7572 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7573 the range of signed 32-bit integers before using fistpl. Remove
7574 checks for whether integers fit in mantissa bits.
7575 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7576 (__ieee754_powl): Test for y outside the range of signed 64-bit
7577 integers before using fistpll. Reduce 64-bit values to 63-bit
7578 ones as needed.
7579 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7580 divide-by-zero is raised for zero to large negative powers.
7581 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7582 (__ieee754_powl): Test for y outside the range of signed 64-bit
7583 integers before using fistpll. Reduce 64-bit values to 63-bit
7584 ones as needed.
7585 * math/libm-test.inc (pow_test): Add more tests.
7586
7587 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7588
7589 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7590 <stdio-common/_itoa.h>.
7591 * debug/segfault.c: Likewise.
7592 * elf/dl-cache.c: Likewise.
7593 * elf/dl-minimal.c: Likewise.
7594 * elf/dl-misc.c: Likewise.
7595 * elf/dl-sysdep.c: Likewise.
7596 * elf/dl-version.c: Likewise.
7597 * elf/rtld.c: Likewise.
7598 * hurd/hurdsock.c: Likewise.
7599 * hurd/lookup-retry.c: Likewise.
7600 * malloc/malloc.c: Likewise.
7601 * malloc/mtrace.c: Likewise.
7602 * nscd/nscd_getgr_r.c: Likewise.
7603 * nscd/nscd_getpw_r.c: Likewise.
7604 * nscd/nscd_getserv_r.c: Likewise.
7605 * posix/getopt_init.c: Likewise.
7606 * posix/wordexp.c: Likewise.
7607 * stdio-common/_itoa.c: Likewise.
7608 * stdio-common/printf_fphex.c: Likewise.
7609 * stdio-common/vfprintf.c: Likewise.
7610 * string/_strerror.c: Likewise.
7611 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7612 * sysdeps/i386/i686/hp-timing.h: Likewise.
7613 * sysdeps/mach/_strerror.c: Likewise.
7614 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7615 * sysdeps/mach/hurd/sethostid.c: Likewise.
7616 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7617 * sysdeps/mach/xpg-strerror.c: Likewise.
7618 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7619 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7620 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7621 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7622 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7623 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7624 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7625 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7626 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7627 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7628 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7629 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7630 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7631 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7632 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7633 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7634 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7635 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7636 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7637 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7638 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7639
7640 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7641
7642 * stdio-common/_itoa.h: Moved to ...
7643 * sysdeps/generic/_itoa.h: Here.
7644
7645 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7646
7647 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7648 instead of "_itoa.h" and "_itowa.h".
7649 * stdio-common/vfprintf.: Likewise.
7650
7651 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7652
7653 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7654 <bits/wordsize.h>.
7655 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7656 (__signbit): Likwise.
7657 (llrintf): Likwise.
7658 (llrint): Likwise.
7659
7660 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7661
7662 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7663 __WORDSIZE != 64.
7664
7665 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7666
7667 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7668 OVERFLOW_EXCEPTION_OK.
7669 * math/libm-test.inc ("Philosophy"): Update comment about
7670 exception testing.
7671 (OVERFLOW_EXCEPTION): Define.
7672 (OVERFLOW_EXCEPTION_OK): Likewise.
7673 (INVALID_EXCEPTION_OK): Renumber.
7674 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7675 (IGNORE_ZERO_INF_SIGN): Likewise.
7676 (test_exceptions): Handle FE_OVERFLOW.
7677 (exp10_test): Expect overflow exceptions.
7678 (exp2_test): Likewise.
7679 (expm1_test): Likewise.
7680 (nextafter_test): Likewise.
7681 (pow_test): Likewise.
7682 (scalbn_test): Likewise.
7683 (scalbln_test): Likewise.
7684
7685 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7686
7687 * sysdeps/x86_64/bits/atomic.h
7688 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7689 64bit integer.
7690 (atomic_exchange_acq): Likewise.
7691 (__arch_exchange_and_add_body): Likewise.
7692 (__arch_add_body): Likewise.
7693 (atomic_add_negative): Likewise.
7694 (atomic_add_zero): Likewise.
7695
7696 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7697
7698 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7699 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7700
7701 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7702
7703 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7704 Check __x86_64__ instead of __WORDSIZE.
7705
7706 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7707
7708 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7709
7710 2012-03-19 David S. Miller <davem@davemloft.net>
7711
7712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7713
7714 * sysdeps/sparc/fpu/fenv_private.h: New file.
7715 * sysdeps/sparc/fpu/math_private.h: Use it.
7716 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7717 Remove.
7718 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7719 (libc_feholdexcept_setroundl): Remove.
7720 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7721 Remove.
7722 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7723 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7724
7725 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7726
7727 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7728 int64_t instead of long int.
7729 (INSERT_WORDS64): Likwise.
7730
7731 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7732
7733 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7734 _Unwind_GetCFA return to _Unwind_Ptr first.
7735
7736 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7737
7738 [BZ #13629]
7739 * math/s_clog.c: Include <float.h>.
7740 (__clog): Scale large or subnormal inputs.
7741 * math/s_clogf.c: Likewise.
7742 * math/s_clogl.c: Likewise.
7743 * math/s_clog10.c: Include <float.h>.
7744 (M_LOG10_2): Define.
7745 (__clog10): Scale large or subnormal inputs.
7746 * math/s_clog10f.c: Likewise.
7747 * math/s_clog10l.c: Likewise.
7748 * math/libm-test.inc (clog_test): Add more tests.
7749 (clog10_test): Likewise.
7750 * sysdeps/i386/fpu/libm-test-ulps: Update.
7751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7752
7753 [BZ #11451]
7754 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7755 x and y.
7756 * math/libm-test.inc (atan2_test): Add another test.
7757
7758 * Makerules (common-objdir-compile): Remove.
7759 * sysdeps/unix/Makefile (config-generated): Do not add
7760 $(unix-generated) to variable.
7761 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7762 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7763 Remove rule.
7764 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7765 Likewise.
7766 [generic bits/local_lim.h] (before-compile): Do not append to
7767 variable.
7768 [generic bits/local_lim.h] (common-generated): Likewise.
7769 [generic sys/param.h] (before-compile): Do not append to variable.
7770 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7771 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7772 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7773 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7774 include.
7775 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7776 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7777 [generic sys/param.h] ($(addprefix
7778 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7779 [generic sys/param.h] (common-generated): Do not append to
7780 variable.
7781 [generic sys/param.h] (sysdep_headers): Likewise.
7782 [generic bits/errno.h] (before-compile): Do not append to
7783 variable.
7784 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7785 rule.
7786 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7787 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7788 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7789 [generic bits/errno.h] (common-generated): Do not append to
7790 variable.
7791 [generic bits/ioctls.h] (before-compile): Do not append to
7792 variable.
7793 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7794 rule.
7795 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7796 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7797 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7798 rule.
7799 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7800 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7801 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7802 [generic bits/ioctls.h] (common-generated): Do not append to
7803 variable.
7804 [generic sys/syscall.h] (syscall.h): Remove variable.
7805 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7806 rule.
7807 [generic sys/syscall.h] (before-compile): Do not append to
7808 variable.
7809 [generic sys/syscall.h] (common-generated): Likewise.
7810 * sysdeps/unix/errnos-tmpl.c: Remove file.
7811 * sysdeps/unix/errnos.awk: Likewise.
7812 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7813 * sysdeps/unix/ioctls.awk: Likewise.
7814 * sysdeps/unix/mk-local_lim.c: Likewise.
7815 * sysdeps/unix/snarf-ioctls: Likewise.
7816
7817 2012-03-19 Richard Henderson <rth@twiddle.net>
7818
7819 * sysdeps/i386/fpu/fenv_private.h: New file.
7820 * sysdeps/i386/fpu/math_private.h: Use it.
7821 (math_opt_barrier, math_force_eval): Remove.
7822 (libc_feholdexcept_setround_53bit): Remove.
7823 (libc_feupdateenv_53bit): Remove.
7824 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7825 (math_opt_barrier, math_force_eval): Remove.
7826 (libc_feholdexcept): Remove.
7827 (libc_feholdexcept_setround): Remove.
7828 (libc_fetestexcept, libc_fesetenv): Remove.
7829 (libc_feupdateenv_test): Remove.
7830 (libc_feupdateenv, libc_feholdsetround): Remove.
7831 (libc_feresetround): Remove.
7832
7833 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7834 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7835
7836 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7837 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7838 (libc_feupdateenv_testl): New.
7839 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7840 (libc_feupdateenv_testf): New.
7841 (libc_feupdateenv): Use libc_feupdateenv_test.
7842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7843 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7844
7845 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7846 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7847 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7848 (libc_feresetround_noex): New.
7849 (libc_feresetround_noexf): New.
7850 (libc_feresetround_noexl): New.
7851 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7852 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7853 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7854 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7855 SET_RESTORE_ROUND.
7856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7857 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7858 (__cos): Likewise.
7859 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7860 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7861 SET_RESTORE_ROUND_NOEX.
7862 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7863 SET_RESTORE_ROUND_NOEXF.
7864 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7865 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7866 (libc_feholdsetroundf): New.
7867 (libc_feresetround, libc_feresetroundf): New.
7868
7869 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7870 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7871 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7872
7873 * sysdeps/generic/math_private.h: Include <fenv.h>.
7874 (default_libc_feholdexcept): New.
7875 (default_libc_feholdexcept_setround): New.
7876 (default_libc_fesetenv, default_libc_feupdateenv): New.
7877 (libc_feholdexcept): Only define if undefined.
7878 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7879 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7880 (libc_feholdexcept_setroundl): Likewise.
7881 (libc_feholdexcept_setround_53bit): Likewise.
7882 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7883 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7884 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7885 (libc_feupdateenv_53bit): Likewise.
7886 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7887 (libc_feholdexcept): Convert from macro to inline function.
7888 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7889 (libc_fesetenv, libc_feupdateenv): Likewise.
7890
7891 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7892 not previously defined.
7893 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7894 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7895 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7896 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7897 * sysdeps/ieee754/flt-32/math_private.h: New file.
7898 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7899 math_private.h below SET_FLOAT_WORD.
7900 (__isnan, __isinf_ns, __finite): Remove.
7901 (__isnanf, __isinf_nsf, __finitef): Remove.
7902
7903 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7904
7905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7906
7907 2012-03-17 David S. Miller <davem@davemloft.net>
7908
7909 [BZ #6471]
7910 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7911 for 2.16.
7912
7913 2012-03-16 David S. Miller <davem@davemloft.net>
7914
7915 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7916 warnings.
7917
7918 [BZ #6471]
7919 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7920 properly.
7921 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7922 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7923 sysdep_routines when subdir is sysvipc.
7924 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7925 __getshmlba helper.
7926
7927 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7928
7929 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7930
7931 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7932 [__LP64__].
7933
7934 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7935
7936 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7937 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7938 (__lround): Renamed to ...
7939 (__llround): This. Replace long int with long long int.
7940 Define lround functions as aliases of llround functions.
7941 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7942
7943 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7944
7945 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7946 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7947 adresses to uintptr_t. Replace "long int" and "unsigned long
7948 int" with "greg_t" on va_arg.
7949
7950 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7951
7952 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7953 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7954
7955 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7956 Move e_machine check before EI_CLASS check. Handle x32
7957 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7958 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7959 SKIP_EM_IA_64 and include
7960 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7961
7962 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7963 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7964 (add_system_dir): New macro.
7965
7966 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7967 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7968
7969 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7970
7971 [BZ #2551]
7972 [BZ #2552]
7973 [BZ #2553]
7974 [BZ #2554]
7975 [BZ #2562]
7976 [BZ #2563]
7977 [BZ #2565]
7978 [BZ #2566]
7979 [BZ #2576]
7980 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7981 (y0): Likewise.
7982 * math/w_j0f.c (j0f): Likewise.
7983 (y0f): Likewise.
7984 * math/w_j0l.c (__j0l): Likewise.
7985 (__y0l): Likewise.
7986 * math/w_j1.c (j1): Likewise.
7987 (y1): Likewise.
7988 * math/w_j1f.c (j1f): Likewise.
7989 (y1f): Likewise.
7990 * math/w_j1l.c (__j1l): Likewise.
7991 (__y1l): Likewise.
7992 * math/w_jn.c (jn): Likewise.
7993 (yn): Likewise.
7994 * math/w_jnf.c (jnf): Likewise.
7995 (ynf): Likewise.
7996 * math/w_jnl.c (__jnl): Likewise.
7997 (__ynl): Likewise.
7998 * math/libm-test.inc (j0_test): Add more tests.
7999 (j1_test): Likewise.
8000 (jn_test): Likewise. Add trailing semicolon to existing test.
8001 (y0_test): Likewise.
8002 (y1_test): Likewise.
8003 * sysdeps/i386/fpu/libm-test-ulps: Update.
8004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8005
8006 [BZ #13851]
8007 [BZ #13854]
8008 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8009 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8010 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8011 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8012 (__tanl): Set errno for infinite argument.
8013 * sysdeps/i386/fpu/mptan.c: Remove.
8014 * sysdeps/i386/fpu/s_tan.S: Likewise.
8015 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8016 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8017 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8018 * math/libm-test.inc (tan_test): Add more tests and enable more
8019 tests for double and long double.
8020 * sysdeps/i386/fpu/libm-test-ulps: Update.
8021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8022
8023 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8024
8025 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8026 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8027
8028 2012-03-16 Roland McGrath <roland@hack.frob.com>
8029
8030 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8031 * configure.in: Use it for both main tree and add-ons.
8032 * configure: Regenerated.
8033
8034 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8035
8036 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8037
8038 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8039
8040 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8041 in comment.
8042
8043 [BZ #13851]
8044 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8045 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8046 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8047 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8048 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8049 infinite argument.
8050 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8051 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8052 != 0 for prec == 2.
8053 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8054 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8055 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8056 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8057 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8058 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8059 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8060 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8061 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8062 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8063 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8064 * math/libm-test.inc (cos_test): Add more tests and enable more
8065 tests for long double.
8066 (sin_test): Likewise.
8067 (sincos_test): Likewise.
8068 * sysdeps/i386/fpu/libm-test-ulps: Update.
8069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8070
8071 2012-03-16 David S. Miller <davem@davemloft.net>
8072
8073 * sysdeps/sparc/fpu/math_private.h: New file.
8074
8075 2012-03-15 David S. Miller <davem@davemloft.net>
8076
8077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8078 file.
8079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8081 file.
8082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8087 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8088 sysdep routines.
8089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8090
8091 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8092 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8093
8094 * sysdeps/sparc/sparc-ifunc.h: New file.
8095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8096 sparc-ifunc.h
8097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8099 Likewise.
8100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8101 Likewise.
8102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8106 Likewise.
8107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8112 Likewise.
8113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8114 Likewise.
8115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8121 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8133 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8137 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8139
8140 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8141
8142 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8143 scaling.
8144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8145
8146 2012-03-15 Andreas Jaeger <aj@suse.de>
8147
8148 [BZ #13852]
8149 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8150 ieee754/flt-32 implementation for sin, cos and sincos.
8151 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8152 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8153 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8154 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8155 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8156 ieee754/flt-32 implementation for tan.
8157
8158 * math/libm-test.inc (cos_test): Enable some large input tests for
8159 float as well
8160 (sin_test): Likewise.
8161 (sincos_test): Likewise.
8162 (tan_test): Add tests for large input.
8163
8164 * sysdeps/i386/fpu/libm-test-ulps: Update.
8165
8166 2012-03-15 Andreas Jaeger <aj@suse.de>
8167
8168 [BZ #13658]
8169 * math/libm-test.inc (cos_test): Add more test cases.
8170 (sin_test): Likewise.
8171 (sincos_test): Likewise.
8172
8173 2012-03-15 Andreas Jaeger <aj@suse.de>
8174
8175 [BZ #13837]
8176 * math/libm-test.inc (cos_test): Add a test case for large input
8177 value.
8178 (sin_test): Likewise.
8179 (sincos_test): Likewise.
8180
8181 2012-03-15 Andreas Jaeger <aj@suse.de>,
8182 Joseph Myers <joseph@codesourcery.com>
8183
8184 [BZ #13658]
8185 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8186 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8187 * sysdeps/i386/fpu/branred.c: Likewise.
8188 * sysdeps/i386/fpu/dosincos.c: Likewise.
8189 * sysdeps/i386/fpu/mpa.c: Likewise.
8190 * sysdeps/i386/fpu/s_cos.S: Likewise.
8191 * sysdeps/i386/fpu/s_sin.S: Likewise.
8192 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8193 * sysdeps/i386/fpu/sincos32.c: Likewise.
8194
8195 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8196 Define.
8197 (libc_feupdateenv_53bit): Define.
8198 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8199 Define.
8200 (libc_feupdateenv_53bit): Define.
8201
8202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8203 53 bit (without extend i386 double precision).
8204
8205 * math/libm-test.inc (sincos_test): Add tests for large input.
8206 (sin): Likewise.
8207 (cos): Likewise.
8208
8209 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8210
8211 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8212
8213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8214
8215 2012-03-15 David S. Miller <davem@davemloft.net>
8216
8217 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8218 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8219 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8220 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8233 file.
8234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8236 file.
8237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8239 file.
8240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8242 file.
8243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8244 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8245 fmin/fmax sysdep routines.
8246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8247
8248 2012-03-14 David S. Miller <davem@davemloft.net>
8249
8250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8254 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8270 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8274 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8278 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8279 routines.
8280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8281 file.
8282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8284 file.
8285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8287 file.
8288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8290 file.
8291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8293 file.
8294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8296 file.
8297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8298 file.
8299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8300 file.
8301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8302 file.
8303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8304 New file.
8305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8306 file.
8307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8308 file.
8309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8311 file.
8312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8314 file.
8315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8317 file.
8318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8320 VIS3 routines.
8321
8322 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8323 New file.
8324
8325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8326
8327 * sysdeps/sparc/configure.in: New file.
8328 * sysdeps/sparc/configure: Generate.
8329 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8330 * configure: Regenerate.
8331 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8332 * config.make.in (have-as-vis3): New.
8333 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8334 available use -Av9d instead of -Av9a.
8335 * sysdeps/sparc/sparc64/Makefile: Likewise.
8336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8338 New file.
8339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8340 file.
8341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8342 New file.
8343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8344 file.
8345 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8346 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8350
8351 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8352 fzeros/fnegs to load 0x80000000 into a float register instead of
8353 using the stack.
8354 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8355
8356 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8357
8358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8359 bits/syscall.h.
8360 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8361 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8362 ($(inst_includedir)/bits/syscall.h): Remove rule.
8363 ($(objpfx)bits/syscall.d): Include instead of
8364 $(objpfx)syscall-list.d.
8365 (generated): Change syscall-list.h and syscall-list.d to
8366 bits/syscall.h and bits/syscall.d.
8367
8368 2012-03-14 Roland McGrath <roland@hack.frob.com>
8369
8370 [BZ #13846]
8371 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8372
8373 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8374
8375 [BZ #13841]
8376 * math/s_csqrt.c: Include <float.h>.
8377 (__csqrt): Scale large or subnormal inputs.
8378 * math/s_csqrtf.c: Likewise.
8379 * math/s_csqrtl.c: Likewise.
8380 * math/libm-test.inc (csqrt_test): Add more tests.
8381 * sysdeps/i386/fpu/libm-test-ulps: Update.
8382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8383
8384 [BZ #13840]
8385 * math/libm-test.inc (hypot_test): Add more tests.
8386
8387 2012-03-13 David S. Miller <davem@davemloft.net>
8388
8389 [BZ #13840]
8390 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8391 double-precision for the calculation instead of scaling.
8392
8393 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8394
8395 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8396 manipulate bits before adding and subtracting TWO52[sx].
8397 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8398 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8399 Likewise.
8400 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8401
8402 2012-03-13 David S. Miller <davem@davemloft.net>
8403
8404 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8405 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8407 rtld-global-offsets.h
8408 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8409
8410 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8411 large parameters.
8412
8413 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8414
8415 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8416 'err' in the ifdef scope in which it is actually used.
8417
8418 * nss/nss_db/db-init.c: Include string.h
8419
8420 2012-03-12 David S. Miller <davem@davemloft.net>
8421
8422 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8423 masking out of the most significant byte of random value used.
8424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8425 Fix coding style in previous change.
8426
8427 * sysdeps/unix/sysv/linux/kernel-features.h
8428 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8429 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8430 expression.
8431 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8432 later.
8433
8434 2012-03-11 David S. Miller <davem@davemloft.net>
8435
8436 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8437 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8438 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8439 for 'resultvar' otherwise things get truncated on 64-bit.
8440
8441 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8442 Fix masking out of the most significant byte of random value used.
8443
8444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8445
8446 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8447
8448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8449
8450 2012-03-09 David S. Miller <davem@davemloft.net>
8451
8452 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8453 variables with appropriate CPP guards.
8454 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8455 frame pointer, not the stack pointer. Correct layout comments. Fix test
8456 on resulting framesize and the management of the outregs buffer for pltexit.
8457 Preserve floating point return values across _dl_call_pltexit call.
8458 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8459 framesize and the management of the outregs buffer for pltexit.
8460 Preserve floating point return values across _dl_call_pltexit
8461 call.
8462 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8463 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8464 (print_exit): Fix format string for return register value.
8465
8466 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8467
8468 * sunrpc/Makefile (others): Add rpcgen.
8469 ($(objpfx)rpcgen): Remove special build rule and dependency on
8470 libc.
8471 * sunrpc/rpcgen.c: New file.
8472
8473 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8474
8475 [BZ #13673]
8476 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8477 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8478 * sysdeps/i386/crti.S: Likewise.
8479 * sysdeps/i386/crtn.S: Likewise.
8480 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8481 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8482 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8483 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8484 * sysdeps/sh/crti.S: Likewise.
8485 * sysdeps/sh/crtn.S: Likewise.
8486 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8487
8488 [BZ #13673]
8489 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8490 with URL.
8491 * locale/programs/locfile-kw.gperf: Likewise.
8492 * locale/programs/charmap-kw.h: Regenerated.
8493 * locale/programs/locfile-kw.h: Likewise.
8494
8495 [BZ #13673]
8496 * intl/plural.y: Replace FSF snail mail address with URL.
8497 * intl/plural.c: Regenerated.
8498
8499 2012-03-09 Richard Henderson <rth@twiddle.net>
8500
8501 * include/math_private.h: Remove file.
8502 * math/math_private.h: Move file ...
8503 * sysdeps/generic/math_private.h: ... here.
8504
8505 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8506 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8507 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8508
8509 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8510 and <math_private.h>.
8511 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8512 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8513 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8514 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8515 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8560 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8561 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8563 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8564 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8565 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8566 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8567 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8568 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8571 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8572 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8573 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8574 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8575 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8576 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8583 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8584 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8585 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8586 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8599 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8600 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8601 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8602 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8603 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8604 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8605 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8606 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8607 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8608 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8609 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8610 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8611 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8612 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8613 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8614 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8615 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8616 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8617 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8618 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8619 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8620 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8621 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8622 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8623 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8624 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8625 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8626 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8627 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8628 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8629 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8630 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8631 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8632 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8633 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8634 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8635 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8636 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8637 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8638 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8639 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8641 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8642 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8643 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8644 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8646 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8647 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8649 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8650 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8651 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8652 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8653 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8654 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8655 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8656 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8657 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8658 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8659 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8660 * sysdeps/ieee754/k_standard.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8776 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8780 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8781 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8783 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8788 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8791 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8793 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8809 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8810 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8811 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8821 * sysdeps/ieee754/s_lib_version.c: Likewise.
8822 * sysdeps/ieee754/s_matherr.c: Likewise.
8823 * sysdeps/ieee754/s_signgam.c: Likewise.
8824 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8825 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8826 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8827 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8828 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8829 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8830 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8831 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8832 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8833 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8834 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8835 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8836 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8837 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8838 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8839 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8840 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8841 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8842 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8843 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8845
8846 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8847
8848 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8849 * sunrpc/rpc_main.c: Likewise.
8850 * sunrpc/rpc_svcout.c: Likewise.
8851
8852 2012-03-09 David S. Miller <davem@davemloft.net>
8853
8854 * include/math_private.h: New file.
8855
8856 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8857
8858 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8859 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8860 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8861 from <bits/socket_type.h>.
8862 (enum __socket_type): Don't define here.
8863 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8865 bits/socket_type.h.
8866
8867 [BZ #13566]
8868 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8869 checking __USE_GNU.
8870
8871 * Makerules ($(inst_includedir)/%.h): New rule.
8872 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8873 (install-others): Remove variable setting.
8874 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8875
8876 2012-03-08 Richard Henderson <rth@twiddle.net>
8877
8878 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8879 from macro to inline function; merge with the
8880 !__LIBC_INTERNAL_MATH_INLINES version.
8881 (__ieee754_sqrtf): Likewise.
8882
8883 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8884 to inline function.
8885 (__rintf, __floor, __floorf): Likewise.
8886
8887 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8888 macro to inline function.
8889 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8890
8891 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8892 not <math/math_private.h>.
8893
8894 2012-03-08 David S. Miller <davem@davemloft.net>
8895
8896 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8897 copyright year.
8898 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8899
8900 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8901
8902 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8903 normalization.
8904 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8905 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8906
8907 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8908
8909 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8910 be defined individually, they must be defined as a block. Define
8911 S for printing a string instead of hidint the different by using a
8912 macro for adding the 'l'.
8913 * stdio-common/tst-fphex-wide.c: Adjust.
8914
8915 2012-03-07 Marek Polacek <polacek@redhat.com>
8916
8917 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8918
8919 2012-03-08 Marek Polacek <polacek@redhat.com>
8920
8921 [BZ #13806]
8922 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8923 * stdio-common/tst-fphex.c: Define a few macros to make the
8924 test reusable. Use them.
8925 * stdio-common/tst-fphex-wide.c: New file.
8926
8927 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8928
8929 [BZ #6911]
8930 * manual/macros.texi (gnusystems): New macro.
8931 (nongnusystems): Likewise.
8932 (gnulinuxhurdsystems): Likewise.
8933 (gnuhurdsystems): Likewise..
8934 (gnulinuxsystems): Likewise.
8935 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8936 variants of the GNU system, not "GNU system".
8937 * manual/conf.texi: Likewise.
8938 * manual/errno.texi: Likewise. Update example of errno macro
8939 expansion.
8940 * manual/filesys.texi: Likewise.
8941 (getumask): Document as specific to GNU/Hurd.
8942 * manual/install.texi: Likewise. Reword some references to
8943 GNU/Linux.
8944 * manual/intro.texi: Likewise.
8945 * manual/io.texi: Likewise.
8946 (File Name Portability): Detail which constraints are inapplicable
8947 to all GNU systems and which are only inapplicable to GNU/Hurd.
8948 * manual/job.texi: Likewise.
8949 * manual/llio.texi: Likewise.
8950 (O_NOCTTY): Document as present on GNU/Linux.
8951 * manual/maint.texi: Likewise.
8952 * manual/memory.texi: Likewise.
8953 * manual/pattern.texi: Likewise.
8954 * manual/pipe.texi: Likewise.
8955 * manual/process.texi: Likewise.
8956 * manual/resource.texi: Likewise.
8957 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8958 child on GNU/Hurd.
8959 * manual/setjmp.texi: Likewise.
8960 * manual/signal.texi: Likewise.
8961 * manual/startup.texi: Likewise.
8962 * manual/stdio.texi: Likewise.
8963 * manual/terminal.texi: Likewise.
8964 (ONLCR): Document as POSIX.
8965 (OXTABS): Document availability on GNU/Linux as XTABS.
8966 (ONOEOT): Document availability separately from other bits.
8967 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8968 * manual/time.texi: Likewise.
8969 * manual/users.texi: Likewise.
8970 * INSTALL: Regenerated.
8971 * sysdeps/gnu/errlist.c: Regenerated.
8972
8973 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8974 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8975 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8976 puts.
8977 * configure: Regenerated.
8978
8979 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8980
8981 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8982 default includes instead of AC_HEADER_CHECK.
8983 * sysdeps/i386/configure: Regenerated.
8984
8985 [BZ #10716]
8986 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8987 * math/s_cacoshf.c (__cacoshf): Likewise.
8988 * math/s_cacoshl.c (__cacoshl): Likewise.
8989 * math/s_casinh.c (__casinh): Set signs of result from argument.
8990 * math/s_casinhf.c (__casinhf): Likewise.
8991 * math/s_casinhl.c (__casinhl): Likewise.
8992 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8993 (casinh_test): Add more tests.
8994 * sysdeps/i386/fpu/libm-test-ulps: Update.
8995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8996
8997 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8998
8999 * po/zh_TW.po: Update from translation team.
9000
9001 * login/Makefile (distribute): Remove variable.
9002 * catgets/Makefile: Likewise.
9003 * mach/Makefile: Likewise.
9004 * malloc/Makefile: Likewise.
9005 * misc/Makefile: Likewise.
9006 * iconv/Makefile: Likewise.
9007 * nscd/Makefile: Likewise.
9008 * hurd/Makefile: Likewise.
9009 * manual/Makefile: Likewise.
9010 * locale/Makefile: Likewise.
9011 * intl/Makefile: Likewise.
9012 * conform/Makefile: Likewise.
9013 * nss/Makefile: Likewise.
9014 * time/Makefile: Likewise.
9015 * soft-fp/Makefile: Likewise.
9016 * dirent/Makefile: Likewise.
9017 * gmon/Makefile: Likewise.
9018 * po/Makefile: Likewise.
9019 * rt/Makefile: Likewise.
9020 * socket/Makefile: Likewise.
9021 * math/Makefile: Likewise.
9022 * signal/Makefile: Likewise.
9023 * debug/Makefile: Likewise.
9024 * elf/Makefile: Likewise.
9025 * timezone/Makefile: Likewise.
9026 * stdlib/Makefile: Likewise.
9027 * iconvdata/Makefile: Likewise.
9028 * sunrpc/Makefile: Likewise.
9029 * io/Makefile: Likewise.
9030 * argp/Makefile: Likewise.
9031 * inet/Makefile: Likewise.
9032 * hesiod/Makefile: Likewise.
9033 * grp/Makefile: Likewise.
9034 * csu/Makefile: Likewise.
9035 * wctype/Makefile: Likewise.
9036 * crypt/Makefile: Likewise.
9037 * libio/Makefile: Likewise.
9038 * string/Makefile: Likewise.
9039 * nis/Makefile: Likewise.
9040 * resolv/Makefile: Likewise.
9041 * stdio-common/Makefile: Likewise.
9042 * wcsmbs/Makefile: Likewise.
9043 * dlfcn/Makefile: Likewise.
9044 * posix/Makefile: Likewise.
9045
9046 [BZ #6959]
9047 * timezone/Makefile: Don't install timezone files, just the programs
9048 and scripts.
9049
9050 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9051
9052 * nss/databases.def: Add missing gshadow entry.
9053
9054 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9055
9056 2012-03-06 Marek Polacek <polacek@redhat.com>
9057
9058 [BZ #13726]
9059 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9060 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9061 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9062 * stdio-common/tst-long-dbl-fphex.c: New file.
9063
9064 2012-03-06 David S. Miller <davem@davemloft.net>
9065
9066 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9067 (set_obp_int): New function.
9068 (get_obp_int): New function.
9069 (__get_clockfreq_via_dev_openprom): Likewise.
9070 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9071 Avoid unused variable warnings on 'val' and use builtin_expect.
9072 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9073 __builtin_expect.
9074 (INLINE_CLONE_SYSCALL): Likewise.
9075
9076 2012-03-05 David S. Miller <davem@davemloft.net>
9077
9078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9079
9080 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9081
9082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9083
9084 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9085 only for |x| >= 40.
9086 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9087
9088 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9089
9090 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9091 Replace gettimeofday with __vdso_gettimeofday.
9092
9093 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9094 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9095 __vdso_clock_gettime and __vdso_getcpu.
9096
9097 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9098 time with __vdso_time.
9099
9100 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9101
9102 * manual/lang.texi (size_t): Note types to which size_t may be
9103 equivalent with the GNU C Library, but do not describe when
9104 differences between them are significant.
9105
9106 2012-03-05 Andreas Jaeger <aj@suse.de>
9107
9108 * sysdeps/i386/fpu/libm-test-ulps: Update.
9109
9110 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9111
9112 [BZ #3976]
9113 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9114 (__ieee754_pow): Save and restore rounding mode and use
9115 round-to-nearest for main computations.
9116 * math/libm-test.inc (pow_test_tonearest): New function.
9117 (pow_test_towardzero): Likewise.
9118 (pow_test_downward): Likewise.
9119 (pow_test_upward): Likewise.
9120 (main): Call the new functions.
9121 * sysdeps/i386/fpu/libm-test-ulps: Update.
9122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9123
9124 [BZ #3976]
9125 * math/libm-test.inc (cosh_test_tonearest): New function.
9126 (cosh_test_towardzero): Likewise.
9127 (cosh_test_downward): Likewise.
9128 (cosh_test_upward): Likewise.
9129 (sinh_test_tonearest): Likewise.
9130 (sinh_test_towardzero): Likewise.
9131 (sinh_test_downward): Likewise.
9132 (sinh_test_upward): Likewise.
9133 (main): Call the new functions.
9134 * sysdeps/i386/fpu/libm-test-ulps: Update.
9135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9136
9137 2012-03-05 Tom de Vries <tom@codesourcery.com>
9138
9139 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9140 default stack guard is set in last bytes.
9141 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9142
9143 2012-03-05 Kees Cook <keescook@chromium.org>
9144
9145 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9146
9147 [BZ #13656]
9148 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9149 possibly allocate from heap instead of stack.
9150 * stdio-common/bug-vfprintf-nargs.c: New file.
9151 * stdio-common/Makefile (tests): Add nargs overflow test.
9152
9153 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9154
9155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9156
9157 2012-03-03 Marek Polacek <polacek@redhat.com>
9158
9159 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9160 * math/math_private.h: Likewise.
9161 * stdlib/tst-strtod.c: Likewise.
9162 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9163 * sysdeps/x86_64/bits/atomic.h: Likewise.
9164
9165 2012-03-02 David S. Miller <davem@davemloft.net>
9166
9167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9171 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9172 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9173 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9174 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9175
9176 2012-03-02 Roland McGrath <roland@hack.frob.com>
9177
9178 [BZ #13792]
9179 * manual/examples/README: New file, says the example source files
9180 can be used under GPL>=2.
9181 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9182 line containing just "*/".
9183 * manual/examples/add.c: Add copyright header (GPL>=2).
9184 * manual/examples/argp-ex1.c: Likewise.
9185 * manual/examples/argp-ex2.c: Likewise.
9186 * manual/examples/argp-ex3.c: Likewise.
9187 * manual/examples/argp-ex4.c: Likewise.
9188 * manual/examples/atexit.c: Likewise.
9189 * manual/examples/db.c: Likewise.
9190 * manual/examples/dir.c: Likewise.
9191 * manual/examples/dir2.c: Likewise.
9192 * manual/examples/execinfo.c: Likewise.
9193 * manual/examples/filecli.c: Likewise.
9194 * manual/examples/filesrv.c: Likewise.
9195 * manual/examples/fmtmsgexpl.c: Likewise.
9196 * manual/examples/genpass.c: Likewise.
9197 * manual/examples/inetcli.c: Likewise.
9198 * manual/examples/inetsrv.c: Likewise.
9199 * manual/examples/isockad.c: Likewise.
9200 * manual/examples/longopt.c: Likewise.
9201 * manual/examples/memopen.c: Likewise.
9202 * manual/examples/memstrm.c: Likewise.
9203 * manual/examples/mkfsock.c: Likewise.
9204 * manual/examples/mkisock.c: Likewise.
9205 * manual/examples/mygetpass.c: Likewise.
9206 * manual/examples/pipe.c: Likewise.
9207 * manual/examples/popen.c: Likewise.
9208 * manual/examples/rprintf.c: Likewise.
9209 * manual/examples/search.c: Likewise.
9210 * manual/examples/select.c: Likewise.
9211 * manual/examples/setjmp.c: Likewise.
9212 * manual/examples/sigh1.c: Likewise.
9213 * manual/examples/sigusr.c: Likewise.
9214 * manual/examples/stpcpy.c: Likewise.
9215 * manual/examples/strdupa.c: Likewise.
9216 * manual/examples/strftim.c: Likewise.
9217 * manual/examples/strncat.c: Likewise.
9218 * manual/examples/subopt.c: Likewise.
9219 * manual/examples/swapcontext.c: Likewise.
9220 * manual/examples/termios.c: Likewise.
9221 * manual/examples/testopt.c: Likewise.
9222 * manual/examples/testpass.c: Likewise.
9223 * manual/examples/timeval_subtract.c: Likewise.
9224
9225 [BZ #13792]
9226 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9227 function to ...
9228 * manual/timeval_subtract.c.texi: ... here, new file.
9229
9230 2012-03-02 David S. Miller <davem@davemloft.net>
9231
9232 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9233
9234 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9235
9236 [BZ #3976]
9237 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9238 (__sin): Save and restore rounding mode and use round-to-nearest
9239 for all computations.
9240 (__cos): Save and restore rounding mode and use round-to-nearest
9241 for all computations.
9242 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9243 <fenv.h>.
9244 (tan): Save and restore rounding mode and use round-to-nearest for
9245 all computations.
9246 * math/libm-test.inc (cos_test_tonearest): New function.
9247 (cos_test_towardzero): Likewise.
9248 (cos_test_downward): Likewise.
9249 (cos_test_upward): Likewise.
9250 (sin_test_tonearest): Likewise.
9251 (sin_test_towardzero): Likewise.
9252 (sin_test_downward): Likewise.
9253 (sin_test_upward): Likewise.
9254 (tan_test_tonearest): Likewise.
9255 (tan_test_towardzero): Likewise.
9256 (tan_test_downward): Likewise.
9257 (tan_test_upward): Likewise.
9258 (main): Call the new functions.
9259 * sysdeps/i386/fpu/libm-test-ulps: Update.
9260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9261
9262 [BZ #10135]
9263 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9264 small n, then large n, before computing and testing k+n.
9265 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9266 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9267 Likewise.
9268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9269 Likewise.
9270 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9271 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9272 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9273 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9274 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9275 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9276 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9277 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9278 * math/libm-test.inc (scalbn_test): Add more tests.
9279 (scalbln_test): Likewise.
9280
9281 * manual/filesys.texi (mode_t): Describe constraints on size and
9282 signedness, not exact equivalence to a particular type.
9283 (ino_t): Likewise.
9284 (ino64_t): Likewise.
9285 (dev_t): Likewise.
9286 (nlink_t): Likewise.
9287 (blkcnt_t): Likewise.
9288 (blkcnt64_t): Likewise.
9289 * manual/llio.texi (off_t): Likewise.
9290
9291 [BZ #3976]
9292 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9293 (__ieee754_exp): Save and restore rounding mode and use
9294 round-to-nearest for all computations.
9295 * math/libm-test.inc (exp_test_tonearest): New function.
9296 (exp_test_towardzero): Likewise.
9297 (exp_test_downward): Likewise.
9298 (exp_test_upward): Likewise.
9299 (main): Call the new functions.
9300 * sysdeps/i386/fpu/libm-test-ulps: Update.
9301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9302
9303 2012-03-01 Chris Demetriou <cgd@google.com>
9304
9305 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9306 have predictable order.
9307
9308 2012-03-01 David S. Miller <davem@davemloft.net>
9309
9310 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9311
9312 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9313 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9314 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9315 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9316
9317 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9318 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9319 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9321 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9322 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9323 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9324 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9325 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9326
9327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9328
9329 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9330 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9331 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9332
9333 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9334 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9335 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9336 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9337 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9338 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9339 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9340 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9341 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9342 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9343 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9344 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9345 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9346 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9347 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9348 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9349 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9350 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9351 * sysdeps/sparc/elf/configure: Regenerated.
9352
9353 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9354
9355 * configure.in (AS, LD): Require binutils 2.20 or later.
9356 * configure: Regenerated.
9357 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9358 as required minimum version.
9359 * INSTALL: Regenerated.
9360
9361 [BZ #2541]
9362 [BZ #4108]
9363 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9364 before squaring exponent.
9365 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9366 bottom long double and 27 bits of top long double before squaring
9367 exponent.
9368 * math/libm-test.inc (erfc_test): Add more tests.
9369 * sysdeps/i386/fpu/libm-test-ulps: Update.
9370 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9372
9373 2012-03-01 Kai Tietz <ktietz@redhat.com>
9374
9375 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9376 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9377 containing bit-fields.
9378 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9379 * soft-fp/single.h (_FP_UNION_S): Likewise.
9380 * soft-fp/double.h (_FP_UNION_D): Likewise.
9381
9382 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9383
9384 [BZ #13786]
9385 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9386 not include ../strcmp.S.
9387 [USE_AS_STRNCASECMP_L]: Likewise.
9388 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9389 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9390 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9391 (__strncasecmp_l_ia32): Define as alias to
9392 __strncasecmp_l_nonascii.
9393
9394 [BZ #5794]
9395 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9396 * sysdeps/i386/fpu/libm-test-ulps: Update.
9397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9398
9399 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9401
9402 2012-02-29 Jeff Law <law@redhat.com>
9403
9404 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9405 out of bounds read.
9406
9407 2012-02-29 Marek Polacek <polacek@redhat.com>
9408
9409 [BZ #13706]
9410 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9411 * elf/Makefile: Add rules to run tst-unused-dep.out.
9412
9413 2012-02-28 David S. Miller <davem@davemloft.net>
9414
9415 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9416 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9417 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9419 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9420 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9421
9422 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9423
9424 * math/libm-test.inc (llround_test): Move one test from
9425 lround_test. Use TEST_f_L in moved test.
9426 (lround_test): Move misplaced test to llround_test. Add testcase
9427 from bug 2561.
9428
9429 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9430
9431 * sysdeps/x86_64/fpu/e_expf.S: New file.
9432 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9433
9434 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9435
9436 [BZ #13637]
9437 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9438 of remain_len that may cause incomplete multi-byte character and
9439 false match.
9440 * posix/bug-regex33.c: New file.
9441 * posix/Makefile (tests): Add bug-regex33.
9442
9443 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9444
9445 * manual/macros.texi: New file.
9446 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9447 * manual/libc.texinfo: Include macros.texi.
9448 * manual/creatute.texi: Likewise.
9449 * manual/install.texi: Likewise.
9450 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9451 @glibcadj{} in references to the GNU C Library.
9452 * manual/charset.texi: Likewise.
9453 * manual/conf.texi: Likewise.
9454 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9455 when not using those macros.
9456 * manual/creature.texi: Likewise.
9457 * manual/crypt.texi: Likewise.
9458 * manual/errno.texi: Likewise.
9459 * manual/filesys.texi: Likewise.
9460 * manual/header.texi: Likewise.
9461 * manual/install.texi: Likewise.
9462 * manual/intro.texi: Likewise.
9463 * manual/io.texi: Likewise.
9464 * manual/job.texi: Likewise.
9465 * manual/lang.texi: Likewise.
9466 * manual/libc.texiinfo: Likewise.
9467 * manual/llio.texi: Likewise.
9468 * manual/locale.texi: Likewise.
9469 * manual/maint.texi: Likewise.
9470 * manual/math.texi: Likewise.
9471 * manual/memory.texi: Likewise.
9472 * manual/message.texi: Likewise.
9473 * manual/nss.texi: Likewise.
9474 * manual/pattern.texi: Likewise.
9475 * manual/process.texi: Likewise.
9476 * manual/resource.texi: Likewise.
9477 * manual/search.texi: Likewise.
9478 * manual/setjmp.texi: Likewise.
9479 * manual/signal.texi: Likewise.
9480 * manual/socket.texi: Likewise.
9481 * manual/startup.texi: Likewise.
9482 * manual/stdio.texi: Likewise.
9483 * manual/string.texi: Likewise.
9484 * manual/sysinfo.texi: Likewise.
9485 * manual/syslog.texi: Likewise.
9486 * manual/terminal.texi: Likewise.
9487 * manual/time.texi: Likewise.
9488 * manual/users.texi: Likewise.
9489 * INSTALL: Regenerated.
9490 * NOTES: Regenerated.
9491 * sysdeps/gnu/errlist.c: Regenerated.
9492
9493 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9494
9495 * include/dirent.h: Include <dirstream.h> before
9496 <dirent/dirent.h>.
9497
9498 2012-02-28 David S. Miller <davem@davemloft.net>
9499
9500 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9501 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9502 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9503 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9504
9505 2012-02-27 David S. Miller <davem@davemloft.net>
9506
9507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9509 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9510 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9511
9512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9513 frame pointer instead of stack pointer relative arg slot.
9514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9515 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9516 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9517
9518 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9519
9520 [BZ #3992]
9521 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9522
9523 2012-02-27 David S. Miller <davem@davemloft.net>
9524
9525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9529 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9530 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9531 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9532 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9533
9534 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9535
9536 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9537 later. Allow versions 5-9.
9538 * configure: Regenerated.
9539 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9540 required minimum version and 4.6 as recommended version. Do not
9541 mention bugs in GCC 2.7 and 2.8.
9542 * INSTALL: Regenerated.
9543
9544 2012-02-27 David S. Miller <davem@davemloft.net>
9545
9546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9550 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9551 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9552 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9553 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9554
9555 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9556 manipulate bits before adding and subtracting TWO112[sx].
9557 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9558
9559 2012-02-27 Roland McGrath <roland@hack.frob.com>
9560
9561 [BZ #13775]
9562 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9563 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9564 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9565 being in POSIX, because they are in 1003.1-2008.
9566
9567 * rt/tst-aio.c: Include <fcntl.h>.
9568 * rt/tst-aio7.c: Likewise.
9569 * rt/tst-aio64.c: Likewise.
9570
9571 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9572
9573 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9574
9575 * manual/install.texi (--with-headers): Describe headers as
9576 interface headers, not private headers.
9577 (Specific advice for GNU/Linux systems): Describe use of headers
9578 from "make headers_install", not private headers from older
9579 kernels.
9580 * INSTALL: Regenerated.
9581 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9582 Change to 2.6.19.
9583 * sysdeps/unix/sysv/linux/configure: Regenerated.
9584
9585 * manual/llio.texi (fclean): Remove documentation.
9586
9587 * manual/Makefile (libc-texi-generated): New variable. Include
9588 version.texi.
9589 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9590 $(libc-texi-generated), not duplicated list of files.
9591 (version.texi, stamp-version): New rules.
9592 (realclean): Remove $(libc-texi-generated), not individual files
9593 from that list. Do not remove dir-add.texinfo.
9594 * manual/libc.texinfo: Comment out uses of edition numbers and
9595 references to printed manual. Remove last-updated dates.
9596 (EDITION): Comment out.
9597 (ISBN): Likewise.
9598 (VERSION, UPDATED): Remove.
9599 (version.texi): Include.
9600
9601 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9602
9603 * sysdeps/posix/spawni.c: Include <signal.h>.
9604 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9605 * sysdeps/pthread/aio_fsync.c: Likewise.
9606
9607 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9608
9609 * conform/Makefile (tests): Run only when not cross-compiling and
9610 when fast-check is not defined.
9611
9612 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9613 * conform/data/limits.h-data: Fixes for POSIX2008.
9614 * conform/run-conformtest.sh: Run all tests.
9615 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9616 headers.
9617 * include/bits/dlfcn.h: Likewise.
9618 * include/langinfo.h: Likewise.
9619 * include/monetary.h: Likewise.
9620 * include/sys/poll.h: Likewise.
9621
9622 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9623 for __USE_GNU.
9624 * posix/spawn.h: Define __need_sigset_t.
9625 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9626 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9627 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9628 to get sigevent_t only.
9629 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9630 only for __USE_GNU.
9631 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9632 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9633 process_vm_writev only for __USE_GNU.
9634 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9635
9636 * conform/Makefile: For now ignore errors from run-conformtest.
9637 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9638 POSIX to avoid namespace pollution. Don't prepend headers.
9639 * conform/data/aio.h-data: Fixes for POSIX testing.
9640 * conform/data/fcntl.h-data: Likewise.
9641 * conform/data/glob.h-data: Likewise.
9642 * conform/data/grp.h-data: Likewise.
9643 * conform/data/pthread.h-data: Likewise.
9644 * conform/data/pwd.h-data: Likewise.
9645 * conform/data/signal.h-data: Likewise.
9646 * conform/data/spawn.h-data: Likewise.
9647 * conform/data/stdio.h-data: Likewise.
9648 * conform/data/stdlib.h-data: Likewise.
9649 * conform/data/stropts.h-data: Likewise.
9650 * conform/data/sys/mman.h-data: Likewise.
9651 * conform/data/sys/stat.h-data: Likewise.
9652 * conform/data/sys/types.h-data: Likewise.
9653 * conform/data/sys/wait.h-data: Likewise.
9654 * conform/data/time.h-data: Likewise.
9655 * conform/data/unistd.h-data: Likewise.
9656 * conform/data/utime.h-data: Likewise.
9657
9658 * io/sys/stat.h: fchmod was always in POSIX.
9659 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9660 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9661 * rt/aio.h: Define __need_timespec before including <time.h>.
9662 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9663 struct. Add forward declaration of pthread_attr_t and use it in
9664 sigevent.
9665 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9666 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9667 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9668 always remove CLK_TCK definition.
9669
9670 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9671
9672 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9673
9674 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9675
9676 * conform/run-conformtest.sh: New file.
9677 * conform/Makefile: Run run-conformtest for tests.
9678 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9679 support.
9680
9681 * conform/data/uchar.h-data: New file.
9682 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9683 * conform/data/arpa/inet.h-data: Likewise.
9684 * conform/data/assert.h-data: Likewise.
9685 * conform/data/complex.h-data: Likewise.
9686 * conform/data/cpio.h-data: Likewise.
9687 * conform/data/ctype.h-data: Likewise.
9688 * conform/data/dirent.h-data: Likewise.
9689 * conform/data/dlfcn.h-data: Likewise.
9690 * conform/data/errno.h-data: Likewise.
9691 * conform/data/fcntl.h-data: Likewise.
9692 * conform/data/float.h-data: Likewise.
9693 * conform/data/fmtmsg.h-data: Likewise.
9694 * conform/data/fnmatch.h-data: Likewise.
9695 * conform/data/ftw.h-data: Likewise.
9696 * conform/data/glob.h-data: Likewise.
9697 * conform/data/grp.h-data: Likewise.
9698 * conform/data/iconv.h-data: Likewise.
9699 * conform/data/inttypes.h-data: Likewise.
9700 * conform/data/langinfo.h-data: Likewise.
9701 * conform/data/libgen.h-data: Likewise.
9702 * conform/data/limits.h-data: Likewise.
9703 * conform/data/locale.h-data: Likewise.
9704 * conform/data/math.h-data: Likewise.
9705 * conform/data/monetary.h-data: Likewise.
9706 * conform/data/mqueue.h-data: Likewise.
9707 * conform/data/ndbm.h-data: Likewise.
9708 * conform/data/net/if.h-data: Likewise.
9709 * conform/data/netdb.h-data: Likewise.
9710 * conform/data/netinet/in.h-data: Likewise.
9711 * conform/data/nl_types.h-data: Likewise.
9712 * conform/data/poll.h-data: Likewise.
9713 * conform/data/pthread.h-data: Likewise.
9714 * conform/data/pwd.h-data: Likewise.
9715 * conform/data/regex.h-data: Likewise.
9716 * conform/data/sched.h-data: Likewise.
9717 * conform/data/search.h-data: Likewise.
9718 * conform/data/semaphore.h-data: Likewise.
9719 * conform/data/setjmp.h-data: Likewise.
9720 * conform/data/signal.h-data: Likewise.
9721 * conform/data/spawn.h-data: Likewise.
9722 * conform/data/stdarg.h-data: Likewise.
9723 * conform/data/stdio.h-data: Likewise.
9724 * conform/data/stdlib.h-data: Likewise.
9725 * conform/data/string.h-data: Likewise.
9726 * conform/data/strings.h-data: Likewise.
9727 * conform/data/stropts.h-data: Likewise.
9728 * conform/data/sys/ipc.h-data: Likewise.
9729 * conform/data/sys/mman.h-data: Likewise.
9730 * conform/data/sys/msg.h-data: Likewise.
9731 * conform/data/sys/resource.h-data: Likewise.
9732 * conform/data/sys/select.h-data: Likewise.
9733 * conform/data/sys/sem.h-data: Likewise.
9734 * conform/data/sys/shm.h-data: Likewise.
9735 * conform/data/sys/socket.h-data: Likewise.
9736 * conform/data/sys/stat.h-data: Likewise.
9737 * conform/data/sys/statvfs.h-data: Likewise.
9738 * conform/data/sys/time.h-data: Likewise.
9739 * conform/data/sys/timeb.h-data: Likewise.
9740 * conform/data/sys/times.h-data: Likewise.
9741 * conform/data/sys/types.h-data: Likewise.
9742 * conform/data/sys/uio.h-data: Likewise.
9743 * conform/data/sys/un.h-data: Likewise.
9744 * conform/data/sys/utsname.h-data: Likewise.
9745 * conform/data/sys/wait.h-data: Likewise.
9746 * conform/data/syslog.h-data: Likewise.
9747 * conform/data/tar.h-data: Likewise.
9748 * conform/data/termios.h-data: Likewise.
9749 * conform/data/utime.h-data: Likewise.
9750 * conform/data/utmpx.h-data: Likewise.
9751 * conform/data/varargs.h-data: Likewise.
9752 * conform/data/wchar.h-data: Likewise.
9753 * conform/data/wctype.h-data: Likewise.
9754 * conform/data/wordexp.h-data: Likewise.
9755
9756 * include/stropts.h: New file.
9757 * include/uchar.h: New file.
9758 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9759 * include/assert.h: Likewise.
9760 * include/ctype.h: Likewise.
9761 * include/dirent.h: Likewise.
9762 * include/dlfcn.h: Likewise.
9763 * include/fcntl.h: Likewise.
9764 * include/fnmatch.h: Likewise.
9765 * include/glob.h: Likewise.
9766 * include/grp.h: Likewise.
9767 * include/libio.h: Likewise.
9768 * include/locale.h: Likewise.
9769 * include/math.h: Likewise.
9770 * include/net/if.h: Likewise.
9771 * include/netdb.h: Likewise.
9772 * include/netinet/in.h: Likewise.
9773 * include/pthread.h: Likewise.
9774 * include/pwd.h: Likewise.
9775 * include/regex.h: Likewise.
9776 * include/sched.h: Likewise.
9777 * include/search.h: Likewise.
9778 * include/setjmp.h: Likewise.
9779 * include/signal.h: Likewise.
9780 * include/stdio.h: Likewise.
9781 * include/stdlib.h: Likewise.
9782 * include/string.h: Likewise.
9783 * include/sys/cdefs.h: Likewise.
9784 * include/sys/mman.h: Likewise.
9785 * include/sys/msg.h: Likewise.
9786 * include/sys/resource.h: Likewise.
9787 * include/sys/select.h: Likewise.
9788 * include/sys/socket.h: Likewise.
9789 * include/sys/stat.h: Likewise.
9790 * include/sys/statvfs.h: Likewise.
9791 * include/sys/time.h: Likewise.
9792 * include/sys/times.h: Likewise.
9793 * include/sys/uio.h: Likewise.
9794 * include/sys/utsname.h: Likewise.
9795 * include/sys/wait.h: Likewise.
9796 * include/termios.h: Likewise.
9797 * include/time.h: Likewise.
9798 * include/ulimit.h: Likewise.
9799 * include/unistd.h: Likewise.
9800 * include/utime.h: Likewise.
9801 * include/wchar.h: Likewise.
9802 * include/wctype.h: Likewise.
9803 * include/wordexp.h: Likewise.
9804
9805 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9806
9807 * time/time.h: TIME_UTC must be a macro.
9808 Make timespec_get available for ISO C11 only as well.
9809
9810 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9811
9812 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9813 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9814
9815 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9816
9817 * configure.in: Use -o not -a in test for unsupported multi-arch.
9818
9819 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9820
9821 * manual/texinfo.tex: Update to version 2012-01-19.16.
9822
9823 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9824
9825 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9826
9827 2012-02-24 Roland McGrath <roland@hack.frob.com>
9828
9829 [BZ #13738]
9830 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9831 * manual/fdl-1.3.texi: New file.
9832 * manual/fdl-1.1.texi: File removed.
9833
9834 [BZ #13738]
9835 * manual/libc.texinfo (FDL_VERSION): New @set.
9836 Use it for mention of FDL in cover text.
9837 (Documentation License): Use it in @include file name.
9838
9839 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9840 Roland McGrath <roland@hack.frob.com>
9841
9842 [BZ #5461]
9843 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9844 not LONG_LONG_MAX and LONG_LONG_MIN.
9845 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9846 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9847 name.
9848 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9849
9850 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9851
9852 [BZ #2547]
9853 [BZ #11365]
9854 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9855 manipulate bits before adding and subtracting TWO23[sx].
9856 * math/libm-test.inc (nearbyint_test): Add more tests.
9857
9858 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9859
9860 [BZ #2548]
9861 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9862 bits before adding and subtracting TWO23[sx].
9863 * math/libm-test.inc (rint_test): Add more tests.
9864 (rint_test_tonearest): Likewise.
9865 (rint_test_towardzero): Likewise.
9866 (rint_test_downward): Likewise.
9867 (rint_test_upward: Likewise.
9868
9869 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9870
9871 [BZ #10110]
9872 * include/stdc-predef.h: New file. Extracted from features.h.
9873 * include/features.h: Include stdc-predef.h.
9874 * Makefile (headers): Add stdc-predef.h.
9875 * CONFORMANCE (Compiler limitations): Update.
9876
9877 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9878
9879 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9880
9881 2012-02-21 David S. Miller <davem@davemloft.net>
9882
9883 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9884 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9885
9886 2012-02-20 David S. Miller <davem@davemloft.net>
9887
9888 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9889 using a normal save/restore sequence, rather than allocating a
9890 dummy stack frame just to store a frame pointer and restore.
9891 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9892
9893 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9894
9895 * manual/install.texi: Fix stray word in line-wrapped comment.
9896
9897 2012-02-20 David S. Miller <davem@davemloft.net>
9898
9899 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9900 both binutils and gcc support GOTDATA.
9901
9902 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9903 "rd %pc" in the PIC register setup sequences.
9904
9905 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9906 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9907 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9908 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9909 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9910 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9911 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9912 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9913 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9914 (SYSCALL_ERROR_HANDLER): Likewise.
9915 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9916 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9917 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9918 (SYSCALL_ERROR_HANDLER): Likewise.
9919
9920 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9921 (HAVE_GCC_GOTDATA): New.
9922 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9923 relocation support in both binutils and gcc.
9924 * sysdeps/sparc/elf/configure: Regenerate.
9925
9926 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9927 * sysdeps/sparc/sparc32/elf/configure: Delete.
9928 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9929 * sysdeps/sparc/sparc64/elf/configure: Delete.
9930 * sysdeps/sparc/elf/configure.in: New file.
9931 * sysdeps/sparc/elf/configure: Generate.
9932
9933 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9934 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9935 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9936 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9937 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9938
9939 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9940
9941 * manual/install.texi: Do not mention specific glibc version
9942 numbers.
9943 * manual/libc.texinfo (VERSION, UPDATED): Update.
9944 (@copying): Use @copyright{} and range of years.
9945
9946 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9947
9948 [BZ #13695]
9949 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9950 [crti.S not in sysdirs] (generated): Do not append.
9951 [crti.S not in sysdirs] (omit-deps): Likewise.
9952 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9953 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9954 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9955 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9956 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9957 Likewise.
9958 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9959 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9960 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9961 * csu/defs.awk: Remove file.
9962 * sysdeps/generic/initfini.c: Likewise.
9963 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9964 variable.
9965 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9966 Likewise.
9967
9968 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9969
9970 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9971 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9972 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9973 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9974 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9975 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9976 <bits/epoll.h>.
9977 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9978 (__EPOLL_PACKED): Define to empty if not defined by
9979 <bits/epoll.h>.
9980 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9982 bits/epoll.h.
9983
9984 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9985
9986 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9987 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9988 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9989 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9990 <bits/timerfd.h>.
9991 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9993 bits/timerfd.h.
9994
9995 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9996
9997 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9998 in C locale.
9999 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10000 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10001 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10003
10004 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10005
10006 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10007 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10008
10009 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10010
10011 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10012 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10013 defined.
10014 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10015 Likewise.
10016 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10017 entry for 2.16.
10018
10019 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10020
10021 * math/w_acos.c: Use non-signaling floating-point comparisons.
10022 * math/w_acosf.c: Likewise.
10023 * math/w_acosh.c: Likewise.
10024 * math/w_acoshf.c: Likewise.
10025 * math/w_acoshl.c: Likewise.
10026 * math/w_acosl.c: Likewise.
10027 * math/w_asin.c: Likewise.
10028 * math/w_asinf.c: Likewise.
10029 * math/w_asinl.c: Likewise.
10030 * math/w_atanh.c: Likewise.
10031 * math/w_atanhf.c: Likewise.
10032 * math/w_atanhl.c: Likewise.
10033 * math/w_exp2.c: Likewise.
10034 * math/w_exp2f.c: Likewise.
10035 * math/w_exp2l.c: Likewise.
10036 * math/w_j0.c: Likewise.
10037 * math/w_j0f.c: Likewise.
10038 * math/w_j0l.c: Likewise.
10039 * math/w_j1.c: Likewise.
10040 * math/w_j1f.c: Likewise.
10041 * math/w_j1l.c: Likewise.
10042 * math/w_jn.c: Likewise.
10043 * math/w_jnf.c: Likewise.
10044 * math/w_log.c: Likewise.
10045 * math/w_log10.c: Likewise.
10046 * math/w_log10f.c: Likewise.
10047 * math/w_log10l.c: Likewise.
10048 * math/w_log2.c: Likewise.
10049 * math/w_log2f.c: Likewise.
10050 * math/w_log2l.c: Likewise.
10051 * math/w_logf.c: Likewise.
10052 * math/w_logl.c: Likewise.
10053 * math/w_sqrt.c: Likewise.
10054 * math/w_sqrtf.c: Likewise.
10055 * math/w_sqrtl.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10058 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10059 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10060 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10061
10062 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10063
10064 [BZ #9739]
10065 * manual/string.texi (strnlen): Use correct parameter name in
10066 equivalent expression.
10067
10068 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10069
10070 [BZ #11174]
10071 * manual/users.texi (seteuid): Consistently use neweuid for
10072 argument name.
10073
10074 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10075
10076 [BZ #13704]
10077 * manual/nss.texi (Services in the NSS configuration): Correct
10078 list of services in example configuration file.
10079
10080 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10081
10082 [BZ #11322]
10083 * manual/arith.texi: Remove statements about negative zero
10084 behaving identically to zero.
10085
10086 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10087
10088 [BZ #5993]
10089 * manual/install.texi: Do not document upgrading from libc5.
10090
10091 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10092
10093 [BZ #4596]
10094 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10095
10096 2012-02-18 David S. Miller <davem@davemloft.net>
10097
10098 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10099 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10100 %o7 across the call.
10101 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10102 instead.
10103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10104 SETUP_PIC_REG_LEAF.
10105 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10106 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10107 * sysdeps/sparc/crtn.S: Likewise.
10108
10109 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10110
10111 * aout/Makefile: Remove.
10112
10113 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10114
10115 [BZ #13058]
10116 * manual/examples/argp-ex1.c (main): Format definition in GNU
10117 style.
10118 * manual/examples/argp-ex2.c (main): Likewise.
10119 * manual/examples/argp-ex3.c (main): Likewise.
10120 * manual/examples/argp-ex4.c (main): Likewise.
10121 * manual/examples/longopt.c (main): Use new-style prototype
10122 definition.
10123 * manual/examples/strncat.c (main): Specify return type and use
10124 (void) for arguments.
10125 * manual/examples/subopt.c (main): Use char **argv argument.
10126
10127 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10128
10129 [BZ #5077]
10130 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10131 rounding modes.
10132
10133 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10134
10135 [BZ #6907]
10136 * manual/string.texi (strchr): Change when strchrnul is
10137 recommended.
10138
10139 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10140
10141 [BZ #174]
10142 * manual/locale.texi (setlocale): Document LOCPATH.
10143
10144 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10145
10146 [BZ #10210]
10147 * manual/process.texi (execle): Move @dots{} before last argument.
10148
10149 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10150
10151 [BZ #12047]
10152 * manual/charset.texi (Generic Charset Conversion): Fix typo
10153 (LC_TYPE -> LC_CTYPE).
10154
10155 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10156
10157 [BZ #5805]
10158 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10159 (scalbnf): Likewise.
10160 (scalbnl): Likewise.
10161 (scalbln): Likewise.
10162 (scalblnf): Likewise.
10163 (scalblnl): Likewise.
10164 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10165 (vwarnx): Likewise.
10166 (verr): Likewise.
10167 (verrx): Likewise.
10168 * manual/filesys.texi (telldir): Use braces around return type.
10169 * manual/llio.texi (mmap): Add space after comma.
10170 (mmap64): Likewise.
10171 * manual/math.texi (jn): Use @var{} on parameter names.
10172 (jnf): Likewise.
10173 (jnl): Likewise.
10174 (yn): Likewise.
10175 (ynf): Likewise.
10176 (ynl): Likewise.
10177 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10178 line.
10179 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10180 "...".
10181 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10182 (sched_get_priority_max): Likewise.
10183 * manual/signal.texi (sigvec): Add space after comma.
10184 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10185 names.
10186 (if_indextoname): Likewise.
10187 (if_freenameindex): Likewise.
10188 (sendto): Use ',' instead of '.' in prototype.
10189 * manual/startup.texi (syscall): Use @dots{} instead of literal
10190 "...".
10191 * manual/stdio.texi (__fpending): Separate initial words of
10192 paragraph from @deftypefun line.
10193 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10194 "...".
10195 (vsyslog): Use @var{} on parameter names.
10196 * manual/terminal.texi (stty): Use @var{} on parameter names.
10197 * manual/users.texi (getutmp): Use @var{} on parameter names.
10198 (getutmpx): Likewise.
10199
10200 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10201
10202 [BZ #6884]
10203 * manual/stdio.texi (fopen): Fix typos in description of
10204 ",ccs=STRING".
10205
10206 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10207
10208 [BZ #4026]
10209 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10210 get clock_id definition.
10211
10212 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10213
10214 [BZ #4822]
10215 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10216 (madvise): Cast every argument to void on its own.
10217
10218 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10219
10220 [BZ #9902]
10221 * manual/startup.texi (Exit Status): Fix typo.
10222
10223 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10224
10225 [BZ #10140]
10226 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10227 * manual/examples/argp-ex2.c: Likewise.
10228 * manual/examples/argp-ex3.c: Likewise.
10229
10230 2012-02-16 Richard Henderson <rth@redhat.com>
10231
10232 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10233 * sysdeps/s390/s390-32/initfini.c: Remove.
10234 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10235 * sysdeps/s390/s390-64/initfini.c: Remove.
10236
10237 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10238
10239 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10240 compiler output for sysdeps/generic/initfini.c.
10241 * sysdeps/sh/elf/initfini.c: Remove file.
10242
10243 2012-02-16 David S. Miller <davem@davemloft.net>
10244
10245 [BZ #11494]
10246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10247
10248 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10249 * sysdeps/sparc/crti.S: New file.
10250 * sysdeps/sparc/crtn.S: New file.
10251 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10252 * sysdeps/sparc/sparc64/Makefile: Likewise.
10253
10254 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10255
10256 [BZ #3335]
10257 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10258
10259 2012-02-15 Roland McGrath <roland@hack.frob.com>
10260
10261 [BZ #4822]
10262 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10263
10264 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10265 (write, read, close): Likewise.
10266 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10267
10268 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10269
10270 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10271 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10272 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10273 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10274 <bits/signalfd.h>.
10275 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10277 bits/signalfd.h.
10278
10279 2012-02-14 Marek Polacek <polacek@redhat.com>
10280
10281 * sysdeps/x86_64/crti.S: New file.
10282 * sysdeps/x86_64/crtn.S: New file.
10283 * sysdeps/x86_64/elf/initfini.c: Remove file.
10284
10285 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10286
10287 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10288 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10289 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10290 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10291 <bits/inotify.h>.
10292 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10294 bits/inotify.h.
10295
10296 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10297
10298 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10299 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10300 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10301 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10302 <bits/eventfd.h>.
10303 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10305 bits/eventfd.h.
10306
10307 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10308
10309 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10310 __feraiseexcept instead of feraiseexcept.
10311
10312 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10313 nanosleep invocations.
10314 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10315 strings, and add error checking for a nanosleep invocations.
10316
10317 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10318
10319 Replace FSF snail mail address with URLs, as per GNU coding standards.
10320 Most of the snail mail addresses were wrong anyway, and omitting
10321 them makes the source code easier to maintain. Almost all of the
10322 changes are to license notices and to locale LC_IDENTIFICATION
10323 addresses, except for this one:
10324 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10325 not its snail mail address.
10326
10327 2012-02-09 Richard Henderson <rth@twiddle.net>
10328
10329 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10330 of kernel-features.h.
10331
10332 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10333
10334 2012-02-08 Marek Polacek <polacek@redhat.com>
10335
10336 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10337 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10338 * sysdeps/gnu/_G_config.h: Likewise.
10339 * sysdeps/generic/_G_config.h: Likewise.
10340
10341 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10342
10343 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10344 tests.
10345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10346
10347 * sysdeps/powerpc/powerpc32/crti.S: New file.
10348 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10349 * sysdeps/powerpc/powerpc64/crti.S: New file.
10350 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10351
10352 * Makeconfig (have-initfini): Don't set.
10353 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10354 * configure.in (nopic_initfini): Don't substitute.
10355 * config.h.in (HAVE_INITFINI): Don't #undef.
10356 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10357 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10358
10359 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10360
10361 Support crti.S and crtn.S provided directly by architectures.
10362 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10363 [crti.S in sysdirs] (omit-deps): Likewise.
10364 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10365 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10366 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10367 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10368 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10369 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10370 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10371 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10372 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10373 compiler output for sysdeps/generic/initfini.c.
10374 * sysdeps/i386/elf/Makefile: Remove file.
10375 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10376
10377 2012-02-07 Marek Polacek <polacek@redhat.com>
10378
10379 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10380 * sysdeps/gnu/_G_config.h: Likewise.
10381 * sysdeps/mach/hurd/_G_config.h: Likewise.
10382
10383 2012-02-07 Marek Polacek <polacek@redhat.com>
10384
10385 * math/Makefile (tests): Add tst-CMPLX2.
10386 * math/tst-CMPLX2.c: New file.
10387
10388 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10389
10390 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10391
10392 * math/libm-test.inc (jn_test): Add missing L suffix.
10393
10394 2012-02-06 Marek Polacek <polacek@redhat.com>
10395
10396 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10397 * sysdeps/i386/fpu/e_powf.S: Likewise.
10398 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10399 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10400 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10401 * sysdeps/i386/fpu/e_pow.S: Likewise.
10402 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10403 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10404 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10405 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10406 * sysdeps/i386/fpu/e_log2.S: Likewise.
10407 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10408 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10409 * sysdeps/i386/fpu/e_powl.S: Likewise.
10410 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10411 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10412 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10413 * sysdeps/i386/fpu/e_logl.S: Likewise.
10414 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10415 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10416 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10417 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10418 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10419 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10420 * sysdeps/i386/fpu/e_log.S: Likewise.
10421 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10422 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10423 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10424 * sysdeps/i386/fpu/e_logf.S: Likewise.
10425 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10426 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10427 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10428 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10429 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10430 * sysdeps/i386/fpu/e_log10.S: Likewise.
10431 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10432 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10433 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10434 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10435 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10436 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10437 * sysdeps/i386/asm-syntax.h: Likewise.
10438 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10439 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10440 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10441 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10442 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10443 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10444 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10445 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10446 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10447 * sysdeps/powerpc/sysdep.h: Likewise.
10448 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10449 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10450
10451 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10452
10453 [BZ #411]
10454 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10455
10456 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10457
10458 * sysdeps/i386/sysdep.h: Include <features.h>.
10459 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10460 version.
10461
10462 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10463
10464 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10465 Define.
10466 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10467 LOAD_PIC_REG_STR.
10468
10469 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10470
10471 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10472 (SETUP_PIC_REG): Use GET_PC_THUNK.
10473 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10474 macro.
10475
10476 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10477
10478 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10479 for non-PIC compilation.
10480 (SETUP_PIC_REG): Add .p2align directive.
10481 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10482 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10483 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10484 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10485 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10486 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10487 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10488 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10489 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10490 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10491 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10492 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10493 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10494 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10495 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10496 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10497 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10498 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10499 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10500 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10501 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10502 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10503 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10504 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10505 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10506 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10507 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10508 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10509 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10510 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10511 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10512 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10513 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10514 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10515 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10516 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10517 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10518 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10519 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10520 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10521 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10522
10523 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10524
10525 * math/tst-CMPLX.c: Include <stdio.h>.
10526
10527 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10528
10529 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10530 float.
10531 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10532 * sysdeps/sparc/bits/mathdef.h: Likewise.
10533
10534 2012-01-31 Marek Polacek <polacek@redhat.com>
10535
10536 * libio/libio.h: Don't define _PARAMS.
10537 * locale/programs/config.h: Don't define PARAMS.
10538 * stdlib/strtol_l.c: Likewise.
10539 (__strtol_l): Remove PARAMS from the prototype.
10540
10541 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10542
10543 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10544 names. Just use the correct names. Remove unnecessary wrapper
10545 functions.
10546 * malloc/arena.c: Likewise.
10547 * malloc/hooks.c: Likewise.
10548
10549 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10550 ARENA_TEST says not to. Simplify test for creation of a new arena.
10551 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10552
10553 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10554
10555 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10556 into tail calls.
10557 (update_get_addr): New function.
10558 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10559 GET_ADDR_MODULE parameter.
10560
10561 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10562
10563 * crypt/cert.c: Remove __STDC__ conditionals.
10564 * crypt/crypt-entry.c: Likewise.
10565 * crypt/crypt_util.c: Likewise.
10566 * libio/filedoalloc.c: Likewise.
10567 * libio/fileops.c: Likewise.
10568 * libio/genops.c: Likewise.
10569 * libio/iofclose.c: Likewise.
10570 * libio/iofdopen.c: Likewise.
10571 * libio/iofopen.c: Likewise.
10572 * libio/iofopen64.c: Likewise.
10573 * libio/iogetdelim.c: Likewise.
10574 * libio/iopopen.c: Likewise.
10575 * libio/obprintf.c: Likewise.
10576 * libio/oldfileops.c: Likewise.
10577 * libio/oldiofclose.c: Likewise.
10578 * libio/oldiofdopen.c: Likewise.
10579 * libio/oldiofopen.c: Likewise.
10580 * libio/oldiopopen.c: Likewise.
10581 * libio/wfiledoalloc.c: Likewise.
10582 * libio/wgenops.c: Likewise.
10583 * locale/programs/xmalloc.c: Likewise.
10584 * misc/syslog.c: Likewise.
10585 * stdio-common/xbug.c: Likewise.
10586 * string/memchr.c: Likewise.
10587 * string/memcmp.c: Likewise.
10588 * string/memrchr.c: Likewise.
10589 * string/rawmemchr.c: Likewise.
10590 * sysdeps/posix/getcwd.c: Likewise.
10591 * time/strftime_l.c: Likewise.
10592
10593 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10594
10595 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10596 * config.make.in (config-cflags-sse2avx): Define.
10597 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10598 Fix typo.
10599
10600 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10601
10602 * scripts/config.guess: Update from upstream config git repository.
10603 * scripts/config.sub: Likewise.
10604
10605 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10606
10607 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10608 (EM_NUM): Update.
10609 (R_TILEPRO_*, R_TILEGX_*): New macros.
10610
10611 * scripts/firstversions.awk: Fix bug in version range handling.
10612
10613 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10614
10615 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10616
10617 * include/sys/epoll.h: New file.
10618 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10619 libc_hidden_def.
10620
10621 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10622
10623 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10624 Avoid unnecessary __WORDSIZE == 64 test.
10625 (fmaxf): Use VEX format if possible.
10626 (fmax): Likewise.
10627 (fminf): Likewise.
10628 (fmin): Likewise.
10629
10630 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10631 * math/math_private.h: Remove libc_fegetround* and
10632 libc_fesetround*.
10633 * sysdeps/i386/configure.in: Check for -msse2avx.
10634 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10635 also if SSE2AVX is defined.
10636 Remove libc_fegetround* and libc_fesetround*.
10637 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10638 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10639 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10640 of HAS_YMM_USABLE.
10641 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10642 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10643 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10644 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10645 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10646
10647 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10648
10649 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10650
10651 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10652 size is not set.
10653 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10654
10655 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10656
10657 [BZ #13618]
10658 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10659 relocation.
10660 * Makeconfig (libm): Define.
10661 * elf/Makefile: Add rules to build and run tst-relsort1.
10662 * elf/tst-relsort1.c: New file.
10663 * elf/tst-relsort1mod1.c: New file.
10664 * elf/tst-relsort1mod2.c: New file.
10665
10666 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10667
10668 * math/s_ldexp.c: Remove __STDC__ conditionals.
10669 * math/s_ldexpf.c: Likewise.
10670 * math/s_ldexpl.c: Likewise.
10671 * math/s_nextafter.c: Likewise.
10672 * math/s_nexttowardf.c: Likewise.
10673 * math/s_significand.c: Likewise.
10674 * math/s_significandf.c: Likewise.
10675 * math/s_significandl.c: Likewise.
10676 * math/w_jnl.c: Likewise.
10677 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10678 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10679 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10680 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10681 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10687 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10688 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10689 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10690 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10691 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10696 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10697 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10698 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10699 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10700 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10701 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10702 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10703 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10704 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10705 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10706 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10707 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10708 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10709 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10710 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10711 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10712 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10713 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10714 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10715 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10716 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10717 * sysdeps/ieee754/k_standard.c: Likewise.
10718 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10721 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10722 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10723 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10724 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10725 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10726 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10727 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10728 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10732 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10738 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10776 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10778 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10779 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10784 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10792 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10793 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10795 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10797 * sysdeps/ieee754/s_matherr.c: Likewise.
10798 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10799 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10800 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10802
10803 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10804
10805 * crypt/md5.h: Remove __STDC__ conditionals.
10806 * libio/libioP.h: Likewise.
10807 * locale/programs/config.h: Likewise.
10808 * sysdeps/generic/sysdep.h: Likewise.
10809 * sysdeps/i386/asm-syntax.h: Likewise.
10810 * sysdeps/s390/asm-syntax.h: Likewise.
10811 * sysdeps/unix/sysdep.h: Likewise.
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10814
10815 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10816
10817 * libio/libio.h: Remove __STDC__ conditionals.
10818 * malloc/obstack.h: Likewise.
10819 * math/complex.h: Likewise.
10820 * math/math.h: Likewise.
10821 * sysdeps/generic/_G_config.h: Likewise.
10822 * sysdeps/gnu/_G_config.h: Likewise.
10823 * sysdeps/mach/hurd/_G_config.h: Likewise.
10824 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10825 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10826 * sysdeps/sparc/bits/mathdef.h: Likewise.
10827
10828 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10829
10830 [BZ #13583]
10831 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10832 Clean up HAS_* macros.
10833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10834 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10835 possible.
10836 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10837 HAS_AVX.
10838 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10839 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10840 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10841 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10842 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10843
10844 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10845
10846 * elf/tst-unique3.cc (gets): Remove declaration.
10847 * elf/tst-unique3lib.cc (gets): Likewise.
10848 * elf/tst-unique3lib2.cc (gets): Likewise.
10849 * elf/tst-unique4.cc (gets): Likewise.
10850
10851 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10852
10853 * include/stdio.h: Add C++ protection. Add gets declarations and
10854 definitions.
10855 * debug/tst-chk1.c: Don't declare gets here.
10856 * stdio-common/tst-gets.c: Likewise.
10857
10858 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10859
10860 * posix/glob: Remove directory.
10861
10862 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10863
10864 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10865
10866 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10867
10868 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10869 of the non-standard EPFNOSUPPORT.
10870
10871 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10872
10873 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10874 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10875 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10876
10877 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10878
10879 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10880
10881 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10882
10883 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10884 transient errors.
10885 * nscd/grpcache.c (cache_addgr): Likewise.
10886 * nscd/hstcache.c (cache_addhst): Likewise.
10887 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10888 * nscd/pwdcache.c (cache_addpw): Likewise.
10889 * nscd/servicescache.c (cache_addserv): Likewise.
10890
10891 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10892
10893 * malloc/malloc.c: Various cleanups.
10894 * malloc/hooks.c: Likewise.
10895
10896 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10897 * stdlib/bug-fmtmsg1.c: New file.
10898
10899 * stdlib/fmtmsg.c (init): Add missing unlock.
10900 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10901
10902 2012-01-12 Marek Polacek <polacek@redhat.com>
10903
10904 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10905 and _GNU_SOURCE.
10906
10907 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10908
10909 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10910 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10911 macro to ensure uniqueness of label name.
10912 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10913 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10914
10915 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10916
10917 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10918
10919 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10920 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10921 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10923
10924 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10925
10926 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10927
10928 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10929 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10930 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10931
10932 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10933
10934 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10935 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10936 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10938
10939 * math/bits/math-finite.h: Add ldexp support.
10940
10941 2012-01-10 Marek Polacek <polacek@redhat.com>
10942
10943 * locale/programs/localedef.h (show_archive_content): Add noreturn
10944 attribute.
10945
10946 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10947
10948 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10949
10950 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10951
10952 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10953
10954 * io/Makefile (headers): Add bits/poll2.h.
10955
10956 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10957
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10959 typo #include statement.
10960
10961 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10962
10963 * include/sys/cdefs.h: Define __attribute_alloc_size.
10964 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10965 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10966 * elf/pldd.c: Likewise.
10967 * iconv/iconv_charmap.c: Likewise.
10968 * iconv/iconvconfig.c: Likewise.
10969 * iconv/strtab.c: Likewise.
10970 * locale/programs/locale.c: Likewise.
10971 * locale/programs/localedef.h: Likewise.
10972 * locale/programs/simple-hash.c: Likewise.
10973 * nscd/nscd.h: Likewise.
10974 * nss/makedb.c: Likewise.
10975 * sysdeps/generic/ldconfig.h: Likewise.
10976 * locale/programs/localedef.c: Remove xmalloc prototype.
10977 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10978
10979 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10980
10981 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10982 appropriate.
10983
10984 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10985
10986 * math/Makefile (tests): Add tst-CMPLX.
10987 * math/tst-CMPLX.c: New file.
10988
10989 * math/complex.h (CMPLXL): Fix typo.
10990
10991 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10992 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10993 GLIBC_2.16.
10994 * debug/tst-chk1.c: Add poll and ppoll tests.
10995 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10996 * include/sys/poll.h: Add hidden proto for ppoll.
10997 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10998 * sysdeps/mach/hurd/ppoll.c: Likewise.
10999 * io/ppoll.c: Likewise.
11000 * debug/poll_chk.c: New file.
11001 * debug/ppoll_chk.c: New file.
11002 * include/bits/poll2.h: New file.
11003 * io/bits/poll2.h: New file.
11004
11005 [BZ #1350]
11006 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11007
11008 * configure.in: static is always set to yes. Remove.
11009 * config.make.in: Don't set build-static.
11010 * Makeconfig: Remove use of build-static.
11011 * dlfcn/Makefile: Likewise.
11012 * elf/Makefile: Likewise.
11013 * math/Makefile: Likewise.
11014 * misc/Makefile: Likewise.
11015 * nptl/Makefile: Likewise.
11016 * sysdeps/mach/hurd/Makefile: Likewise.
11017
11018 * configure.in: PWD_P is not used anymore.
11019 * config.make.in: Remove PWD_P entry.
11020
11021 * configure.in: Remove last remnants of RANLIB.
11022 No need to check for signed size_t anymore.
11023 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11024 and IA-64.
11025 Remove __builtin_expect test because we require at least gcc 3.4.
11026 * aclocal.m4: Likewise.
11027
11028 * wcsmbs/mbrtoc16.c: Implement using towc function.
11029 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11030 * wcsmbs/wcsmbsload.c: Likewise.
11031 * iconv/gconv_simple.c: Likewise.
11032 * iconv/gconv_int.h: Likewise.
11033 * iconv/gconv_builtin.h: Likewise.
11034 * iconv/iconv_prog.c: Remove CHAR16 handling.
11035
11036 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11037
11038 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11039
11040 * configure.in: Remove --with-elf and --enable-bounded options.
11041 Dont set base_machine for ia64. More non-ELF conditions removed.
11042 Remove testing and setting of leading underscore information.
11043 * config.make.in (build-bounded): Set to no.
11044 * config.h.in: Remove NO_UNDERSCORES entry.
11045 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11046 them.
11047 * csu/start.c: Remove !NO_UNDERSCORE code.
11048 * locale/localeinfo.h: Likewise.
11049 * sysdeps/generic/machine-gmon.h: Likewise.
11050 * sysdeps/generic/sysdep.h: Likewise.
11051 * sysdeps/i386/sysdep.h: Likewise.
11052 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11053 * sysdeps/mach/sysdep.h: Likewise.
11054 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11055 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11056 * sysdeps/sh/sysdep.h: Likewise.
11057 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11058 * sysdeps/unix/i386/sysdep.S: Likewise.
11059 * sysdeps/unix/sparc/start.c: Likewise.
11060 * sysdeps/unix/sparc/sysdep.S: Likewise.
11061 * sysdeps/unix/sparc/sysdep.h: Likewise.
11062 * sysdeps/unix/start.c: Likewise.
11063 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11064 * sysdeps/x86_64/sysdep.h: Likewise.
11065
11066 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11067
11068 [BZ #13553]
11069 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11070 for non-gcc.
11071 * argp/argp-fmtstream.h: Use const instead __const.
11072 * argp/argp.h: Likewise.
11073 * assert/assert.h: Likewise.
11074 * bits/fenv.h: Likewise.
11075 * bits/sched.h: Likewise.
11076 * bits/sigset.h: Likewise.
11077 * bits/sigthread.h: Likewise.
11078 * catgets/nl_types.h: Likewise.
11079 * conform/data/pthread.h-data: Likewise.
11080 * crypt/crypt-private.h: Likewise.
11081 * crypt/crypt.h: Likewise.
11082 * crypt/crypt_util.c: Likewise.
11083 * ctype/ctype.h: Likewise.
11084 * debug/execinfo.h: Likewise.
11085 * debug/mbsnrtowcs_chk.c: Likewise.
11086 * debug/mbsrtowcs_chk.c: Likewise.
11087 * debug/wcsnrtombs_chk.c: Likewise.
11088 * debug/wcsrtombs_chk.c: Likewise.
11089 * debug/wcstombs_chk.c: Likewise.
11090 * dirent/dirent.h: Likewise.
11091 * dlfcn/dlfcn.h: Likewise.
11092 * elf/neededtest4.c: Likewise.
11093 * grp/grp.h: Likewise.
11094 * gshadow/gshadow.h: Likewise.
11095 * iconv/gconv.h: Likewise.
11096 * iconv/gconv_int.h: Likewise.
11097 * iconv/gconv_simple.c: Likewise.
11098 * iconv/iconv.h: Likewise.
11099 * iconv/loop.c: Likewise.
11100 * iconv/skeleton.c: Likewise.
11101 * include/aio.h: Likewise.
11102 * include/aliases.h: Likewise.
11103 * include/argz.h: Likewise.
11104 * include/arpa/inet.h: Likewise.
11105 * include/assert.h: Likewise.
11106 * include/dirent.h: Likewise.
11107 * include/dlfcn.h: Likewise.
11108 * include/execinfo.h: Likewise.
11109 * include/fcntl.h: Likewise.
11110 * include/fenv.h: Likewise.
11111 * include/glob.h: Likewise.
11112 * include/grp.h: Likewise.
11113 * include/libintl.h: Likewise.
11114 * include/mntent.h: Likewise.
11115 * include/netdb.h: Likewise.
11116 * include/pwd.h: Likewise.
11117 * include/rpc/netdb.h: Likewise.
11118 * include/sched.h: Likewise.
11119 * include/search.h: Likewise.
11120 * include/shadow.h: Likewise.
11121 * include/signal.h: Likewise.
11122 * include/stdio.h: Likewise.
11123 * include/stdlib.h: Likewise.
11124 * include/string.h: Likewise.
11125 * include/sys/socket.h: Likewise.
11126 * include/sys/stat.h: Likewise.
11127 * include/sys/statfs.h: Likewise.
11128 * include/sys/statvfs.h: Likewise.
11129 * include/sys/syslog.h: Likewise.
11130 * include/sys/time.h: Likewise.
11131 * include/sys/uio.h: Likewise.
11132 * include/time.h: Likewise.
11133 * include/unistd.h: Likewise.
11134 * include/utmp.h: Likewise.
11135 * include/wchar.h: Likewise.
11136 * include/wctype.h: Likewise.
11137 * inet/aliases.h: Likewise.
11138 * inet/arpa/inet.h: Likewise.
11139 * inet/netinet/ether.h: Likewise.
11140 * inet/netinet/in.h: Likewise.
11141 * intl/libintl.h: Likewise.
11142 * io/bits/fcntl2.h: Likewise.
11143 * io/fcntl.h: Likewise.
11144 * io/ftw.h: Likewise.
11145 * io/sys/poll.h: Likewise.
11146 * io/sys/stat.h: Likewise.
11147 * io/sys/statfs.h: Likewise.
11148 * io/sys/statvfs.h: Likewise.
11149 * io/utime.h: Likewise.
11150 * libio/bits/stdio.h: Likewise.
11151 * libio/bits/stdio2.h: Likewise.
11152 * libio/libio.h: Likewise.
11153 * libio/libioP.h: Likewise.
11154 * libio/stdio.h: Likewise.
11155 * locale/lc-ctype.c: Likewise.
11156 * locale/locale.h: Likewise.
11157 * login/utmp.h: Likewise.
11158 * malloc/arena.c: Likewise.
11159 * malloc/malloc.c: Likewise.
11160 * malloc/malloc.h: Likewise.
11161 * malloc/mcheck.c: Likewise.
11162 * malloc/mtrace.c: Likewise.
11163 * math/bits/mathcalls.h: Likewise.
11164 * math/fenv.h: Likewise.
11165 * math/math_private.h: Likewise.
11166 * misc/bits/error.h: Likewise.
11167 * misc/bits/syslog.h: Likewise.
11168 * misc/err.h: Likewise.
11169 * misc/error.h: Likewise.
11170 * misc/fstab.h: Likewise.
11171 * misc/mntent.h: Likewise.
11172 * misc/regexp.h: Likewise.
11173 * misc/search.h: Likewise.
11174 * misc/sgtty.h: Likewise.
11175 * misc/sys/mman.h: Likewise.
11176 * misc/sys/syslog.h: Likewise.
11177 * misc/sys/uio.h: Likewise.
11178 * misc/sys/xattr.h: Likewise.
11179 * misc/ttyent.h: Likewise.
11180 * nis/rpcsvc/ypclnt.h: Likewise.
11181 * nss/nss.h: Likewise.
11182 * posix/bits/unistd.h: Likewise.
11183 * posix/fnmatch.h: Likewise.
11184 * posix/glob.h: Likewise.
11185 * posix/sched.h: Likewise.
11186 * posix/spawn.h: Likewise.
11187 * posix/sys/wait.h: Likewise.
11188 * posix/unistd.h: Likewise.
11189 * posix/wordexp.h: Likewise.
11190 * pwd/pwd.h: Likewise.
11191 * resolv/netdb.h: Likewise.
11192 * resource/sys/resource.h: Likewise.
11193 * rt/aio.h: Likewise.
11194 * rt/bits/mqueue2.h: Likewise.
11195 * rt/mqueue.h: Likewise.
11196 * shadow/shadow.h: Likewise.
11197 * signal/signal.h: Likewise.
11198 * socket/send.c: Likewise.
11199 * socket/sendto.c: Likewise.
11200 * socket/sys/socket.h: Likewise.
11201 * stdio-common/printf.h: Likewise.
11202 * stdlib/bits/stdlib.h: Likewise.
11203 * stdlib/fmtmsg.h: Likewise.
11204 * stdlib/monetary.h: Likewise.
11205 * stdlib/stdlib.h: Likewise.
11206 * stdlib/ucontext.h: Likewise.
11207 * streams/stropts.h: Likewise.
11208 * string/argz.h: Likewise.
11209 * string/bits/string2.h: Likewise.
11210 * string/string.h: Likewise.
11211 * string/strings.h: Likewise.
11212 * sunrpc/rpc/auth.h: Likewise.
11213 * sunrpc/rpc/auth_des.h: Likewise.
11214 * sunrpc/rpc/clnt.h: Likewise.
11215 * sunrpc/rpc/netdb.h: Likewise.
11216 * sunrpc/rpc/pmap_clnt.h: Likewise.
11217 * sunrpc/rpc/xdr.h: Likewise.
11218 * sysdeps/generic/inttypes.h: Likewise.
11219 * sysdeps/generic/net/if.h: Likewise.
11220 * sysdeps/generic/sys/swap.h: Likewise.
11221 * sysdeps/gnu/net/if.h: Likewise.
11222 * sysdeps/gnu/utmpx.h: Likewise.
11223 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11224 * sysdeps/i386/i486/bits/string.h: Likewise.
11225 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11226 * sysdeps/s390/bits/string.h: Likewise.
11227 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11228 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11229 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11230 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11231 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11232 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11233 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11234 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11235 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11236 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11237 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11238 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11239 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11240 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11241 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11242 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11243 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11245 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11246 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11247 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11248 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11249 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11250 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11251 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11252 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11253 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11254 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11255 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11256 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11257 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11258 * sysvipc/sys/ipc.h: Likewise.
11259 * sysvipc/sys/msg.h: Likewise.
11260 * sysvipc/sys/sem.h: Likewise.
11261 * sysvipc/sys/shm.h: Likewise.
11262 * termios/termios.h: Likewise.
11263 * time/sys/time.h: Likewise.
11264 * time/time.h: Likewise.
11265 * wcsmbs/bits/wchar2.h: Likewise.
11266 * wcsmbs/uchar.h: Likewise.
11267 * wcsmbs/wchar.h: Likewise.
11268 * wctype/wctype.h: Likewise.
11269
11270 [BZ #13551]
11271 * Makeconfig: Remove all but ELF support including AIX support.
11272 * Makerules: Likewise.
11273 * config.h.in: Likewise.
11274 * config.make.in: Likewise.
11275 * configure: Likewise.
11276 * configure.in: Likewise.
11277 * csu/Makefile: Likewise.
11278 * csu/version.c: Likewise.
11279 * debug/Makefile: Likewise.
11280 * dlfcn/Makefile: Likewise.
11281 * elf/Makefile: Likewise.
11282 * extra-lib.mk: Likewise.
11283 * iconv/Makefile: Likewise.
11284 * include/libc-symbols.h: Likewise.
11285 * include/shlib-compat.h: Likewise.
11286 * resolv/Makefile: Likewise.
11287 * resolv/res_libc.c: Likewise.
11288 * rt/Makefile: Likewise.
11289 * sysdeps/i386/asm-syntax.h: Likewise.
11290 * sysdeps/i386/sysdep.h: Likewise.
11291 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11292 * sysdeps/mach/sysdep.h: Likewise.
11293 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11294 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11295 * sysdeps/s390/asm-syntax.h: Likewise.
11296 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11297 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11298 * sysdeps/sh/sysdep.h: Likewise.
11299 * sysdeps/unix/sparc/sysdep.h: Likewise.
11300 * sysdeps/wordsize-32/divdi3.c: Likewise.
11301 * sysdeps/x86_64/sysdep.h: Likewise.
11302
11303 * argp/Versions: Remove _argp_unlock_xxx.
11304
11305 [BZ #13559]
11306 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11307 * abilist/libBrokenLocale.abilist: Likewise.
11308 * abilist/libanl.abilist: Likewise.
11309 * abilist/libc.abilist: Likewise.
11310 * abilist/libcrypt.abilist: Likewise.
11311 * abilist/libdl.abilist: Likewise.
11312 * abilist/libm.abilist: Likewise.
11313 * abilist/libnsl.abilist: Likewise.
11314 * abilist/libpthread.abilist: Likewise.
11315 * abilist/libresolv.abilist: Likewise.
11316 * abilist/librt.abilist: Likewise.
11317 * abilist/libthread_db.abilist: Likewise.
11318 * abilist/libutil.abilist: Likewise.
11319 * abilist/libnss_db.abilist: New file.
11320
11321 * scripts/abilist.awk: Add support for indirect functions.
11322
11323 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11324
11325 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11326
11327 * shlib-versions: Remove entries for ports architectures.
11328
11329 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11330 files in ports.
11331 * elf/stackguard-macros.h: Remove support for IA-64.
11332 * elf/tst-auditmod1.c: Likewise.
11333 * sysdeps/generic/ldsodefs.h: Likewise.
11334
11335 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11336 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11337 configure files.
11338
11339 [BZ #13552]
11340 * configure.in: Remove --enable-omitfp support.
11341 * FAQ.in: Adjust.
11342 * config.make.in: Likewise.
11343 * Makeconfig: Likewise.
11344 * manual/install.texi: Likewise.
11345
11346 In case anyone cares, the IA-64 architecture could move to ports.
11347 * sysdeps/ia64/*: Removed.
11348 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11349 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11350
11351 [BZ #13555]
11352 * configure.in: Remove entries for unsupported architectures.
11353
11354 [BZ #13533]
11355 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11356 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11357 routines.
11358 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11359 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11360 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11361 fall back to using wcrtomb.
11362 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11363 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11364 renaming.
11365 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11366 * wcsmbs/tst-c16c32-1.c: New file.
11367
11368 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11369 local variable.
11370
11371 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11372
11373 * elf/tst-unique3.cc: Add explicit declaration of gets.
11374 * elf/tst-unique3lib.cc: Likewise.
11375 * elf/tst-unique3lib2.cc: Likewise.
11376 * elf/tst-unique4.cc: Likewise.
11377
11378 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11379
11380 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11381
11382 [BZ #13566]
11383 * assert/assert.h (static_assert): Don't define for C++.
11384 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11385 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11386
11387 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11388
11389 * iconv/loop.c (single loop): Fix assertion in storing of
11390 remaining bytes.
11391
11392 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11393
11394 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11395
11396 * posix/getconf.c: Update copyright year.
11397 * nss/getent.c: Likewise.
11398 * nss/makedb.c: Likewise.
11399 * iconv/iconvconfig.c: Likewise.
11400 * iconv/iconv_prog.c: Likewise.
11401 * elf/ldconfig.c: Likewise.
11402 * elf/pldd.c: Likewise.
11403 * elf/sotruss.ksh: Likewise.
11404 * catgets/gencat.c: Likewise.
11405 * csu/version.c: Likewise.
11406 * elf/ldd.bash.in: Likewise.
11407 * elf/sprof.c (print_version): Likewise.
11408 * locale/programs/locale.c: Likewise.
11409 * locale/programs/localedef.c: Likewise.
11410 * login/programs/pt_chown.c: Likewise.
11411 * nscd/nscd.c (print_version): Likewise.
11412 * debug/xtrace.sh: Likewise.
11413 * malloc/memusage.sh: Likewise.
11414 * malloc/mtrace.pl: Likewise.
11415 * debug/catchsegv.sh: Likewise.
11416
11417 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11418
11419 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11420 pure attribute.
11421
11422 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11423
11424 [BZ #13533]
11425 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11426 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11427 transformations.
11428 * iconv/gconv_int.h: Likewise.
11429 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11430 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11431 from libc for GLIBC_2.16.
11432 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11433 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11434 * wcsmbs/uchar.h: Really define mbstate_t.
11435 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11436 * wcsmbs/c16rtomb.c: New file.
11437 * wcsmbs/mbrtoc16.c: New file.
11438 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11439 for C/POSIX locale.
11440 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11441 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11442
11443 * wcsmbs/wchar.h: Add missing __restrict.
11444
11445 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11446
11447 [BZ #13532]
11448 * time/Makefile (routines): Add timespec_get.
11449 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11450 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11451 timespec for ISO C11.
11452 * time/timespec_get.c: New file.
11453 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11454 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11455
11456 [BZ #13531]
11457 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11458 * stdlib/stdlib.h: Declare aligned_alloc.
11459 * Versions.def: Add GLIBC_2.16 for libc.
11460 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11461
11462 [BZ 13527]
11463 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11464 ISO C11.
11465
11466 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11467 code.
11468
11469 [BZ #13528]
11470 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11471
11472 [BZ #13529]
11473 * assert/assert.h (static_assert): Define.
11474
11475 * version.h: Update for 2.16 development version.
11476
11477 [BZ #13526]
11478 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11479 _ISOC11_SOURCE.
11480
11481 * version.h (RELEASE): Bump for 2.15 release.
11482 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11483
11484 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11485 Patch by Marek Polacek <mpolacek@redhat.com>.
11486
11487 * bits/byteswap.h: Protect long long constants with __extension__.
11488 * sysdeps/i386/bits/byteswap.h: Likewise.
11489 * sysdeps/ia64/bits/byteswap.h: Likewise.
11490 * sysdeps/s390/bits/byteswap.h: Likewise.
11491 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11492
11493 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11494
11495 [BZ #13540]
11496 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11497 destination buffer.
11498 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11499
11500 2011-12-23 Marek Polacek <polacek@redhat.com>
11501
11502 * elf/dl-addr.c (determine_info): Add inline keyword.
11503 * elf/tst-auditmod4b.c (check_avx): Likewise.
11504 * elf/tst-auditmod6b.c (check_avx): Likewise.
11505 * elf/tst-auditmod6c.c (check_avx): Likewise.
11506 * elf/tst-auditmod7b.c (check_avx): Likewise.
11507
11508 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11509
11510 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11511 !__SSE_MATH__.
11512
11513 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11514
11515 [BZ #13540]
11516 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11517 processing for last bytes.
11518
11519 2011-08-06 Bruno Haible <bruno@clisp.org>
11520
11521 [BZ #13061]
11522 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11523 U+0385, not to U+1FEE.
11524
11525 [BZ #13062]
11526 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11527 entry for U+00A5 U+0301.
11528
11529 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11530
11531 [BZ #13166]
11532 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11533 buffer for the output is too small.
11534
11535 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11536 optimization.
11537
11538 [BZ #13185]
11539 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11540 SSE flags if possible.
11541
11542 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11543
11544 [BZ #13540]
11545 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11546 processing for last bytes.
11547
11548 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11549
11550 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11551 (syscall-list-default-options, syscall-list-default-condition)
11552 (syscall-list-includes): Define.
11553 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11554 list of ABIs and options and #if conditions for each ABI. Do not
11555 handle common syscalls between ABIs specially.
11556 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11557 Remove.
11558 (syscall-list-variants, syscall-list-32bit-options)
11559 (syscall-list-32bit-condition, syscall-list-64bit-options)
11560 (syscall-list-64bit-condition): Define.
11561 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11562 (syscall-list-variants, syscall-list-32bit-options)
11563 (syscall-list-32bit-condition, syscall-list-64bit-options)
11564 (syscall-list-64bit-condition): Define.
11565 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11566 Remove.
11567 (syscall-list-variants, syscall-list-32bit-options)
11568 (syscall-list-32bit-condition, syscall-list-64bit-options)
11569 (syscall-list-64bit-condition): Define.
11570 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11571 Remove.
11572 (syscall-list-variants, syscall-list-32bit-options)
11573 (syscall-list-32bit-condition, syscall-list-64bit-options)
11574 (syscall-list-64bit-condition): Define.
11575
11576 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11577
11578 * locale/iso-639.def: Add brx entry.
11579
11580 [BZ #13328]
11581 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11582 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11583
11584 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11585 __feraiseexcept_renamed.
11586
11587 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11588
11589 [BZ #13538]
11590 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11591 EPOLLET with unsigned values.
11592 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11593 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11594
11595 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11596 to large cancellation.
11597 * math/s_cacoshf.c: Likewise.
11598 * math/s_cacoshl.c: Likewise.
11599
11600 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11601
11602 [BZ #13305]
11603 [BZ #12786]
11604 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11605 * math/s_cacoshf.c: Likewise.
11606 * math/s_cacoshl.c: Likewise.
11607
11608 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11609
11610 [BZ #13439]
11611 * iconv/gconv.h: Define __GCONV_SWAP.
11612 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11613 * iconvdata/utf-16.c: Likewise.
11614 * iconvdata/utf-32.c: Likewise.
11615
11616 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11617
11618 [BZ #13524]
11619 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11620 numerator after shifting it by one limb.
11621
11622 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11623
11624 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11625 under [__USE_EXTERN_INLINES].
11626
11627 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11628
11629 [BZ #13446]
11630 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11631
11632 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11633
11634 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11635 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11636 optimized code.
11637 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11638 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11639 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11640 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11641 for strncasecmp/strncasecmp_l compilation.
11642 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11643 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11644
11645 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11646
11647 [BZ #13484]
11648 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11649 of __asm__.
11650
11651 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11652
11653 [BZ #13506]
11654 * time/tzfile.c (__tzfile_read): Check values from file header.
11655
11656 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11657
11658 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11659 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11660 * powerpc/powerpc32/dl-start.S: Likewise.
11661 * powerpc/powerpc32/elf/start.S: Likewise.
11662 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11663 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11664 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11665 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11666 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11667 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11668 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11669 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11670 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11671 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11672 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11673 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11674 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11675 * powerpc/powerpc32/memset.S: Likewise.
11676 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11677 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11678 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11679 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11680 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11681 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11682 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11683 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11684 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11685 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11686 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11687 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11688 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11689
11690 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11691
11692 * math/libm-test.inc: Added more nearbyint tests.
11693 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11695 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11697
11698 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11699
11700 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11701 FD_CLOEXEC.
11702
11703 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11704
11705 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11706 Add wcscpy-ssse3 wcscpy-c.
11707 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11708 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11709 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11710 * sysdeps/x86_64/wcschr.S: New file.
11711 * sysdeps/x86_64/wcsrchr.S: New file.
11712 * string/test-strcmp.c: Remove checking of wcscmp function for
11713 wrong alignments.
11714 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11715 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11716 wcsrchr-sse2 wcsrchr-c.
11717 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11718 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11719 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11720 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11721 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11722 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11723 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11724 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11725 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11726 * wcsmbc/wcschr.c (WCSCHR): New macro.
11727
11728 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11729
11730 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11731 * wcsmbs/test-wcsrchr.c: New file.
11732 * string/test-strrchr.c: Add wcsrchr support.
11733 (WIDE): New macro.
11734 * wcsmbs/test-wcscpy.c: New file.
11735 * string/test-strcpy.c: Add wcscpy support.
11736 (WIDE): New macro.
11737
11738 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11739
11740 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11741 the inner loop.
11742
11743 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11744
11745 [BZ #13472]
11746 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11747
11748 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11749
11750 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11751 Minor optimizations.
11752
11753 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11754 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11755 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11756
11757 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11758
11759 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11760 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11761 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11762 for gcc to avoid warnings.
11763 * inet/Makefile (tests): Add tst-checks.
11764 * inet/tst-checks.c: New file.
11765
11766 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11767 warning.
11768
11769 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11770 __wmemcmp_sse2.
11771
11772 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11773 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11774
11775 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11776
11777 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11778
11779 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11780 problem.
11781
11782 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11783
11784 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11785
11786 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11787 conditional on GCC version.
11788 (__arch_compare_and_exchange_val_8_acq)
11789 (__arch_compare_and_exchange_val_16_acq)
11790 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11791 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11792 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11793
11794 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11795
11796 * sysdeps/sh/backtrace.c: New file.
11797
11798 2011-12-02 Andreas Schwab <schwab@redhat.com>
11799
11800 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11801 parenthesis.
11802
11803 2011-12-01 Andreas Schwab <schwab@redhat.com>
11804
11805 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11806 falling back to utime.
11807
11808 2011-11-30 Andreas Schwab <schwab@redhat.com>
11809
11810 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11811 expectations for float.
11812
11813 2011-11-29 Andreas Schwab <schwab@redhat.com>
11814
11815 * locale/weight.h (findidx): Add parameter len.
11816 * locale/weightwc.h (findidx): Likewise.
11817 * posix/fnmatch_loop.c (FCT): Adjust caller.
11818 * posix/regcomp.c (build_equiv_class): Likewise.
11819 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11820 * posix/regexec.c (check_node_accept_bytes): Likewise.
11821 * string/strcoll_l.c (STRCOLL): Likewise.
11822 * string/strxfrm_l.c (STRXFRM): Likewise.
11823
11824 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11825
11826 * Makefile.in: Remove CVSOPT handling.
11827 * configure.in: Remove use of AC_REVISION.
11828 * iconvdata/Makefile (distribute): No need to filter out CVS.
11829 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11830 handling.
11831
11832 2011-11-16 Andreas Schwab <schwab@redhat.com>
11833
11834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11835 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11836 [USE_AS_STRNCASECMP_L]: Likewise.
11837 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11838 NO_TLS_DIRECT_SEG_REFS.
11839 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11840 Fix argument offsets for non-PIC.
11841 [USE_AS_STRNCASECMP_L]: Likewise.
11842 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11843 NO_TLS_DIRECT_SEG_REFS.
11844
11845 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11846
11847 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11848 O_CLOEXEC.
11849 * locale/loadlocale.c (_nl_load_locale): Likewise.
11850
11851 2011-11-15 Andreas Schwab <schwab@redhat.com>
11852
11853 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11854 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11855 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11856 (SYSCALL_GETTIME): Set errno on error.
11857
11858 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11859 count references to noai6ai_cached.
11860
11861 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11862
11863 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11864
11865 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11866 FD_CLOEXEC for /proc/self/maps.
11867
11868 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11869 FD_CLOEXEC for /proc/meminfo.
11870
11871 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11872 gai.conf.
11873
11874 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11875 FD_CLOEXEC for given file.
11876
11877 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11878
11879 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11880 FD_CLOEXEC for /etc/hosts.
11881 (_gethtent): Likewise.
11882
11883 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11884
11885 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11886 cancellation and set FD_CLOEXEC for /etc/netgroup.
11887
11888 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11889 reading /etc/publickey.
11890
11891 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11892 allow cancellation when reading /etc/group.
11893
11894 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11895 cancellation.
11896 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11897
11898 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11899 when using data file.
11900
11901 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11902
11903 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11904 (write_nis_obj): Use "c" and "e" in fopen.
11905
11906 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11907
11908 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11909
11910 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11911
11912 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11913
11914 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11915 locale.alias.
11916
11917 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11918
11919 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11920
11921 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11922
11923 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11924 file parsing and set FD_CLOEXEC.
11925
11926 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11927
11928 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11929
11930 2011-11-14 Andreas Schwab <schwab@redhat.com>
11931
11932 * malloc/arena.c (arena_get2): Don't call reused_arena when
11933 _int_new_arena failed.
11934
11935 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11936
11937 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11938 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11939 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11940 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11941 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11942 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11943 to compile strcasecmp and strncasecmp.
11944 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11945 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11946
11947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11948
11949 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11950
11951 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11952 locale-defines.sym to gen-as-const-headers.
11953 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11954 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11955 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11956 to compile strcasecmp and strncasecmp.
11957 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11958 strcasecmp_l and strncasecmp_l.
11959 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11960 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11961 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11962 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11963 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11964 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11965 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11966 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11967 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11968 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11969 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11970
11971 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11972
11973 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11974 result of SYSDEP_GETTIME_CPU to retval.
11975 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11976 parameter list to macro. Remove trailing semicolon. Adjust users.
11977
11978 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11979 variable.
11980
11981 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11982 mantissa words.
11983 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11984
11985 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11986 from unused variable.
11987
11988 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11989 DWARF definitions.
11990 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11991 for assembling.
11992
11993 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11994 over namespaces.
11995
11996 * sunrpc/rpc_prot.c (rejected): Fix case value.
11997
11998 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11999 unsigned long long int to avoid warnings in shift.
12000
12001 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12002 of use of trans.
12003 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12004 variable tmp.
12005
12006 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12007 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12008 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12009
12010 * nis/nis_table.c (nis_list): Use variable of correct type for
12011 result of __follow_path call.
12012
12013 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12014
12015 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12016 of math functions ceil, trunc, floor, round, and sqrt, when
12017 avaliable on the platform.
12018 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12019 name clash.
12020 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12021 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12022 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12023
12024 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12025
12026 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12027 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12028
12029 2011-11-11 Roland McGrath <roland@hack.frob.com>
12030
12031 * include/unistd.h: Fix __readlink return type.
12032 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12033
12034 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12035
12036 * stdlib/ucontext.h: Undo last change for makecontext.
12037
12038 2011-11-11 Andreas Schwab <schwab@redhat.com>
12039
12040 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12041
12042 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12043 * setjmp/setjmp.h: Mark functions as non-leaf.
12044 * setjmp/bits/setjmp2.h: Likewise.
12045 * stdlib/ucontext.h: Likewise.
12046
12047 2011-11-10 Andreas Schwab <schwab@redhat.com>
12048
12049 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12050 (reused_arena): Don't check arena limit.
12051 (arena_get2): Atomically check arena limit.
12052
12053 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12054
12055 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12056 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12057
12058 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12059 instructions.
12060
12061 2011-11-07 Andreas Schwab <schwab@redhat.com>
12062
12063 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12064 handler when locking.
12065
12066 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12067 Fix size of allocated buffer.
12068
12069 2011-11-04 Andreas Schwab <schwab@redhat.com>
12070
12071 [BZ #10103]
12072 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12073 declarations for long double functions.
12074 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12075
12076 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12077
12078 2011-11-03 Andreas Schwab <schwab@redhat.com>
12079
12080 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12081 installed.
12082
12083 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12084 is disabled.
12085
12086 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12087
12088 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12089
12090 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12091
12092 * include/alloca.h (stackinfo_alloca_round): Define.
12093 (extend_alloca): Use it.
12094 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12095 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12096 here.
12097
12098 * scripts/check-local-headers.sh: Ignore libaudit.h.
12099
12100 * nscd/Makefile (extra-objs): Make recursively expanded.
12101
12102 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12103
12104 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12106
12107 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12108 * posix/tst-rfc3484-2.c: Likewise.
12109 * posix/tst-rfc3484-3.c: Likewise.
12110
12111 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12112 process_vm_writev.
12113 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12114 process_vm_writev.
12115 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12116 process_vm_writev from libc using GLIBC_2.15 version.
12117
12118 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12119
12120 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12121
12122 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12123 stack usage.
12124
12125 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12126
12127 [BZ #13367]
12128 * nss/getent.c (initgroups_keys): Show error message in case no group
12129 names are given.
12130
12131 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12132 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12133 __bump_nl_timestamp.
12134 * nscd/connections (nscd_init): When host database is served open
12135 netlink socket and request notification about configuration changes.
12136 (main_loop_poll): Track netlink file descriptor and bump timestamp
12137 in case data becomes available.
12138 (main_loop_epoll): Likewise.
12139 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12140 (database_pers_head): Add extra_data fileds.
12141 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12142 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12143 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12144 Adjust caller.
12145 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12146 in6ai data, call __free_in6ai.
12147 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12148 Add -DHAVE_NETLINK.
12149 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12150 interface information. Reuse previous data if netlink timestamp
12151 is not changed.
12152 (__bump_nl_timestamp): New function.
12153 (__free_in6ai): New function.
12154
12155 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12156
12157 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12158 close_not_cancel_no_status here.
12159 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12160
12161 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12162
12163 [BZ #13276]
12164 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12165 return value.
12166
12167 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12168 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12169 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12170
12171 2011-07-03 Andreas Jaeger <aj@suse.de>
12172
12173 [BZ #10709]
12174 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12175 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12176 * math/libm-test.inc (sin_test): Add test case.
12177
12178 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12179
12180 [BZ #13337]
12181 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12182 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12183
12184 * elf/chroot_canon.c (chroot_canon): Cleanups.
12185
12186 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12187
12188 [BZ #13335]
12189 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12190 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12191
12192 * string/test-strchr.c: Make usable for strchrnul testing.
12193 * string/test-strchrnul.c: New file.
12194 * string/Makefile (strop-tests): Add strchrnul.
12195
12196 * po/it.po: Update from translation team.
12197 * po/es.po: Likewise.
12198
12199 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12200
12201 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12202 the three constants needed as parameters. Drop the others.
12203 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12204 __m128i_strloadu_tolower.
12205 Create and initialize variable zero and use it in all the places
12206 where _mm_setzero_si128 was used.
12207
12208 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12209 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12210 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12211 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12212 anymore.
12213 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12214 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12215 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12216 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12217 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12218 __mpranred, __mptan.
12219 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12220 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12221 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12222 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12223 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12224 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12225 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12226 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12227 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12228
12229 2011-10-28 Andreas Schwab <schwab@redhat.com>
12230
12231 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12232 redefine if SHARED.
12233 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12234
12235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12236 wide char related routines to wcsmbs subdir.
12237
12238 2011-10-27 Andreas Schwab <schwab@redhat.com>
12239
12240 [BZ #13344]
12241 * misc/sys/cdefs.h (__THROWNL): Define.
12242 * posix/unistd.h: Use __THREADNL instead of __THREAD
12243 for memory synchronization functions.
12244
12245 2011-10-26 Roland McGrath <roland@hack.frob.com>
12246
12247 [BZ #13349]
12248 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12249 doesn't exist.
12250 * manual/stdio.texi (Obstack Streams): Node removed.
12251
12252 2011-10-26 Andreas Schwab <schwab@redhat.com>
12253
12254 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12255 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12256 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12257
12258 * math/math_private.h (math_force_eval): Allow non-addressable
12259 arguments.
12260 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12261
12262 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12263
12264 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12265 file is not needed.
12266
12267 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12268 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12269 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12270 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12271 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12272 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12273 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12274 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12275 Add AVX variants.
12276 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12277 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12278 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12279 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12280 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12281 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12282 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12283 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12284 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12285 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12286 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12287 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12288 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12289 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12290 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12291 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12292 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12293 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12294 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12295
12296 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12297 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12298
12299 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12300 place. Use VEX encoding when compiling for AVX.
12301
12302 2011-10-25 Andreas Schwab <schwab@redhat.com>
12303
12304 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12305 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12306
12307 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12308
12309 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12310
12311 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12312 useless if() expression.
12313 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12318 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12320 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12321 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12322 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12323 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12324 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12325 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12326 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12327 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12328 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12329 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12331 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12332
12333 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12334
12335 2011-10-25 Andreas Schwab <schwab@redhat.com>
12336
12337 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12338 condition.
12339 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12340
12341 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12342
12343 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12344 .text section. Avoid duplicate constants.
12345 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12348 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12349 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12350 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12351 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12352 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12353 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12354 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12355 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12356 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12357 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12358 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12359 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12360 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12361 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12362 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12363 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12364 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12365 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12366 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12367 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12368 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12369 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12370 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12371 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12372 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12373 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12374 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12375 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12376 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12377 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12378 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12379 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12380 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12381 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12382 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12383 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12384 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12385 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12386 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12387 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12388 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12389 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12390
12391 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12392
12393 * sysdeps/x86_64/dla.h: Move to ...
12394 * sysdeps/x86_64/fpu/dla.h: ...here.
12395 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12396 situations. Use __builtin_fma only for gcc 4.6 and up.
12397
12398 * config.make.in: Add have-mfma4 entry.
12399 * configure.in: Substitute libc_cv_cc_fma4.
12400 * math/Makefile (dbl-only-routines): Add sincostab.
12401 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12402 Use __sincostab not sincos.
12403 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12404 name is a macro.
12405 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12409 using __copysign.
12410 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12411 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12412 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12413 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12414 and __inv.
12415 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12416 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12417 __copysign.
12418 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12419 define aliases when function name is a macro.
12420 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12421 sysdeps/ieee754/dbl-64/sincos.tbl.
12422 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12423 fma4-enabled routines.
12424 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12425 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12426 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12427 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12428 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12429 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12430 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12431 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12432 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12433 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12434 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12435 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12436 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12437 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12438 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12439 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12440 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12441 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12442 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12443 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12444 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12445 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12446 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12447 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12448 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12449 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12450 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12451 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12452 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12453 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12454
12455 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12456 rename.
12457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12459 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12463 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12464 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12465
12466 2011-10-24 Andreas Schwab <schwab@redhat.com>
12467
12468 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12469
12470 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12471
12472 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12473
12474 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12475 prediction.
12476 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12477
12478 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12479 Remove unused variable magic_bits.
12480 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12481
12482 * string/strnlen.c: Define and use STRNLEN macro.
12483 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12484 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12485 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12486 * wcsmbs/wcslen.c: Define and use WCSLEN.
12487 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12488 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12489 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12490 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12491 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12492 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12493 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12494
12495 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12496
12497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12498 strnlen-sse2-no-bsf.
12499 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12500 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12501 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12502 Add strnlen support.
12503 (USE_AS_STRNLEN): New macro.
12504 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12505 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12506 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12507 * sysdeps/x86_64/wcslen.S: New file.
12508
12509 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12510
12511 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12512 XMM-moves are used for copying on small sizes.
12513
12514 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12515
12516 * wcsmbs/Makefile (strop-tests): Add wcschr.
12517 * wcsmbs/test-wcschr.c: New file.
12518 * string/test-strchr.c: Update.
12519 Add wcschr support.
12520 (WIDE): New macro.
12521
12522 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12523
12524 * wcsmbs/Makefile (strop-tests): Add wcslen.
12525 * wcsmbs/test-wcslen.c: New file.
12526 * string/test-strlen.c: Update.
12527 Add wcslen support.
12528 (WIDE): New macro.
12529
12530 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12531
12532 * po/it.po: Update from translation team.
12533
12534 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12535
12536 * sysdeps/x86_64/wcscmp.S: Update.
12537 Fix wrong comparison semantics.
12538 wcscmp shall use signed comparison not unsigned.
12539 Don't use substraction to avoid overflow bug.
12540 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12541 * wcsmbc/wcscmp.c: Likewise.
12542 * string/test-strcmp.c: Likewise.
12543 Add new tests to check cases with negative values.
12544
12545 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12546
12547 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12548 * sysdeps/x86_64/dla.h: ...here. New file.
12549 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12550 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12553 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12554 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12556 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12557 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12558
12559 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12560
12561 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12562 __ynl_finite aliases.
12563
12564 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12565
12566 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12567
12568 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12569 define DLA_FMA.
12570 [DLA_FMA] (EMULV): Use DLA_FMA.
12571 [DLA_FMA] (MUL12): Use EMULV.
12572 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12573 that are not needed.
12574 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12578 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12579 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12580 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12581
12582 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12583
12584 * math/s_nan.c: Undef __nan.
12585 * math/s_nanf.c: Undef __nanf.
12586 * math/s_nanl.c: Undef __nanl.
12587 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12588 "math_private.h".
12589
12590 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12591
12592 * math/s_catan.c: Add branch predictions.
12593 * math/s_catanf.c: Likewise.
12594 * math/s_catanh.c: Likewise.
12595 * math/s_catanhf.c: Likewise.
12596 * math/s_catanhl.c: Likewise.
12597 * math/s_catanl.c: Likewise.
12598 * math/s_cexp.c: Likewise.
12599 * math/s_cexpf.c: Likewise.
12600 * math/s_cexpl.c: Likewise.
12601 * math/s_clog.c: Likewise.
12602 * math/s_clog10.c: Likewise.
12603 * math/s_clog10f.c: Likewise.
12604 * math/s_clog10l.c: Likewise.
12605 * math/s_clogf.c: Likewise.
12606 * math/s_clogl.c: Likewise.
12607 * math/s_csqrt.c: Likewise.
12608 * math/s_csqrtf.c: Likewise.
12609 * math/s_csqrtl.c: Likewise.
12610 * math/s_ctanf.c: Likewise.
12611 * math/s_ctanh.c: Likewise.
12612 * math/s_ctanhf.c: Likewise.
12613 * math/s_ctanhl.c: Likewise.
12614 * math/s_ctanl.c: Likewise.
12615
12616 * math/math_private.h: Define __nan, __nanf, __nanl.
12617 * math/s_cacosh.c: Include <math_private.h>.
12618 * math/s_cacoshl.c: Likewise.
12619 * math/s_casinh.c: Likewise.
12620 * math/s_casinhf.c: Likewise.
12621 * math/s_casinhl.c: Likewise.
12622 * math/s_ccos.c: Rely entire on ccosh.
12623 * math/s_ccosf.c: Rely entire on ccoshf.
12624 * math/s_ccosl.c: Rely entirely on ccoshl.
12625 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12626 Remove tests for FE_INVALID.
12627 * math/s_ccoshf.c: Likewise.
12628 * math/s_ccoshl.c: Likewise.
12629 * math/s_csin.c: Likewise.
12630 * math/s_csinf.c: Likewise.
12631 * math/s_csinh.c Likewise.
12632 * math/s_csinhf.c: Likewise.
12633 * math/s_csinhl.c: Likewise.
12634 * math/s_csinl.c: Likewise.
12635 * math/s_ctan.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12637 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12638 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12639
12640 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12641
12642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12643 compilation problems.
12644
12645 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12646 __builtin_expect.
12647
12648 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12649
12650 * sysdeps/i386/configure.in: Test for -mfma4 option.
12651 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12652 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12653 COMMON_CPUID_INDEX_80000001.
12654 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12655 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12656 use it if FMA3 is not supported.
12657 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12658
12659 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12660 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12661
12662 2011-10-20 Andreas Schwab <schwab@redhat.com>
12663
12664 [BZ #12892]
12665 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12666 it would create a cycle with a link time dependency.
12667
12668 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12669
12670 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12671 instruction.
12672 * string/Makefile (strop-tests): Add rawmemchr.
12673 * string/test-rawmemchr.c: New file.
12674
12675 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12676 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12677 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12678 when compiling str{,n}casecmp and when AVX is available. Hook up
12679 new optimized code in initializers.
12680
12681 2011-10-19 Andreas Schwab <schwab@redhat.com>
12682
12683 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12684 __feraiseexcept instead of feraiseexcept.
12685
12686 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12687
12688 * math/math_private.h: Define defaults for libc_fetestexcept and
12689 libc_feupdateenv.
12690 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12691 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12692 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12693 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12694 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12695 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12696 libc_fetestexcept and libc_feupdateenv.
12697
12698 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12699 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12700 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12701 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12702 libc_feholdexcept_setround.
12703
12704 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12705 Add s_nearbyint-c and s_nearbyintf-c.
12706 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12707 nearbyintf inlines.
12708 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12710 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12711 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12712
12713 * math/math_private.h: Define defaults for libc_fegetround,
12714 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12715 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12716 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12717 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12718 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12719 standard functions.
12720 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12721 Remove comments and hacks for old compiler versions.
12722 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12723 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12724 libc_feholdexceptl.
12725
12726 2011-10-18 Andreas Schwab <schwab@redhat.com>
12727
12728 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12729 (__feraiseexcept_renamed): Add __NTH.
12730 (feraiseexcept): Add __NTH. Rename local variables to fix
12731 namespace violations.
12732
12733 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12734
12735 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12736
12737 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12738
12739 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12740 recently added interfaces.
12741 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12742
12743 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12744 about macro parameter expansion.
12745
12746 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12747 __NO_MATH_INLINES is defined. Cleanups.
12748
12749 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12750 and __floorf is target has SSE4.1.
12751 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12752 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12753 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12754 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12755
12756 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12757 name.
12758 (floorf): Likewise.
12759
12760 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12761
12762 2011-10-17 Andreas Schwab <schwab@redhat.com>
12763
12764 * misc/sys/cdefs.h: Fix last change.
12765
12766 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12767 database lookup.
12768
12769 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12770
12771 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12772
12773 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12774 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12775 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12779 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12780 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12781 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12782 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12783 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12784 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12785 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12786 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12787 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12788 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12789 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12790 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12791 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12792 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12793 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12794 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12795
12796 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12797 ceil, ceilf, floor, floorf.
12798
12799 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12800 Perform IRELATIVE relocations last.
12801
12802 * elf/do-rel.h: Add another parameter nrelative, replacing the
12803 local variable with the same name. Change name of the function
12804 to end in Rel or Rela (uppercase).
12805 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12806 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12807 elf_dynamic_do_##reloc function.
12808
12809 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12810
12811 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12812 is sufficient, at least on modern CPUs.
12813
12814 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12815
12816 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12817 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12818
12819 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12820 __expl_finite.
12821 * math/bits/math-finite.h: Add entries for exp.
12822 * math/e_expl.c: Add __*_finite alias.
12823 * sysdeps/i386/fpu/e_exp.S: Likewise.
12824 * sysdeps/i386/fpu/e_expf.S: Likewise.
12825 * sysdeps/i386/fpu/e_expl.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12827 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12831 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12832 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12833
12834 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12835 is sufficient, at least on modern CPUs.
12836
12837 * ctype/ctype-info.c (__ctype_init): Define.
12838 * include/ctype.h (__ctype_init): Declare.
12839 (__ctype_b_loc): The variable is always initialized.
12840 (__ctype_toupper_loc): Likewise.
12841 (__ctype_tolower_loc): Likewise.
12842 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12843 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12844
12845 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12846
12847 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12848
12849 * configure.in: Also look in $cxxmachine/include for C++ system
12850 headers.
12851
12852 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12853
12854 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12855 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12856 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12857 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12858 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12859 (USE_AS_WMEMCMP): New macro.
12860 Fixing indents.
12861 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12862 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12863 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12864 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12866 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12867 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12868 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12869 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12870 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12871 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12872 (USE_AS_WMEMCMP): New macro.
12873 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12874 * sysdeps/string/test-memcmp.c: Update.
12875 Fix simple_wmemcmp.
12876 Add new tests.
12877 * wcsmbs/wmemcmp.c: Update.
12878 (WMEMCMP): New macro.
12879 Fix overflow bug.
12880
12881 2011-10-12 Andreas Jaeger <aj@suse.de>
12882
12883 [BZ #13268]
12884 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12885
12886 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12887
12888 * libio/iofwide.c (do_length): Avoid warning.
12889
12890 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12891
12892 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12893
12894 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12895
12896 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12897 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12898 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12899 * sysdeps/i386/i686/fpu/e_log.S: New file.
12900 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12901 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12902
12903 * ctype/ctype.h: Add support for inlined isXXX functions when
12904 compiling C++ code.
12905
12906 2011-10-14 Andreas Schwab <schwab@redhat.com>
12907
12908 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12909
12910 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12911
12912 2011-10-13 Roland McGrath <roland@hack.frob.com>
12913
12914 [BZ #13291]
12915 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12916
12917 2011-10-13 Andreas Schwab <schwab@redhat.com>
12918
12919 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12920 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12921 feraiseexcept.
12922
12923 * sysdeps/x86_64/memrchr.S: Check for zero size.
12924
12925 * string/stratcliff.c: Add memrchr tests.
12926
12927 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12928
12929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12930 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12931 rawmemchr-sse2 rawmemchr-sse2-bsf.
12932 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12933 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12934 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12935 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12936 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12937 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12938 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12939 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12940 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12941 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12942 * string/memrchr.c (MEMRCHR): New macro.
12943
12944 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12945
12946 Add integration with gcc's -ffinite-math-only and optimize wrapper
12947 functions in libm.
12948 * Versions.def: Define GLIBC_2.15 version for libm.
12949 * math/Makefile (headers): Add bits/math-finite.h.
12950 * math/bits/math-finite.h: New file.
12951 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12952 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12953 * math/e_acoshl.c: Add __*_finite alias.
12954 * math/e_acosl.c: Likewise.
12955 * math/e_asinl.c: Likewise.
12956 * math/e_atan2l.c: Likewise.
12957 * math/e_atanhl.c: Likewise.
12958 * math/e_coshl.c: Likewise.
12959 * math/e_exp10.c: Likewise.
12960 * math/e_exp10f.c: Likewise.
12961 * math/e_exp10l.c: Likewise.
12962 * math/e_exp2l.c: Likewise.
12963 * math/e_fmodl.c: Likewise.
12964 * math/e_gammal_r.c: Likewise.
12965 * math/e_hypotl.c: Likewise.
12966 * math/e_j0l.c: Likewise.
12967 * math/e_j1l.c: Likewise.
12968 * math/e_jnl.c: Likewise.
12969 * math/e_lgammal_r.c: Likewise.
12970 * math/e_log10l.c: Likewise.
12971 * math/e_log2l.c: Likewise.
12972 * math/e_logl.c: Likewise.
12973 * math/e_powl.c: Likewise.
12974 * math/e_sinhl.c: Likewise.
12975 * math/e_sqrtl.c: Likewise.
12976 * math/e_scalb.c: Completely rewritten and optimized.
12977 * math/e_scalbf.c: Likewise.
12978 * math/e_scalbl.c: Likewise.
12979 * math/w_acos.c: Likewise.
12980 * math/w_acosf.c: Likewise.
12981 * math/w_acosl.c: Likewise.
12982 * math/w_acosh.c: Likewise.
12983 * math/w_acoshf.c: Likewise.
12984 * math/w_acoshl.c: Likewise.
12985 * math/w_asin.c: Likewise.
12986 * math/w_asinf.c: Likewise.
12987 * math/w_asinl.c: Likewise.
12988 * math/w_atan2.c: Likewise.
12989 * math/w_atan2f.c: Likewise.
12990 * math/w_atan2l.c: Likewise.
12991 * math/w_atanh.c: Likewise.
12992 * math/w_atanhf.c: Likewise.
12993 * math/w_atanhl.c: Likewise.
12994 * math/w_exp10.c: Likewise.
12995 * math/w_exp10f.c: Likewise.
12996 * math/w_exp10l.c: Likewise.
12997 * math/w_fmod.c: Likewise.
12998 * math/w_fmodf.c: Likewise.
12999 * math/w_fmodl.c: Likewise.
13000 * math/w_j0.c: Likewise.
13001 * math/w_j0f.c: Likewise.
13002 * math/w_j0l.c: Likewise.
13003 * math/w_j1.c: Likewise.
13004 * math/w_j1f.c: Likewise.
13005 * math/w_j1l.c: Likewise.
13006 * math/w_jn.c: Likewise.
13007 * math/w_jnf.c: Likewise.
13008 * math/w_log.c: Likewise.
13009 * math/w_logf.c: Likewise.
13010 * math/w_logl.c: Likewise.
13011 * math/w_log10.c: Likewise.
13012 * math/w_log10f.c: Likewise.
13013 * math/w_log10l.c: Likewise.
13014 * math/w_log2.c: Likewise.
13015 * math/w_log2f.c: Likewise.
13016 * math/w_log2l.c: Likewise.
13017 * math/w_pow.c: Likewise.
13018 * math/w_powf.c: Likewise.
13019 * math/w_powl.c: Likewise.
13020 * math/w_remainder.c: Likewise.
13021 * math/w_remainderf.c: Likewise.
13022 * math/w_remainderl.c: Likewise.
13023 * math/w_scalb.c: Likewise.
13024 * math/w_scalbf.c: Likewise.
13025 * math/w_scalbl.c: Likewise.
13026 * math/w_sqrt.c: Likewise.
13027 * math/w_sqrtf.c: Likewise.
13028 * math/w_sqrtl.c: Likewise.
13029 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13030 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13031 used.
13032 * math/math_private.h: Declare __kernel_standard_f.
13033 * math/w_cosh.c: Remove cruft and optimize a bit.
13034 * math/w_coshf.c: Likewise.
13035 * math/w_coshl.c: Likewise.
13036 * math/w_exp2.c: Likewise.
13037 * math/w_exp2f.c: Likewise.
13038 * math/w_exp2l.c: Likewise.
13039 * math/w_hypot.c: Likewise.
13040 * math/w_hypotf.c: Likewise.
13041 * math/w_hypotl.c: Likewise.
13042 * math/w_lgamma.c: Likewise.
13043 * math/w_lgamma_r.c: Likewise.
13044 * math/w_lgammaf.c: Likewise.
13045 * math/w_lgammaf_r.c: Likewise.
13046 * math/w_lgammal.c: Likewise.
13047 * math/w_lgammal_r.c: Likewise.
13048 * math/w_sinh.c: Likewise.
13049 * math/w_sinhf.c: Likewise.
13050 * math/w_sinhl.c: Likewise.
13051 * math/w_tgamma.c: Likewise.
13052 * math/w_tgammaf.c: Likewise.
13053 * math/w_tgammal.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13055 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13056 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13057 Minor optimizations. Pretty printing. Remove cruft.
13058 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13059 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13060 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13061 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13062 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13063 * sysdeps/i386/fpu/e_asin.S: Likewise.
13064 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13065 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13066 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13067 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13068 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13069 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13070 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13071 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13072 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13073 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13074 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13075 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13076 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13077 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13078 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13079 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13080 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13081 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13082 * sysdeps/i386/fpu/e_log.S: Likewise.
13083 * sysdeps/i386/fpu/e_log10.S: Likewise.
13084 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13085 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13086 * sysdeps/i386/fpu/e_log2.S: Likewise.
13087 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13088 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13089 * sysdeps/i386/fpu/e_logf.S: Likewise.
13090 * sysdeps/i386/fpu/e_logl.S: Likewise.
13091 * sysdeps/i386/fpu/e_pow.S: Likewise.
13092 * sysdeps/i386/fpu/e_powf.S: Likewise.
13093 * sysdeps/i386/fpu/e_powl.S: Likewise.
13094 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13095 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13096 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13097 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13098 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13099 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13100 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13101 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13102 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13104 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13105 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13106 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13107 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13110 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13112 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13113 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13116 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13119 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13120 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13121 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13124 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13125 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13126 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13127 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13128 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13129 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13130 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13131 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13132 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13133 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13134 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13135 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13136 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13137 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13138 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13139 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13140 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13141 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13142 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13143 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13144 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13145 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13146 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13147 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13148 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13149 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13150 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13151 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13152 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13153 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13154 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13155 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13169 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13170 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13172 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13174 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13182 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13183 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13184 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13185 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13186 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13188 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13189 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13190 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13191 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13192 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13193 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13194 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13195 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13196 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13197 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13198 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13199 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13200 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13201 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13202 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13203 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13204 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13205 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13206 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13207 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13208 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13209 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13210 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13211 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13212 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13213 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13214 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13215 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13216 (__isnanf): Likewise.
13217 (__isinf_ns): Likewise.
13218 (__isinf_nsf): Likewise.
13219 (__finite): Likewise.
13220 (__finitef): Likewise.
13221 (__ieee754_sqrt): Define as macro.
13222 (__ieee754_sqrtf): Define as macro.
13223 (__ieee754_sqrtl): Define as macro.
13224 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13225 inlined copy.
13226 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13227 __FINITE_MATH_ONLY__ consistent.
13228 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13229
13230 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13231
13232 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13233 of rawmemchr.
13234
13235 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13236
13237 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13238
13239 * po/ja.po: Update from translation team.
13240
13241 2011-10-08 Roland McGrath <roland@hack.frob.com>
13242
13243 * locale/programs/locarchive.c (prepare_address_space): New function.
13244 (create_archive, enlarge_archive, open_archive): Use it.
13245
13246 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13247 inside [SHARED], where it is used.
13248
13249 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13250
13251 * nss/getent.c (netgroup_keys): Remove unused variable.
13252 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13253
13254 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13255
13256 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13257 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13259 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13260 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13261 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13262 * math/Makefile (libm-calls): Add s_isinf_ns.
13263 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13264 * math/multc3.c: Likewise.
13265 * math/s_casin.c: Likewise.
13266 * math/s_casinf.c: Likewise.
13267 * math/s_casinl.c: Likewise.
13268 * math/s_ccos.c: Likewise.
13269 * math/s_ccosf.c: Likewise.
13270 * math/s_ccosl.c: Likewise.
13271 * math/s_ctan.c: Likewise.
13272 * math/s_ctanf.c: Likewise.
13273 * math/s_ctanh.c: Likewise.
13274 * math/s_ctanhf.c: Likewise.
13275 * math/s_ctanhl.c: Likewise.
13276 * math/s_ctanl.c: Likewise.
13277 * math/w_fmod.c: Likewise.
13278 * math/w_fmodf.c: Likewise.
13279 * math/w_fmodl.c: Likewise.
13280 * math/w_remainder.c: Likewise.
13281 * math/w_remainderf.c: Likewise.
13282 * math/w_remainderl.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13284 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13285 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13286 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13287 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13288 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13289 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13290 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13291
13292 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13293 of the number.
13294 * stdio-common/printf_fphex.c: Likewise.
13295 * stdio-common/printf_size.c: Likewise.
13296
13297 * math/e_exp10.c: Include math_private.h using <...> not "...".
13298 * math/e_exp10f.c: Likewise.
13299 * math/e_exp10l.c: Likewise.
13300 * math/e_exp2l.c: Likewise.
13301 * math/e_j0l.c: Likewise.
13302 * math/e_j1l.c: Likewise.
13303 * math/e_jnl.c: Likewise.
13304 * math/e_lgammal_r.c: Likewise.
13305 * math/e_rem_pio2l.c: Likewise.
13306 * math/e_scalb.c: Likewise.
13307 * math/e_scalbf.c: Likewise.
13308 * math/e_scalbl.c: Likewise.
13309 * math/k_cosl.c: Likewise.
13310 * math/k_sinl.c: Likewise.
13311 * math/k_tanl.c: Likewise.
13312 * math/s_cacoshf.c: Likewise.
13313 * math/s_catan.c: Likewise.
13314 * math/s_catanf.c: Likewise.
13315 * math/s_catanh.c: Likewise.
13316 * math/s_catanhf.c: Likewise.
13317 * math/s_catanhl.c: Likewise.
13318 * math/s_catanl.c: Likewise.
13319 * math/s_ccosh.c: Likewise.
13320 * math/s_ccoshf.c: Likewise.
13321 * math/s_ccoshl.c: Likewise.
13322 * math/s_cexp.c: Likewise.
13323 * math/s_cexpf.c: Likewise.
13324 * math/s_cexpl.c: Likewise.
13325 * math/s_clog.c: Likewise.
13326 * math/s_clog10.c: Likewise.
13327 * math/s_clog10f.c: Likewise.
13328 * math/s_clog10l.c: Likewise.
13329 * math/s_clogf.c: Likewise.
13330 * math/s_clogl.c: Likewise.
13331 * math/s_csin.c: Likewise.
13332 * math/s_csinf.c: Likewise.
13333 * math/s_csinh.c: Likewise.
13334 * math/s_csinhf.c: Likewise.
13335 * math/s_csinhl.c: Likewise.
13336 * math/s_csinl.c: Likewise.
13337 * math/s_csqrt.c: Likewise.
13338 * math/s_csqrtf.c: Likewise.
13339 * math/s_csqrtl.c: Likewise.
13340 * math/s_ctan.c: Likewise.
13341 * math/s_ctanf.c: Likewise.
13342 * math/s_ctanh.c: Likewise.
13343 * math/s_ctanhf.c: Likewise.
13344 * math/s_ctanhl.c: Likewise.
13345 * math/s_ctanl.c: Likewise.
13346 * math/s_ldexp.c: Likewise.
13347 * math/s_ldexpf.c: Likewise.
13348 * math/s_ldexpl.c: Likewise.
13349 * math/s_significand.c: Likewise.
13350 * math/s_significandf.c: Likewise.
13351 * math/s_significandl.c: Likewise.
13352 * math/w_acos.c: Likewise.
13353 * math/w_acosf.c: Likewise.
13354 * math/w_acosh.c: Likewise.
13355 * math/w_acoshf.c: Likewise.
13356 * math/w_acoshl.c: Likewise.
13357 * math/w_acosl.c: Likewise.
13358 * math/w_asin.c: Likewise.
13359 * math/w_asinf.c: Likewise.
13360 * math/w_asinl.c: Likewise.
13361 * math/w_atan2.c: Likewise.
13362 * math/w_atan2f.c: Likewise.
13363 * math/w_atan2l.c: Likewise.
13364 * math/w_atanh.c: Likewise.
13365 * math/w_atanhf.c: Likewise.
13366 * math/w_atanhl.c: Likewise.
13367 * math/w_cosh.c: Likewise.
13368 * math/w_coshf.c: Likewise.
13369 * math/w_coshl.c: Likewise.
13370 * math/w_dremf.c: Likewise.
13371 * math/w_exp10.c: Likewise.
13372 * math/w_exp10f.c: Likewise.
13373 * math/w_exp10l.c: Likewise.
13374 * math/w_exp2.c: Likewise.
13375 * math/w_exp2f.c: Likewise.
13376 * math/w_fmod.c: Likewise.
13377 * math/w_fmodf.c: Likewise.
13378 * math/w_fmodl.c: Likewise.
13379 * math/w_hypot.c: Likewise.
13380 * math/w_hypotf.c: Likewise.
13381 * math/w_hypotl.c: Likewise.
13382 * math/w_j0.c: Likewise.
13383 * math/w_j0f.c: Likewise.
13384 * math/w_j0l.c: Likewise.
13385 * math/w_j1.c: Likewise.
13386 * math/w_j1f.c: Likewise.
13387 * math/w_j1l.c: Likewise.
13388 * math/w_jn.c: Likewise.
13389 * math/w_jnf.c: Likewise.
13390 * math/w_jnl.c: Likewise.
13391 * math/w_lgamma.c: Likewise.
13392 * math/w_lgamma_r.c: Likewise.
13393 * math/w_lgammaf.c: Likewise.
13394 * math/w_lgammaf_r.c: Likewise.
13395 * math/w_lgammal.c: Likewise.
13396 * math/w_lgammal_r.c: Likewise.
13397 * math/w_log.c: Likewise.
13398 * math/w_log10.c: Likewise.
13399 * math/w_log10f.c: Likewise.
13400 * math/w_log10l.c: Likewise.
13401 * math/w_log2.c: Likewise.
13402 * math/w_log2f.c: Likewise.
13403 * math/w_log2l.c: Likewise.
13404 * math/w_logf.c: Likewise.
13405 * math/w_logl.c: Likewise.
13406 * math/w_pow.c: Likewise.
13407 * math/w_powf.c: Likewise.
13408 * math/w_powl.c: Likewise.
13409 * math/w_remainder.c: Likewise.
13410 * math/w_remainderf.c: Likewise.
13411 * math/w_remainderl.c: Likewise.
13412 * math/w_scalb.c: Likewise.
13413 * math/w_scalbf.c: Likewise.
13414 * math/w_scalbl.c: Likewise.
13415 * math/w_sinh.c: Likewise.
13416 * math/w_sinhf.c: Likewise.
13417 * math/w_sinhl.c: Likewise.
13418 * math/w_sqrt.c: Likewise.
13419 * math/w_sqrtf.c: Likewise.
13420 * math/w_sqrtl.c: Likewise.
13421 * math/w_tgamma.c: Likewise.
13422 * math/w_tgammaf.c: Likewise.
13423 * math/w_tgammal.c: Likewise.
13424
13425 * po/ja.po: Update from translation team.
13426
13427 2011-09-29 Andreas Jaeger <aj@suse.de>
13428
13429 [BZ #13179]
13430 * sunrpc/netname.c (netname2host): Fix logic.
13431
13432 [BZ #6779]
13433 [BZ #6783]
13434 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13435 correctly.
13436 * math/w_remainder.c (__remainder): Likewise.
13437 * math/w_remainderf.c (__remainderf): Likewise.
13438 * math/libm-test.inc (remainder_test): Add test cases.
13439
13440 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13441
13442 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13443 sdiv_qrnnd.
13444
13445 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13446
13447 * string/test-memcmp.c: Avoid unncessary #defines.
13448 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13449
13450 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13451
13452 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13453 Use new sse2 version for core i3 - i7 as it's faster
13454 than sse42 version.
13455 (bit_Prefer_PMINUB_for_stringop): New.
13456 * sysdeps/x86_64/rawmemchr.S: Update.
13457 Replace with faster SSE2 version.
13458 * sysdeps/x86_64/memrchr.S: New file.
13459 * sysdeps/x86_64/memchr.S: Update.
13460 Replace with faster SSE2 version.
13461
13462 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13463
13464 * elf/dl-load.c (lose): Add cast to avoid warning.
13465
13466 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13467
13468 * po/ca.po: Update from translation team.
13469
13470 * inet/getnetgrent_r.c: Hook up nscd.
13471 * nscd/Makefile (routines): Add nscd_netgroup.
13472 (nscd-modules): Add netgroupcache.
13473 (CFLAGS-netgroupcache.c): Define.
13474 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13475 (cache_search): Add const to second parameter.
13476 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13477 INNETGR.
13478 (dbs): Add netgrdb entry.
13479 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13480 (verify_persistent_db): Handle netgrdb.
13481 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13482 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13483 GETFDNETGR.
13484 (netgroup_response_header): Define.
13485 (innetgroup_response_header): Define.
13486 (datahead): Add netgroup_response_header and innetgroup_response_header
13487 elements.
13488 * nscd/nscd.conf: Add entries for netgroup cache.
13489 * nscd/nscd.h (dbtype): Add netgrdb.
13490 (_PATH_NSCD_NETGROUP_DB): Define.
13491 (netgroup_iov_disabled): Declare.
13492 (xmalloc, xcalloc, xrealloc): Move declarations here.
13493 (cache_search): Adjust prototype.
13494 Add netgroup-related prototypes.
13495 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13496 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13497 (__nscd_innetgr): Declare.
13498 * nscd/selinux.c (perms): Use access_vector_t as element type and
13499 add netgroup-related initializers.
13500 * nscd/netgroupcache.c: New file.
13501 * nscd/nscd_netgroup.c: New file.
13502 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13503 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13504 For four parameters use innetgr.
13505 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13506 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13507 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13508 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13509
13510 * nscd/connections.c (register_traced_file): Don't register file
13511 for disabled databases.
13512
13513 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13514
13515 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13516
13517 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13518 from tree and freeing node.
13519
13520 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13521
13522 * nss/nsswitch.c (__nss_database_lookup): Handle
13523 nss_parse_service_list out of memory case.
13524
13525 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13526
13527 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13528 out of memory case.
13529
13530 2011-10-04 Andreas Schwab <schwab@redhat.com>
13531
13532 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13533 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13534 pass it down.
13535 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13536 elf_machine_rela, elf_machine_lazy_rel.
13537 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13538 (ELF_DYNAMIC_DO_REL): Likewise.
13539 (ELF_DYNAMIC_DO_RELA): Likewise.
13540 (ELF_DYNAMIC_RELOCATE): Likewise.
13541 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13542 to ELF_DYNAMIC_DO_REL.
13543 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13544 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13545 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13546 elf_machine_rela.
13547 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13548 skip_ifunc, don't call ifunc function if non-zero.
13549 (elf_machine_rela): Likewise.
13550 (elf_machine_lazy_rel): Likewise.
13551 (elf_machine_lazy_rela): Likewise.
13552 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13553 (elf_machine_lazy_rel): Likewise.
13554 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13555 Likewise.
13556 (elf_machine_lazy_rel): Likewise.
13557 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13558 Likewise.
13559 (elf_machine_lazy_rel): Likewise.
13560 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13561 (elf_machine_lazy_rel): Likewise.
13562 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13563 (elf_machine_lazy_rel): Likewise.
13564 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13565 (elf_machine_lazy_rel): Likewise.
13566 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13567 (elf_machine_lazy_rel): Likewise.
13568 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13569 (elf_machine_lazy_rel): Likewise.
13570 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13571 (elf_machine_lazy_rel): Likewise.
13572
13573 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13574
13575 * nss/nss_files/files-init.c (_nss_files_init): Use static
13576 initialization for all the *_traced_file variables.
13577
13578 2011-09-28 Andreas Schwab <schwab@redhat.com>
13579
13580 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13581
13582 2011-09-27 Roland McGrath <roland@hack.frob.com>
13583
13584 [BZ #13226]
13585 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13586
13587 2011-09-27 Andreas Schwab <schwab@redhat.com>
13588
13589 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13590 Reread the line before reparsing it.
13591
13592 2011-09-26 Andreas Schwab <schwab@redhat.com>
13593
13594 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13595
13596 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13597 Maxim Kuvyrkov <maxim@codesourcery.com>
13598 Joseph Myers <joseph@codesourcery.com>
13599
13600 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13601 if needed for __stack_chk_guard.
13602
13603 2011-09-19 Roland McGrath <roland@hack.frob.com>
13604
13605 * sysdeps/posix/spawni.c (script_execute): Always define it.
13606 It will be optimized away if unused.
13607 (maybe_script_execute): New function.
13608 (__spawni): Call it.
13609
13610 * Makerules: Don't include tls.make.
13611 (config-tls): Always set to thread.
13612 * tls.make.c: File removed.
13613
13614 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13615
13616 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13617 * config.make.in (CPPFLAGS-config): New substituted variable.
13618
13619 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13620
13621 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13622
13623 [BZ #13192]
13624 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13625 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13626
13627 2011-09-15 Roland McGrath <roland@hack.frob.com>
13628
13629 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13630 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13631 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13632 (CALL_FAIL): Likewise.
13633 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13634 (CALL_FAIL): Macro removed.
13635 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13636
13637 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13638
13639 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13640 for __FINITE_MATH_ONLY__ == 1.
13641
13642 2011-09-15 Andreas Schwab <schwab@redhat.com>
13643
13644 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13645 __ieee754_sqrt instead of sqrt.
13646 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13647 __ieee754_sqrtf instead of sqrtf.
13648 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13649 __floorf instead of floorf.
13650 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13651 __floorf, __truncf instead of floorf, truncf.
13652
13653 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13654
13655 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13656
13657 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13658 __extern_always_inline.
13659 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13660 32-bit.
13661
13662 2011-09-14 Andreas Schwab <schwab@redhat.com>
13663
13664 * elf/rtld.c (dl_main): Also relocate in dependency order when
13665 doing symbol dependency testing.
13666
13667 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13668
13669 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13670 Always define `refsym'.
13671
13672 2011-09-13 Andreas Schwab <schwab@redhat.com>
13673
13674 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13675 (__FD_ELT): Renamed from __FDELT.
13676 * misc/bits/select2.h (__FD_ELT): Likewise.
13677 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13678 __FD_MASK instead of __FDELT, __FDMASK.
13679 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13680 Likewise.
13681 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13682 Likewise.
13683
13684 * elf/Makefile (gen-ldd): Fix pattern.
13685
13686 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13687 (init_tls): Likewise.
13688
13689 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13690
13691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13692
13693 2011-09-12 Andreas Schwab <schwab@redhat.com>
13694
13695 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13696 `struct cmsghdr *' instead of `void *'.
13697 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13698 Likewise.
13699
13700 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13701
13702 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13703 if non-absolute.
13704 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13705 ldd_rewrite_script.
13706
13707 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13708
13709 * configure.in: Remove --with-tls option.
13710 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13711 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13712 out in case it is missing.
13713 * sysdeps/ia64/elf/configure.in: Likewise.
13714 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13715 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13716 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13717 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13718 * sysdeps/sh/elf/configure.in: Likewise.
13719 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13720 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13721 * sysdeps/x86_64/elf/configure.in: Likewise.
13722 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13723 * sysdeps/mach/hurd/tls.h: Likewise.
13724
13725 [BZ #13067]
13726 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13727
13728 [BZ #13090]
13729 * configure.in: Fix use of AC_INIT.
13730
13731 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13732
13733 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13734
13735 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13736 __set_errno.
13737 * malloc/hooks.c: Likewise.
13738
13739 [BZ #11929]
13740 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13741 variables statically.
13742 (narenas): Initialize.
13743 (list_lock): Initialize.
13744 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13745 initializtion of main_arena and list_lock. Small cleanups.
13746 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13747 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13748 Add initializers to main_arena and mp_.
13749 (malloc_state): Remove pagesize member. Change all users to use
13750 GLRO(dl_pagesize).
13751
13752 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13753 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13754 is always initialized.
13755
13756 * malloc/malloc.c: Removed unused configurations and dead code.
13757 * malloc/arena.c: Likewise.
13758 * malloc/hooks.c: Likewise.
13759 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13760
13761 * include/tls.h: Removed. USE___THREAD must always be defined.
13762 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13763 * elf/dl-libc.c: Likewise.
13764 * elf/dl-tsd.c: Likewise.
13765 * include/errno.h: Likewise.
13766 * include/netdb.h: Likewise.
13767 * include/resolv.h: Likewise.
13768 * inet/herrno-loc.c: Likewise.
13769 * inet/herrno.c: Likewise.
13770 * malloc/arena.c: Likewise.
13771 * malloc/hooks.c: Likewise.
13772 * malloc/malloc.c: Likewise.
13773 * resolv/res-state.c: Likewise.
13774 * resolv/res_libc.c: Likewise.
13775 * sysdeps/i386/dl-machine.h: Likewise.
13776 * sysdeps/ia64/dl-machine.h: Likewise.
13777 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13778 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13779 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13780 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13781 * sysdeps/sh/dl-machine.h: Likewise.
13782 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13783 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13784 * sysdeps/unix/i386/sysdep.S: Likewise.
13785 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13786 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13787 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13789 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13791 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13792 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13795 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13796 * sysdeps/x86_64/dl-machine.h: Likewise.
13797 * tls.make.c: Likewise.
13798
13799 * configure.in: Remove --with-__thread option. Make tests for
13800 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13801 tls_model attribute fail if no support is available. Remove
13802 USE_IN_LIBIO.
13803 * Makeconfig: Adjust for dropped configure option. All features are
13804 now mandatory.
13805 * Makerules: Likewise.
13806 * Versions.def: Likewise.
13807 * argp/argp-fmtstream.c: Likewise.
13808 * argp/argp-fmtstream.h: Likewise.
13809 * argp/argp-help.c: Likewise.
13810 * assert/assert.c: Likewise.
13811 * config.h.in: Likewise.
13812 * config.make.in: Likewise.
13813 * configure: Likewise.
13814 * configure.in: Likewise.
13815 * csu/Versions: Likewise.
13816 * csu/init.c: Likewise.
13817 * elf/tst-audit2.c: Likewise.
13818 * elf/tst-tls10.c: Likewise.
13819 * elf/tst-tls10.h: Likewise.
13820 * elf/tst-tls11.c: Likewise.
13821 * elf/tst-tls12.c: Likewise.
13822 * elf/tst-tls14.c: Likewise.
13823 * elf/tst-tlsmod11.c: Likewise.
13824 * elf/tst-tlsmod12.c: Likewise.
13825 * elf/tst-tlsmod13.c: Likewise.
13826 * elf/tst-tlsmod13a.c: Likewise.
13827 * elf/tst-tlsmod14a.c: Likewise.
13828 * elf/tst-tlsmod15b.c: Likewise.
13829 * elf/tst-tlsmod16a.c: Likewise.
13830 * elf/tst-tlsmod16b.c: Likewise.
13831 * elf/tst-tlsmod7.c: Likewise.
13832 * elf/tst-tlsmod8.c: Likewise.
13833 * elf/tst-tlsmod9.c: Likewise.
13834 * gmon/gmon.c: Likewise.
13835 * grp/fgetgrent_r.c: Likewise.
13836 * grp/putgrent.c: Likewise.
13837 * hurd/fopenport.c: Likewise.
13838 * include/libc-symbols.h: Likewise.
13839 * include/tls.h: Likewise.
13840 * intl/gettextP.h: Likewise.
13841 * intl/loadinfo.h: Likewise.
13842 * locale/global-locale.c: Likewise.
13843 * locale/localeinfo.h: Likewise.
13844 * mach/devstream.c: Likewise.
13845 * malloc/arena.c: Likewise.
13846 * malloc/set-freeres.c: Likewise.
13847 * misc/err.c: Likewise.
13848 * misc/getttyent.c: Likewise.
13849 * misc/mntent_r.c: Likewise.
13850 * posix/getopt.c: Likewise.
13851 * posix/wordexp.c: Likewise.
13852 * pwd/fgetpwent_r.c: Likewise.
13853 * resolv/Versions: Likewise.
13854 * resolv/res_hconf.c: Likewise.
13855 * shadow/fgetspent_r.c: Likewise.
13856 * shadow/putspent.c: Likewise.
13857 * stdio-common/printf_fphex.c: Likewise.
13858 * stdio-common/tmpfile.c: Likewise.
13859 * stdlib/abort.c: Likewise.
13860 * stdlib/fmtmsg.c: Likewise.
13861 * sunrpc/auth_unix.c: Likewise.
13862 * sunrpc/clnt_perr.c: Likewise.
13863 * sunrpc/clnt_tcp.c: Likewise.
13864 * sunrpc/clnt_udp.c: Likewise.
13865 * sunrpc/clnt_unix.c: Likewise.
13866 * sunrpc/openchild.c: Likewise.
13867 * sunrpc/svc_simple.c: Likewise.
13868 * sunrpc/svc_tcp.c: Likewise.
13869 * sunrpc/svc_udp.c: Likewise.
13870 * sunrpc/svc_unix.c: Likewise.
13871 * sunrpc/xdr.c: Likewise.
13872 * sunrpc/xdr_array.c: Likewise.
13873 * sunrpc/xdr_rec.c: Likewise.
13874 * sunrpc/xdr_ref.c: Likewise.
13875 * sunrpc/xdr_stdio.c: Likewise.
13876
13877 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13878
13879 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13880
13881 2011-07-03 Andreas Jaeger <aj@suse.de>
13882
13883 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13884 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13885 regenerate with gen-libm-tests.pl.
13886
13887 2010-05-12 Petr Baudis <pasky@suse.cz>
13888
13889 [BZ #11589]
13890 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13891 around j0() zero points by switching to j1().
13892 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13896
13897 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13898
13899 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13900 instead of 0.
13901 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13902 instead of 0. .
13903 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13904 Patch in part by Pavel Roskin <proski@gnu.org>.
13905
13906 [BZ #13138]
13907 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13908 realloc.
13909 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13910 Free memory block if necessary.
13911
13912 [BZ #12847]
13913 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13914 be NULL. Don't lock in this case.
13915
13916 2011-09-09 Roland McGrath <roland@hack.frob.com>
13917
13918 * elf/elf.h (ELFOSABI_GNU): New macro.
13919 (ELFOSABI_LINUX): Define to that.
13920
13921 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13922
13923 * string/strncat.c (strncat): Undef the symbol in case it has been
13924 defined in bits/string.h.
13925
13926 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13927
13928 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13929
13930 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13931 link map.
13932
13933 2011-08-17 Andreas Jaeger <aj@suse.de>
13934
13935 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13936
13937 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13938 Ian Lance Taylor <iant@google.com>
13939
13940 * math/libm-test.inc (lround_test): New testcase.
13941 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13942
13943 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13944
13945 * Makefile: Remove support for automatic cvs check-ins.
13946 * Makerules: Likewise.
13947 * config.make.in: Likewise.
13948 * configure.in: Likewise.
13949 * intl/Makefile: Likewise.
13950 * locale/Makefile: Likewise.
13951 * po/Makefile: Likewise.
13952 * posix/Makefile: Likewise.
13953 * sysdeps/gnu/Makefile: Likewise.
13954 * sysdeps/mach/hurd/Makefile: Likewise.
13955 * sysdeps/sparc/sparc32/Makefile: Likewise.
13956
13957 [BZ #13118]
13958 * posix/Makefile (bug-regex32-ENV): Define.
13959 Patch by John Stanley <jpsinthemix@verizon.net>.
13960
13961 * misc/Makefile (headers): Add bits/select2.h.
13962 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13963 * misc/bits/select2.h: New file.
13964 * include/bits/select2.h: New file.
13965 * debug/Makefile (routines): Add fdelt_chk.
13966 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13967 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13968 FD_ISSET.
13969 * debug/fdelt_chk.c: New file.
13970
13971 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13972 * wcsmbs/test-wmemcmp.c: Likewise.
13973 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13974 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13975
13976 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13977
13978 * string/Makefile (strop-tests): Add memcmp.
13979 * string/test-wmemcmp.c: New file.
13980 * string/test-memcmp.c: Add wmemcmp support.
13981
13982 2011-09-08 Roland McGrath <roland@hack.frob.com>
13983
13984 [BZ #13153]
13985 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13986 2011-07-19 change.
13987
13988 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13989 garbage value in a __mach_port_mod_refs call in the cases of the
13990 task-self and thread-self ports.
13991
13992 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13993
13994 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13995
13996 2011-09-08 Andreas Schwab <schwab@redhat.com>
13997
13998 * elf/dl-load.c (lose): Check for non-null L.
13999
14000 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14001
14002 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14003
14004 * elf/dl-libc.c (dlerror_run): Pass back error code from
14005 dl_catch_error.
14006
14007 [BZ #13123]
14008 * elf/dl-load.c (lose): Free l_origin if it is valid.
14009
14010 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14011 names.
14012 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14013 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14014 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14015 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14016 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14017 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14018
14019 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14020
14021 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14022 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14023 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14024 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14025 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14026 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14027 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14028 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14029 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14030 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14031
14032 2011-08-15 Alan Modra <amodra@gmail.com>
14033
14034 [BZ #13092]
14035 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14036 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14037 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14038 ppc_mcount to static-only-routines.
14039 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14040 __mcount_internal.
14041 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14042 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14043
14044 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14045
14046 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14047 for finite and infinity parameters.
14048
14049 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14050
14051 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14052 and add nop instructions for throughput optimization.
14053 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14054
14055 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14056
14057 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14058 aligned copy for power7 with vector-scalar instructions.
14059 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14060
14061 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14062
14063 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14064 AVX check.
14065
14066 2011-09-07 Andreas Schwab <schwab@redhat.com>
14067
14068 [BZ #13144]
14069 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14070 last change.
14071
14072 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14073
14074 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14075 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14076 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14077 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14078 clock_gettime.
14079
14080 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14081
14082 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14083 Forgot to demangle the pointer.
14084
14085 * sysdeps/i386/sysdep.h: Define atom_text_section.
14086 * sysdeps/x86_64/sysdep.h: Likewise.
14087 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14088 section with atom_text_section.
14089 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14090 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14091 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14093 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14094
14095 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14096 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14097 already be defined. Change to take two parameters and don't assign
14098 result to variable. Adjust all users.
14099 Define INTERNAL_GETTIME if not already defined.
14100 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14101 call.
14102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14103 HAVE_CLOCK_GETTIME_VSYSCALL.
14104 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14105
14106 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14107 gettimeofday vsyscall, just use time.
14108
14109 2011-09-06 Andreas Schwab <schwab@redhat.com>
14110
14111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14112 <errno.h>.
14113
14114 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14115
14116 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14117 syscall on x86-64.
14118 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14119 syscall.
14120 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14121 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14122 syscall if possible.
14123
14124 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14125
14126 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14127 e_ident. Don't pass to find_mapsXX.
14128 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14129
14130 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14131
14132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14133 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14134 * sysdeps/x86_64/multiarch/strchr.S: Update.
14135 Check bit_slow_BSF bit.
14136 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14137 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14138 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14139
14140 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14141
14142 [BZ #13134]
14143 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14144 before glibc 2.15.
14145 (tryshell): Define.
14146 (__spawni): Change last parameter to be flag. Test
14147 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14148 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14149 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14150 * posix/spawni.c: Likewise.
14151 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14152 * posix/spawnp.c: Likewise. Change normal version to use
14153 SPAWN_XFLAGS_USE_PATH.
14154 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14155 SPAWN_XFLAGS_TRY_SHELL.
14156
14157 [BZ #13150]
14158 * posix/glob.h: Remove gcc 1.x support.
14159
14160 [BZ #13068]
14161 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14162
14163 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14164
14165 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14166 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14167 strrchr-sse2-bsf
14168 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14169 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14170 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14171 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14172 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14173 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14174
14175 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14176
14177 * sysdeps/x86_64/wcscmp.S: New file.
14178
14179 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14180 wcscmp-c wcscmp-sse2
14181 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14182 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14183 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14184 * wcsmbs/wcscmp.c: Allow renaming.
14185
14186 2011-09-05 David S. Miller <davem@davemloft.net>
14187
14188 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14189 stack slot, rather than the struct return pointer slot.
14190 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14191 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14193 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14194
14195 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14196
14197 * po/ja.po: Update from translation team.
14198
14199 [BZ #13144]
14200 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14201 kernel in 64-bit binaries.
14202
14203 2011-09-01 David S. Miller <davem@davemloft.net>
14204
14205 * elf/elf.h (HWCAP_SPARC_*): Move to..
14206 * sysdeps/sparc/sysdep.h: this new file and add new values.
14207 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14208 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14209 _DL_HWCAP_COUNT to 24.
14210 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14211 entries.
14212 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14213 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14214 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14216 instead of magic constants.
14217 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14218
14219 2011-08-31 David S. Miller <davem@davemloft.net>
14220
14221 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14222 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14223 Reimplement to do errno handling inline.
14224 (SYSCALL_ERROR_HANDLER): New macro.
14225 (__SYSCALL_STRING): Do not do errno handling in asm.
14226 (__CLONE_SYSCALL_STRING): Delete.
14227 (__INTERNAL_SYSCALL_STRING): Delete.
14228 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14229 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14230 (PSEUDO): Reimplement to do errno handling inline.
14231 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14232 (SYSCALL_ERROR_HANDLER): New macro.
14233 (__SYSCALL_STRING): Do not do errno handling in asm.
14234 (__CLONE_SYSCALL_STRING): Delete.
14235 (__INTERNAL_SYSCALL_STRING): Delete.
14236 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14237 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14238 i386.
14239 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14240 (inline_syscall*): Add 'err' argument.
14241 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14242 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14243 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14244 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14245
14246 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14247 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14248
14249 2011-08-30 Andreas Schwab <schwab@redhat.com>
14250
14251 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14252
14253 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14254
14255 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14256 directive.
14257
14258 2011-08-24 David S. Miller <davem@davemloft.net>
14259
14260 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14261
14262 2011-08-24 Andreas Schwab <schwab@redhat.com>
14263
14264 * elf/Makefile: Add rules to build and run unload8 test.
14265 * elf/unload8.c: New file.
14266 * elf/unload8mod1.c: New file.
14267 * elf/unload8mod1x.c: New file.
14268 * elf/unload8mod2.c: New file.
14269 * elf/unload8mod3.c: New file.
14270
14271 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14272 it wasn't used.
14273
14274 2011-08-23 David S. Miller <davem@davemloft.net>
14275
14276 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14277 subtract stack bias.
14278 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14279 %sp not %fp in calculations.
14280 (_JMPBUF_UNWINDS_ADJ): Likewise.
14281
14282 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14283 (aio_suspend): Call it to force an exception region around the
14284 AIO_MISC_WAIT() invocation.
14285
14286 2011-08-23 Andreas Schwab <schwab@redhat.com>
14287
14288 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14289 backslash.
14290
14291 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14292
14293 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14294 protection macro.
14295 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14296 and <dl-machine.h>.
14297 (Elf64_FuncDesc): Remove.
14298
14299 2011-08-22 David S. Miller <davem@davemloft.net>
14300
14301 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14302 sigaltstack check, add missing cfi directives.
14303 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14304 missing cfi directives, and sigaltstack handling.
14305
14306 2011-08-16 Andreas Schwab <schwab@redhat.com>
14307
14308 [BZ #11724]
14309 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14310 object is seen twice.
14311 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14312
14313 * elf/Makefile (distribute): Add tst-initorder2.c.
14314 (tests): Add tst-initorder2.
14315 (modules-names): Add tst-initorder2a tst-initorder2b
14316 tst-initorder2c tst-initorder2d. Add rules to build them.
14317 ($(objpfx)tst-initorder2.out): New rule.
14318 * elf/tst-initorder2.c: New file.
14319 * elf/tst-initorder2.exp: New file.
14320
14321 2011-08-22 Andreas Schwab <schwab@redhat.com>
14322
14323 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14324
14325 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14326 dependencies back to end of function.
14327
14328 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14329 $(elfobjdir)/ld.so.
14330
14331 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14332
14333 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14334 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14335 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14336 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14337 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14338 of __vdso_gettimeofday.
14339 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14340 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14341 attribute_hidden.
14342 (_libc_vdso_platform_setup): Remove initialization of
14343 __vdso_gettimeofday and __vdso_time.
14344
14345 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14346
14347 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14348 and fgetc_unlocked.
14349 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14350 getc_unlocked.
14351
14352 * elf/dl-open.c (add_to_global): Report additions to the global scope
14353 for LD_DEBUG=scopes.
14354 (dl_open_worker): Also print scope of newly loaded dependencies.
14355 (_dl_show_scope): Indicate if there is no scope.
14356
14357 [BZ #13114]
14358 * stdio-common/Makefile (tests): Add bug24.
14359 * stdio-common/bug24.c: New file.
14360
14361 2011-08-19 Andreas Jaeger <aj@suse.de>
14362
14363 [BZ #13114]
14364 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14365 non-existant file when using close-on-exec mode.
14366
14367 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14368
14369 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14370 the very first instruction.
14371
14372 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14373 the CFI state in the end.
14374 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14375 inclusion of dl-trampoline.h.
14376 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14377
14378 2011-08-19 Andreas Schwab <schwab@redhat.com>
14379
14380 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14381 expectations for long double.
14382
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14384 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14385
14386 2011-08-14 David S. Miller <davem@davemloft.net>
14387
14388 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14389 artificual limit depends upon the system page size.
14390
14391 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14392
14393 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14394 * resolv/Makefile: Define CFLAGS-libresolv.
14395
14396 2011-08-17 Andreas Schwab <schwab@redhat.com>
14397
14398 * nss/makedb.c (compute_tables): Make variables used in nested
14399 function static.
14400
14401 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14402
14403 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14404 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14405 if buffer was too small.
14406
14407 * elf/pldd.c (main): Attach to all threads in the process.
14408 Rewrite /proc handling to use *at functions.
14409
14410 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14411
14412 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14413 specifies first scope to show.
14414 (dl_open_worker): Update callers. Move printing scope of new
14415 object to before the relocation.
14416 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14417 * sysdeps/generic/ldsodefs.h: Update declaration.
14418
14419 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14420 string for the scope number.
14421
14422 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14423
14424 * nscd/servicescache.c (cache_addserv): Make sure written is always
14425 initialized.
14426
14427 2011-08-14 Roland McGrath <roland@hack.frob.com>
14428
14429 * sysdeps/i386/i486/bits/atomic.h
14430 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14431 statement expression, so as to suppress "set but not used" warning.
14432 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14433
14434 * string/strncat.c (STRNCAT): Use prototype definition.
14435
14436 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14437 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14438 -Iprograms here.
14439 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14440 (localedef-modules): Add localedef.
14441 (locale-modules): Add locale.
14442
14443 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14444 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14445 to avoid a warning.
14446
14447 2011-08-14 David S. Miller <davem@davemloft.net>
14448
14449 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14450 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14451
14452 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14453
14454 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14455 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14456 * elf/rtld.c (dl_main): Set l_name of vDSO.
14457 Call _dl_show_scope when DL_DEBUG_SCOPES.
14458 (process_dl_debug): Recognize scopes flag and also set it for all.
14459 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14460 Declare _dl_show_scope.
14461
14462 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14463 (do_dlopen): Pass caller_dlopen to dl_open.
14464 (__libc_dlopen_mode): Initialize caller_dlopen.
14465
14466 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14467 of libc. Make tolower call locale-independent. Optimize a bit by
14468 using isdigit instead of isalnum.
14469 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14470
14471 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14472
14473 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14474 was a dependency or dynamically loaded.
14475
14476 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14477
14478 * intl/l10nflist.c: Allow architecture-specific pop function.
14479 * sysdeps/x86_64/l10nflist.c: New file.
14480
14481 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14482 classification.
14483
14484 2011-08-10 Andreas Schwab <schwab@redhat.com>
14485
14486 * include/dirent.h: Add libc_hidden_proto for scandirat and
14487 scandirat64. Don't declare __scandirat64.
14488 * dirent/scandirat.c: Add libc_hidden_def.
14489 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14490 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14491
14492 2011-08-10 David S. Miller <davem@davemloft.net>
14493
14494 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14495 enum.
14496 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14497 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14498 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14499
14500 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14501
14502 * Versions.def [libc]: Add GLIBC_2.15.
14503 * dirent/Makefile (routines): Add scandirat and scandirat64.
14504 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14505 GLIBC_2.15.
14506 * dirent/dirent.h: Declare scandirat and scandirat64.
14507 * dirent/scandirat.c: New file.
14508 * dirent/scandirat64.c: New file.
14509 * sysdeps/wordsize-64/scandirat.c: New file.
14510 * sysdeps/wordsize-64/scandirat64.c: New file.
14511 * dirent/opendir.c: Define opendirat.
14512 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14513 using scandirat.
14514 * dirent/scandir64.c: Adjust for scandir.c change.
14515 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14516 __scandirat64, and __scandir_cancel_handler.
14517 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14518 additional parameter and use openat instead of open (outside of ld.so).
14519 Add new __opendir as wrapper around __opendirat.
14520 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14521 here without requiring old scandirat implementation.
14522
14523 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14524
14525 * dirent/scandir.c (cancel_handler): Renamed to
14526 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14527 defined. Adjust users.
14528 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14529 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14530
14531 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14532
14533 * string/test-string.h (IMPL): Use __STRING to expand name and then
14534 stringify it.
14535
14536 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14537 of cleanups.
14538
14539 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14540
14541 * string/Makefile: Update.
14542 (strop-tests): Append strncat.
14543 * string/test-wcscmp.c: New file.
14544 New comprehensive test for wcscmp.
14545 * string/test-strcmp.c: Update.
14546 (WIDE): New define.
14547
14548 2011-07-22 Andreas Schwab <schwab@redhat.com>
14549
14550 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14551 line.
14552
14553 2011-07-26 Andreas Schwab <schwab@redhat.com>
14554
14555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14556 encoding to ACE if AI_IDN.
14557
14558 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14559
14560 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14561 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14562
14563 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14564
14565 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14566 Fix overflow bug in strncat.
14567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14568
14569 * string/test-strncat.c: Update.
14570 Add new tests for checking overflow bugs.
14571
14572 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14573
14574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14575 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14576 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14577 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14578 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14579 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14580 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14581 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14582 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14583
14584 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14585 (USE_AS_STRCAT): Define.
14586 Add strcat and strncat support.
14587 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14588
14589 2011-07-25 Andreas Schwab <schwab@redhat.com>
14590
14591 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14592 __n bigger than INT_MAX+1.
14593 (__strncmp_g): Likewise.
14594
14595 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14596
14597 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14598 * libio/stido.h: Likewise.
14599
14600 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14601 (AF_NFC): Define.
14602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14603 (AF_NFC): Define.
14604
14605 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14606 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14607 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14608 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14609 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14610
14611 [BZ #13021]
14612 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14613 installed.
14614
14615 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14616 typo.
14617 (_dl_x86_64_save_sse): Likewise.
14618
14619 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14620
14621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14622 OSXSAVE.
14623 (_dl_x86_64_save_sse): Likewise.
14624
14625 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14626
14627 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14628
14629 2011-07-21 Andreas Schwab <schwab@redhat.com>
14630
14631 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14632 change.
14633 (_dl_x86_64_save_sse): Use correct AVX check.
14634
14635 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14636
14637 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14638 bug in strncpy/strncat.
14639 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14640
14641 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14642
14643 * string/tester.c (test_strcat): Add tests for different alignments
14644 of source and destination.
14645 (test_strncat): Likewise.
14646
14647 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14648
14649 [BZ #12852]
14650 * posix/glob.c (glob): Check passed in values before using them in
14651 expressions to avoid some overflows.
14652 (glob_in_dir): Likewise.
14653
14654 [BZ #13007]
14655 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14656 check for AVX enablement so that we don't crash with old kernels and
14657 new hardware.
14658 * elf/tst-audit4.c: Add same checks here.
14659 * elf/tst-audit6.c: Likewise.
14660
14661 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14662
14663 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14664
14665 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14666
14667 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14668
14669 * po/cs.po: Update from translation team.
14670 * po/bg.po: Likewise.
14671
14672 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14673
14674 * misc/sys/cdefs.h: Add support for const attribute.
14675 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14676 to gnu_dev_{major,minor,makedev} functions.
14677
14678 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14679
14680 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14681
14682 2011-07-20 Andreas Schwab <schwab@redhat.com>
14683
14684 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14685 strlen results.
14686
14687 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14688
14689 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14690 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14691 register in order to avoid conflicts with the soft frame pointer
14692 being held in r11 when necessary.
14693 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14694 (INTERNAL_VSYSCALL_NCS): Likewise.
14695
14696 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14697
14698 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14699 * elf/dl-fini.c (_dl_fini): Adjust caller.
14700 * elf/dl-close.c (_dl_close_worker): Likewise.
14701 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14702
14703 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14704
14705 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14706 "aux_cache->nlibs < 0".
14707
14708 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14709 in the reload-count case.
14710
14711 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14712
14713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14714 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14715 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14716 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14717 * sysdeps/x86_64/multiarch/strcat.S: New file.
14718 * sysdeps/x86_64/multiarch/strncat.S: New file.
14719 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14720 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14721 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14722 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14723 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14724 (USE_AS_STRCAT): Define.
14725 Add strcat and strncat support.
14726 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14727 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14728 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14729 * string/strncat.c: Update.
14730 (USE_AS_STRNCAT): Define.
14731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14732 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14733 and i7.
14734 * sysdeps/x86_64/multiarch/init-arch.h
14735 (bit_Prefer_PMINUB_for_stringop): New.
14736 (index_Prefer_PMINUB_for_stringop): Likewise.
14737 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14738 bit_Prefer_PMINUB_for_stringop.
14739
14740 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14741
14742 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14743 buffer64.
14744 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14745 of casting of buffer.
14746 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14747 buffer32 and buffer64.
14748 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14749 writes instead of casting of buffer.
14750 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14751 buffer32.
14752 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14753 casting of buffer.
14754
14755 2011-07-19 Andreas Schwab <schwab@redhat.com>
14756
14757 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14758
14759 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14760
14761 * nscd/nscd.c (termination_handler): Don't do anything for a database
14762 if it has not yet been initialized.
14763
14764 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14765
14766 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14767
14768 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14769
14770 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14771
14772 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14773
14774 * po/nl.po: Update from translation team.
14775 * po/sv.po: Likewise.
14776
14777 2011-07-16 Roland McGrath <roland@hack.frob.com>
14778
14779 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14780 now disallowed by GCC.
14781
14782 * configure.in (use-default-link): Default to yes if a test -shared
14783 link meets our qualifications.
14784 * configure: Regenerated.
14785
14786 * config.make.in (output-format): New variable.
14787 * configure.in: Check for ld --print-output-format support.
14788 * configure: Regenerated.
14789 * Makerules ($(common-objpfx)format.lds)
14790 [$(output-format) != unknown]: Just use $(output-format),
14791 instead of the linker-script munging.
14792
14793 2011-07-14 Roland McGrath <roland@hack.frob.com>
14794
14795 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14796 of $(common-objpfx)shlib.lds.
14797 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14798
14799 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14800 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14801
14802 * configure.in (-z relro check): Adjust test code to add a large
14803 writable data section after it.
14804 * configure: Regenerated.
14805
14806 2011-07-11 Roland McGrath <roland@hack.frob.com>
14807
14808 * configure.in (-z relro check): Fix test code to make the variable
14809 truly const.
14810 * configure: Regenerated.
14811
14812 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14813
14814 * nscd/nscd.h (struct traced_file): Define.
14815 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14816 elements. Add traced_files.
14817 (inotify_fd): Declare.
14818 (register_traced_file): Declare.
14819 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14820 (inotify_fd): Export.
14821 (resolv_conf_descr): Remove.
14822 (nscd_init): Move inotify descriptor creation to main.
14823 Don't register files for notification here.
14824 (register_traced_file): New function.
14825 (invalidate_cache): Don't use reset_res to determine whether to call
14826 res_init, go through the list of registered files.
14827 (main_loop_poll): The inotify descriptors are now stored in the
14828 structures for the traced files.
14829 (main_loop_epoll): Likewise
14830 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14831 to __nss_disable_nscd.
14832 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14833 for a database anymore. Check the records for all the registered
14834 files instead.
14835 * nss/Makefile (libnss_files-routines): Add files-init.
14836 (libnss_db-routines): Add db-init.
14837 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14838 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14839 * nss/nss_db/db-init.c: New file.
14840 * nss/nss_files/files-init.c: New file.
14841 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14842 __nss_lookup_function.
14843 (__nss_lookup_function): Call nss_load_library.
14844 (nss_load_all_libraries): New function.
14845 (__nss_disable_nscd): Take parameter with callback function for files
14846 to register. Set is_nscd. Load all the DSOs for the NSS modules
14847 used for the cached services.
14848 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14849 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14850 options for features to all the files in nscd.
14851
14852 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14853
14854 2011-07-10 Roland McGrath <roland@hack.frob.com>
14855
14856 * csu/elf-init.c (__libc_csu_init): Comment typo.
14857
14858 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14859
14860 * po/pl.po: Update from translation team.
14861 * po/ja.po: Likewise.
14862 * po/ru.po: Likewise.
14863 * po/ko.po: Likewise.
14864 * po/fr.po: Likewise.
14865
14866 2011-07-09 Roland McGrath <roland@hack.frob.com>
14867
14868 * configure.in (.ctors/.dtors header and trailer check):
14869 Use an empirical test on a built program.
14870 * configure: Regenerated.
14871
14872 * configure.in (-z relro check): Use an empirical test on a built DSO.
14873 Detect, but do not require, on ia64.
14874 * configure: Regenerated.
14875
14876 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14877 Update tests that use readelf to use $READELF instead.
14878 * configure: Regenerated.
14879
14880 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14881
14882 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14883 if the result is not used.
14884
14885 2011-07-05 Andreas Jaeger <aj@suse.de>
14886
14887 [BZ#9696]
14888 * stdlib/tst-strtod.c: Add testcase.
14889
14890 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14891
14892 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14893 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14894 The latter has a higher limit. Take additional parameter to pass to
14895 the new function.
14896 (__pathconf): Pass file to __statfs_link_max.
14897 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14898 __statfs_link_max.
14899 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14900 __statfs_link_max.
14901
14902 [BZ #12868]
14903 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14904 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14905 Handle Lustre.
14906 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14907 (__statfs_filesize_max): Likewise.
14908 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14909
14910 2011-07-05 Andreas Jaeger <aj@suse.de>
14911
14912 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14913
14914 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14915
14916 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14917 `status' variable.
14918 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14919 Likewise.
14920
14921 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14922
14923 * Makefile (strop-tests): Add strncat.
14924 * string/test-strncat.c: New file.
14925
14926 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14927
14928 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14929
14930 2011-06-21 Andreas Jaeger <aj@suse.de>
14931
14932 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14933 Copy rule from iconvdata/Makefile.
14934
14935 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14936
14937 [BZ #12922]
14938 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14939 but no long options are defined, just return 'W'.
14940
14941 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14942
14943 [BZ #9696]
14944 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14945
14946 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14947
14948 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14949 netgroups to read.
14950 (innetgr): Likewise.
14951
14952 2011-07-05 Roland McGrath <roland@hack.frob.com>
14953
14954 * config.make.in (install_root): Default to $(DESTDIR).
14955
14956 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14957
14958 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14959
14960 2011-07-02 Roland McGrath <roland@hack.frob.com>
14961
14962 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14963
14964 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14965 containing directory rather than embedding absolute directory names.
14966
14967 * scripts/check-local-headers.sh: Rewritten using awk.
14968 Match by word, not by line. Print error messages for matches.
14969 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14970
14971 * Makerules [shlib-lds-flags empty]:
14972 ($(common-objpfx)libc_pic.opts): New target.
14973 ($(common-objpfx)libc_pic.os.clean): New target.
14974 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14975
14976 * config.make.in (OBJCOPY): New variable.
14977 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14978 * configure: Regenerated.
14979
14980 * config.make.in (use-default-link): New variable.
14981 * configure.in (use_default_link): Grok --with-default-link to set it.
14982 * configure: Regenerated.
14983 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14984 (shlib-lds, shlib-lds-flags): Define to empty.
14985
14986 * Makerules (shlib-lds): New variable.
14987 (shlib-lds-flags): New variable.
14988 (build-shlib, build-moduile, build-module-asneeded): Use it.
14989 ($(common-objpfx)libc.so): Use $(shlib-lds).
14990 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14991 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14992
14993 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14994 DT_FLAGS/DT_FLAGS_1 with zero flags.
14995
14996 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14997 linker script munging.
14998
14999 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15000
15001 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15002 as 128-bit value.
15003 * crypt/sha512.c (sha512_process_block): Perform total addition using
15004 128-bit if possible.
15005 (__sha512_finish_ctx): Likewise.
15006 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15007 as 64-bit value.
15008 * crypt/sha256.c (SWAP64): Define.
15009 (sha256_process_block): Perform total addition using 64-bit if
15010 possible.
15011 (__sha256_finish_ctx): Likewise.
15012
15013 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15014
15015 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15016 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15017 * nscd/hstcache.c (cache_addhst): Likewise.
15018 * nscd/grpcache.c (cache_addgr): Likewise.
15019 * nscd/aicache.c (addhstaiX): Likewise
15020 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15021
15022 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15023
15024 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15025 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15026 * nscd/hstcache.c (cache_addhst): Likewise.
15027 * nscd/grpcache.c (cache_addgr): Likewise.
15028 * nscd/aicache.c (addhstaiX): Likewise
15029
15030 2011-07-01 Andreas Schwab <schwab@redhat.com>
15031
15032 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15033 domain only when needed.
15034
15035 2011-06-30 Andreas Schwab <schwab@redhat.com>
15036
15037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15038 is always restored.
15039
15040 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15041
15042 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15043 are re-adding the entry.
15044 * nscd/servicescache.c (cache_addserv): Likewise.
15045
15046 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15047
15048 * sysdeps/generic/dl-irel.h: fix protection against multiple
15049 inclusions.
15050 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15051
15052 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15053
15054 [BZ #12935]
15055 * malloc/memusage.sh: Fix quoting in message.
15056 * debug/xtrace.sh: Likewise.
15057
15058 * configure.in: Remove support for --experimental-malloc option, make
15059 it the default.
15060 * config.make.in: Likewise.
15061 * malloc/Makefile: Likewise.
15062
15063 2011-06-27 Andreas Schwab <schwab@redhat.com>
15064
15065 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15066 two-byte characters.
15067
15068 2011-06-27 Roland McGrath <roland@hack.frob.com>
15069
15070 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15071 AC_CACHE_CHECK invocation.
15072 * configure: Regenerated.
15073
15074 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15075
15076 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15077
15078 [BZ #12350]
15079 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15080 bit from old_res_options.
15081
15082 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15083
15084 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15085 value type for setfct.
15086
15087 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15088
15089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15090 __gettimeofday instead of gettimeofday.
15091
15092 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15093
15094 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15095
15096 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15097
15098 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15099
15100 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15101 info.
15102
15103 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15104
15105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15106 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15107 strcpy-sse2-unaligned strncpy-sse2-unaligned
15108 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15109 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15110 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15111 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15112 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15113 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15114 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15115 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15116 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15117 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15118 (STRCPY): Support SSE2 and SSSE3 versions.
15119
15120 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15121
15122 [BZ #12874]
15123 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15124 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15125 kernels which artificially limit size of requests.
15126
15127 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15128
15129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15130 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15131 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15132 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15133 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15134 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15135 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15136 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15137 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15138 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15139 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15140 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15141 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15142 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15143 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15145 Enable unaligned load optimization for Intel Core i3, i5 and i7
15146 processors.
15147 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15148 Define.
15149 (index_Fast_Unaligned_Load): Define.
15150 (HAS_FAST_UNALIGNED_LOAD): Define.
15151
15152 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15153
15154 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15155
15156 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15157
15158 [BZ #12907]
15159 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15160 until it is clear that the information is realy needed.
15161 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15162
15163 2011-06-22 Andreas Schwab <schwab@redhat.com>
15164
15165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15166
15167 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15168
15169 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15170 /sys/devices/system/cpu/online if it is usable.
15171
15172 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15173 reading the information from the /proc filesystem to once a second.
15174
15175 2011-06-21 Andreas Jaeger <aj@suse.de>
15176
15177 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15178 NULL after inclusion of kernel headers.
15179
15180 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15181
15182 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15183 calls to internal_setent.
15184
15185 [BZ #12885]
15186 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15187 addresses using gethostbyname4_r ignore IPv4 addresses.
15188
15189 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15190 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15191
15192 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15193
15194 2011-06-20 David S. Miller <davem@davemloft.net>
15195
15196 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15197 inclusions.
15198 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15199
15200 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15201 (elf_irel): Use it.
15202 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15203 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15204 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15205 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15206 * sysdeps/x86_64/dl-irel.h: Likewise.
15207
15208 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15209 * elf/dl-sym.c: Likewise.
15210
15211 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15212
15213 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15214 need to dereference resplen2.
15215
15216 2011-06-14 Andreas Schwab <schwab@redhat.com>
15217
15218 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15219
15220 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15221
15222 * Makeconfig: Define vardbdir and inst_vardbdir.
15223 * nss/Makefile: Add rules to install db-Makefile.
15224
15225 * nss/nss_db/db-XXX.c: Cleanup.
15226
15227 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15228 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15229 GLIBC_PRIVATE.
15230 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15231 * nss/makedb.c: Implement -g option to specify that value strings
15232 are generated and should not be added to table iterated over for
15233 get*ent calls.
15234 * nss/nss_db/db-initgroups.c: New file.
15235
15236 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15237 interface.
15238
15239 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15240 (internal_getgrouplist): Adjust to name change.
15241 Update use_initgroups_entry if this is not the first call.
15242 * nss/databases.def: Add initgroups entry.
15243
15244 * nss/makedb.c (compute_tables): Check result of multiple hash table
15245 sizes to minimize maximum chain length.
15246
15247 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15248
15249 * Versions.def: Add entry for libnss_db.
15250 * shlib-versions: Likewise.
15251 * nss/Makefile: Add rules to build libnss_db.
15252 * nss/Versions: Add libnss_db information. Organize libnss_files
15253 entries better.
15254 * nss/db-Makefile: Add gshadow support. Change rules for the new
15255 makedb progra. Some minor improvements to generate smaller files.
15256 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15257 here from...
15258 * nss/makedb.c: ...here.
15259 Improve database format to be smaller and require less memory at
15260 runtime.
15261 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15262 db anymore.
15263 * nss/nss_db/db-netgrp.c: Likewise.
15264 * nss/nss_db/db-open.c: Likewise.
15265 * nss/nss_files/flies-XXX.x: Adjust comments.
15266 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15267 * nss/nss_files/files-grp.c: Likewise.
15268 * nss/nss_files/files-hosts.c: Likewise.
15269 * nss/nss_files/files-network.c: Likewise.
15270 * nss/nss_files/files-proto.c: Likewise.
15271 * nss/nss_files/files-pwd.c: Likewise.
15272 * nss/nss_files/files-rpc.c: Likewise.
15273 * nss/nss_files/files-service.c: Likewise.
15274 * nss/nss_files/files-sgrp.c: Likewise.
15275 * nss/nss_files/files-spwd.c: Likewise.
15276 * nss/nss_db/db-alias.c: Removed.
15277 * nss/nss_db/dummy-db.h: Removed.
15278
15279 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15280
15281 * nss/makedb.c: Rewritten to not use database library.
15282 * nss/Makefile: Update to build new makedb program.
15283
15284 2011-06-14 Andreas Jaeger <aj@suse.de>
15285
15286 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15287 memset declaration.
15288
15289 2011-06-10 Andreas Schwab <schwab@redhat.com>
15290
15291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15292 tmpbuf.
15293
15294 2011-06-10 Roland McGrath <roland@hack.frob.com>
15295
15296 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15297 * elf/Makefile ($(objpfx)ld.so): Likewise.
15298
15299 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15300 Don't list ld.so twice in dependencies.
15301
15302 * posix/bug-regex31.c: Include <stdlib.h>.
15303
15304 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15305
15306 * nis/nss_compat/compat-spwd.c
15307 (getspent_next_nss_netgr): Remove unused variable.
15308 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15309
15310 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15311 nonmembers" output to use the right array.
15312
15313 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15314
15315 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15316
15317 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15318 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15319 * catgets/gencat.c (read_input_file): Likewise.
15320 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15321
15322 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15323 variable definition inside #if's controlling its use.
15324
15325 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15326
15327 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15328
15329 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15330
15331 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15332 unreachable code.
15333
15334 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15335
15336 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15337 * configure: Regenerated.
15338
15339 * Makerules: Revert last change.
15340 * elf/Makefile: Likewise.
15341
15342 2011-06-09 Roland McGrath <roland@hack.frob.com>
15343
15344 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15345 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15346 (reloc-link): Likewise.
15347
15348 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15349
15350 * elf/Makefile: Add rules to build pldd.
15351 * elf/pldd.c: New file.
15352 * elf/pldd-xx.c: New file.
15353
15354 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15355
15356 * version.h: Update for 2.15 development version.
15357
15358 2011-06-07 David S. Miller <davem@davemloft.net>
15359
15360 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15361 ifuncs.
15362 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15363 elf_machine_lazy_rel): Likewise.
15364 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15365 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15366 elf_machine_lazy_rel): Likewise.
15367 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15368 dl_hwcap via passed in argument.
15369 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15370 Likewise.
15371
15372 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15373
15374 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15375
15376 2011-06-06 Roland McGrath <roland@hack.frob.com>
15377
15378 [BZ #12849]
15379 * manual/fdl-1.1.texi: New file, verbatim from:
15380 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15381 * manual/lgpl-2.1.texi: New file, verbatim from:
15382 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15383 * manual/Makefile (licenses): New variable, list those new file names.
15384 (texis): Use it.
15385 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15386
15387 * manual/fdl.texi: File removed.
15388 * manual/lesser.texi: File removed.
15389 * manual/libc.texinfo (Copying, Documentation License):
15390 Use new @include file names, put @appendix directive before @include.
15391
15392 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15393
15394 [BZ #12841]
15395 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15396 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15397 (mq_open): Add __NTH.
15398
15399 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15400
15401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15402 Assume Intel Core i3/i5/i7 processor if AVX is available.
15403
15404 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15405
15406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15407 typo.
15408
15409 2011-05-31 Andreas Schwab <schwab@redhat.com>
15410
15411 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15412 memory. Use alloca_account. Fix memory leak when retrying.
15413
15414 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15415
15416 * version.h (RELEASE): Bump for 2.14 release.
15417 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15418
15419 * config.make.in (RANLIB): Remove entry.
15420
15421 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15422
15423 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15424 (libc.pot): Work around missing support for .ksh extension in xgettext.
15425
15426 [BZ #12684]
15427 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15428 if both request failed.
15429 (send_dg): In case of server errors clear resplen or *resplen2.
15430
15431 [BZ #12454]
15432 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15433 when there are multiple maps.
15434 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15435 (_dl_fini): Remove test here.
15436
15437 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15438
15439 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15440
15441 [BZ #12350]
15442 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15443 bit from old_res_options.
15444 (gaih_inet): Likewise.
15445
15446 [BZ #11099]
15447 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15448 as signed.
15449
15450 * resolv/res_init.c (res_setoptions): Make the code more compact.
15451
15452 [BZ #11558]
15453 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15454 set RES_USEVC.
15455
15456 [BZ #11634]
15457 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15458
15459 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15460
15461 [BZ #11781]
15462 * malloc/malloc.h: Declare malloc hook variables as volatile.
15463
15464 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15465 in last patch.
15466
15467 [BZ #11799]
15468 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15469 raise in the comment.
15470 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15471 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15472 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15473
15474 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15475
15476 [BZ #12811]
15477 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15478 grow the buffers more if it already has to be sufficient.
15479 (build_wcs_upper_buffer): Likewise.
15480 * posix/regexec.c (check_matching): Likewise.
15481 (clean_state_log_if_needed): Likewise.
15482 (extend_buffers): Don't enlarge buffers beyond size of the input
15483 buffer.
15484 Patches mostly by Emil Wojak <emil@wojak.eu>.
15485 * posix/bug-regex32.c: New file.
15486 * posix/Makefile (tests): Add bug-regex32.
15487
15488 * locale/findlocale.c (_nl_find_locale): Return right away if
15489 _nl_explode_name failed.
15490 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15491
15492 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15493
15494 * debug/xtrace.sh: Unify messages.
15495 * malloc/memusage.sh: Likewise.
15496
15497 [BZ #12813]
15498 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15499 time symbol from vDSO. Substitute with vsyscall if not available.
15500 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15501 __vdso_time.
15502
15503 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15504 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15505 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15506 Add sendmmsg and internal_sendmmsg.
15507 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15508 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15509 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15510
15511 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15512 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15513 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15514
15515 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15516
15517 [BZ #12813]
15518 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15519 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15520 available.
15521 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15522 __vdso_getcpu.
15523
15524 [BZ #12814]
15525 * iconvdata/Makefile (tests): Add bug-iconv9.
15526 * iconvdata/bug-iconv9.c: New file.
15527
15528 2011-05-27 Andreas Schwab <schwab@redhat.com>
15529
15530 [BZ #12814]
15531 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15532
15533 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15534
15535 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15536 (struct user_regs_struct): Change intcs field back to cs.
15537
15538 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15539
15540 * po/ja.po: Update from translation team.
15541
15542 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15543
15544 [BZ #12795]
15545 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15546 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15547
15548 2011-05-20 Andreas Schwab <schwab@redhat.com>
15549
15550 * stdlib/longlong.h: Update from GCC.
15551
15552 2011-05-23 Andreas Schwab <schwab@redhat.com>
15553
15554 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15555 parameter name.
15556 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15557 Add parameter name.
15558 (__sysconf): Pass it down.
15559
15560 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15561
15562 [BZ #12671]
15563 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15564 some situations.
15565 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15566 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15567 add in in __libc_use_alloca calls. Adjust callers.
15568 (glob): Use malloc in some situations.
15569
15570 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15571 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15572 pltexit.
15573
15574 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15575
15576 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15577 and CLOCK_BOOTTIME_ALARM.
15578
15579 [BZ #12782]
15580 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15581 is returned.
15582
15583 * string/_strerror.c (__strerror_r): Print negative errors as signed
15584 numbers.
15585
15586 [BZ #12777]
15587 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15588 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15589 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15590
15591 * configure.in: Fix typo in redirection and correct removal of test
15592 files in two cases.
15593
15594 [BZ #12788]
15595 * locale/setlocale.c (new_composite_name): Fix test to check for
15596 identical name of all categories.
15597
15598 [BZ #12792]
15599 * libio/filedoalloc.c (local_isatty): New function.
15600 (_IO_file_doallocate): Use local_isatty.
15601 * stdio-common/perror.c (perror): In case a new stream is used
15602 forward the stream error.
15603 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15604 error flag.
15605
15606 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15607
15608 [BZ #11869]
15609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15610 alloca.
15611 * include/alloca.h (extend_alloca_account): Define.
15612
15613 [BZ #11857]
15614 * posix/regex.h: Fix comments with documentation of user-accessible
15615 fields after compilation and describe correct free'ing of pattern
15616 after re_compile_pattern.
15617 Patch by Reuben Thomas <rrt@sc3d.org>.
15618
15619 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15620
15621 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15622 and -mno-altivec to prevent the compiler from using Altivec and/or
15623 VSX instructions when the corresponding registers are not available.
15624
15625 2011-05-19 Andreas Schwab <schwab@redhat.com>
15626
15627 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15628
15629 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15630
15631 * libio/freopen.c (freopen): Use __dup2, not dup2.
15632 * libio/freopen64.c (freopen64): Likewise.
15633
15634 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15635
15636 [BZ #12775]
15637 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15638 * math/Makefile (tests): Add test-powl.
15639 (CFLAGS-test-powl.c): Define.
15640 * math/test-powl.c: New file.
15641
15642 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15643
15644 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15645
15646 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15647
15648 [BZ #11837]
15649 * iconvdata/gb18030.c: Update to GB18020-2005.
15650
15651 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15652
15653 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15654 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15655 Patch by Aharon Robbins <arnold@skeeve.com>.
15656
15657 [BZ #11892]
15658 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15659 on the stack.
15660
15661 [BZ #11895]
15662 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15663 through underflows.
15664
15665 [BZ #12766]
15666 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15667 point to strings before performing equality test for error_one_per_line
15668 mode.
15669
15670 [BZ #11697]
15671 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15672
15673 [BZ #11820]
15674 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15675 (struct user_fpregs_struct): Avoid __uint*_t types.
15676
15677 [BZ #6420]
15678 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15679 symbol info. Use it instead of calling _dl_addr locally.
15680 (lock_and_info): New function.
15681 (tr_freehook): Call lock_and_info and pass symbol info as additional
15682 parameter to tr_where.
15683 (tr_mallochook): Likewise.
15684 (tr_reallochook): Likewise.
15685 (tr_memalignhook): Likewise.
15686
15687 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15688 used and couldn't be at all thread-safe.
15689
15690 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15691
15692 * libio/freopen.c (freopen): Don't close old file descriptor
15693 before the new one is opened. Instead dup the new file descriptor
15694 to the old one after the new stream is created.
15695 * libio/freopen64.c (freopen64): Likewise.
15696 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15697 * libio/fileops.c (_IO_new_file_close_it): Handle new
15698 _IO_FLAGS2_NOCLOSE flag.
15699 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15700 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15701 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15702 _IO_FLAGS2_NOCLOSE flag.
15703 * include/unistd.h: Add hidden_proto for dup3.
15704 Define __have_dup3.
15705 * io/dup3.c: Define hidden symbol.
15706 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15707
15708 [BZ #7101]
15709 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15710 when an incomplete long option is used.
15711 * posix/tst-getopt_long1.c: New file.
15712 * posix/Makefile (tests): Add tst-getopt_long1.
15713
15714 [BZ #10138]
15715 * scripts/config.guess: Update from autoconf-2.68.
15716 * scripts/config.sub: Likewise.
15717
15718 [BZ #10157]
15719 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15720 tests into ...
15721 (has_cpuclock): ...this. New function.
15722 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15723 macro here based on has_cpuclock code.
15724
15725 [BZ #10149]
15726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15727 First byte (not low byte) is now always NUL.
15728 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15729
15730 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15731 Use non-cancelable interfaces.
15732
15733 [BZ #9809]
15734 * locale/iso-639.def: Add entry for Sorani.
15735
15736 [BZ #11901]
15737 * include/stdlib.h: Move include protection to the right place.
15738 Define abort_msg_s. Declare __abort_msg with it.
15739 * stdlib/abort.c (__abort_msg): Adjust type.
15740 * assert/assert.c (__assert_fail_base): New function. Majority
15741 of code from __assert_fail. Allocate memory for __abort_msg with
15742 mmap.
15743 (__assert_fail): Now call __assert_fail_base.
15744 * assert/assert-perr.c: Remove bulk of implementation. Use
15745 __assert_fail_base.
15746 * include/assert.hL Declare __assert_fail_base.
15747 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15748 mmap.
15749 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15750
15751 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15752
15753 [BZ #11952]
15754 [BZ #12453]
15755 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15756 until all modules are registered in the DTV.
15757 * elf/Makefile: Add rules to build and run tst-tls19.
15758 * elf/tst-tls19.c: New file.
15759 * elf/tst-tls19mod1.c: New file.
15760 * elf/tst-tls19mod2.c: New file.
15761 * elf/tst-tls19mod3.c: New file.
15762 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15763
15764 [BZ #12083]
15765 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15766 correctly.
15767
15768 [BZ #12601]
15769 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15770 two-byte sequence errors.
15771 * iconvdata/Makefile (tests): Add bug-iconv8.
15772 * iconvdata/bug-iconv8.c: New file.
15773
15774 [BZ #12626]
15775 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15776 buf2 definition.
15777
15778 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15779
15780 [BZ #12432]
15781 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15782 (dummy_getcfa): New function.
15783 (init): Get _Unwind_GetCFA address, use dummy if not found.
15784 (backtrace_helper): In recursion check, also check whether CFA changes.
15785 (__backtrace): Completely initialize arg.
15786
15787 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15788 storing incomplete byte sequence in state object. Avoid testing for
15789 guaranteed too small input if we know there is enough data available.
15790
15791 2011-05-11 Andreas Schwab <schwab@redhat.com>
15792
15793 * Makeconfig (+link-pie): Indent.
15794 * Rules (binaries-pie): Define if $(have-fpie) and
15795 $(build-shared).
15796 (binaries-shared): Also filter out $(binaries-pie).
15797 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15798 * nscd/Makefile (others-pie): Add nscd.
15799 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15800 ($(objpfx)nscd): Remove command override.
15801 * login/Makefile (others-pie): Add pt_chown.
15802 ($(objpfx)pt_chown): Remove command override.
15803 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15804 remove command overrides.
15805
15806 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15807
15808 * libio/tst_putwc.c: Fix error messages.
15809
15810 [BZ #12724]
15811 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15812 currently writing and seek to current position when not.
15813 * libio/Makefile (tests): Add bug-fclose1.
15814 * libio/bug-fclose1.c: New file.
15815
15816 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15817
15818 [BZ #12511]
15819 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15820 don't set DF_1_NODELETE here.
15821 (do_lookup_x): When entering new entry test for copy relocation
15822 and if necessary set DF_1_NODELETE flag.
15823 * elf/tst-unique4.cc: New file.
15824 * elf/tst-unique4.h: New file.
15825 * elf/tst-unique4lib.cc: New file.
15826 * elf/Makefile: Add rules to build and run tst-unique4.
15827 Patch by Piotr Bury <pbury@goahead.com>.
15828
15829 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15830
15831 [BZ #12052]
15832 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15833
15834 [BZ #12625]
15835 * misc/mntent_r.c (addmntent): Flush the stream after the output
15836
15837 [BZ #12393]
15838 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15839 (is_trusted_path_normalize): Skip initial colon. Append slash
15840 to empty buffer. Duplicate is_trusted_path code but allow
15841 constructed patch to be prefix.
15842 (is_dst): Allow $ORIGIN followed by /.
15843 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15844 Correct testing of result of is_trusted_path_normalize
15845 (decompose_rpath): Fix warning.
15846
15847 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15848
15849 [BZ #11257]
15850 * grp/initgroups.c (internal_getgrouplist): When we found the service
15851 list through the initgroups entry in nsswitch.conf do not always
15852 continue on a successful lookup. Don't always use the
15853 __nss_group_database value if it is set.
15854 * nss/nsswitch.conf (initgroups): Change action for successful db
15855 lookup to continue for compatibility.
15856
15857 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15858
15859 [BZ #11532]
15860 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15861 and CP774 modules.
15862 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15863 and CP774 modules.
15864 * iconvdata/tst-tables.sh: Likewise.
15865 * iconvdata/cp770.c: New file.
15866 * iconvdata/cp771.c: New file.
15867 * iconvdata/cp772.c: New file.
15868 * iconvdata/cp773.c: New file.
15869 * iconvdata/cp774.c: New file.
15870 * iconvdata/testdata/CP770: New file.
15871 * iconvdata/testdata/CP770..UTF8: New file.
15872 * iconvdata/testdata/CP771: New file.
15873 * iconvdata/testdata/CP771..UTF8: New file.
15874 * iconvdata/testdata/CP772: New file.
15875 * iconvdata/testdata/CP772..UTF8: New file.
15876 * iconvdata/testdata/CP773: New file.
15877 * iconvdata/testdata/CP773..UTF8: New file.
15878 * iconvdata/testdata/CP774: New file.
15879 * iconvdata/testdata/CP774..UTF8: New file.
15880
15881 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15882 END CHARMAP line.
15883 * iconvdata/gen-8bit-gap.sh: Likewise.
15884 * iconvdata/gen-8bit.sh: Likewise.
15885
15886 * locale/iso-639.def: Add ary entry.
15887
15888 [BZ #11258]
15889 * locale/C-translit.h.in: Add U20A1 transliteration.
15890
15891 [BZ #12178]
15892 * locale/iso-639.def: Add wae entry.
15893 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15894
15895 [BZ #12545]
15896 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15897 for n.
15898
15899 [BZ #12711]
15900 * locale/C-translit.h.in: Add entry for U20B9.
15901 Patch by pravin.d.s@gmail.com.
15902
15903 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15904
15905 [BZ #12713]
15906 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15907 ENAMETOOLONG use generic getcwd.
15908 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15909 in rtld. Use *stat64.
15910 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15911 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15912 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15913 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15914 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15915 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15916 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15917 __fstatat64 macros.
15918 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15919 * dirent/rewinddir.c: Add libc_hidden_def.
15920 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15921 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15922
15923 * include/dirent.h (__alloc_dir): Add flags parameter.
15924 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15925 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15926 __alloc_dir.
15927 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15928 from fdopendir if O_CLOEXEC is already set.
15929
15930 2011-03-15 Alan Modra <amodra@gmail.com>
15931
15932 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15933 l_tls_firstbyte_offset non-zero. Save padding offset in
15934 l_tls_firstbyte_offset for later use.
15935 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15936 freeing static tls block.
15937
15938 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15939
15940 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15941 where #ifdef was intended. The intent is to prevent ARG_MAX from
15942 being defined by the kernel headers.
15943
15944 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15945
15946 [BZ #12734]
15947 * resolv/resolv.h: Define RES_NOTLDQUERY.
15948 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15949 no-tld-query and set RES_NOTLDQUERY.
15950 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15951 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15952 modern BIND to search name as TLD unless forbidden.
15953
15954 2011-05-07 Petr Baudis <pasky@suse.cz>
15955 Ulrich Drepper <drepper@gmail.com>
15956
15957 [BZ #12393]
15958 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15959 (is_trusted_path): ...to here.
15960 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15961 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15962 using is_trusted_path_normalize() in setuid scripts.
15963
15964 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15965
15966 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15967 __BEGIN/__END_DECLS.
15968
15969 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15970
15971 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15972 NSS_STATUS_NOTFOUND if no record was found.
15973
15974 2011-05-05 Andreas Schwab <schwab@redhat.com>
15975
15976 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15977 (headers-not-in-tirpc): Remove rpc/netdb.h
15978 * resolv/netdb.h: Revert last change.
15979
15980 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15981
15982 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15983 circular dependency between libgcc.a and libc.a.
15984
15985 2011-05-05 Andreas Schwab <schwab@redhat.com>
15986
15987 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15988 * nis/Makefile: Don't install rpcsvc/*.
15989 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15990 instead of <rpc/types.h>.
15991 (MAXHOSTNAMELEN): Define.
15992
15993 2011-05-03 Andreas Schwab <schwab@redhat.com>
15994
15995 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15996
15997 2011-04-28 Maciej Babinski <mbabinski@google.com>
15998
15999 [BZ #12714]
16000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16001 gethostbyname4_r when IPv6 results are possible.
16002
16003 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16004
16005 [BZ #12723]
16006 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16007 _PC_PIPE_BUF handling.
16008
16009 2011-04-30 Bruno Haible <bruno@clisp.org>
16010
16011 [BZ #12717]
16012 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16013 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16014 to 'int'.
16015 * inet/getnameinfo.c (getnameinfo): Likewise.
16016
16017 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16018
16019 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16020 to groups setting in database lookup.
16021 * nss/nsswitch.conf: Add initgroups entry.
16022
16023 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16024
16025 [BZ #12685]
16026 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16027 mode string.
16028 Patch by Eric Blake <eblake@redhat.com>.
16029
16030 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16031
16032 * sunrpc/Makefile (need-export-routines): Add svc_run.
16033 (routines): Remove svc_run.
16034 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16035 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16036 * sunrpc/svc_run.c (svc_run): Likewise.
16037 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16038
16039 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16040
16041 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16042 problem in reallocation in last patch.
16043
16044 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16045
16046 * sunrpc/Makefile: Move inclusion of Rules.
16047
16048 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16049
16050 * nss/nss_files/files-initgroups.c: New file.
16051 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16052 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16053 _nss_files_initgroups_dyn.
16054
16055 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16056
16057 * elf/elf.h (R_ARM_IRELATIVE): Define.
16058
16059 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16060
16061 * po/ru.po: Update from translation team.
16062
16063 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16064
16065 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16066 dependencies.
16067
16068 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16069
16070 [BZ #12653]
16071 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16072 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16073 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16074 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16075 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16076
16077 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16078
16079 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16080 differing bytes.
16081 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16082 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16083 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16084
16085 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16086
16087 [BZ #12420]
16088 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16089 storing it.
16090 * stdlib/bug-getcontext.c: New file.
16091 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16092
16093 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16094
16095 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16096 instructions into .machine "z9-109".
16097 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16098 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16099
16100 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16101
16102 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16103 between environment variables and auxiliary vector.
16104
16105 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16106
16107 * Makefile: Add rules to build linkobj/libc.so.
16108 * include/libc-symbols.h: Define libc_hidden_nolink.
16109 * include/rpc/auth.h: Mark functions which are to be hidden.
16110 * include/rpc/auth_des.h: Likewise.
16111 * include/rpc/auth_unix.h: Likewise.
16112 * include/rpc/clnt.h: Likewise.
16113 * include/rpc/des_crypt.h: Likewise.
16114 * include/rpc/key_prot.h: Likewise.
16115 * include/rpc/pmap_clnt.h: Likewise.
16116 * include/rpc/pmap_prot.h: Likewise.
16117 * include/rpc/pmap_rmt.h: Likewise.
16118 * include/rpc/rpc_msg.h: Likewise.
16119 * include/rpc/svc.h: Likewise.
16120 * include/rpc/svc_auth.h: Likewise.
16121 * include/rpc/xdr.h: Likewise.
16122 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16123 * nss/Makefile: Likewise.
16124 * sunrpc/Makefile: Don't install headers. Build library with normal
16125 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16126 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16127 for the compat linking library. Remove use of INTDEF/INTUSE.
16128 * sunrpc/auth_none.c: Likewise.
16129 * sunrpc/auth_unix.c: Likewise.
16130 * sunrpc/authdes_prot.c: Likewise.
16131 * sunrpc/authuxprot.c: Likewise.
16132 * sunrpc/clnt_gen.c: Likewise.
16133 * sunrpc/clnt_perr.c: Likewise.
16134 * sunrpc/clnt_raw.c: Likewise.
16135 * sunrpc/clnt_simp.c: Likewise.
16136 * sunrpc/clnt_tcp.c: Likewise.
16137 * sunrpc/clnt_udp.c: Likewise.
16138 * sunrpc/clnt_unix.c: Likewise.
16139 * sunrpc/des_crypt.c: Likewise.
16140 * sunrpc/des_soft.c: Likewise.
16141 * sunrpc/get_myaddr.c: Likewise.
16142 * sunrpc/key_call.c: Likewise.
16143 * sunrpc/key_prot.c: Likewise.
16144 * sunrpc/netname.c: Likewise.
16145 * sunrpc/pm_getmaps.c: Likewise.
16146 * sunrpc/pm_getport.c: Likewise.
16147 * sunrpc/pmap_clnt.c: Likewise.
16148 * sunrpc/pmap_prot.c: Likewise.
16149 * sunrpc/pmap_prot2.c: Likewise.
16150 * sunrpc/pmap_rmt.c: Likewise.
16151 * sunrpc/publickey.c: Likewise.
16152 * sunrpc/rpc_cmsg.c: Likewise.
16153 * sunrpc/rpc_common.c: Likewise.
16154 * sunrpc/rpc_dtable.c: Likewise.
16155 * sunrpc/rpc_prot.c: Likewise.
16156 * sunrpc/rpc_thread.c: Likewise.
16157 * sunrpc/rtime.c: Likewise.
16158 * sunrpc/svc.c: Likewise.
16159 * sunrpc/svc_auth.c: Likewise.
16160 * sunrpc/svc_authux.c: Likewise.
16161 * sunrpc/svc_raw.c: Likewise.
16162 * sunrpc/svc_run.c: Likewise.
16163 * sunrpc/svc_simple.c: Likewise.
16164 * sunrpc/svc_tcp.c: Likewise.
16165 * sunrpc/svc_udp.c: Likewise.
16166 * sunrpc/svc_unix.c: Likewise.
16167 * sunrpc/svcauth_des.c: Likewise.
16168 * sunrpc/xcrypt.c: Likewise.
16169 * sunrpc/xdr.c: Likewise.
16170 * sunrpc/xdr_array.c: Likewise.
16171 * sunrpc/xdr_float.c: Likewise.
16172 * sunrpc/xdr_intXX_t.c: Likewise.
16173 * sunrpc/xdr_mem.c: Likewise.
16174 * sunrpc/xdr_rec.c: Likewise.
16175 * sunrpc/xdr_ref.c: Likewise.
16176 * sunrpc/xdr_sizeof.c: Likewise.
16177 * sunrpc/xdr_stdio.c: Likewise.
16178
16179 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16180
16181 [BZ #12650]
16182 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16183 * sysdeps/ia64/dl-tls.h: Likewise.
16184 * sysdeps/powerpc/dl-tls.h: Likewise.
16185 * sysdeps/s390/dl-tls.h: Likewise.
16186 * sysdeps/sh/dl-tls.h: Likewise.
16187 * sysdeps/sparc/dl-tls.h: Likewise.
16188 * sysdeps/x86_64/dl-tls.h: Likewise.
16189 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16190
16191 2011-03-14 Andreas Schwab <schwab@redhat.com>
16192
16193 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16194 rpath element also skip the following colon.
16195 (expand_dynamic_string_token): Add is_path parameter and pass
16196 down to DL_DST_REQUIRED and _dl_dst_substitute.
16197 (decompose_rpath): Call expand_dynamic_string_token with
16198 non-zero is_path. Ignore empty rpaths.
16199 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16200 with zero is_path.
16201
16202 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16203
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16205 Make cancelable.
16206
16207 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16208
16209 [BZ #12655]
16210 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16211 Patch by Filipe David Manana <fdmanana@apache.org>.
16212
16213 2011-04-07 Andreas Schwab <schwab@redhat.com>
16214
16215 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16216 Maintain aligned stack.
16217 (CHECK_RSP): Remove unused macro.
16218
16219 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16220
16221 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16222 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16223
16224 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16225
16226 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16227
16228 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16229
16230 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16231
16232 [BZ #12518]
16233 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16234 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16235 * sysdeps/x86_64/memmove.c: New file.
16236 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16237 (memcpy): Renamed to ...
16238 (__new_memcpy): This.
16239 (memcpy): Provide GLIBC_2_14 memcpy.
16240 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16241 (memcpy): Provide GLIBC_2_2_5 memcpy.
16242
16243 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16244
16245 [BZ #12631]
16246 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16247
16248 2011-03-30 Andreas Schwab <schwab@redhat.com>
16249
16250 * misc/syncfs.c: New file.
16251 * misc/Makefile (routines): Add syncfs.
16252 * posix/unistd.h: Declare syncfs.
16253 * sysdeps/unix/syscalls.list: Add syncfs.
16254
16255 2011-04-01 Andreas Schwab <schwab@redhat.com>
16256
16257 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16258 open_by_handle_at.
16259 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16260 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16261 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16262 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16264 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16265 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16266
16267 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16268
16269 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16270 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16271 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16272 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16273 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16275 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16276
16277 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16278 sync_file_range.c with -fexceptions.
16279 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16280 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16281 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16282 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16283 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16284 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16285 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16286 sync_file_range as cancellation point
16287 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16288 now a wrapper around __call_sync_file_range with cancellation handling.
16289 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16290 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16291 function name to __call_sync_file_range.
16292 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16293 Add call_sync_file_range.
16294
16295 2011-04-01 Andreas Schwab <schwab@redhat.com>
16296
16297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16298 bits/timex.h.
16299
16300 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16301
16302 * iconv/iconv.h: Fix typo in comment.
16303 * io/fcntl.h: Likewise.
16304 * libio/stdio.h: Likewise.
16305 * posix/spawn.h: Likewise.
16306 * posix/unistd.h: Likewise.
16307 * stdlib/stdlib.h: Likewise.
16308 * time/time.h: Likewise.
16309 * wcsmbs/wchar.h: Likewise.
16310
16311 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16312 open_by_handle): Add.
16313 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16314 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16315 Augment a few comments.
16316 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16318 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16320 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16321 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16322 open_by_handle.
16323
16324 * io/fcntl.h (AT_EMPTY_PATH): Define.
16325
16326 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16327
16328 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16329 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16330 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16331 to...
16332 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16333 * Versions.def: Add GLIBC_2.14.
16334 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16335 Export.
16336
16337 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16338
16339 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16340 round counter.
16341 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16342
16343 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16344
16345 [BZ #12597]
16346 * string/test-strncmp.c (do_page_test): New function.
16347 (check2): Likewise.
16348 (test_main): Call check2.
16349 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16350
16351 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16352
16353 [BZ #12587]
16354 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16355 Handle cache information in CPU leaf 4.
16356 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16357
16358 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16359
16360 [BZ #12583]
16361 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16362 character representation.
16363 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16364
16365 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16366
16367 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16368 END(__isnan) to END(__isnanf) to match function entry point/label
16369 EALIGN(__isnanf,...).
16370
16371 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16372
16373 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16374
16375 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16376
16377 [BZ #12510]
16378 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16379 copy from the symbol referenced in the relocation to initialize the
16380 used variable.
16381 Patch by Piotr Bury <pbury@goahead.com>.
16382 * elf/Makefile: Add rules to build and tst-unique3.
16383 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16384 * elf/tst-unique3.cc: New file.
16385 * elf/tst-unique3.h: New file.
16386 * elf/tst-unique3lib.cc: New file.
16387 * elf/tst-unique3lib2.cc: New file.
16388
16389 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16390
16391 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16392
16393 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16394 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16395 to _start.
16396
16397 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16398
16399 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16400 to-be-loaded object along a path to loader is ld.so.
16401
16402 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16403 Ulrich Drepper <drepper@gmail.com>
16404
16405 * sysdeps/x86_64/memset.S: After aligning destination, code
16406 branches to different locations depending on the value of
16407 misalignment, when multiarch is enabled. Fix this.
16408
16409 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16410
16411 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16412 Set _x86_64_preferred_memory_instruction for AMD processsors.
16413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16414 Set bit_Prefer_SSE_for_memop for AMD processors.
16415
16416 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16417
16418 * libio/fmemopen.c (fmemopen): Optimize a bit.
16419
16420 2011-03-03 Andreas Schwab <schwab@redhat.com>
16421
16422 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16423
16424 2011-03-03 Roland McGrath <roland@redhat.com>
16425
16426 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16427
16428 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16429
16430 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16431 __bzero_ultra1 instead of __memset_ultra1.
16432
16433 2011-02-23 Andreas Schwab <schwab@redhat.com>
16434 Ulrich Drepper <drepper@gmail.com>
16435
16436 [BZ #12509]
16437 * include/link.h (struct link_map): Add l_orig_initfini.
16438 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16439 returning unsuccessfully.
16440 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16441 close of a file loaded at startup, restore the original l_initfini
16442 list.
16443 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16444 list, store the pointer.
16445 * elf/Makefile ($(objpfx)noload-mem): New rule.
16446 (noload-ENV): Define.
16447 (tests): Add $(objpfx)noload-mem.
16448 * elf/noload.c: Include <memcheck.h>.
16449 (main): Call mtrace. Close all opened handles.
16450
16451 2011-02-17 Andreas Schwab <schwab@redhat.com>
16452
16453 [BZ #12454]
16454 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16455 dependencies are missing.
16456
16457 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16458
16459 Fix __if_freereq crash: Unlike the generic version which uses free,
16460 Hurd needs munmap.
16461 * sysdeps/mach/hurd/ifreq.h: New file.
16462
16463 2011-01-27 Petr Baudis <pasky@suse.cz>
16464 Ulrich Drepper <drepper@gmail.com>
16465
16466 [BZ 12445]#
16467 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16468 to extend_alloca().
16469 * stdio-common/bug23.c: New file.
16470 * stdio-common/Makefile (tests): Add bug23.
16471
16472 2010-09-28 Andreas Schwab <schwab@redhat.com>
16473 Ulrich Drepper <drepper@gmail.com>
16474
16475 [BZ #12489]
16476 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16477 before performing relro protection. At old place add assertion
16478 to make sure nothing changed.
16479
16480 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16481 Glauber de Oliveira Costa <glommer@gmail.com>
16482
16483 * elf/elf.h: Add new ARM TLS relocs.
16484
16485 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16486
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16488 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16489 cast from r3.
16490 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16491 'tests' variable.
16492 * sysdeps/wordsize-64/tst-writev.c: New file.
16493
16494 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16495
16496 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16497 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16498 insns in _dl_start to prevent a TOC reference before relocs are
16499 resolved.
16500
16501 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16502
16503 [BZ #12469]
16504 * Makeconfig: Remove RANLIB definition.
16505 * Makerules: Don't use RANLIB.
16506 * aclocal.m4: Remove ranlib test.
16507 * configure.in: No need to check for ranlib.
16508 * elf/rtld-Rules: Don't use RANLIB.
16509
16510 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16511
16512 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16513 protection macro.
16514 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16515 inclusion protection macro.
16516
16517 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16518 SIGRTMIN and SIGRTMAX and print information in that case only when
16519 SIGRTMIN is defined.
16520
16521 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16522
16523 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16524 arginfo fn returning -1.
16525
16526 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16527 and thousands string is zero terminated.
16528
16529 2011-02-03 Andreas Schwab <schwab@redhat.com>
16530
16531 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16532 sysdeps/unix/sysv/linux/bits/socket.h.
16533
16534 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16535
16536 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16537 (__CPU_COUNT): Remove old macros.
16538 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16539 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16540 (__CPU_ALLOC, __CPU_FREE): Add macros.
16541 (__sched_cpualloc, __sched_cpufree): Add declarations.
16542
16543 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16544
16545 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16546 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16547 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16548 (readdhstai): Return value of addhstaiX call.
16549 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16550 (addgrbyX): Return value returned by cache_addgr.
16551 (readdgrbyname): Return value returned by addgrbyX.
16552 (readdgrbygid): Likewise.
16553 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16554 (addpwbyX): Return value returned by cache_addpw.
16555 (readdpwbyname): Return value returned by addhstbyX.
16556 (readdpwbyuid): Likewise.
16557 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16558 (addservbyX): Return value returned by cache_addserv.
16559 (readdservbyname): Return value returned by addservbyX:
16560 (readdservbyport): Likewise.
16561 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16562 (addhstbyX): Return value returned by cache_addhst.
16563 (readdhstbyname): Return value returned by addhstbyX.
16564 (readdhstbyaddr): Likewise.
16565 (readdhstbynamev6): Likewise.
16566 (readdhstbyaddrv6): Likewise.
16567 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16568 (readdinitgroups): Return value returned by addinitgroupsX.
16569 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16570 (prune_cache): Keep track of timeout value of re-added entries.
16571 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16572 * nscd/nscd.h: Adjust prototypes of readd* functions.
16573
16574 2011-02-04 Roland McGrath <roland@redhat.com>
16575
16576 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16577 (nis_stats): Likewise.
16578 * nis/nis_modify.c (nis_modify): Likewise.
16579 * nis/nis_remove.c (nis_remove): Likewise.
16580 * nis/nis_add.c (nis_add): Likewise.
16581
16582 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16583
16584 * posix/fnmatch_loop.c: Add some consts.
16585
16586 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16587
16588 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16589
16590 [BZ #12460]
16591 * config.make.in (config-cflags-novzeroupper): Define.
16592 * configure.in: Substitute libc_cv_cc_novzeroupper.
16593 * elf/Makefile (AVX-CFLAGS): Define.
16594 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16595 (CFLAGS-tst-auditmod4a.c): Likewise.
16596 (CFLAGS-tst-auditmod4b.c): Likewise.
16597 (CFLAGS-tst-auditmod6b.c): Likewise.
16598 (CFLAGS-tst-auditmod6c.c): Likewise.
16599 (CFLAGS-tst-auditmod7b.c): Likewise.
16600 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16601
16602 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16603
16604 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16605 function to the callback.
16606 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16607
16608 2011-02-02 Andreas Schwab <schwab@redhat.com>
16609
16610 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16611 of errno.
16612
16613 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16614
16615 [BZ #11724]
16616 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16617 of constructors.
16618 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16619 of destructors.
16620 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16621
16622 [BZ #11724]
16623 * elf/Makefile: Add rules to build and run new test.
16624 * elf/tst-initorder.c: New file.
16625 * elf/tst-initorder.exp: New file.
16626 * elf/tst-initordera1.c: New file.
16627 * elf/tst-initordera2.c: New file.
16628 * elf/tst-initordera3.c: New file.
16629 * elf/tst-initordera4.c: New file.
16630 * elf/tst-initorderb1.c: New file.
16631 * elf/tst-initorderb2.c: New file.
16632 * elf/tst-order-a1.c: New file.
16633 * elf/tst-order-a2.c: New file.
16634 * elf/tst-order-a3.c: New file.
16635 * elf/tst-order-a4.c: New file.
16636 * elf/tst-order-b1.c: New file.
16637 * elf/tst-order-b2.c: New file.
16638 * elf/tst-order-main.c: New file.
16639 New test case by George Gensure <werkt0@gmail.com>.
16640
16641 2010-10-01 Andreas Schwab <schwab@redhat.com>
16642
16643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16644 decoding ACE if AI_CANONIDN.
16645
16646 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16647
16648 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16649
16650 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16651
16652 * version.h (RELEASE): Bump for 2.13 release.
16653 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16654
16655 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16656
16657 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16658 MADV_NOHUGEPAGE.
16659 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16660 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16661 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16662 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16663 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16664 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16665
16666 * posix/getconf.c: Update copyright year.
16667 * catgets/gencat.c: Likewise.
16668 * csu/version.c: Likewise.
16669 * debug/catchsegv.sh: Likewise.
16670 * debug/xtrace.sh: Likewise.
16671 * elf/ldconfig.c: Likewise.
16672 * elf/ldd.bash.in: Likewise.
16673 * elf/sprof.c (print_version): Likewise.
16674 * iconv/iconv_prog.c: Likewise.
16675 * iconv/iconvconfig.c: Likewise.
16676 * locale/programs/locale.c: Likewise.
16677 * locale/programs/localedef.c: Likewise.
16678 * malloc/memusage.sh: Likewise.
16679 * malloc/mtrace.pl: Likewise.
16680 * nscd/nscd.c (print_version): Likewise.
16681 * nss/getent.c: Likewise.
16682
16683 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16684 PF_CAIF, and PF_ALG.
16685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16686
16687 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16688
16689 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16690 (modules-names): Use them.
16691 (ifunc-test-modules, ifunc-pie-tests): Define.
16692 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16693 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16694 (test-extras): Likewise.
16695 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16696 $(compile-command.c).
16697 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16698 (all-built-dso): Define.
16699 (check-textrel.out, check-execstack.out): Depend on it.
16700
16701 * configure.in: Don't override --enable-multi-arch.
16702
16703 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16704
16705 [BZ #6812]
16706 * nscd/hstcache.c (tryagain): Define.
16707 (cache_addhst): Return tryagain not notfound for temporary errors.
16708 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16709 failed.
16710
16711 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16712
16713 [BZ #10563]
16714 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16715 to make the syscall.
16716 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16717
16718 [BZ #12378]
16719 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16720 and fall back to matching as normal character if the string ends before
16721 the matching ']' is found. This is what POSIX requires.
16722 * posix/testfnm.c: Adjust test result.
16723 * posix/globtest.sh: Adjust test result. Add new test.
16724 * posix/tst-fnmatch.input: Likewise.
16725 * posix/tst-fnmatch2.c: Add new test.
16726
16727 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16728
16729 * elf/Makefile (check-execstack): Revert last change. Depend on
16730 check-execstack.h.
16731 (check-execstack.h): New target.
16732 (generated): Add check-execstack.h.
16733 * elf/check-execstack.c: Include "check-execstack.h".
16734 (main): Revert last change.
16735 (handle_file): Return zero if GNU_STACK is absent and
16736 DEFAULT_STACK_PERMS doesn't include PF_X.
16737
16738 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16739
16740 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16741 in child fails because the descriptor is already closed.
16742 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16743 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16744 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16745
16746 [BZ #12397]
16747 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16748 syscall.
16749
16750 [BZ #10484]
16751 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16752 temporary buffer used to handle multi lookups locally.
16753 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16754
16755 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16756
16757 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16758 loader is ld.so.
16759
16760 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16761
16762 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16763 alignment for SSE2.
16764
16765 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16766
16767 [BZ #12394]
16768 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16769 characters. When rounding increased number of integer digits recompute
16770 number of groups.
16771 * stdio-common/tst-grouping.c: New file.
16772 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16773
16774 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16775
16776 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16777 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16778
16779 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16780 void.
16781 * bits/select.h: Likewise.
16782
16783 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16784
16785 * po/ja.po: Update from translation team.
16786
16787 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16788
16789 [BZ #11155]
16790 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16791 implementation just like for lxstat, fxstatat, et al.
16792
16793 2010-12-27 Jim Meyering <meyering@redhat.com>
16794
16795 [BZ #12348]
16796 * posix/regexec.c (build_trtable): Return failure indication upon
16797 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16798
16799 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16800
16801 [BZ #12201]
16802 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16803 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16804 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16805 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16806
16807 [BZ #12207]
16808 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16809
16810 [BZ #12204]
16811 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16812 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16813
16814 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16815
16816 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16817 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16818 script has SORT_BY_INIT_PRIORITY.
16819 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16820 NO_CTORS_DTORS_SECTIONS is defined.
16821 * elf/soinit.c: Likewise.
16822 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16823 NO_CTORS_DTORS_SECTIONS is defined.
16824 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16825 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16826 * sysdeps/sh/init-first.c: Likewise.
16827 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16828
16829 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16830
16831 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16832 always use the slow path.
16833
16834 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16835
16836 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16837 similar rule which adds the sysdep directories to the header search in
16838 order to pick up the correct platform stackinfo.h.
16839 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16840 perform test if it is, otherwise return successfully without testing.
16841 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16842 DEFAULT_STACK_PERMS define in stackinfo.h.
16843 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16844 defined in stackinfo.h.
16845 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16846 DEFAULT_STACK_PERMS defined in stackinfo.h.
16847 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16848 * sysdeps/ia64/stackinfo.h: Likewise.
16849 * sysdeps/s390/stackinfo.h: Likewise.
16850 * sysdeps/sh/stackinfo.h: Likewise.
16851 * sysdeps/sparc/stackinfo.h: Likewise.
16852 * sysdeps/x86_64/stackinfo.h: Likewise.
16853 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16854 PF_X for powerpc64. Retain PF_X for powerpc32.
16855
16856 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16857
16858 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16859 accurately.
16860 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16861 GETDENTS_64BIT_ALIGNED.
16862
16863 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16864
16865 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16866
16867 2010-12-10 Andreas Schwab <schwab@redhat.com>
16868
16869 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16870 _GNU_SOURCE.
16871
16872 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16873 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16874 Remove __restrict.
16875 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16876 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16877
16878 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16879
16880 [BZ #11655]
16881 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16882 are initialized.
16883
16884 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16885
16886 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16887
16888 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16889
16890 * po/it.po: Update from translation team.
16891
16892 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16893
16894 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16895 unused codes.
16896
16897 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16898
16899 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16900
16901 2010-11-24 Andreas Schwab <schwab@redhat.com>
16902
16903 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16904 specially.
16905 (gaih_getanswer_slice): Likewise.
16906
16907 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16908
16909 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16910
16911 2010-05-31 Petr Baudis <pasky@suse.cz>
16912
16913 [BZ #11149]
16914 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16915 silently even in the chroot mode.
16916
16917 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16918
16919 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16920 last patch a bit. Pretty printing
16921
16922 2010-05-31 Petr Baudis <pasky@suse.cz>
16923
16924 [BZ #10085]
16925 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16926 initialization of skip_initgroups_dyn.
16927
16928 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16929
16930 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16931 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16932
16933 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16934
16935 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16936
16937 2010-11-11 Andreas Schwab <schwab@redhat.com>
16938
16939 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16940 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16941 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16942 ($(objpfx)tst-fnmatch-mem): New rule.
16943 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16944 * posix/tst-fnmatch.c (main): Call mtrace.
16945
16946 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16947
16948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16949 Support Intel processor model 6 and model 0x2c.
16950
16951 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16952
16953 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16954 signed comparison.
16955
16956 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16957
16958 [BZ #12205]
16959 * string/test-strncasecmp.c (check_result): New function.
16960 (do_one_test): Use it.
16961 (check1): New function.
16962 (test_main): Use it.
16963 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16964 Support strcasecmp and strncasecmp.
16965
16966 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16967
16968 [BZ #12194]
16969 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16970 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16971
16972 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16973
16974 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16975 IFUNC support.
16976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16977 memset-x86-64.
16978 * sysdeps/x86_64/multiarch/bzero.S: New file.
16979 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16980 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16981 * sysdeps/x86_64/multiarch/memset.S: New file.
16982 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16984 Set bit_Prefer_SSE_for_memop for Intel processors.
16985 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16986 Define.
16987 (index_Prefer_SSE_for_memop): Define.
16988 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16989
16990 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16991
16992 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16993 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16994
16995 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16996
16997 [BZ #12191]
16998 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16999 (__x86_64_raw_data_cache_size_half): Likewise.
17000 (__x86_64_raw_shared_cache_size): Likewise.
17001 (__x86_64_raw_shared_cache_size_half): Likewise.
17002
17003 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17004 (__x86_64_raw_data_cache_size_half): Likewise.
17005 (__x86_64_raw_shared_cache_size): Likewise.
17006 (__x86_64_raw_shared_cache_size_half): Likewise.
17007 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17008 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17009 and __x86_64_raw_shared_cache_size_half. Round
17010 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17011 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17012 to multiple of 256 bytes.
17013
17014 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17015
17016 [BZ #12167]
17017 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17018 of inacessible symlinks. Verify result of symlink before returning it.
17019 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17020 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17021
17022 2010-10-28 Erich Ritz <erichritz@gmail.com>
17023
17024 * math/math.h (isinf): Fix typo in comment.
17025
17026 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17027
17028 * po/da.po: Update from translation team.
17029
17030 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17031
17032 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17033 is added to the list.
17034
17035 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17036 Ulrich Drepper <drepper@gmail.com>
17037
17038 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17039 the global list here. Move code to...
17040 (_dl_add_to_namespace_list): ...here. New function.
17041 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17042 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17043 * elf/dl-load.c (lose): Don't remove the element from the list.
17044 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17045 (_dl_map_object): Likewise.
17046
17047 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17048
17049 [BZ #12159]
17050 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17051 into all bytes of SSE register.
17052 Patch by Richard Li <richardpku@gmail.com>.
17053
17054 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17055
17056 [BZ #12140]
17057 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17058 perturbing.
17059
17060 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17061
17062 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17063 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17064 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17065 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17067 submachine.
17068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17069
17070 2010-10-22 Andreas Schwab <schwab@redhat.com>
17071
17072 * include/dlfcn.h (__RTLD_SECURE): Define.
17073 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17074 mode & __RTLD_SECURE instead.
17075 (open_path): Rename preloaded parameter to secure.
17076 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17077 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17078 * elf/dl-deps.c (openaux): Likewise.
17079 * elf/rtld.c (struct map_args): Remove is_preloaded.
17080 (map_doit): Don't use it.
17081 (dl_main): Likewise.
17082 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17083 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17084
17085 2010-09-09 Andreas Schwab <schwab@redhat.com>
17086
17087 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17088 (sysd-rules-targets): Remove duplicates.
17089 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17090 rtld-%.$o dependency.
17091
17092 2010-10-18 Andreas Schwab <schwab@redhat.com>
17093
17094 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17095 _dl_map_object do it.
17096
17097 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17098
17099 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17100 fast fma builtins, define the macros in the C99 standard.
17101 (FP_FAST_FMAF): Likewise.
17102 (FP_FAST_FMAL): Likewise.
17103 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17104
17105 * bits/mathdef.h: Update copyright year.
17106 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17107
17108 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17109
17110 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17111 builtins, define the macros in the C99 standard.
17112 (FP_FAST_FMAF): Likewise.
17113 (FP_FAST_FMAL): Likewise.
17114 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17115 multiply/add.
17116 (FP_FAST_FMAF): Likewise.
17117
17118 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17119
17120 [BZ #3268]
17121 * math/libm-test.inc (fma_test): Some new testcases.
17122 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17123 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17124 y and infinite z. Do multiplication by C already in long double.
17125 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17127 y and infinite z. Do bitwise or of inexact bit into u.d.
17128 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17129 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17130 * sysdeps/i386/fpu/s_fma.S: Removed.
17131 * sysdeps/i386/fpu/s_fmal.S: Removed.
17132
17133 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17134
17135 [BZ #3268]
17136 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17138 computation is not scheduled after fetestexcept. Fix value
17139 of minimum denormal long double.
17140
17141 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17142
17143 [BZ #3268]
17144 * math/libm-test.inc (fma_test): Add some more tests.
17145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17146 correctly.
17147
17148 2010-10-15 Andreas Schwab <schwab@redhat.com>
17149
17150 * scripts/data/localplt-s390-linux-gnu.data: New file.
17151 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17152
17153 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17154
17155 [BZ #3268]
17156 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17157 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17158 instead of dbl-64.
17159 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17160 inlines.
17161 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17163 if one of x and y is very large and the other is subnormal.
17164 * sysdeps/s390/fpu/s_fmaf.c: New file.
17165 * sysdeps/s390/fpu/s_fma.c: New file.
17166 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17167 * sysdeps/powerpc/fpu/s_fma.S: New file.
17168 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17169 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17170 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17171
17172 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17173
17174 [BZ #3268]
17175 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17176 fma tests.
17177 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17178 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17179 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17180 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17181 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17182 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17183 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17184
17185 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17186
17187 [BZ #12078]
17188 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17189 * posix/bug-regex31.input: Add test case.
17190
17191 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17192
17193 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17194 * posix/bug-regex31.input: New file.
17195
17196 [BZ #12078]
17197 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17198 (parse_sub_exp): Fix last change, use postorder.
17199
17200 * posix/bug-regex31.c: New file.
17201 * posix/Makefile: Add rules to build and run bug-regex31.
17202
17203 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17204
17205 [BZ #12078]
17206 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17207
17208 [BZ #12108]
17209 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17210 to have entries in sys_siglist.
17211
17212 [BZ #12093]
17213 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17214 be NULL.
17215
17216 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17217
17218 [BZ #3268]
17219 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17220 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17221 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17222 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17223 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17224 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17225 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17226 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17227 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17228 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17229 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17230 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17231 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17232 * math/ftestexcept.c (fetestexcept): Likewise.
17233 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17234 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17235 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17236 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17237 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17238 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17239 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17240
17241 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17242
17243 [BZ #12107]
17244 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17245 newline.
17246
17247 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17248
17249 * string/bug-strstr1.c: New file.
17250 * string/Makefile: Add rules to build and run bug-strstr1.
17251
17252 2010-10-05 Eric Blake <eblake@redhat.com>
17253
17254 [BZ #12092]
17255 * string/str-two-way.h (two_way_long_needle): Always clear memory
17256 when skipping input due to the shift table.
17257
17258 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17259
17260 [BZ #12005]
17261 * malloc/mcheck.c: Handle large requests.
17262
17263 [BZ #12077]
17264 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17265 for strncmp and strncasecmp.
17266 * string/stratcliff.c: Add tests for strcmp and strncmp.
17267 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17268
17269 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17270
17271 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17272 __set_fpscr.
17273
17274 2010-09-30 Andreas Jaeger <aj@suse.de>
17275
17276 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17277 (CGROUP_SUPER_MAGIC): Define.
17278 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17279 Handle btrfs and cgroup file systems.
17280 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17281 Likewise.
17282
17283 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17284
17285 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17286 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17287
17288 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17289
17290 [BZ #12067]
17291 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17292 trying to locate the ELF header.
17293
17294 2010-09-27 Andreas Schwab <schwab@redhat.com>
17295
17296 [BZ #11611]
17297 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17298 Mask out sign-bit copies when constructing f_fsid.
17299
17300 2010-09-24 Petr Baudis <pasky@suse.cz>
17301
17302 * debug/stack_chk_fail_local.c: Add missing licence exception.
17303 * debug/warning-nop.c: Likewise.
17304
17305 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17306
17307 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17308 implementing getdents64 using getdents syscall, set d_type if
17309 __ASSUME_GETDENTS32_D_TYPE.
17310
17311 2010-09-16 Andreas Schwab <schwab@redhat.com>
17312
17313 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17314 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17315
17316 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17317
17318 [BZ #12037]
17319 * posix/unistd.h: Undo change of feature selection for ftruncate from
17320 2010-01-11.
17321
17322 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17323
17324 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17325 detection.
17326
17327 2010-09-20 Andreas Schwab <schwab@redhat.com>
17328
17329 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17330 fanotify_mark.
17331 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17332
17333 2010-09-14 Andreas Schwab <schwab@redhat.com>
17334
17335 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17336 variables after CHECK_SP call.
17337 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17338
17339 2010-09-13 Andreas Schwab <schwab@redhat.com>
17340 Ulrich Drepper <drepper@redhat.com>
17341
17342 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17343 re-relocationg ld.so.
17344 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17345 _dl_init_paths call.
17346 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17347 here anymore.
17348
17349 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17350
17351 * resolv/res_init.c (__res_vinit): Count the default server we added.
17352
17353 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17354 Ulrich Drepper <drepper@redhat.com>
17355
17356 [BZ #11968]
17357 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17358 (____longjmp_chk): Use %ebx for saving value across system call.
17359 Add unwind info.
17360
17361 2010-09-06 Andreas Schwab <schwab@redhat.com>
17362
17363 * manual/Makefile: Don't mix pattern rules with normal rules.
17364
17365 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17366
17367 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17368 operation.
17369 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17370 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17371 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17372 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17374 Likewise.
17375
17376 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17377
17378 [BZ #11979]
17379 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17380 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17381
17382 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17383
17384 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17385 * sysdeps/x86_64/addmul_1.S: Likewise.
17386 * sysdeps/x86_64/lshift.S: Likewise.
17387 * sysdeps/x86_64/mul_1.S: Likewise.
17388 * sysdeps/x86_64/rshift.S: Likewise.
17389 * sysdeps/x86_64/sub_n.S: Likewise.
17390 * sysdeps/x86_64/submul_1.S: Likewise.
17391
17392 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17393
17394 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17395 Define __sched_param instead of SCHED_* and sched_param when
17396 <bits/sched.h> is included with __need_schedparam defined.
17397 * bits/sched.h [__need_schedparam]
17398 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17399 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17400 (__defined_schedparam): Define to 1.
17401 (__sched_param): New structure, identical to sched_param.
17402 (__need_schedparam): Undefine.
17403
17404 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17405
17406 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17407 (epoll_create1): Declare.
17408
17409 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17410
17411 2010-08-31 Andreas Schwab <schwab@redhat.com>
17412
17413 [BZ #7066]
17414 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17415 shifting retval into place.
17416
17417 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17418
17419 * nis/rpcsvc/nis.h: Update copyright notice.
17420 * nis/rpcsvc/nis.x: Likewise.
17421 * nis/rpcsvc/nis_callback.h: Likewise.
17422 * nis/rpcsvc/nis_callback.x: Likewise.
17423 * nis/rpcsvc/nis_object.x: Likewise.
17424 * nis/rpcsvc/nis_tags.h: Likewise.
17425 * nis/rpcsvc/yp.h: Likewise.
17426 * nis/rpcsvc/yp.x: Likewise.
17427 * nis/rpcsvc/ypupd.h: Likewise.
17428 * nis/yp_xdr.c: Likewise.
17429 * nis/ypupdate_xdr.c: Likewise.
17430
17431 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17432 mainly the body of pmap_getport. Add parameters to specify timeouts.
17433 (pmap_getport): Use __libc_rpc_getport.
17434 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17435 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17436 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17437
17438 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17439
17440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17441 fanotify_mark.
17442
17443 2010-08-27 Roland McGrath <roland@redhat.com>
17444
17445 * sysdeps/i386/i686/multiarch/Makefile
17446 (CFLAGS-varshift.c): New variable.
17447
17448 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17449
17450 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17451 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17452
17453 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17454
17455 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17456
17457 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17458
17459 * sysdeps/x86_64/strlen.S: Unroll the loop.
17460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17461 strlen-sse2 strlen-sse2-bsf.
17462 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17463 __strlen_no_bsf if bit_Slow_BSF is set.
17464 (__strlen_sse42): Removed.
17465 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17466 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17467
17468 2010-08-25 Roland McGrath <roland@redhat.com>
17469
17470 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17471 * sysdeps/x86_64/multiarch/varshift.c: New file.
17472 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17473 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17474 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17475 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17476
17477 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17478
17479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17480 strlen-sse2 strlen-sse2-bsf.
17481 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17482 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17483 (__strlen_sse2): Removed.
17484 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17485 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17487 bit_Slow_BSF for Atom.
17488 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17489 (index_Slow_BSF): Define.
17490 (HAS_SLOW_BSF): Define.
17491
17492 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17493
17494 [BZ #10851]
17495 * resolv/res_init.c (__res_vinit): When no server address at all
17496 is given default to loopback.
17497
17498 2010-08-24 Roland McGrath <roland@redhat.com>
17499
17500 * configure.in: Remove config-name.h generation.
17501 * configure: Regenerated.
17502 * config-name.in: File removed.
17503 * scripts/config-uname.sh: New file.
17504 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17505 ($(objdir)config-name.h): New target.
17506
17507 * sunrpc/rpc_parse.h: Avoid nested comment.
17508
17509 2010-08-24 Richard Henderson <rth@redhat.com>
17510 Ulrich Drepper <drepper@redhat.com>
17511 H.J. Lu <hongjiu.lu@intel.com>
17512
17513 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17515 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17516 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17517 _mm_alignr_epi8 with _mm_loadu_si128.
17518 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17519 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17520 (__m128i_shift_right): Removed.
17521 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17522 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17523 * sysdeps/x86_64/multiarch/varshift.h: New file.
17524 * sysdeps/x86_64/multiarch/varshift.S: New file.
17525
17526 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17527
17528 * configure.in: Move assembler checks to before sysdep dir checking.
17529
17530 2010-08-20 Petr Baudis <pasky@suse.cz>
17531
17532 * LICENSES: Sync the sunrpc license.
17533
17534 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17535
17536 * sunrpc/auth_des.c: Update copyright notice once again.
17537 * sunrpc/auth_none.c: Likewise.
17538 * sunrpc/auth_unix.c: Likewise.
17539 * sunrpc/authdes_prot.c: Likewise.
17540 * sunrpc/authuxprot.c: Likewise.
17541 * sunrpc/bindrsvprt.c: Likewise.
17542 * sunrpc/clnt_gen.c: Likewise.
17543 * sunrpc/clnt_perr.c: Likewise.
17544 * sunrpc/clnt_raw.c: Likewise.
17545 * sunrpc/clnt_simp.c: Likewise.
17546 * sunrpc/clnt_tcp.c: Likewise.
17547 * sunrpc/clnt_udp.c: Likewise.
17548 * sunrpc/clnt_unix.c: Likewise.
17549 * sunrpc/des_crypt.c: Likewise.
17550 * sunrpc/des_soft.c: Likewise.
17551 * sunrpc/get_myaddr.c: Likewise.
17552 * sunrpc/getrpcport.c: Likewise.
17553 * sunrpc/key_call.c: Likewise.
17554 * sunrpc/key_prot.c: Likewise.
17555 * sunrpc/openchild.c: Likewise.
17556 * sunrpc/pm_getmaps.c: Likewise.
17557 * sunrpc/pm_getport.c: Likewise.
17558 * sunrpc/pmap_clnt.c: Likewise.
17559 * sunrpc/pmap_prot.c: Likewise.
17560 * sunrpc/pmap_prot2.c: Likewise.
17561 * sunrpc/pmap_rmt.c: Likewise.
17562 * sunrpc/rpc/auth.h: Likewise.
17563 * sunrpc/rpc/auth_unix.h: Likewise.
17564 * sunrpc/rpc/clnt.h: Likewise.
17565 * sunrpc/rpc/des_crypt.h: Likewise.
17566 * sunrpc/rpc/key_prot.h: Likewise.
17567 * sunrpc/rpc/netdb.h: Likewise.
17568 * sunrpc/rpc/pmap_clnt.h: Likewise.
17569 * sunrpc/rpc/pmap_prot.h: Likewise.
17570 * sunrpc/rpc/pmap_rmt.h: Likewise.
17571 * sunrpc/rpc/rpc.h: Likewise.
17572 * sunrpc/rpc/rpc_des.h: Likewise.
17573 * sunrpc/rpc/rpc_msg.h: Likewise.
17574 * sunrpc/rpc/svc.h: Likewise.
17575 * sunrpc/rpc/svc_auth.h: Likewise.
17576 * sunrpc/rpc/types.h: Likewise.
17577 * sunrpc/rpc/xdr.h: Likewise.
17578 * sunrpc/rpc_clntout.c: Likewise.
17579 * sunrpc/rpc_cmsg.c: Likewise.
17580 * sunrpc/rpc_common.c: Likewise.
17581 * sunrpc/rpc_cout.c: Likewise.
17582 * sunrpc/rpc_dtable.c: Likewise.
17583 * sunrpc/rpc_hout.c: Likewise.
17584 * sunrpc/rpc_main.c: Likewise.
17585 * sunrpc/rpc_parse.c: Likewise.
17586 * sunrpc/rpc_parse.h: Likewise.
17587 * sunrpc/rpc_prot.c: Likewise.
17588 * sunrpc/rpc_sample.c: Likewise.
17589 * sunrpc/rpc_scan.c: Likewise.
17590 * sunrpc/rpc_scan.h: Likewise.
17591 * sunrpc/rpc_svcout.c: Likewise.
17592 * sunrpc/rpc_tblout.c: Likewise.
17593 * sunrpc/rpc_util.c: Likewise.
17594 * sunrpc/rpc_util.h: Likewise.
17595 * sunrpc/rpcinfo.c: Likewise.
17596 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17597 * sunrpc/rpcsvc/key_prot.x: Likewise.
17598 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17599 * sunrpc/rpcsvc/mount.x: Likewise.
17600 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17601 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17602 * sunrpc/rpcsvc/rex.x: Likewise.
17603 * sunrpc/rpcsvc/rstat.x: Likewise.
17604 * sunrpc/rpcsvc/rusers.x: Likewise.
17605 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17606 * sunrpc/rpcsvc/spray.x: Likewise.
17607 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17608 * sunrpc/rtime.c: Likewise.
17609 * sunrpc/svc.c: Likewise.
17610 * sunrpc/svc_auth.c: Likewise.
17611 * sunrpc/svc_authux.c: Likewise.
17612 * sunrpc/svc_raw.c: Likewise.
17613 * sunrpc/svc_run.c: Likewise.
17614 * sunrpc/svc_simple.c: Likewise.
17615 * sunrpc/svc_tcp.c: Likewise.
17616 * sunrpc/svc_udp.c: Likewise.
17617 * sunrpc/svc_unix.c: Likewise.
17618 * sunrpc/svcauth_des.c: Likewise.
17619 * sunrpc/xcrypt.c: Likewise.
17620 * sunrpc/xdr.c: Likewise.
17621 * sunrpc/xdr_array.c: Likewise.
17622 * sunrpc/xdr_float.c: Likewise.
17623 * sunrpc/xdr_mem.c: Likewise.
17624 * sunrpc/xdr_rec.c: Likewise.
17625 * sunrpc/xdr_ref.c: Likewise.
17626 * sunrpc/xdr_sizeof.c: Likewise.
17627 * sunrpc/xdr_stdio.c: Likewise.
17628
17629 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17630 handling.
17631
17632 2010-08-19 Andreas Schwab <schwab@redhat.com>
17633
17634 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17635
17636 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17637
17638 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17639 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17640 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17641 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17642 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17643 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17644 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17645 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17646 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17647 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17648 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17649 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17650 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17651 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17652
17653 2010-07-26 Anton Blanchard <anton@samba.org>
17654
17655 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17656 * malloc/arena.c (heap_trim): Likewise.
17657
17658 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17659
17660 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17661 here. Not...
17662 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17663 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17664
17665 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17666
17667 * sysdeps/i386/elf/Makefile: New file.
17668
17669 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17670
17671 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17672 from fanotify_init.
17673 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17674 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17675
17676 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17677
17678 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17679 of strncasecmp_l.
17680 * sysdeps/multiarch/strcmp.S: Likewise.
17681
17682 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17683
17684 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17685 strncase_l-nonascii.
17686 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17687 Add strncase_l-ssse3.
17688 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17689 * sysdeps/x86_64/strcmp.S: Likewise.
17690 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17691 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17692 * sysdeps/x86_64/strncase.S: New file.
17693 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17694 * sysdeps/x86_64/strncase_l.S: New file.
17695 * string/Makefile (strop-tests): Add strncasecmp.
17696 * string/test-strncasecmp.c: New file.
17697
17698 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17699 warning.
17700
17701 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17702 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17703
17704 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17705
17706 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17707
17708 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17709
17710 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17711 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17712 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17713
17714 2010-05-01 Alan Modra <amodra@gmail.com>
17715
17716 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17717 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17718 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17719 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17720 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17721 tidying. Don't tail-call __sigjmp_save for static lib.
17722 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17723 save location.
17724 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17725 (CALL_MCOUNT): Add eh info, and nop after bl.
17726 (TAIL_CALL_SYSCALL_ERROR): New macro.
17727 (PSEUDO_RET): Use it.
17728 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17729 Correct save location of integer regs and cr.
17730 (_dl_profile_resolve): Correct cr save location. Delete nops
17731 after bl when SHARED. Reduce cfi size a little by better
17732 placement of cfi directives.
17733 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17734 make a stack frame. Instead use parm save area as a temp.
17735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17736 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17738 Don't make a stack frame for parent, use parm save area.
17739 Increase child stack frame to 112 bytes. Don't save unused reg,
17740 and adjust reg usage. Set up cfi on error recovery and
17741 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17743 (__makecontext): Add dummy nop after jump to exit.
17744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17745 Use correct parm save area and cr save, reduce stack frame.
17746 Correct cfi for possible PSEUDO_RET frame setup.
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17748 Branch to local label emitted by PSEUDO_RET rather than
17749 __syscall_error.
17750
17751 2010-08-12 Andreas Schwab <schwab@redhat.com>
17752
17753 [BZ #11904]
17754 * locale/programs/locale.c (print_assignment): New function.
17755 (show_locale_vars): Use it.
17756
17757 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17758
17759 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17760 field.
17761 (struct statfs64): Likewise.
17762 (_STATFS_F_FLAGS): Define.
17763 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17764 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17765 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17766 (ST_VALID): Define locally.
17767 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17768 __statvfs_getflags, use the provided value.
17769 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17770 __ASSUME_STATFS_F_FLAGS.
17771
17772 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17773
17774 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17775 Add sys/fanotify.h.
17776 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17777 fanotify_mask for GLIBC_2.13.
17778 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17779 fanotify_init and fanotify_mark.
17780 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17781 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17782
17783 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17784 Add prlimit.
17785 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17786 prlimit64 for GLIBC_2.13.
17787 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17788 prlimit64.
17789 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17790 syscall.
17791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17792 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17793 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17794 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17796 add prlimit alias.
17797 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17798
17799 [BZ #11903]
17800 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17801 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17802
17803 * nss/Makefile: Add rules to build and run tst-nss-test1.
17804 * shlib-versions: Add entry for libnss_test1.
17805 * nss/nss_test1.c: New file.
17806 * nss/tst-nss-test1.c: New file.
17807
17808 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17809 (__nss_configure_lookup): Set appropriate entry in
17810 __nss_configure_lookup to true.
17811 * nss/nsswitch.h: Define enum with indeces of databases in
17812 databases and __nss_database_custom arrays. Declare
17813 __nss_database_custom.
17814 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17815 to avoid using nscd when custom rules are installed.
17816 * nss/getXXbyYY_r.c: Likewise.
17817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17818
17819 * nss/nss_files/files-parse.c: Whitespace fixes.
17820
17821 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17822
17823 [BZ #11883]
17824 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17825 * posix/fnmatch_loop.c: Likewise.
17826
17827 2010-07-17 Andi Kleen <ak@linux.intel.com>
17828
17829 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17830 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17831 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17832 * Versions.def [GLIBC_2.13]: Add.
17833
17834 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17835
17836 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17837 Also fail if tpwd after pwuid call is NULL.
17838
17839 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17840
17841 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17842 when converting to ms.
17843
17844 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17845
17846 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17847 EOPNOTSUPP errors with ENOTTY.
17848 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17849 EOPNOTSUPP errors with ENOTTY.
17850
17851 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17852
17853 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17854 Add strcasecmp_l-ssse3.
17855 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17856 strcasecmp.
17857 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17858 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17859 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17860
17861 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17862
17863 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17864
17865 * string/Makefile (strop-tests): Add strcasecmp.
17866 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17867 strcasecmp_l-nonascii.
17868 (gen-as-const-headers): Add locale-defines.sym.
17869 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17870 * sysdeps/x86_64/strcasecmp.S: New file.
17871 * sysdeps/x86_64/strcasecmp_l.S: New file.
17872 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17873 * sysdeps/x86_64/locale-defines.sym: New file.
17874 * string/test-strcasecmp.c: New file.
17875
17876 * string/test-strcasestr.c: Test both ends of the range of characters.
17877 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17878
17879 2010-07-29 Roland McGrath <roland@redhat.com>
17880
17881 [BZ #11856]
17882 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17883
17884 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17885
17886 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17887 for ld.so.
17888
17889 2010-07-27 Andreas Schwab <schwab@redhat.com>
17890
17891 * manual/memory.texi (Malloc Tunable Parameters): Document
17892 M_PERTURB.
17893
17894 2010-07-26 Roland McGrath <roland@redhat.com>
17895
17896 [BZ #11840]
17897 * configure.in (-fgnu89-inline check): Set and substitute
17898 gnu89_inline, not libc_cv_gnu89_inline.
17899 * configure: Regenerated.
17900 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17901
17902 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17903
17904 * string/test-strnlen.c: New file.
17905 * string/Makefile (strop-tests): Add strnlen.
17906 * string/tester.c (test_strnlen): Add a few more test cases.
17907 * string/tst-strlen.c: Better error reporting.
17908
17909 * sysdeps/x86_64/strnlen.S: New file.
17910
17911 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17912
17913 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17914 lower-latency instructions.
17915
17916 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17917
17918 * string/test-strcasestr.c: New file.
17919 * string/test-strstr.c: New file.
17920 * string/Makefile (strop-tests): Add strstr and strcasestr.
17921 * string/str-two-way.h: Don't undefine MAX.
17922 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17923
17924 2010-07-21 Andreas Schwab <schwab@redhat.com>
17925
17926 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17927 strcasestr-nonascii.
17928 (CFLAGS-strcasestr-nonascii.c): Define.
17929 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17930 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17931 Remove unused attribute.
17932
17933 2010-07-20 Roland McGrath <roland@redhat.com>
17934
17935 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17936 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17937 ld.so.cache was broken. With it, there is no way to disable dsocaps
17938 like LD_HWCAP_MASK can disable hwcaps.
17939
17940 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17941
17942 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17943
17944 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17945
17946 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17947 call in strcasestr.
17948 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17949 __strcasestr_sse42_nonascii.
17950 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17951 strcasestr-nonascii.c.
17952 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17953
17954 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17955
17956 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17958 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17959 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17960
17961 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17962
17963 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17964 fcntl.
17965
17966 2010-07-06 Andreas Schwab <schwab@redhat.com>
17967
17968 [BZ #11577]
17969 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17970 dl_signal_cerror.
17971
17972 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17973
17974 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17975 _PC_PIPE_BUF using F_GETPIPE_SZ.
17976
17977 2010-07-05 Roland McGrath <roland@redhat.com>
17978
17979 * manual/arith.texi (Rounding Functions): Fix rint description
17980 implicit in round description.
17981
17982 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17983
17984 * elf/Makefile: Fix linking for a few tests to make recent linker
17985 happy.
17986
17987 2010-06-30 Andreas Schwab <schwab@redhat.com>
17988
17989 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17990 $(common-objpfx)libc_nonshared.a.
17991
17992 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17993
17994 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17995 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17996 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17997 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17998 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17999 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18000 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18001 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18016 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18017 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18018 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18019 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18020 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18021 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18022 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18023 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18024 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18025 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18026 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18027 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18042
18043 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18044
18045 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18046 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18047 * string/memmove.c (memmove): Renamed to ...
18048 (MEMMOVE): ...this. Default to memmove.
18049 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18050 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18051 (END_CHK): Define.
18052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18053 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18054 mempcpy-ssse3-back memmove-ssse3-back.
18055 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18056 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18058 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18059 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18060 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18061 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18062 * sysdeps/x86_64/multiarch/memmove.c: New file.
18063 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18064 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18065 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18066 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18067 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18068 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18069 Define.
18070 (index_Fast_Copy_Backward): Define.
18071 (HAS_ARCH_FEATURE): Define.
18072 (HAS_FAST_REP_STRING): Define.
18073 (HAS_FAST_COPY_BACKWARD): Define.
18074
18075 2010-06-21 Andreas Schwab <schwab@redhat.com>
18076
18077 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18078 Restore proper fallback handling.
18079
18080 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18081
18082 [BZ #11701]
18083 * posix/group_member.c (__group_member): Correct checking loop.
18084
18085 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18086 OOM in getpwuid_r correctly. Return error number when the caller
18087 should return, otherwise -1.
18088 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18089 call returning > 0 value.
18090 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18091
18092 2010-06-07 Andreas Schwab <schwab@redhat.com>
18093
18094 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18095 libc_nonshared.a from targets in modules-names.
18096
18097 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18098
18099 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18100 requires it.
18101
18102 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18103
18104 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18105 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18106 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18107 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18108
18109 2010-06-02 Andreas Schwab <schwab@redhat.com>
18110
18111 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18112
18113 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18114
18115 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18116 and F_GETPIPE_SZ.
18117 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18118 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18121 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18122 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18123
18124 2010-06-14 Roland McGrath <roland@redhat.com>
18125
18126 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18127
18128 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18129
18130 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18131 __REDIRECT followed by __THROW.
18132 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18133 * posix/getopt.h (getopt): Likewise.
18134
18135 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18136
18137 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18138 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18139 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18140 in AT_FLAGS.
18141 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18142 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18143
18144 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18145
18146 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18147
18148 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18149
18150 [BZ #11640]
18151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18152 Properly check family and model.
18153
18154 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18155
18156 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18157
18158 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18159
18160 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18161
18162 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18163
18164 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18165 symbol reference.
18166
18167 2010-05-19 Andreas Schwab <schwab@redhat.com>
18168
18169 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18170 symbol reference.
18171
18172 2010-05-21 Andreas Schwab <schwab@redhat.com>
18173
18174 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18175 and internal_recvmmsg.
18176 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18177 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18178 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18179 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18180
18181 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18182 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18183 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18184
18185 2010-05-20 Andreas Schwab <schwab@redhat.com>
18186
18187 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18188
18189 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18190
18191 POWER7 optimizations.
18192 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18193 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18194
18195 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18196
18197 * version.h: Update for 2.13 development version.
18198
18199 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18200
18201 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18202 exceptions. Return 0.
18203
18204 2010-05-07 Roland McGrath <roland@redhat.com>
18205
18206 * elf/ldconfig.c (main): Add a const.
18207
18208 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18209
18210 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18211 (args_options): Add no-idn option.
18212 (ahosts_keys_int): Add idn_flags to ai_flags.
18213 (parse_option): Handle 'i' option to clear idn_flags.
18214
18215 * malloc/malloc.c (_int_free): Possible race in the most recently
18216 added check. Only act on the data if no current modification
18217 happened.
18218
18219 See ChangeLog.17 for earlier changes.
This page took 1.051978 seconds and 5 git commands to generate.