]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix a typo in the mremap comment.
[thirdparty/glibc.git] / ChangeLog
1 2013-02-11 Roland McGrath <roland@hack.frob.com>
2
3 * misc/sys/mman.h: Fix typo in mremap comment.
4
5 2013-02-08 Roland McGrath <roland@hack.frob.com>
6
7 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8 the '\0' terminator.
9
10 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11
12 [BZ #13550]
13 * debug/segfault.c: Don't include <bp-checks.h>.
14 * sysdeps/generic/bp-checks.h: Remove file.
15 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16 (__GETDENTS): Don't use CHECK_N.
17 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19 (__getgroups): Don't use CHECK_N.
20 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21 (setgroups): Don't use CHECK_N.
22 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24 (__libc_msgrcv): Don't use CHECK_N.
25 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26 (__libc_msgsnd): Don't use CHECK_N.
27 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28 <bp-checks.h>.
29 (__libc_pread): Don't use CHECK_N.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31 include <bp-checks.h>.
32 (__libc_pread64): Don't use CHECK_N.
33 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34 include <bp-checks.h>.
35 (__libc_pwrite): Don't use CHECK_N.
36 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37 include <bp-checks.h>.
38 (__libc_pwrite64): Don't use CHECK_N.
39 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40 <bp-checks.h>.
41 (__libc_pread): Don't use CHECK_N.
42 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
43 include <bp-checks.h>.
44 (__libc_pread64): Don't use CHECK_N.
45 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46 include <bp-checks.h>.
47 (__libc_pwrite): Don't use CHECK_N.
48 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
49 include <bp-checks.h>.
50 (__libc_pwrite64): Don't use CHECK_N.
51 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52 (do_pread): Don't use CHECK_N.
53 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54 (do_pread64): Don't use CHECK_N.
55 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56 (do_pwrite): Don't use CHECK_N.
57 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58 (do_pwrite64): Don't use CHECK_N.
59 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60 (__libc_readv): Don't use CHECK_N.
61 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62 (semop): Don't use CHECK_N.
63 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64 <bp-checks.h>.
65 (semtimedop): Don't use CHECK_N.
66 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
67 (__libc_pread): Don't use CHECK_N.
68 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
69 <bp-checks.h>.
70 (__libc_pread64): Don't use CHECK_N.
71 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
72 <bp-checks.h>.
73 (__libc_pwrite): Don't use CHECK_N.
74 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
75 <bp-checks.h>.
76 (__libc_pwrite64): Don't use CHECK_N.
77 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
78 <bp-checks.h>.
79 (__libc_msgrcv): Don't use CHECK_N.
80 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
81 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
82 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
83 (__libc_writev): Don't use CHECK_N.
84
85 2013-02-08 Roland McGrath <roland@hack.frob.com>
86
87 * string/strcpy.c: Removed unused variable.
88
89 * Makeconfig (+sysdep-includes): Define with := rather than =.
90 Use an existing include/ subdir of each sysdeps dir before it.
91
92 2013-02-08 Carlos O'Donell <carlos@redhat.com>
93
94 * nscd/connection.c (register_traced_file): Comment function.
95 [HAVE_INOTIFY] (union __inev): Define.
96 [HAVE_INOTIFY] (inotify_check_files): New function.
97 [HAVE_INOTIFY] (clear_db_cache): Likewise.
98 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
99 clear_db_cache.
100 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
101
102 2013-02-08 Carlos O'Donell <carlos@redhat.com>
103
104 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
105 loaded if not already and that a failure is permanent.
106
107 2013-02-08 Carlos O'Donell <carlos@redhat.com>
108
109 [BZ #15006]
110 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
111 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
112
113 2013-02-08 Joseph Myers <joseph@codesourcery.com>
114
115 [BZ #13550]
116 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
117 (CHECK_1_NULL_OK): Likewise.
118 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
119 (__fxstat): Do not use CHECK_1.
120 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
121 <bp-checks.h>.
122 (___fxstat64): Do not use CHECK_1.
123 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
124 <bp-checks.h>.
125 (__fxstatat): Do not use CHECK_1.
126 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
127 <bp-checks.h>.
128 (__fxstatat64): Do not use CHECK_1.
129 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
130 <bp-checks.h>.
131 (__fxstat): Do not use CHECK_1.
132 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
133 <bp-checks.h>.
134 (__fxstatat): Do not use CHECK_1.
135 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
136 <bp-checks.h>.
137 (__getresgid): Do not use CHECK_1.
138 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
139 <bp-checks.h>.
140 (__getresuid): Do not use CHECK_1.
141 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
142 <bp-checks.h>.
143 (__lxstat): Do not use CHECK_1.
144 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
145 <bp-checks.h>.
146 (__old_msgctl): Do not use CHECK_1.
147 (__new_msgctl): Likewise.
148 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
149 <bp-checks.h>.
150 (__new_setrlimit): Do not use CHECK_1.
151 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
152 <bp-checks.h>.
153 (__old_shmctl): Do not use CHECK_1.
154 (__new_shmctl): Likewise.
155 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
156 <bp-checks.h>.
157 (__xstat): Do not use CHECK_1.
158 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
159 (__lxstat): Do not use CHECK_1.
160 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
161 <bp-checks.h>.
162 (___lxstat64): Do not use CHECK_1.
163 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
164 (__old_msgctl): Do not use CHECK_1.
165 (__new_msgctl): Likewise.
166 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
167 <bp-checks.h>.
168 (__gettimeofday): Do not use CHECK_1.
169 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
170 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
171 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
172 <bp-checks.h>.
173 (__gettimeofday): Do not use CHECK_1.
174 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
175 (__old_shmctl): Do not use CHECK_1_NULL_OK.
176 (__new_shmctl): Do not use CHECK_1.
177 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
178 <bp-checks.h>.
179 (do_sigtimedwait): Do not use CHECK_1.
180 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
181 <bp-checks.h>.
182 (do_sigwaitinfo): Do not use CHECK_1.
183 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
184 <bp-checks.h>.
185 (msgctl): Do not use CHECK_1.
186 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
187 <bp-checks.h>.
188 (shmctl): Do not use CHECK_1.
189 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
190 (ustat): Do not use CHECK_1.
191 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
192 <bp-checks.h>.
193 (__fxstat): Do not use CHECK_1.
194 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
195 <bp-checks.h>.
196 (__fxstatat): Do not use CHECK_1.
197 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
198 <bp-checks.h>.
199 (__lxstat): Do not use CHECK_1.
200 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
201 <bp-checks.h>.
202 (__xstat): Do not use CHECK_1.
203 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
204 (__xstat): Do not use CHECK_1.
205 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
206 (___xstat64): Do not use CHECK_1.
207
208 [BZ #13550]
209 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
210 definitions.
211 (CHECK_BOUNDS_HIGH): Likewise.
212 * string/strcpy.c: Do not include <bp-checks.h>.
213 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
214
215 2013-02-07 Roland McGrath <roland@hack.frob.com>
216
217 * nscd/nscd-client.h (__nscd_drop_map_ref):
218 Add __attribute__ ((unused)).
219 * nis/nss-nisplus.h (niserr2nss): Likewise.
220
221 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
222 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
223
224 * csu/libc-tls.c (init_static_tls, init_slotinfo):
225 Remove inline keyword.
226 * include/rounding-mode.h (round_away): Likewise.
227 * libio/wfileops.c (adjust_wide_data): Likewise.
228 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
229 (__m128i_strloadu_tolower): Likewise.
230 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
231 (__m128i_strloadu_tolower): Likewise.
232 * time/mktime.c (ydhms_diff): Likewise.
233 * locale/elem-hash.h (elem_hash): Likewise.
234 * locale/setlocale.c (setdata): Likewise.
235 * posix/regex_internal.h (re_string_char_size_at): Likewise.
236 (re_string_wchar_at): Likewise.
237 (bitset_not, bitset_merge, bitset_mask): Likewise.
238 [!(__GNUC__ > 3)] (inline): Remove macro.
239 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
240 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
241 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
242 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
243 * string/memcmp.c (memcmp_bytes): Likewise.
244 * locale/programs/locarchive.c (compute_hashval): Likewise.
245 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
246 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
247 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
248 * nss/getent.c (print_rpc, print_protocols): Likewise.
249 (print_passwd, print_group, print_aliases): Likewise.
250 * nis/nss-nisplus.h (niserr2nss): Likewise.
251 * nscd/connections.c (restart_p): Likewise.
252 Change return type to bool.
253
254 2013-02-05 Roland McGrath <roland@hack.frob.com>
255
256 * Makeconfig (all-Depend-files): Add existing
257 $(sorted-subdirs:=/Depend) files.
258 (all-subdirs): Remove nss.
259 * sysdeps/unix/inet/Subdirs: Add it here instead.
260 * hesiod/Depend: New file.
261
262 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
263 instead of calling alloca.
264
265 * io/lseek.c (__lseek): Rename to __libc_lseek.
266 Define __lseek as an alias.
267
268 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
269
270 2013-02-04 Carlos O'Donell <carlos@redhat.com>
271
272 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
273 else clause and remove check for non-standard endianness.
274
275 2013-02-04 David S. Miller <davem@davemloft.net>
276
277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
278
279 2013-02-04 Joseph Myers <joseph@codesourcery.com>
280
281 [BZ #13550]
282 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
283 (__ubp_memchr): Remove prototype.
284 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
285 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
286 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
287 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
288 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
289 Remove alias.
290 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
291 (__ubp_memchr): Likewise.
292 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
293 (__ubp_memchr): Likewise.
294 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
295 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
296 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
297 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
298 CHECK_STRING.
299 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
300 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
301 (__getcwd): Do not use CHECK_STRING.
302 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
303 <bp-checks.h>.
304 (__real_chown): Do not use CHECK_STRING.
305 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
306 <bp-checks.h>.
307 (fchownat): Do not use CHECK_STRING.
308 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
309 CHECK_STRING.
310 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
311 <bp-checks.h>.
312 (__lchown): Do not use CHECK_STRING.
313 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
314 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
315 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
316 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
318 include <bp-checks.h>.
319 (truncate64): Do not use CHECK_STRING.
320 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
321 <bp-checks.h>.
322 (__real_chown): Do not use CHECK_STRING.
323 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
324 <bp-checks.h>.
325 (__lchown): Do not use CHECK_STRING.
326 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
327 <bp-checks.h>.
328 (__chown): Do not use CHECK_STRING.
329 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
330 <bp-checks.h>.
331 (truncate64): Do not use CHECK_STRING.
332 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
333 Likewise.
334 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
335 (__xmknod): Do not use CHECK_STRING.
336 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
337 <bp-checks.h>.
338 (__xmknodat): Do not use CHECK_STRING.
339 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
340 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
341
342 2013-02-04 Andreas Schwab <schwab@suse.de>
343
344 [BZ #14142]
345 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
346 * include/netdb.h: Likewise for h_errno.
347 * elf/tst-stackguard1.c: Include <tls.h>.
348
349 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
350
351 * elf/link.h (struct link_map): Extend the l_addr comment.
352 * include/link.h (struct link_map): Likewise.
353
354 2013-02-01 Joseph Myers <joseph@codesourcery.com>
355
356 [BZ #13550]
357 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
358 (BOUNDED_1): Remove macro.
359 * debug/backtrace.c: Don't include <bp-checks.h>.
360 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
361 (__backtrace): Likewise.
362 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
363 <bp-checks.h>.
364 (__backtrace): Don't use BOUNDED_1.
365 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
366 <bp-checks.h>.
367 (__backtrace): Don't use BOUNDED_1.
368 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
369 (__backtrace): Don't use BOUNDED_1.
370 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
371 (shmat): Don't use BOUNDED_N.
372
373 2013-01-31 Joseph Myers <joseph@codesourcery.com>
374
375 [BZ #13550]
376 * sysdeps/generic/bp-start.h: Remove file.
377 * csu/libc-start.c: Don't include <bp-start.h>.
378 (LIBC_START_MAIN): Set up __environ directly instead of using
379 INIT_ARGV_and_ENVIRON.
380 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
381 <bp-start.h>.
382
383 [BZ #13550]
384 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
385 definitions.
386 (CHECK_FCNTL): Likewise.
387 (CHECK_N_PAGES): Likewise.
388
389 [BZ #13550]
390 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
391 definitions.
392 (CHECK_SIGSET_NULL_OK): Likewise.
393 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
394 <bp-checks.h>.
395 (sigpending): Don't use CHECK_SIGSET.
396 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
397 <bp-checks.h>.
398 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
399 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
400 <bp-checks.h>.
401 (do_sigsuspend): Don't use CHECK_SIGSET.
402 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
403 use CHECK_SIGSET.
404 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
405 (do_sigwait): Don't use CHECK_SIGSET.
406 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
407 use CHECK_SIGSET.
408 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
409 include <bp-checks.h>.
410 (sigpending): Don't use CHECK_SIGSET.
411 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
412 include <bp-checks.h>.
413 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
414 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
415 <bp-checks.h>.
416 (sigpending): Don't use CHECK_SIGSET.
417 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
418 <bp-checks.h>.
419 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
420
421 [BZ #13550]
422 * sysdeps/generic/bp-semctl.h: Remove file.
423 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
424 <bp-checks.h> and <bp-semctl.h>.
425 (__old_semctl): Don't use CHECK_SEMCTL.
426 (__new_semctl): Likewise.
427 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
428 and <bp-semctl.h>.
429 (__old_semctl): Don't use CHECK_SEMCTL.
430 (__new_semctl): Likewise.
431 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
432 <bp-checks.h> and <bp-semctl.h>.
433 (__old_semctl): Don't use CHECK_SEMCTL.
434 (__new_semctl): Likewise.
435 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
436 <bp-checks.h> and <bp-semctl.h>.
437 (semctl): Don't use CHECK_SEMCTL.
438
439 [BZ #13550]
440 * Makerules (elide-bp-thunks): Remove variable.
441 (elide-routines.oS): Don't use $(elide-bp-thunks).
442 (elide-routines.os): Likewise.
443 (elide-routines.o): Likewise.
444 (elide-routines.op): Likewise.
445 (elide-routines.og): Likewise.
446 (objects): Don't use $(bp-thunks).
447 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
448 include.
449 (common-generated): Do not add s-proto-bp.d.
450 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
451 (int): Likewise.
452 (typ): Likewise.
453 Do not generate makefile rules for bounded-pointer thunks.
454 * sysdeps/generic/bp-thunks.h: Remove file.
455 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
456 * sysdeps/unix/s-proto-bp.S: Likewise.
457
458 [BZ #15062]
459 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
460 parts of result separately when argument is not close to line from
461 -i to i and one part of argument is small.
462 * math/k_casinhf.c (__kernel_casinhf): Likewise.
463 * math/k_casinhl.c (__kernel_casinhl): Likewise.
464 * math/libm-test.inc (cacos_test): Add more tests.
465 (casin_test): Likewise.
466 (casinh_test): Likewise.
467 * sysdeps/i386/fpu/libm-test-ulps: Update.
468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
469
470 2013-01-31 David S. Miller <davem@davemloft.net>
471
472 * po/de.po: Update from translation team.
473
474 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
475
476 * time/tzfile.c: Include stdint.h for SIZE_MAX.
477
478 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
479
480 * configure.in (_AC_PROG_CC_C89): New definition.
481 * configure: Regenerate.
482
483 * configure.in (AC_PROG_CPP): New definition.
484 * configure: Regenerate.
485
486 2013-01-23 Joseph Myers <joseph@codesourcery.com>
487
488 * debug/tst-backtrace.h: New file.
489 * debug/tst-backtrace2.c: Include tst-backtrace.h.
490 (ret): Remove variable.
491 (x): Likewise.
492 (FAIL): Remove macro.
493 (NO_INLINE): Likewise.
494 (fn1): Use match function instead of strstr.
495 * debug/tst-backtrace3.c: Include tst-backtrace.h.
496 (ret): Remove variable.
497 (x): Likewise.
498 (FAIL): Remove macro.
499 (NO_INLINE): Likewise.
500 (fn): Use match function instead of strstr.
501 * debug/tst-backtrace4.c: Include tst-backtrace.h.
502 (ret): Remove variable.
503 (x): Likewise.
504 (FAIL): Remove macro.
505 (NO_INLINE): Likewise.
506 (handle_signal): Use match function instead of strstr.
507 * debug/tst-backtrace5.c: Include tst-backtrace.h.
508 (ret): Remove variable.
509 (x): Likewise.
510 (FAIL): Remove macro.
511 (NO_INLINE): Likewise.
512 (handle_signal): Use match function instead of strstr.
513
514 2013-01-23 Roland McGrath <roland@hack.frob.com>
515
516 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
517
518 2013-01-23 David S. Miller <davem@davemloft.net>
519
520 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
521 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
522 argument of CAS if possible.
523 * sysdeps/sparc/sparc64/bits/atomic.h
524 (__arch_compare_and_exchange_val_32_acq): Likewise.
525 (__arch_compare_and_exchange_val_64_acq): Likewise.
526
527 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
528
529 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
530 * sysdeps/posix/ulimit.c: ... this.
531 Include <limits.h>.
532 * sysdeps/unix/bsd/ulimit.c: Remove file.
533
534 2013-01-23 Adam Conrad <adconrad@0c3.net>
535
536 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
537 (LDFLAGS-tst-array5): Likewise.
538
539 2013-01-23 Joseph Myers <joseph@codesourcery.com>
540
541 [BZ #15036]
542 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
543 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
544 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
545 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
546
547 2013-01-21 David S. Miller <davem@davemloft.net>
548
549 * sysdeps/sparc/backtrace.c: New file.
550 * sysdeps/sparc/sparc32/backtrace.h: New file.
551 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
552 * sysdeps/sparc/sparc64/backtrace.h: New file.
553 * sysdeps/sparc/sparc64/backtrace.c: Delete.
554 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
555 -funwind-tables.
556
557 2013-01-21 Andreas Schwab <schwab@suse.de>
558
559 [BZ #15020]
560 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
561 closed its stdout.
562
563 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
564
565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
566 "mpa2.h".
567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
568
569 2013-01-18 Joseph Myers <joseph@codesourcery.com>
570 Mark Mitchell <mark@codesourcery.com>
571 Tom de Vries <tom@codesourcery.com>
572 Paul Pluzhnikov <ppluzhnikov@google.com>
573
574 * debug/tst-backtrace2.c: New file.
575 * debug/tst-backtrace3.c: Likewise.
576 * debug/tst-backtrace4.c: Likewise.
577 * debug/tst-backtrace5.c: Likewise.
578 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
579 (CFLAGS-tst-backtrace3.c): Likewise.
580 (CFLAGS-tst-backtrace4.c): Likewise.
581 (CFLAGS-tst-backtrace5.c): Likewise.
582 (LDFLAGS-tst-backtrace2): Likewise.
583 (LDFLAGS-tst-backtrace3): Likewise.
584 (LDFLAGS-tst-backtrace4): Likewise.
585 (LDFLAGS-tst-backtrace5): Likewise.
586 (tests): Add new tests tst-backtrace2, tst-backtrace3,
587 tst-backtrace4 and tst-backtrace5.
588
589 2013-01-18 Anton Blanchard <anton@samba.org>
590 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
591
592 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
593 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
594 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
595 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
597 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
598 "+r" and remove output regs list as redundant. Add explicit inline
599 asm to specify register of return val to work around compiler codegen
600 bug. Remove (int) cast on return value. Add return type parameter to
601 use in macro so that this macro does not truncate return value for
602 64-bit values.
603 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
604 pass to INTERNAL_VSYSCALL_NCS.
605 (INLINE_VSYSCALL): Add 'long int' as return type to
606 INTERNAL_VSYSCALL_NCS macro invocation.
607 (INTERNAL_VSYSCALL): Add 'long int' as return type to
608 INTERNAL_VSYSCALL_NCS macro invocation.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
610
611 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
612
613 [BZ #14496]
614 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
615 Fix application of SIMD FP exception mask.
616
617 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
618 mp_no from a power of two.
619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
620 __mpexp_twomm1. Use __pow_mp.
621
622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
623 multiplication.
624
625 2013-01-17 David S. Miller <davem@davemloft.net>
626
627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
628
629 2013-01-17 Joseph Myers <joseph@codesourcery.com>
630
631 [BZ #15023]
632 * include/complex.h: Condition contents on [!_COMPLEX_H].
633 (__kernel_casinhf): New prototype.
634 (__kernel_casinh): Likewise.
635 (__kernel_casinhl): Likewise.
636 * math/Makefile (libm_calls): Add k_casinh.
637 * math/k_casinh.c: New file.
638 * math/k_casinhf.c: Likewise.
639 * math/k_casinhl.c: Likewise.
640 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
641 finite nonzero arguments.
642 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
643 finite nonzero arguments.
644 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
645 finite nonzero arguments.
646 * math/s_casinh.c: Do not include <float.h>.
647 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
648 * math/s_casinhf.c: Do not include <float.h>.
649 (__casinhf): Move code for finite nonzero arguments to
650 k_casinhf.c.
651 * math/s_casinhl.c: Do not include <float.h>.
652 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
653 redefine.
654 (__casinhl): Move code for finite nonzero arguments to
655 k_casinhl.c.
656 * math/libm-test.inc (cacos_test): Add more tests.
657 * sysdeps/i386/fpu/libm-test-ulps: Update.
658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
659
660 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
661
662 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
663 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
664 [!HAVE_MREMAP]: Remove [defined linux] case.
665 * malloc/arena.c: Do not include <malloc-sysdep.h>.
666
667 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
668
669 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
670
671 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
672
673 * elf/elf.h (R_386_SIZE32): New relocation.
674 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
675 R_386_SIZE32.
676 (elf_machine_rela): Likewise.
677 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
678 R_X86_64_SIZE64 and R_X86_64_SIZE32.
679
680 2013-01-17 Joseph Myers <joseph@codesourcery.com>
681
682 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
683 (FP_FAST_FMA): Do not define.
684 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
685 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
686 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
687 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
688 !_SOFT_FLOAT]: Likewise.
689 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
690 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
691 value.
692 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
693 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
694 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
695 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
696 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
697 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
698 file.
699
700 2013-01-16 Andreas Schwab <schwab@suse.de>
701
702 [BZ #14327]
703 * include/stdlib.h (__mktemp): Add declaration.
704 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
705 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
706
707 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
708
709 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
710 definitions.
711 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
712 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
713 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
714 definitions here.
715 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
716 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
717 definitions.
718 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
719 and ONE.
720 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
721 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
722 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
723 definitions.
724 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
725 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
726 definitions.
727 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
728
729 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
730
731 2013-01-15 David S. Miller <davem@davemloft.net>
732
733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
734 trunc{,f} to libm-sysdep_routes.
735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
737 file.
738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
740 file.
741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
742 file.
743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
745 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
746 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
747 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
748 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
749 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
750 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
751
752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
753 nearbyint{,f} to libm-sysdep_routes.
754 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
756 New file.
757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
758 file.
759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
760 New file.
761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
762 file.
763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
765 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
766 file.
767 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
768 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
769 file.
770 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
771 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
772 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
773
774 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
775 libc_feholdexcept and libc_fesetenv.
776
777 2013-01-15 Mike Frysinger <vapier@gentoo.org>
778
779 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
780
781 2013-01-14 David S. Miller <davem@davemloft.net>
782
783 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
784 (SPARC_ASM_VIS2_IFUNC): Likewise.
785 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
787 use of 'siam' instruction.
788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
789 Likewise.
790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
791 Likewise.
792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
793 Likewise.
794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
799 file.
800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
801 file.
802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
803 file.
804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
805 file.
806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
811 new VIS2 routines.
812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
815 Likewise.
816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
821 routines to libm-sysdep_routines.
822 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
823
824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
825 fdim/fdimf to libm-sysdep_routines.
826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
827 file.
828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
830 file.
831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
834 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
835 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
836 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
837 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
838
839 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
840
841 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
842 to optimize copies.
843
844 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
847
848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
849 local variable MPTWO.
850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
851 Likewise.
852
853 2013-01-13 Mike Frysinger <vapier@gentoo.org>
854
855 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
856 GLOB_NOESCAPE.
857
858 2013-01-13 Mike Frysinger <vapier@gentoo.org>
859
860 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
861
862 2013-01-13 Mike Frysinger <vapier@gentoo.org>
863
864 * manual/pattern.texi (glob_t): Document gl_flags.
865 (glob64_t): Likewise.
866
867 2013-01-11 David S. Miller <davem@davemloft.net>
868
869 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
870 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
871 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
872 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
873 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
874 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
875 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
876 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
877 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
878 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
879 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
880 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
881 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
882
883 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
884 sparc V9 rather than using V8 code.
885 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
886 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
887
888 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
889 Move to...
890 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
891 Here.
892
893 2013-01-11 Roland McGrath <roland@hack.frob.com>
894
895 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
896 not in the main loop.
897 * configure: Regenerated.
898
899 2013-01-11 Joseph Myers <joseph@codesourcery.com>
900
901 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
902 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
903 to just #else.
904 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
905 [!__GLIBC_HAVE_LONG_LONG] case.
906 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
907 condition to just #else.
908 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
909 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
910 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
911 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
912 unconditional.
913 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
914 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
915 #elif condition to just #else.
916 * sysdeps/unix/sysv/linux/sys/sysmacros.h
917 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
918 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
919 #elif condition to just #else.
920
921 2013-01-11 Steve Ellcey <sellcey@mips.com>
922
923 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
924 (EF_MIPS_ARCH_64): Fix value.
925 (EF_MIPS_ARCH_32R2): New.
926 (EF_MIPS_ARCH_64R2): New.
927
928 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
929
930 * Makeconfig (+link-pie-before-libc): New.
931 (+link-pie-after-libc): Likewise.
932 (+link-pie-tests): Likewise.
933 (+link-pie): Rewritten.
934 (link-before-libc): Remove $(config-LDFLAGS).
935 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
936 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
937 (config-LDFLAGS): Renamed to ...
938 (rtld-LDFLAGS): This.
939 (rtld-tests-LDFLAGS): New macro.
940 (link-libc-rpath-link): Likewise.
941 (link-libc-tests-rpath-link): Likewise.
942 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
943 (link-libc): Prepand $(link-libc-rpath-link).
944 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
945 (test-program-prefix): New macro.
946 (test-via-rtld-prefix): Likewise.
947 (test-program-cmd): Likewise.
948 (host-test-program-cmd): Likewise.
949 * Makefile ($(common-objpfx)testrun.sh): Replace
950 $(run-program-prefix) with $(test-program-prefix).
951 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
952 $(rtld-LDFLAGS).
953 ($(common-objpfx)shlib.lds): Likewise.
954 (build-module-helper): Likewise.
955 ($(common-objpfx)format.lds): Likewise.
956 * Rules (binaries-pie-tests): New.
957 (binaries-pie-notests): Likewise.
958 (binaries-pie): Rewritten.
959 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
960 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
961 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
962 (make-test-out): Replace $(host-built-program-cmd) with
963 $(host-test-program-cmd).
964 * config.make.in (build-hardcoded-path-in-tests): New variable.
965 * configure.in (--enable-hardcoded-path-in-tests): New configure
966 option.
967 (hardcoded_path_in_tests): New AC_SUBST.
968 * configure: Regenerated.
969 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
970 $(built-program-cmd) with $(test-program-cmd).
971 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
972 (test_program_cmd): This.
973 * elf/Makefile ($(objpfx)order.out): Run test with
974 $(test-program-prefix).
975 ($(objpfx)order2.out): Likewise.
976 ($(objpfx)tst-initorder.out): Likewise.
977 ($(objpfx)tst-initorder2.out): Likewise.
978 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
979 $(test-program-cmd).
980 ($(objpfx)tst-array1-static.out): Likewise.
981 ($(objpfx)tst-array2.out): Likewise.
982 ($(objpfx)tst-array3.out): Likewise.
983 ($(objpfx)tst-array4.out): Likewise.
984 ($(objpfx)tst-array5.out): Likewise.
985 ($(objpfx)tst-array5-static.out): Likewise.
986 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
987 $(test-program-cmd).
988 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
989 $(run-program-prefix) with $(test-program-prefix).
990 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
991 (test_program_prefix): This.
992 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
993 $(run-program-prefix) with $(test-program-prefix).
994 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
995 (test_program_prefix): This.
996 * iconvdata/tst-tables.sh: Likewise.
997 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
998 $(run-program-prefix) with $(test-program-prefix).
999 ($(objpfx)tst-translit.out): Likewise.
1000 ($(objpfx)tst-gettext2.out): Likewise.
1001 ($(objpfx)tst-gettext4.out): Likewise.
1002 ($(objpfx)tst-gettext6.out): Likewise.
1003 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1004 (test_program_prefix): This.
1005 * intl/tst-gettext2.sh: Likewise.
1006 * intl/tst-gettext4.sh Likewise.
1007 * intl/tst-gettext6.sh: Likewise.
1008 * intl/tst-translit.sh: Likewise.
1009 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1010 with $(test-program-cmd).
1011 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1012 $(run-program-prefix) with $(test-program-prefix).
1013 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1014 (test_program_prefix): This.
1015 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1016 $(run-program-prefix) with $(test-program-prefix).
1017 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1018 (test_program_prefix): This.
1019 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1020 * posix/Makefile ($(objpfx)globtest.out): Replace
1021 $(run-via-rtld-prefix) and $(test-wrapper) with
1022 $(test-program-prefix) and $(test-via-rtld-prefix).
1023 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1024 $(test-program-prefix).
1025 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1026 $(host-test-program-cmd).
1027 (tst-spawn-ARGS): Likewise.
1028 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1029 $(test-program-prefix).
1030 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1031 (test_via_rtld_prefix): This.
1032 (test_wrapper): Renamed to ...
1033 (test_program_prefix): This.
1034 (run_program_prefix): Replaced by test_program_prefix.
1035 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1036 (test_program_prefix): This.
1037 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1038 with $(host-test-program-cmd).
1039 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1040 $(run-program-prefix) with $(test-program-prefix).
1041 ($(objpfx)tst-printf.out): Likewise.
1042 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1043 $(test-program-cmd).
1044 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1045 (test_program_prefix): This.
1046 * stdio-common/tst-unbputc.sh: Likewise.
1047 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1048 $(run-program-prefix) with $(test-program-prefix).
1049 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1050 (test_program_prefix): This.
1051 * string/Makefile ($(objpfx)tst-svc.out): Replace
1052 $(built-program-cmd) with $(test-program-cmd).
1053
1054 2013-01-11 Andreas Jaeger <aj@suse.de>
1055
1056 [BZ #15003]
1057 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1058 value. Sync with Linux 3.7.
1059
1060 2013-01-10 David S. Miller <davem@davemloft.net>
1061
1062 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1063 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1064 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1065
1066 2013-01-10 Roland McGrath <roland@hack.frob.com>
1067
1068 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1069 never set.
1070 * configure: Regenerated.
1071
1072 2013-01-10 David S. Miller <davem@davemloft.net>
1073
1074 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1075 sparc V9 rather than using V8 code.
1076 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1077 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1078
1079 2013-01-10 Roland McGrath <roland@hack.frob.com>
1080
1081 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1082 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1083 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1084 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1085 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1086 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1087 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1088 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1089 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1090 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1091 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1092 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1093 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1094 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1095 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1096 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1097 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1098 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1099 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1100 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1101 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1102 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1103 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1104 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1105 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1106 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1107 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1108
1109 2013-01-10 David S. Miller <davem@davemloft.net>
1110
1111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1112
1113 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1114
1115 * posix/Makefile (tests-static): New variable.
1116 (tests): Add $(tests-static).
1117 (tst-exec-static-ARGS): New variable.
1118 (tst-spawn-static-ARGS): Likewise.
1119 * posix/tst-exec-static.c: New file.
1120 * posix/tst-spawn-static.c: Likewise.
1121 * posix/tst-exec.c: Support run directly.
1122 * posix/tst-spawn.c: Likewise.
1123
1124 2013-01-10 Joseph Myers <joseph@codesourcery.com>
1125
1126 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1127 long.
1128 * math/bits/mathcalls.h (llrint): Likewise.
1129 (llround): Likewise.
1130 * stdlib/stdlib.h (struct drand48_data): Likewise.
1131 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1132 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1133 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1134 Likewise.
1135 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1136 Likewise.
1137 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1138 (elf_greg_t): Likewise.
1139 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1140 (__jmp_buf): Likewise.
1141 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1142 definitions.
1143 (llrint): Likewise, for all definitions.
1144 (llrintl): Likewise.
1145
1146 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1147 Remove [__GNUC__] condition.
1148 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1149 condition to just [__USE_ISOC99].
1150 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1151
1152 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1153
1154 [BZ #14200]
1155 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1156 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1157 defined.
1158 (_POSIX_V6_ILP32_OFF32): Likewise.
1159 (_XBS5_ILP32_OFF32): Likewise.
1160 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1161 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1162
1163 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1164
1165 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1166
1167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1168 doubles __mpexp_twomm1. Adjust usage.
1169 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1170 Remove.
1171
1172 2013-01-10 Andreas Schwab <schwab@suse.de>
1173
1174 [BZ #14964]
1175 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1176 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1177
1178 2013-01-09 David S. Miller <davem@davemloft.net>
1179
1180 [BZ #15003]
1181 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1182 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1183 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1184 TCP_FASTOPEN): Define.
1185 (tcp_repair_opt): New structure.
1186 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1187 enum values.
1188 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1189 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1190 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1191 (tcp_cookie_transactions): New structure.
1192
1193 2013-01-09 Anton Blanchard <anton@samba.org>
1194
1195 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1196 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1197 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1198 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1199
1200 2013-01-09 Joseph Myers <joseph@codesourcery.com>
1201
1202 * include/features.h (__USE_ANSI): Remove.
1203
1204 2013-01-09 Roland McGrath <roland@hack.frob.com>
1205
1206 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1207
1208 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1209
1210 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1211
1212 * sysdeps/s390/fpu/libm-test-ulps: Update.
1213
1214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1215
1216 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1217 (__acr): Likewise.
1218 (__cpy): Likewise.
1219 (norm): Likewise.
1220 (denorm): Likewise.
1221 (__mp_dbl): Likewise.
1222 (__dbl_mp): Likewise.
1223 (add_magnitudes): Likewise.
1224 (sub_magnitudes): Likewise.
1225 (__add): Likewise.
1226 (__sub): Likewise.
1227 (__mul): Likewise.
1228 (__inv): Likewise.
1229 (__dvd): Likewise.
1230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1231 (__acr): Likewise.
1232 (__cpy): Likewise.
1233 (norm): Likewise.
1234 (denorm): Likewise.
1235 (__mp_dbl): Likewise.
1236 (__dbl_mp): Likewise.
1237 (add_magnitudes): Likewise.
1238 (sub_magnitudes): Likewise.
1239 (__add): Likewise.
1240 (__sub): Likewise.
1241 (__mul): Likewise.
1242 (__inv): Likewise.
1243 (__dvd): Likewise.
1244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1245 (__acr): Likewise.
1246 (__cpy): Likewise.
1247 (norm): Likewise.
1248 (denorm): Likewise.
1249 (__mp_dbl): Likewise.
1250 (__dbl_mp): Likewise.
1251 (add_magnitudes): Likewise.
1252 (sub_magnitudes): Likewise.
1253 (__add): Likewise.
1254 (__sub): Likewise.
1255 (__mul): Likewise.
1256 (__inv): Likewise.
1257 (__dvd): Likewise.
1258
1259 2013-01-08 Joseph Myers <joseph@codesourcery.com>
1260
1261 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1262 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1263 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1264 2 && __USE_EXTERN_INLINES]: Likewise.
1265
1266 2013-01-08 Andreas Jaeger <aj@suse.de>
1267
1268 [BZ# 14985]
1269 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1270 Remove.
1271 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1272 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1273
1274 2013-01-07 Anton Blanchard <anton@samba.org>
1275
1276 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1277 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1278 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1279 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1280 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1281 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1282 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1283 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1285 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1286 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1287 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1288 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1289 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1290 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1291 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1292 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1293 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1294 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1295 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1296 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1297 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1299 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1300 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1301 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1302 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1303 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1304 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1305 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1306 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1308 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1309 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1310 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1311 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1312 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1313 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1314 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1315 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1316 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1317 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1318 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1319
1320 2013-01-07 Joseph Myers <joseph@codesourcery.com>
1321
1322 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1323 (__MALLOC_PMT): Likewise.
1324 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1325 [__GNUC__], only on [_LIBC].
1326 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1327 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1328 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1329 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1330 forward declaration.
1331 (realloc_hook_ini): Likewise.
1332 (memalign_hook_ini): Likewise.
1333 (__libc_memalign): Do not use __MALLOC_PMT in variable
1334 declaration.
1335 (__libc_valloc): Likewise.
1336 (__libc_pvalloc): Likewise.
1337 (__libc_calloc): Likewise.
1338 (__posix_memalign): Likewise.
1339
1340 [BZ #14996]
1341 * math/s_casinh.c: Include <float.h>.
1342 (__casinh): Do not do computation with squaring and square root
1343 for large arguments.
1344 * math/s_casinhf.c: Include <float.h>.
1345 (__casinhf): Do not do computation with squaring and square root
1346 for large arguments.
1347 * math/s_casinhl.c: Include <float.h>.
1348 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1349 (__casinhl): Do not do computation with squaring and square root
1350 for large arguments.
1351 * math/libm-test.inc (casin_test): Add more tests.
1352 (casinh_test): Likewise.
1353 * sysdeps/i386/fpu/libm-test-ulps: Update.
1354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1355
1356 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1357
1358 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1359 (__x86_64_raw_data_cache_size): Likewise.
1360 (__x86_64_data_cache_size_half): Likewise.
1361 (__x86_64_raw_data_cache_size_half): Likewise.
1362 (__x86_64_shared_cache_size): Likewise.
1363 (__x86_64_raw_shared_cache_size): Likewise.
1364 (__x86_64_shared_cache_size_half): Likewise.
1365 (__x86_64_raw_shared_cache_size_half): Likewise.
1366 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1367 to ...
1368 (__x86_data_cache_size): This.
1369 (__x86_64_raw_data_cache_size): Renamed to ...
1370 (__x86_raw_data_cache_size): This.
1371 (__x86_64_data_cache_size_half): Renamed to ...
1372 (__x86_data_cache_size_half): This.
1373 (__x86_64_raw_data_cache_size_half): Renamed to ...
1374 (__x86_raw_data_cache_size_half): This.
1375 (__x86_64_shared_cache_size): Renamed to ...
1376 (__x86_shared_cache_size): This.
1377 (__x86_64_raw_shared_cache_size): Renamed to ...
1378 (__x86_raw_shared_cache_size): This.
1379 (__x86_64_shared_cache_size_half): Renamed to ...
1380 (__x86_shared_cache_size_half): This.
1381 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1382 (__x86_raw_shared_cache_size_half): This.
1383 * sysdeps/x86_64/memcpy.S: Updated.
1384 * sysdeps/x86_64/memset.S: Likewise.
1385 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1386 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1387 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1388
1389 2013-01-04 David S. Miller <davem@davemloft.net>
1390
1391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1392
1393 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1394
1395 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1396 1 to avoid redefinition warning.
1397 (__USE_GNU): Don't define.
1398 (init_signaling_nan): Protoize.
1399
1400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1401
1402 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1403
1404 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1405 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1406 (__cpymn): Likewise.
1407 (norm): Remove commented code.
1408 (denorm): Likewise.
1409 (__mp_dbl): Likewise.
1410 (__inv): Likewise.
1411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1412 (__cpymn): Likewise.
1413 (norm): Remove commented code.
1414 (denorm): Likewise.
1415 (__mp_dbl): Likewise.
1416 (__inv): Likewise.
1417
1418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1419 mp_no value for 1.0 and 2.0.
1420 (norm): Use RADIXI instead of radixi.d.
1421 (denorm): Likewise.
1422 (__mul): Use 0.0 instead of zero.d.
1423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1424 mp_no value for 1.0 and 2.0.
1425 (norm): Use RADIXI instead of radixi.d.
1426 (denorm): Likewise.
1427 (__mul): Use 0.0 instead of zero.d.
1428
1429 2013-01-04 Joseph Myers <joseph@codesourcery.com>
1430
1431 [BZ #14994]
1432 * math/s_casinh.c (__casinh): Reduce finite argument to first
1433 quadrant then set signs of results at the end.
1434 * math/s_casinhf.c (__casinhf): Likewise.
1435 * math/s_casinhl.c (__casinhl): Likewise.
1436 * math/libm-test.inc (casin_test): Add more tests.
1437 (casinh_test): Likewise.
1438 * sysdeps/i386/fpu/libm-test-ulps: Update.
1439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1440
1441 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1442
1443 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1444
1445 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1446
1447 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1448 declarations.
1449 (denorm): Likewise.
1450 (__mp_dbl): Likewise.
1451 (__inv): Likewise.
1452
1453 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1454 and adjust the header comment.
1455
1456 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1457 variable name from declaration.
1458
1459 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1460
1461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1462 Initialize COMMON_CPUID_INDEX_7 element.
1463 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1464 (CPUID_RTM): Likewise.
1465 (HAS_RTM): Likewise.
1466 (COMMON_CPUID_INDEX_7): New enum.
1467
1468 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1469
1470 [BZ #14981]
1471 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1472 size is zero, record memory as freed.
1473
1474 2013-01-03 Andreas Jaeger <aj@suse.de>
1475
1476 * po/ia.po: Add new Interlingua translation.
1477
1478 2012-01-03 Allan McRae <allan@archlinux.org>
1479
1480 * locale/programs/localedef.c: Fix description of '--posix' flag.
1481
1482 2013-01-02 Joseph Myers <joseph@codesourcery.com>
1483
1484 * NEWS: Update dates in second copyright notice.
1485 * README: Update copyright dates in example.
1486 * manual/libc.texinfo: Update copyright dates.
1487 * scripts/test-installation.pl: Update copyright date in --version
1488 output.
1489
1490 * hurd/ctty-input.c: Fix copyright notice formatting.
1491 * hurd/ctty-output.c: Likewise.
1492 * hurd/dtable.c: Likewise.
1493 * hurd/hurd-raise.c: Likewise.
1494 * hurd/hurdprio.c: Likewise.
1495 * hurd/msgportdemux.c: Likewise.
1496 * misc/sys/file.h: Likewise.
1497 * misc/sys/ioctl.h: Likewise.
1498 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1499 * sysdeps/mach/hurd/chdir.c: Likewise.
1500 * sysdeps/mach/hurd/fchdir.c: Likewise.
1501 * sysdeps/mach/hurd/rename.c: Likewise.
1502 * sysdeps/mach/hurd/rmdir.c: Likewise.
1503 * sysdeps/mach/hurd/seekdir.c: Likewise.
1504 * sysdeps/mach/hurd/setsid.c: Likewise.
1505 * sysdeps/posix/wait3.c: Likewise.
1506
1507 * All files with FSF copyright notices: Update copyright dates
1508 using scripts/update-copyrights.
1509 * intl/plural.c: Regenerated.
1510 * locale/programs/charmap-kw.h: Likewise.
1511 * locale/programs/locfile-kw.h: Likewise.
1512
1513 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1514
1515 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1516 four values.
1517
1518 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1519 calculation loop and add branch prediction.
1520
1521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1522 check access beyond bounds of m1np.
1523
1524 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1525 MPTWO.
1526 (__inv): Remove local variable MPTWO to use the global
1527 constant.
1528 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1529 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1530 variable MPTWO.
1531 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1532 MP3HALFS static const.
1533
1534 2013-01-01 David S. Miller <davem@davemloft.net>
1535
1536 * po/ca.po: Update from translation team.
1537
1538 2013-01-01 Joseph Myers <joseph@codesourcery.com>
1539
1540 * scripts/update-copyrights: New file.
1541 * Makeconfig: Reformat copyright notice.
1542 * ctype/ctype.h: Likewise.
1543 * debug/swprintf_chk.c: Likewise.
1544 * elf/dl-cache.c: Likewise.
1545 * elf/dl-debug.c: Likewise.
1546 * elf/dl-object.c: Likewise.
1547 * grp/initgroups.c: Likewise.
1548 * hurd/Makefile: Likewise.
1549 * hurd/hurd/signal.h: Likewise.
1550 * hurd/hurdfault.c: Likewise.
1551 * hurd/hurdioctl.c: Likewise.
1552 * hurd/hurdlookup.c: Likewise.
1553 * hurd/intr-msg.c: Likewise.
1554 * iconv/gconv_open.c: Likewise.
1555 * libio/swprintf.c: Likewise.
1556 * locale/lc-ctype.c: Likewise.
1557 * locale/nl_langinfo.c: Likewise.
1558 * mach/Machrules: Likewise.
1559 * mach/Makefile: Likewise.
1560 * malloc/obstack.h: Likewise.
1561 * manual/Makefile: Likewise.
1562 * manual/tsort.awk: Likewise.
1563 * misc/bits/stab.def: Likewise.
1564 * nis/nis_print_group_entry.c: Likewise.
1565 * nis/nis_table.c: Likewise.
1566 * nis/nss_compat/compat-pwd.c: Likewise.
1567 * nis/nss_compat/compat-spwd.c: Likewise.
1568 * po/Makefile: Likewise.
1569 * posix/fnmatch.c: Likewise.
1570 * posix/regex.h: Likewise.
1571 * resolv/Makefile: Likewise.
1572 * resolv/nss_dns/dns-network.c: Likewise.
1573 * resolv/res_hconf.c: Likewise.
1574 * scripts/gen-sorted.awk: Likewise.
1575 * soft-fp/soft-fp.h: Likewise.
1576 * stdio-common/printf.h: Likewise.
1577 * stdlib/monetary.h: Likewise.
1578 * stdlib/random.c: Likewise.
1579 * stdlib/random_r.c: Likewise.
1580 * sysdeps/generic/Makefile: Likewise.
1581 * sysdeps/gnu/Makefile: Likewise.
1582 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1589 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1603 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1604 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1610 * sysdeps/mach/hurd/errnos.awk: Likewise.
1611 * sysdeps/mach/hurd/fork.c: Likewise.
1612 * sysdeps/mach/hurd/getcwd.c: Likewise.
1613 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1614 * sysdeps/mach/hurd/mmap.c: Likewise.
1615 * sysdeps/mach/hurd/utimes.c: Likewise.
1616 * sysdeps/mach/hurd/xmknod.c: Likewise.
1617 * sysdeps/posix/profil.c: Likewise.
1618 * sysdeps/posix/readdir_r.c: Likewise.
1619 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1620 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1621 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1622 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1624 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1625 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1626 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1628 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1629 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1630 * sysdeps/pthread/lio_listio.c: Likewise.
1631 * sysdeps/sparc/dl-procinfo.h: Likewise.
1632 * sysdeps/unix/i386/sysdep.S: Likewise.
1633 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1634 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1635 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1636 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1638 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1639 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1640 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1641 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1642 * sysdeps/wordsize-32/divdi3.c: Likewise.
1643 * time/sys/time.h: Likewise.
1644 * wcsmbs/Makefile: Likewise.
1645
1646 2013-01-01 David S. Miller <davem@davemloft.net>
1647
1648 * po/fr.po: Update from translation team.
1649
1650 * catgets/gencat.c: Update copyright year.
1651 * csu/version.c: Likewise.
1652 * debug/catchsegv.sh: Likewise.
1653 * debug/pcprofiledump.c: Likewise.
1654 * debug/xtrace.sh: Likewise.
1655 * elf/ldconfig.c: Likewise.
1656 * elf/ldd.bash.in: Likewise.
1657 * elf/pldd.c: Likewise.
1658 * elf/sotruss.ksh: Likewise.
1659 * elf/sprof.c: Likewise.
1660 * iconv/iconv_prog.c: Likewise.
1661 * iconv/iconvconfig.c: Likewise.
1662 * locale/programs/locale.c: Likewise.
1663 * locale/programs/localedef.c: Likewise.
1664 * login/programs/pt_chown.c: Likewise.
1665 * malloc/memusage.sh: Likewise.
1666 * malloc/memusagestat.c: Likewise.
1667 * malloc/mtrace.pl: Likewise.
1668 * nscd/nscd.c: Likewise.
1669 * nss/getent.c: Likewise.
1670 * nss/makedb.c: Likewise.
1671 * posix/getconf.c: Likewise.
1672
1673 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1674
1675 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1676 numbers.
1677
1678 2012-12-30 Mike Frysinger <vapier@gentoo.org>
1679
1680 * math/bits/mathcalls.h (modf): Use __nonnull.
1681
1682 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1683
1684 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1685 (split): Use macro CN instead of the bare value.
1686 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1687 could be used.
1688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1689 instead of the bare value.
1690 (power1): Likewise.
1691
1692 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1693
1694 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1695 __ATAN_TWOM.
1696 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1697
1698 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1699 their values.
1700 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1701 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1702 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1703 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1704
1705 2012-12-28 Andreas Jaeger <aj@suse.de>
1706
1707 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1708 values are from Linux 3.7.
1709
1710 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1711 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1712
1713 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1714
1715 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
1716 TRUE case.
1717
1718 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1719 (norm): Likewise.
1720 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1721 variables with preprocessor constants.
1722 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1723 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1724 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1725
1726 2012-12-27 Bruno Haible <bruno@clisp.org>
1727
1728 [BZ #14317]
1729 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1730 only if needed.
1731
1732 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1733
1734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1735 and use variable directly.
1736 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1737
1738 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1739 MPONE.
1740 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1741 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1742 variable MPONE.
1743 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1745 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1746 include directive. Remove local variable MPONE.
1747 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1748 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1749 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1750
1751 2012-12-25 David S. Miller <davem@davemloft.net>
1752
1753 * version.h (RELEASE): Set to "development".
1754 (VERSION): Set to "2.17.90".
1755 * NEWS: Add 2.18 section.
1756
1757 2012-12-21 David S. Miller <davem@davemloft.net>
1758
1759 * po/hr.po: Update from translation team.
1760
1761 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1762
1763 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1764
1765 2012-12-19 Steve Ellcey <sellcey@mips.com>
1766
1767 * NEWS: Mention new memcpy for MIPS.
1768
1769 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1770
1771 * manual/contrib.texi (Contributors): Spelling correction.
1772
1773 2012-12-15 David S. Miller <davem@davemloft.net>
1774
1775 * po/ru.po: Update from translation team.
1776
1777 2012-12-13 David S. Miller <davem@davemloft.net>
1778
1779 * NEWS: Mention IFUNC testsuite enhancements.
1780
1781 * po/pl.po: Update from translation team.
1782 * po/bg.po: Likewise.
1783
1784 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1785 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1786
1787 2012-12-11 David S. Miller <davem@davemloft.net>
1788
1789 * po/sv.po: Update from translation team.
1790
1791 * po/vi.po: Update from translation team.
1792
1793 * po/cs.po: Update from translation team.
1794
1795 * po/de.po: Update from translation team.
1796 * po/eo.po: Likewise.
1797 * po/nl.po: Likewise.
1798
1799 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1800
1801 [BZ #14246]
1802 * manual/argp.texi (Argp Helper Functions): Move node to follow
1803 Argp Parsing State.
1804
1805 [BZ #14872]
1806 * manual/conf.texi (Limits on File System Capacity): Mention if
1807 terminating null is included in the max size.
1808
1809 2012-12-10 Andreas Jaeger <aj@suse.de>
1810
1811 * po/cs.po: Update from translation team.
1812
1813 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1814
1815 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1816 void pointer and cast to uintptr_t.
1817 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1818 path.
1819 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1820 * sysdeps/s390/s390-64/memset.S: Likewise.
1821
1822 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
1823
1824 [BZ #14833]
1825 * menual/message.texi (Message Translation): Fix typos.
1826 (Helper programs for gettext): Likewise.
1827
1828 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1829
1830 [BZ #14898]
1831 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1832 Change to -1.
1833
1834 2012-12-07 David S. Miller <davem@davemloft.net>
1835
1836 * po/libc.pot: Update.
1837
1838 2012-12-07 Richard Henderson <rth@redhat.com>
1839
1840 [BZ #10114]
1841 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1842 normal/normal case to before the switch.
1843 (_FP_DIV): Likewise.
1844
1845 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1846 Mike Frysinger <vapier@gentoo.org>
1847
1848 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1849 check for __NR_fadvise64_64.
1850
1851 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1852
1853 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1854 0, not just to plain "0" as a statement.
1855 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1856 with cw.
1857
1858 2012-12-06 Joseph Myers <joseph@codesourcery.com>
1859
1860 * NEWS: Use sourceware.org in Bugzilla URL.
1861
1862 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1863
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1865 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1866
1867 * stdio-common/tst-put-error.c (do_test): Add newline to the
1868 padded test to ensure flush.
1869
1870 2012-12-05 Jeff Law <law@redhat.com>
1871
1872 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1873
1874 2012-12-05 Joseph Myers <joseph@codesourcery.com>
1875
1876 * README: Don't refer to ports add-on as distributed separately.
1877 Mention AArch64 in list of systems supported in the ports add-on.
1878
1879 * LICENSES: Add more non-FSF copyright and license notices.
1880
1881 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1882 ((unused)).
1883
1884 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1885
1886 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1887 10000 as width of padded output.
1888
1889 2012-12-04 Joseph Myers <joseph@codesourcery.com>
1890
1891 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1892
1893 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1894 variable LX with __attribute__ ((unused)).
1895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1896 Likewise.
1897 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1898 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1899 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1900 with __attribute__ ((unused)).
1901
1902 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
1903
1904 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1905
1906 2012-12-04 Joseph Myers <joseph@codesourcery.com>
1907
1908 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1909 (CFLAGS-nldbl-acos.c): New variable.
1910 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1911 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1912 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1913 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1914 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1915 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1916 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1917 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1918 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1919 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1920 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1921 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1922 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1923 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1924 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1925 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1926 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1927 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1928 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1929 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1930 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1931 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1932 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1933 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1934 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1935 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1936 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1937 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1938 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1939 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1940 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1941 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1942 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1943 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1944 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1945 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1946 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1947 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1948 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1949 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1950 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1951 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1952 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1953 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1954 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1955 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1956 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1957 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1958 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1959 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1960 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1961 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1962 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1963 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1964 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1965 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1966 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1967 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1968 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1969 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1970 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1971 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1972 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1973 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1974 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1975 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1976 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1977 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1978 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1979 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1980 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1981 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1982 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1983 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1984 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1985 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1986 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1987 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1988 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1989 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1990 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1991 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1992 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1993 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1994 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1995 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1996 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1997 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1998 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1999 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2000 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2001 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2002 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2003 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2004 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2005 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2006 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2007
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2009 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2010
2011 [BZ #14914]
2012 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2013 whole low double instead of just low 47 bits when splitting values
2014 into two parts.
2015
2016 2012-12-03 Allan McRae <allan@archlinux.org>
2017
2018 * manual/stdio.texi (Predefined Printf Handlers): Remove
2019 @hsep and @vsep usage.
2020
2021 2012-12-03 Mike Frysinger <vapier@gentoo.org>
2022
2023 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2024 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2025
2026 2012-12-03 Jeff Law <law@redhat.com>
2027
2028 * time/sys/time.h (settimeofday): Do not mark TV argument
2029 as __nonnull.
2030
2031 2012-12-01 Mike Frysinger <vapier@gentoo.org>
2032
2033 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2034 when currently writing and seek to current position when not.
2035 * libio/Makefile (tests): Remove bug-fclose1.
2036 * libio/bug-fclose1.c: Delete.
2037
2038 2012-12-01 Joseph Myers <joseph@codesourcery.com>
2039
2040 * manual/arith.texi (feenableexcept): Fix typo.
2041 (fedisableexcept): Likewise.
2042
2043 2012-11-30 Roland McGrath <roland@hack.frob.com>
2044
2045 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2046 second, differently-typed declaration, rather than a cast.
2047
2048 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2049
2050 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2051 * include/rpc/svc.h: ... here.
2052
2053 2012-11-30 Aurelien Jarno <aurel32@debian.org>
2054
2055 [BZ #13013]
2056 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2057 depending n and resplen2 to catch cases where answer
2058 equals answerp2.
2059
2060 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2061
2062 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2063 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2064
2065 2012-11-29 Mike Frysinger <vapier@gentoo.org>
2066
2067 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2068
2069 2012-11-29 Roland McGrath <roland@hack.frob.com>
2070
2071 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2072
2073 2012-11-28 Jeff Law <law@redhat.com>
2074
2075 [BZ #13761]
2076 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2077 dataset_temporary. Track alloca usage into alloca_used.
2078 If dataset is large allocate and release it via malloc/free.
2079
2080 2012-06-04 Florian Weimer <fweimer@redhat.com>
2081
2082 [BZ #14197]
2083 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2084
2085 2012-11-28 David S. Miller <davem@davemloft.net>
2086
2087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2088
2089 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2090
2091 [BZ #14803]
2092 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2093 of pi/2 rounded to nearest to 64 bits.
2094 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2095 nearest to 64 bits.
2096 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2097 bits.
2098
2099 2012-11-28 Jeff Law <law@redhat.com>
2100 Martin Osvald <mosvald@redhat.com>
2101
2102 [BZ #14889]
2103 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2104 * sunrpc/svc.c: Include time.h.
2105 (__svc_accept_failed): New function.
2106 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2107 any reason other than EINTR, call __svc_accept_failed.
2108 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2109 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2110
2111 2012-11-28 Andreas Schwab <schwab@suse.de>
2112
2113 * scripts/abilist.awk: Also handle indirect functions in .opd
2114 section.
2115
2116 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2117
2118 [BZ #13881]
2119 * sysdeps/x86/fpu/powl_helper.c: New file.
2120 * sysdeps/x86/fpu/Makefile: Likewise.
2121 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2122 (p3): New object.
2123 (__ieee754_powl): Use __powl_helper for finite arguments except
2124 integer exponents below 8.
2125 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2126 (p3): New object.
2127 (__ieee754_powl): Use __powl_helper for finite arguments except
2128 integer exponents below 8.
2129 * math/libm-test.inc (pow_test): Add more tests and enable some
2130 previously disabled tests.
2131 * sysdeps/i386/fpu/libm-test-ulps: Update.
2132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2133
2134 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2135 Carlos O'Donell <carlos_odonell@mentor.com>
2136
2137 * nss/makedb.c (is_prime): Assert that input is odd and greater
2138 than 4. Note that fact in a comment too.
2139 (next_prime): Add 4 to input.
2140
2141 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2142
2143 [BZ #11741]
2144 * libio/Makefile (tests): Add test case tst-fwrite-error.
2145 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2146 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2147 * libio/tst-fwrite-error.c: New test case.
2148
2149 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2150
2151 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2152 before casting to void *.
2153 * include/libc-internal.h (__pointer_type): New macro.
2154 (__integer_if_pointer_type_sub): Likewise.
2155 (__integer_if_pointer_type): Likewise.
2156 (cast_to_integer): Likewise.
2157 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2158 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2159 before casting to atomic64_t.
2160 (atomic_exchange_acq): Likewise.
2161 (__arch_exchange_and_add_body): Likewise.
2162 (__arch_add_body): Likewise.
2163 (atomic_add_negative): Likewise.
2164 (atomic_add_zero): Likewise.
2165
2166 2012-11-26 Joseph Myers <joseph@codesourcery.com>
2167
2168 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2169 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2170 (add_fdes): Likewise.
2171 (linear_search_fdes): Likewise.
2172 (binary_search_unencoded_fdes): Likewise.
2173
2174 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2175
2176 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2177
2178 2012-11-24 Adam Conrad <adconrad@0c3.net>
2179
2180 * configure.in: Autodetect C++ header directories.
2181 * configure: Regenerated.
2182
2183 2012-11-23 Mike Frysinger <vapier@gentoo.org>
2184
2185 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2186
2187 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2188
2189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2190
2191 2012-11-22 Joseph Myers <joseph@codesourcery.com>
2192
2193 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2194 LDBL_MANT_DIG == 106]: Disable some tests.
2195 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2196 Likewise.
2197 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2198 Likewise.
2199
2200 [BZ #14871]
2201 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2202 input for small inputs. Return +/- pi/2 for large inputs.
2203 * math/libm-test.inc (atan_test): Add more tests.
2204
2205 * sysdeps/generic/unwind-dw2-fde-glibc.c
2206 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2207 __attribute__ ((unused)).
2208
2209 [BZ #14645]
2210 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2211 x * y if x and y are nonzero and z is zero.
2212
2213 [BZ #14811]
2214 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2215 nonzero exponents with absolute value below 0x1p-117 to +/-
2216 0x1p-117.
2217
2218 [BZ #14869]
2219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2220 up arguments below 2**-450, not just those below 2**-500.
2221 * math/libm-test.inc (hypot_test): Add another test.
2222
2223 [BZ #14868]
2224 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2225 Return a+b for ratio over 2**120, not 2**60.
2226 * math/libm-test.inc (hypot_test): Add another test.
2227
2228 * math/libm-test.inc (clog_test): Use
2229 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2230 (clog10_test): Likewise.
2231
2232 [BZ #6778]
2233 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2234
2235 2012-11-22 Andreas Schwab <schwab@suse.de>
2236
2237 * sysdeps/i386/fpu/libm-test-ulps: Update.
2238
2239 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2240
2241 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2242 printf output with newline.
2243
2244 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2245
2246 [BZ #14865]
2247 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2248 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2249 -z nodlopen, -z initfirst and -z execstack support.
2250 * configure: Regenerated.
2251
2252 * elf/elf.h (DF_1_NODIRECT): New macro.
2253 (DF_1_IGNMULDEF): Likewise.
2254 (DF_1_NOKSYMS): Likewise.
2255 (DF_1_NOHDR): Likewise.
2256 (DF_1_EDITED): Likewise.
2257 (DF_1_NORELOC): Likewise.
2258 (DF_1_SYMINTPOSE): Likewise.
2259 (DF_1_GLOBAUDIT): Likewise.
2260 (DF_1_SINGLETON): Likewise.
2261 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2262 DT_1_SUPPORTED_MASK bits.
2263 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2264
2265 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2266
2267 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2268
2269 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2270
2271 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2272 macro.
2273
2274 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2275 (sendmmsg): Move declarations...
2276 * socket/sys/socket.h: ... here.
2277 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2278 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2279 include it from...
2280 * socket/recvmmsg.c: ... this new file.
2281 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2282 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2283 definition of __sendmmsg hidden.
2284 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2285 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2286 Move ENOSYS stub into and include it from...
2287 * socket/sendmmsg.c: ... this new file.
2288 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2289 (sysdep_routines): Move recvmmsg and sendmmsg...
2290 * socket/Makefile (routines): ... here.
2291 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2292 (GLIBC_PRIVATE): Add __sendmmsg.
2293 * include/sys/socket.h (__sendmmsg): Add declarations.
2294 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2295 sendmmsg.
2296
2297 2012-11-20 Joseph Myers <joseph@codesourcery.com>
2298
2299 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2300 variable I1 with __attribute__ ((unused)).
2301 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2302
2303 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2304
2305 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2306 DUMMY variables with __attribute__ ((unused)).
2307
2308 * bits/byteswap.h: Include <bits/types.h>.
2309 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2310
2311 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2312
2313 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2314 string_t. Do not manually set errno.
2315 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2316 length with __strnlen. Make sure to both set errno and return it on
2317 failure.
2318
2319 2012-11-19 David S. Miller <davem@davemloft.net>
2320
2321 With help from Joseph Myers.
2322 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2323 very large arguments properly.
2324 * math/libm-test.inc (atan_test): New tests.
2325 (atan2_test): New tests.
2326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2328
2329 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2330
2331 [BZ #14856]
2332 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2333 Define to 3.
2334
2335 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2336 [POSIX] (EADDRNOTAVAIL): Likewise.
2337 [POSIX] (EAFNOSUPPORT): Likewise.
2338 [POSIX] (EALREADY): Likewise.
2339 [POSIX] (ECONNABORTED): Likewise.
2340 [POSIX] (ECONNREFUSED): Likewise.
2341 [POSIX] (ECONNRESET): Likewise.
2342 [POSIX] (EDESTADDRREQ): Likewise.
2343 [POSIX] (EDQUOT): Likewise.
2344 [POSIX] (EHOSTUNREACH): Likewise.
2345 [POSIX] (EIDRM): Likewise.
2346 [POSIX] (EISCONN): Likewise.
2347 [POSIX] (ELOOP): Likewise.
2348 [POSIX] (EMULTIHOP): Likewise.
2349 [POSIX] (ENETDOWN): Likewise.
2350 [POSIX] (ENETUNREACH): Likewise.
2351 [POSIX] (ENOBUFS): Likewise.
2352 [POSIX] (ENODATA): Likewise.
2353 [POSIX] (ENOLINK): Likewise.
2354 [POSIX] (ENOMSG): Likewise.
2355 [POSIX] (ENOPROTOOPT): Likewise.
2356 [POSIX] (ENOSR): Likewise.
2357 [POSIX] (ENOSTR): Likewise.
2358 [POSIX] (ENOTCONN): Likewise.
2359 [POSIX] (ENOTSOCK): Likewise.
2360 [POSIX] (EOPNOTSUPP): Likewise.
2361 [POSIX] (EOVERFLOW): Likewise.
2362 [POSIX] (EPROTO): Likewise.
2363 [POSIX] (EPROTONOSUPPORT): Likewise.
2364 [POSIX] (EPROTOTYPE): Likewise.
2365 [POSIX] (ESTALE): Likewise.
2366 [POSIX] (ETIME): Likewise.
2367 [POSIX] (ETXTBSY): Likewise.
2368 [POSIX] (EWOULDBLOCK): Likewise.
2369 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2370 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2371 [POSIX] (SEEK_CUR): Likewise.
2372 [POSIX] (SEEK_END): Likewise.
2373 [POSIX || UNIX98] (mode_t): Do not require.
2374 [POSIX] (off_t): Likewise.
2375 [POSIX] (pid_t): Likewise.
2376 [POSIX] (sys/stat.h): Do not allow header.
2377 [POSIX] (unistd.h): Likewise.
2378 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2379 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2380 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2381 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2382 require.
2383 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2384 sigevent): Specify elements.
2385 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2386 entry.
2387 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2388 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2389
2390 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2391 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2392 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2393 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2394 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2395 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2396 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2397 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2398 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2399 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2400 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2401 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2402 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2403 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2404 Likewise.
2405 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2406 Likewise.
2407 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2408 Likewise.
2409 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2410 Likewise.
2411 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2412 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2413 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2414 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2415 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2416 Specify lower bound on value.
2417 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2418 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2419 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2420 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2421 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2422 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2423 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2424 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2425 value.
2426 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2427 as optional.
2428 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2429 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2430 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2431 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2432 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2433 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2434 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2435 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2436 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2437 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2438 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2439 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2440 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2441 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2442 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2443 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2444 entry.
2445 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2446 optional.
2447 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2448 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2449 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2450 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2451 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2452 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2453 Likewise.
2454 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2455 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2456 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2457 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2458 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2459 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2460 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2461 as optional.
2462 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2463 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2464 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2465 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2466 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2467 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2468 specify as optional.
2469 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2470 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2471 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2472 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2473 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2474 [XPG3] (NL_LANGMAX): Likewise.
2475 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2476 [POSIX || XPG3] (NL_NMAX): Likewise.
2477 [POSIX || XPG3] (NL_SETMAX): Likewise.
2478 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2479 [XPG3] (NZERO): Likewise.
2480 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2481 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2482 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2483 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2484 (REG_ERANGE): Expect.
2485 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2486 optional-constant.
2487 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2488 Use (void) in prototype.
2489 [POSIX] (*_t): Allow.
2490 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2491 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2492 (WRDE_BADVAL): Expect.
2493
2494 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2495 expect.
2496 [XPG3 || XPG4] (O_RSYNC): Likewise.
2497 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2498 Likewise.
2499 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2500 [XPG3 || XPG4] (sigqueue): Likewise.
2501 [XPG3 || XPG4] (sigtimedwait): Likewise.
2502 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2503 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2504 [XPG3 || XPG4] (vsnprintf): Likewise.
2505 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2506 Likewise.
2507 [XPG3 || XPG4] (blksize_t): Likewise.
2508 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2509 Likewise.
2510 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2511 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2512 [XPG3 || XPG4] (struct itimerspec): Likewise.
2513 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2514 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2515 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2516 [XPG3 || XPG4] (clockid_t): Likewise.
2517 [XPG3 || XPG4] (timer_t): Likewise.
2518 [XPG3 || XPG4] (clock_getres): Likewise.
2519 [XPG3 || XPG4] (clock_gettime): Likewise.
2520 [XPG3 || XPG4] (clock_settime): Likewise.
2521 [XPG3 || XPG4] (nanosleep): Likewise.
2522 [XPG3 || XPG4] (timer_create): Likewise.
2523 [XPG3 || XPG4] (timer_delete): Likewise.
2524 [XPG3 || XPG4] (timer_gettime): Likewise.
2525 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2526 [XPG3 || XPG4] (timer_settime): Likewise.
2527 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2528 [XPG3 || XPG4] (getlogin_r): Likewise.
2529 [XPG3 || XPG4] (pread): Likewise.
2530 [XPG3 || XPG4] (pthread_atfork): Likewise.
2531 [XPG3 || XPG4] (pwrite): Likewise.
2532
2533 [BZ #14835]
2534 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2535 <bits/siginfo.h>.
2536
2537 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2538
2539 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2540 finalizing MALLSTREAM.
2541
2542 * sysdeps/mach/hurd/syncfs.c: New file.
2543
2544 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2545
2546 [BZ #14719]
2547 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2548 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2549 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2550 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2551 (_nss_dns_gethostbyname4_r): Likewise.
2552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2553 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2554
2555 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2556
2557 [BZ #13763]
2558 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2559
2560 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2561
2562 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2563 * elf/cache.c (print_entry): Print ",AArch64" for
2564 FLAG_AARCH64_LIB64
2565
2566 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2567 * elf/cache.c (print_entry): Print ",hard-float" for
2568 FLAG_ARM_LIBHF.
2569
2570 2012-11-18 David S. Miller <davem@davemloft.net>
2571
2572 With help from Joseph Myers.
2573 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2574 cutoff to 2**-13.
2575 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2576 cutoff to 2**-25.
2577 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2578 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2579 small.
2580 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2581 * math/libm-test.inc (y0_test): New tests.
2582 (y1_test): New tests.
2583 * sysdeps/i386/fpu/libm-test-ulps: Update.
2584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2586
2587 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2588
2589 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2590 64-bit targets.
2591 * configure: Regenerated.
2592
2593 2012-11-17 David S. Miller <davem@davemloft.net>
2594
2595 [BZ #14811]
2596 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2597 nonzero exponents with absolute value below 0x1p-128 to +/-
2598 0x1p-128.
2599
2600 2012-11-17 Joseph Myers <joseph@codesourcery.com>
2601
2602 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2603
2604 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2605
2606 * posix/getconf-speclist.c: New file.
2607 * posix/posix-envs.def: Likewise.
2608 * posix/confstr.c (START_ENV_GROUP): New macro.
2609 (END_ENV_GROUP): Likewise.
2610 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2611 (KNOWN_PRESENT_ENV_STRING): Likewise.
2612 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2613 (UNKNOWN_ENVIRONMENT): Likewise.
2614 (confstr): Include posix-envs.def instead of handling
2615 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2616 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2617 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2618 (END_ENV_GROUP): Likewise.
2619 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2620 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2621 (UNKNOWN_ENVIRONMENT): Likewise.
2622 (__sysconf): Include posix-envs.def instead of handling associated
2623 cases directly here.
2624 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2625 preprocessing getconf-speclist.c rather than running getconf or
2626 generating empty file.
2627
2628 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2629
2630 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2631
2632 2012-11-16 Andrej Lajovic <natrij@gmail.com>
2633
2634 [BZ #14672]
2635 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2636
2637 2012-11-16 David S. Miller <davem@davemloft.net>
2638
2639 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2640 smaller than LDBL_EPSILON/2.0L, just return xm1.
2641
2642 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2643
2644 * elf/tst-array1.c (init): Set constructor priority to 1000.
2645 (fini): Set destructor priority to 1000.
2646 * elf/tst-array2dep.c: Likewise.
2647
2648 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2649
2650 [BZ #11741]
2651 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2652 (_IO_new_file_xsputn): Also return EOF if none of the input
2653 data was written when overflow failed.
2654 * libio/iopadn.c (_IO_padn): Likewise.
2655 * libio/iowpadn.c (_IO_wpadn): Likewise.
2656 * stdio-common/tst-put-error.c: Add copyright notice.
2657 (do_test): Add case for printing padded string.
2658 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2659 _IO_padn returned error.
2660 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2661 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2662 return EOF.
2663
2664 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2665
2666 * libio/libioP.h: Add comment note that the references to C++
2667 bits are now obsolete.
2668
2669 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2670
2671 * math/libm-test.inc (check_complex): Use asprintf.
2672
2673 2012-11-14 Joseph Myers <joseph@codesourcery.com>
2674
2675 * debug/pcprofiledump.c (print_version): Update copyright year.
2676 * malloc/memusagestat.c (print_version): Likewise.
2677
2678 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2679
2680 [BZ #14831]
2681 * elf/Makefile (tests): Add tst-audit8.
2682 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2683 ($(objpfx)tst-audit8.out): New target.
2684 (tst-audit8-ENV): New variable.
2685 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2686 audit if l_reloc_result is NULL.
2687 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2688 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2689 * elf/tst-audit8.c: New file.
2690
2691 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2692
2693 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2694 * misc/Makefile (CFLAGS-select.c): Define.
2695 * posix/Makefile (CFLAGS-pause.c): Define.
2696
2697 2012-11-13 David S. Miller <davem@davemloft.net>
2698
2699 * crypt/Makefile: Move test targets after toplevel Rules
2700 inclusion. Grab any necessary sysdep routines when linking.
2701 * crypt/md5.c (md5_process_block): Remove define, we will always
2702 name it __md5_process_block.
2703 (md5_finish_ctx): Update md5_process_block call.
2704 (md5_stream): Likewise.
2705 (md5_process_bytes): Likewise.
2706 (md5_process_block): Rename to __md5_process_block and move to ...
2707 * crypt/md5-block.c: ... here.
2708 * crypt/sha256.c (sha256_process_block): Move to ...
2709 * crypt/sha256-block.c: ... here.
2710 * crypt/sha512.c (sha512_process_block): Move to ...
2711 * crypt/sha512-block.c: ... here.
2712 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2713 path.
2714 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2715 * sysdeps/sparc/sparc64/multiarch/Makefile
2716 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2717 crypt subdir.
2718 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2719 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2720 multiarch changes.
2721 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2722 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2723 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2724 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2725 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2726 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2727 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2728 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2729 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2730 file.
2731 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2732 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2733 file.
2734 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2735
2736 2012-11-13 Joseph Myers <joseph@codesourcery.com>
2737
2738 * timezone/tzselect.ksh: Update from tzcode git revision
2739 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2740 * timezone/zdump.c: Likewise.
2741 * timezone/zic.c: Likewise.
2742 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2743 in TZVERSION setting, not $(PKGVERSION).
2744 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2745 REPORT_BUGS_TO settings.
2746
2747 [BZ #14838]
2748 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2749 macro.
2750
2751 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2752
2753 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2754 detection to immediately after _FP_ROUND().
2755 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2756 bits are 0.
2757
2758 2012-11-11 David S. Miller <davem@davemloft.net>
2759
2760 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2761 inttypes.h
2762 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2763 __close rather than their public counterparts.
2764
2765 2012-11-10 Joseph Myers <joseph@codesourcery.com>
2766
2767 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2768 file.
2769 [UNIX98] (sem_timedwait): Do not expect.
2770 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2771 [XPG4 || UNIX98] (sockatmark): Do not expect.
2772 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2773 (clock_getcpuclockid): Do not expect.
2774 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2775 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2776 Do not expect.
2777 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2778 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2779 [UNIX98] (vwscanf): Likewise.
2780 [UNIX98] (vswscanf): Likewise.
2781
2782 2012-11-09 Joseph Myers <joseph@codesourcery.com>
2783
2784 * timezone/version.h: Remove file.
2785 * timezone/README: Do not refer to version.h.
2786 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2787 $(objpfx)version.h.
2788 ($(objpfx)zdump.o): Likewise.
2789 ($(objpfx)version.h): New target.
2790
2791 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2792 2012i.
2793 * timezone/README: Don't mention modification to tzselect.ksh.
2794 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2795 work on unmodified tzselect.ksh. Substitute version numbers in
2796 tzselect.ksh.
2797
2798 * Makefile (format-me): Remove.
2799 (INSTALL): Adjust indentation. Use commands directly instead of
2800 using $(format-me).
2801
2802 * aclocal.m4 (ACX_PKGVERSION): New macro.
2803 (ACX_BUGURL): Likewise.
2804 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2805 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2806 (REPORT_BUGS_TO): Likewise.
2807 * configure: Regenerated.
2808 * config.h.in (PKGVERSION): New macro.
2809 (REPORT_BUGS_TO): Likewise.
2810 * config.make.in (PKGVERSION): New variable.
2811 (PKGVERSION_TEXI): Likewise.
2812 (REPORT_BUGS_TO): Likewise.
2813 (REPORT_BUGS_TEXI): Likewise.
2814 * Makefile (format-me): Use -I$(common-objpfx)manual.
2815 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2816 ($(common-objpfx)manual/%): New target.
2817 (manual/%): Remove target.
2818 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2819 (print_version): Use PKGVERSION.
2820 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2821 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2822 and REPORT_BUGS_TO.
2823 ($(objpfx)xtrace): Likewise.
2824 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2825 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2826 (print_version): Use PKGVERSION.
2827 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2828 (do_version): Use PKGVERSION.
2829 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2830 REPORT_BUGS_TO.
2831 (common-ldd-rewrite): Likewise.
2832 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2833 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2834 (print_version): Use PKGVERSION.
2835 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2836 * elf/pldd.c (argp_program_bug_address): Remove variable.
2837 (more_help): New function.
2838 (argp): Use more_help.
2839 (print_version): Use PKGVERSION.
2840 * elf/sln.c (main): Use PKGVERSION.
2841 (usage): Use REPORT_BUGS_TO.
2842 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2843 (top level): Use PKGVERSION.
2844 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2845 (print_version): Use PKGVERSION.
2846 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2847 (print_version): Use PKGVERSION.
2848 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2849 (print_version): Use PKGVERSION.
2850 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2851 (print_version): Use PKGVERSION.
2852 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2853 (print_version): Use PKGVERSION.
2854 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2855 (print_version): Use PKGVERSION.
2856 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2857 and BUGURL.
2858 ($(objpfx)memusage): Likewise.
2859 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2860 (do_version): Use PKGVERSION.
2861 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2862 (print_version): Use PKGVERSION.
2863 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2864 ($PKGVERSION): New variable.
2865 ($REPORT_BUGS_TO): Likewise.
2866 (usage): Use $REPORT_BUGS_TO.
2867 (top level): Use $PKGVERSION.
2868 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2869 ($(objpfx)pkgvers.texi): New rule.
2870 ($(objpfx)stamp-pkgvers): Likewise.
2871 * manual/install.texi: Include pkgvers.texi.
2872 (--with-pkgversion): Document new configure option.
2873 (--with-bugurl): Likewise.
2874 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2875 than necessarily for this particular distribution. Use
2876 REPORT_BUGS_TO for where to report bugs.
2877 * INSTALL: Regenerated.
2878 * manual/libc.texinfo: Include pkgvers.texi.
2879 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2880 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2881 (print_version): Use PKGVERSION.
2882 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2883 (print_version): Use PKGVERSION.
2884 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2885 (print_version): Use PKGVERSION.
2886 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2887 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2888 macro.
2889 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2890 (print_version): Use PKGVERSION.
2891 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2892 (print_version): Use PKGVERSION.
2893 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2894 and PKGVERSION.
2895
2896 * timezone/checktab.awk: Update from tzcode 2012i.
2897 * timezone/ialloc.c: Likewise.
2898 * timezone/private.h: Likewise.
2899 * timezone/scheck.c: Likewise.
2900 * timezone/tzfile.h: Likewise.
2901 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2902 (TZVERSION): Hardcode tzcode version number.
2903 * timezone/zdump.c: Update from tzcode 2012i.
2904 * timezone/zic.c: Likewise.
2905 * timezone/version.h: New file.
2906 * timezone/README: Describe version.h. Update upstream location.
2907
2908 [BZ #14824]
2909 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2910 (mktemp): Enable declaration.
2911 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2912 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2913 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2914 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2915 Likewise.
2916 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2917 Likewise.
2918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2919 Likewise.
2920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2921 Likewise.
2922 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2923 Likewise.
2924 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2925 Likewise.
2926
2927 [BZ #14821]
2928 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2929 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2930 for copies of such integer values.
2931 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2932 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2933
2934 2012-11-09 Andreas Jaeger <aj@suse.de>
2935
2936 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2937 definitions and declarations that are provided by
2938 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2939
2940 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2941
2942 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2943 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2944 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2945 definition.
2946
2947 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2948
2949 * elf/elf.h: Update comment before AArch64 relocations.
2950
2951 2012-11-07 David S. Miller <davem@davemloft.net>
2952
2953 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2954 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2955 (__start_context): Declare.
2956 (__makecontext_ret): Delete.
2957 (__makecontext): Hook up __start_context instead of
2958 __makecontext_ret.
2959 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2960 (sysdep_routines): Add __start_context when in stdlib.
2961
2962 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2963
2964 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2965 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2966 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2967 hardcoded "nm".
2968 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2969 (READELF): New variable. Use it instead of hardcoded "readelf".
2970
2971 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2972
2973 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2974 * sysdeps/x86/Makefile: Here.
2975 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2976 * sysdeps/x86/tst-xmmymm.sh: This.
2977
2978 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2979
2980 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2981 expectations.
2982 [UNIX98] (pthread_barrier_t): Do not expect.
2983 [UNIX98] (pthread_barrierattr_t): Likewise.
2984 [UNIX98] (pthread_spinlock_t): Likewise.
2985 [UNIX98] (pthread_barrier_destroy): Likewise.
2986 [UNIX98] (pthread_barrier_init): Likewise.
2987 [UNIX98] (pthread_barrier_wait): Likewise.
2988 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2989 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2990 [UNIX98] (pthread_barrierattr_init): Likewise.
2991 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2992 [UNIX98] (pthread_getcpuclockid): Likewise.
2993 [UNIX98] (pthread_mutex_timedlock): Likewise.
2994 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2995 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2996 [UNIX98] (pthread_sigmask): Likewise.
2997 [UNIX98] (pthread_spin_destroy): Likewise.
2998 [UNIX98] (pthread_spin_init): Likewise.
2999 [UNIX98] (pthread_spin_lock): Likewise.
3000 [UNIX98] (pthread_spin_trylock): Likewise.
3001 [UNIX98] (pthread_spin_unlock): Likewise.
3002 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3003 Do not expect.
3004 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3005 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3006 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3007 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3008 [XPG3 || XPG4] (pthread_key_t): Likewise.
3009 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3010 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3011 [XPG3 || XPG4] (pthread_once_t): Likewise.
3012 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3013 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3014 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3015 [XPG3 || XPG4] (pthread_t): Likewise.
3016
3017 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3018 not expect.
3019 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3020
3021 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3022 Change function return type to int.
3023
3024 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3025 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3026 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3027 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3028 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3029 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3030 [!POSIX] (posix_madvise): Likewise.
3031 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3032 && !UNIX98].
3033 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3034 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3035 (mode_t): Likewise.
3036 (posix_mem_offset): Likewise.
3037 (posix_typed_mem_get_info): Likewise.
3038 (posix_typed_mem_open): Likewise.
3039
3040 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3041 Change condition to [XOPEN2K8].
3042
3043 * conform/conformtest.pl: Preprocess allow-header data with -x c
3044 instead of from stdin.
3045 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3046 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3047 [C99-based standards] (cerfc): Likewise.
3048 [C99-based standards] (cexp2): Likewise.
3049 [C99-based standards] (cexpm1): Likewise.
3050 [C99-based standards] (clog10): Likewise.
3051 [C99-based standards] (clog1p): Likewise.
3052 [C99-based standards] (clog2): Likewise.
3053 [C99-based standards] (clgamma): Likewise.
3054 [C99-based standards] (ctgamma): Likewise.
3055 [C99-based standards] (cerff): Likewise.
3056 [C99-based standards] (cerfcf): Likewise.
3057 [C99-based standards] (cexp2f): Likewise.
3058 [C99-based standards] (cexpm1f): Likewise.
3059 [C99-based standards] (clog10f): Likewise.
3060 [C99-based standards] (clog1pf): Likewise.
3061 [C99-based standards] (clog2f): Likewise.
3062 [C99-based standards] (clgammaf): Likewise.
3063 [C99-based standards] (ctgammaf): Likewise.
3064 [C99-based standards] (cerfl): Likewise.
3065 [C99-based standards] (cerfcl): Likewise.
3066 [C99-based standards] (cexp2l): Likewise.
3067 [C99-based standards] (cexpm1l): Likewise.
3068 [C99-based standards] (clog10l): Likewise.
3069 [C99-based standards] (clog1pl): Likewise.
3070 [C99-based standards] (clog2l): Likewise.
3071 [C99-based standards] (clgammal): Likewise.
3072 [C99-based standards] (ctgammal): Likewise.
3073 * conform/data/inttypes.h-data [C99-based standards]: Include
3074 stdint.h-data. Remove all expectations for stdint.h contents.
3075 [C99-based standards] (PRI*): Do not allow.
3076 [C99-based standards] (SCN*): Likewise.
3077 [C99-based standards] (*_t): Likewise.
3078 [C99-based-standards] (PRId8): Expect macro.
3079 [C99-based-standards] (PRIi8): Likewise.
3080 [C99-based-standards] (PRIo8): Likewise.
3081 [C99-based-standards] (PRIu8): Likewise.
3082 [C99-based-standards] (PRIx8): Likewise.
3083 [C99-based-standards] (PRIX8): Likewise.
3084 [C99-based-standards] (SCNd8): Likewise.
3085 [C99-based-standards] (SCNi8): Likewise.
3086 [C99-based-standards] (SCNo8): Likewise.
3087 [C99-based-standards] (SCNu8): Likewise.
3088 [C99-based-standards] (SCNx8): Likewise.
3089 [C99-based-standards] (PRIdLEAST8): Likewise.
3090 [C99-based-standards] (PRIiLEAST8): Likewise.
3091 [C99-based-standards] (PRIoLEAST8): Likewise.
3092 [C99-based-standards] (PRIuLEAST8): Likewise.
3093 [C99-based-standards] (PRIxLEAST8): Likewise.
3094 [C99-based-standards] (PRIXLEAST8): Likewise.
3095 [C99-based-standards] (SCNdLEAST8): Likewise.
3096 [C99-based-standards] (SCNiLEAST8): Likewise.
3097 [C99-based-standards] (SCNoLEAST8): Likewise.
3098 [C99-based-standards] (SCNuLEAST8): Likewise.
3099 [C99-based-standards] (SCNxLEAST8): Likewise.
3100 [C99-based-standards] (PRIdFAST8): Likewise.
3101 [C99-based-standards] (PRIiFAST8): Likewise.
3102 [C99-based-standards] (PRIoFAST8): Likewise.
3103 [C99-based-standards] (PRIuFAST8): Likewise.
3104 [C99-based-standards] (PRIxFAST8): Likewise.
3105 [C99-based-standards] (PRIXFAST8): Likewise.
3106 [C99-based-standards] (SCNdFAST8): Likewise.
3107 [C99-based-standards] (SCNiFAST8): Likewise.
3108 [C99-based-standards] (SCNoFAST8): Likewise.
3109 [C99-based-standards] (SCNuFAST8): Likewise.
3110 [C99-based-standards] (SCNxFAST8): Likewise.
3111 [C99-based-standards] (PRId16): Likewise.
3112 [C99-based-standards] (PRIi16): Likewise.
3113 [C99-based-standards] (PRIo16): Likewise.
3114 [C99-based-standards] (PRIu16): Likewise.
3115 [C99-based-standards] (PRIx16): Likewise.
3116 [C99-based-standards] (PRIX16): Likewise.
3117 [C99-based-standards] (SCNd16): Likewise.
3118 [C99-based-standards] (SCNi16): Likewise.
3119 [C99-based-standards] (SCNo16): Likewise.
3120 [C99-based-standards] (SCNu16): Likewise.
3121 [C99-based-standards] (SCNx16): Likewise.
3122 [C99-based-standards] (PRIdLEAST16): Likewise.
3123 [C99-based-standards] (PRIiLEAST16): Likewise.
3124 [C99-based-standards] (PRIoLEAST16): Likewise.
3125 [C99-based-standards] (PRIuLEAST16): Likewise.
3126 [C99-based-standards] (PRIxLEAST16): Likewise.
3127 [C99-based-standards] (PRIXLEAST16): Likewise.
3128 [C99-based-standards] (SCNdLEAST16): Likewise.
3129 [C99-based-standards] (SCNiLEAST16): Likewise.
3130 [C99-based-standards] (SCNoLEAST16): Likewise.
3131 [C99-based-standards] (SCNuLEAST16): Likewise.
3132 [C99-based-standards] (SCNxLEAST16): Likewise.
3133 [C99-based-standards] (PRIdFAST16): Likewise.
3134 [C99-based-standards] (PRIiFAST16): Likewise.
3135 [C99-based-standards] (PRIoFAST16): Likewise.
3136 [C99-based-standards] (PRIuFAST16): Likewise.
3137 [C99-based-standards] (PRIxFAST16): Likewise.
3138 [C99-based-standards] (PRIXFAST16): Likewise.
3139 [C99-based-standards] (SCNdFAST16): Likewise.
3140 [C99-based-standards] (SCNiFAST16): Likewise.
3141 [C99-based-standards] (SCNoFAST16): Likewise.
3142 [C99-based-standards] (SCNuFAST16): Likewise.
3143 [C99-based-standards] (SCNxFAST16): Likewise.
3144 [C99-based-standards] (PRId32): Likewise.
3145 [C99-based-standards] (PRIi32): Likewise.
3146 [C99-based-standards] (PRIo32): Likewise.
3147 [C99-based-standards] (PRIu32): Likewise.
3148 [C99-based-standards] (PRIx32): Likewise.
3149 [C99-based-standards] (PRIX32): Likewise.
3150 [C99-based-standards] (SCNd32): Likewise.
3151 [C99-based-standards] (SCNi32): Likewise.
3152 [C99-based-standards] (SCNo32): Likewise.
3153 [C99-based-standards] (SCNu32): Likewise.
3154 [C99-based-standards] (SCNx32): Likewise.
3155 [C99-based-standards] (PRIdLEAST32): Likewise.
3156 [C99-based-standards] (PRIiLEAST32): Likewise.
3157 [C99-based-standards] (PRIoLEAST32): Likewise.
3158 [C99-based-standards] (PRIuLEAST32): Likewise.
3159 [C99-based-standards] (PRIxLEAST32): Likewise.
3160 [C99-based-standards] (PRIXLEAST32): Likewise.
3161 [C99-based-standards] (SCNdLEAST32): Likewise.
3162 [C99-based-standards] (SCNiLEAST32): Likewise.
3163 [C99-based-standards] (SCNoLEAST32): Likewise.
3164 [C99-based-standards] (SCNuLEAST32): Likewise.
3165 [C99-based-standards] (SCNxLEAST32): Likewise.
3166 [C99-based-standards] (PRIdFAST32): Likewise.
3167 [C99-based-standards] (PRIiFAST32): Likewise.
3168 [C99-based-standards] (PRIoFAST32): Likewise.
3169 [C99-based-standards] (PRIuFAST32): Likewise.
3170 [C99-based-standards] (PRIxFAST32): Likewise.
3171 [C99-based-standards] (PRIXFAST32): Likewise.
3172 [C99-based-standards] (SCNdFAST32): Likewise.
3173 [C99-based-standards] (SCNiFAST32): Likewise.
3174 [C99-based-standards] (SCNoFAST32): Likewise.
3175 [C99-based-standards] (SCNuFAST32): Likewise.
3176 [C99-based-standards] (SCNxFAST32): Likewise.
3177 [C99-based-standards] (PRId64): Likewise.
3178 [C99-based-standards] (PRIi64): Likewise.
3179 [C99-based-standards] (PRIo64): Likewise.
3180 [C99-based-standards] (PRIu64): Likewise.
3181 [C99-based-standards] (PRIx64): Likewise.
3182 [C99-based-standards] (PRIX64): Likewise.
3183 [C99-based-standards] (SCNd64): Likewise.
3184 [C99-based-standards] (SCNi64): Likewise.
3185 [C99-based-standards] (SCNo64): Likewise.
3186 [C99-based-standards] (SCNu64): Likewise.
3187 [C99-based-standards] (SCNx64): Likewise.
3188 [C99-based-standards] (PRIdLEAST64): Likewise.
3189 [C99-based-standards] (PRIiLEAST64): Likewise.
3190 [C99-based-standards] (PRIoLEAST64): Likewise.
3191 [C99-based-standards] (PRIuLEAST64): Likewise.
3192 [C99-based-standards] (PRIxLEAST64): Likewise.
3193 [C99-based-standards] (PRIXLEAST64): Likewise.
3194 [C99-based-standards] (SCNdLEAST64): Likewise.
3195 [C99-based-standards] (SCNiLEAST64): Likewise.
3196 [C99-based-standards] (SCNoLEAST64): Likewise.
3197 [C99-based-standards] (SCNuLEAST64): Likewise.
3198 [C99-based-standards] (SCNxLEAST64): Likewise.
3199 [C99-based-standards] (PRIdFAST64): Likewise.
3200 [C99-based-standards] (PRIiFAST64): Likewise.
3201 [C99-based-standards] (PRIoFAST64): Likewise.
3202 [C99-based-standards] (PRIuFAST64): Likewise.
3203 [C99-based-standards] (PRIxFAST64): Likewise.
3204 [C99-based-standards] (PRIXFAST64): Likewise.
3205 [C99-based-standards] (SCNdFAST64): Likewise.
3206 [C99-based-standards] (SCNiFAST64): Likewise.
3207 [C99-based-standards] (SCNoFAST64): Likewise.
3208 [C99-based-standards] (SCNuFAST64): Likewise.
3209 [C99-based-standards] (SCNxFAST64): Likewise.
3210 [C99-based-standards] (PRIdMAX): Likewise.
3211 [C99-based-standards] (PRIiMAX): Likewise.
3212 [C99-based-standards] (PRIoMAX): Likewise.
3213 [C99-based-standards] (PRIuMAX): Likewise.
3214 [C99-based-standards] (PRIxMAX): Likewise.
3215 [C99-based-standards] (PRIXMAX): Likewise.
3216 [C99-based-standards] (SCNdMAX): Likewise.
3217 [C99-based-standards] (SCNiMAX): Likewise.
3218 [C99-based-standards] (SCNoMAX): Likewise.
3219 [C99-based-standards] (SCNuMAX): Likewise.
3220 [C99-based-standards] (SCNxMAX): Likewise.
3221 [C99-based-standards] (PRIdPTR): Likewise.
3222 [C99-based-standards] (PRIiPTR): Likewise.
3223 [C99-based-standards] (PRIoPTR): Likewise.
3224 [C99-based-standards] (PRIuPTR): Likewise.
3225 [C99-based-standards] (PRIxPTR): Likewise.
3226 [C99-based-standards] (PRIXPTR): Likewise.
3227 [C99-based-standards] (SCNdPTR): Likewise.
3228 [C99-based-standards] (SCNiPTR): Likewise.
3229 [C99-based-standards] (SCNoPTR): Likewise.
3230 [C99-based-standards] (SCNuPTR): Likewise.
3231 [C99-based-standards] (SCNxPTR): Likewise.
3232 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3233 allow.
3234 * conform/data/stdint.h-data: Update comments to clarify
3235 requirements.
3236 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3237 type.
3238 [C99-based standards] (INT8_MAX): Likewise.
3239 [C99-based standards] (INT16_MIN): Likewise.
3240 [C99-based standards] (INT16_MAX): Likewise.
3241 [C99-based standards] (INT32_MIN): Likewise.
3242 [C99-based standards] (INT32_MAX): Likewise.
3243 [C99-based standards] (INT64_MIN): Likewise.
3244 [C99-based standards] (INT64_MAX): Likewise.
3245 [C99-based standards] (UINT8_MAX): Likewise.
3246 [C99-based standards] (UINT16_MAX): Likewise.
3247 [C99-based standards] (UINT32_MAX): Likewise.
3248 [C99-based standards] (UINT64_MAX): Likewise.
3249 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3250 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3251 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3252 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3253 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3254 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3255 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3256 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3257 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3258 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3259 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3260 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3261 [C99-based standards] (INT_FAST8_MIN): Likewise.
3262 [C99-based standards] (INT_FAST8_MAX): Likewise.
3263 [C99-based standards] (INT_FAST16_MIN): Likewise.
3264 [C99-based standards] (INT_FAST16_MAX): Likewise.
3265 [C99-based standards] (INT_FAST32_MIN): Likewise.
3266 [C99-based standards] (INT_FAST32_MAX): Likewise.
3267 [C99-based standards] (INT_FAST64_MIN): Likewise.
3268 [C99-based standards] (INT_FAST64_MAX): Likewise.
3269 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3270 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3271 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3272 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3273 [C99-based standards] (INTPTR_MIN): Likewise.
3274 [C99-based standards] (INTPTR_MAX): Likewise.
3275 [C99-based standards] (UINTPTR_MAX): Likewise.
3276 [C99-based standards] (INTMAX_MIN): Likewise.
3277 [C99-based standards] (INTMAX_MAX): Likewise.
3278 [C99-based standards] (UINTMAX_MAX): Likewise.
3279 [C99-based standards] (PTRDIFF_MIN): Likewise.
3280 [C99-based standards] (PTRDIFF_MAX): Likewise.
3281 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3282 [C99-based standards] (SIZE_MAX): Likewise.
3283 [C99-based standards] (WCHAR_MAX): Likewise.
3284 [C99-based standards] (WINT_MAX): Likewise.
3285 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3286 constraint on value.
3287 [C99-based standards] (WCHAR_MIN): Likewise.
3288 [C99-based standards] (WINT_MIN): Likewise.
3289 [C99-based standards] (*_t): Allow.
3290 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3291 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3292 Include math.h-data and complex.h-data. Remove all expectations
3293 of math.h and complex.h contents.
3294 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3295 at end of line.
3296 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3297 (struct tm): Expect tag.
3298 [C99-based-standards] (wcstof): Expect function.
3299 [C99-based-standards] (wcstold): Likewise.
3300 [C99-based-standards] (wcstoll): Likewise.
3301 [C99-based-standards] (wcstoull): Likewise.
3302 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3303 macro-int-constant. Specify type.
3304 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3305 constraint on value.
3306 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3307 Specify type.
3308 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3309 Specify value.
3310 [ISO C standards]: Do not allow headers.
3311 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3312 wcs[abcdefghijklmnopqrstuvwxyz]*.
3313 [ISO C standards] (*_t): Do not allow.
3314 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3315 Expect function.
3316 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3317 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3318 Specify type.
3319 [ISO C standards]: Do not allow headers.
3320 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3321 is[abcdefghijklmnopqrstuvwxyz]*.
3322 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3323 to[abcdefghijklmnopqrstuvwxyz]*.
3324 [ISO C standards] (*_t): Do not allow.
3325 * conform/data/stdalign.h-data: New file.
3326 * conform/data/stdbool.h-data: Likewise.
3327 * conform/data/stdnoreturn.h-data: Likewise.
3328
3329 2012-11-07 Roland McGrath <roland@hack.frob.com>
3330
3331 [BZ #14815]
3332 * manual/filesys.texi (Directory Entries): Typo fix.
3333 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3334
3335 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3336
3337 * elf/elf.h (EM_AARCH64): New macro.
3338 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3339 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3340 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3341 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3342 (R_AARCH64_TLSDESC): Likewise.
3343 (NT_ARM_TLS): Likewise.
3344 (NT_ARM_HW_BREAK): Likewise.
3345 (NT_ARM_HW_WATCH): Likewise.
3346
3347 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3348
3349 [BZ #14811]
3350 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3351 (__ieee754_powl): Saturate nonzero exponents with absolute value
3352 below 0x1p-79 to +/- 0x1p-79.
3353 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3354 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3355 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3356 nonzero exponents with absolute value below 0x1p-32 to +/-
3357 0x1p-32.
3358 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3359 (__ieee754_powl): Saturate nonzero exponents with absolute value
3360 below 0x1p-79 to +/- 0x1p-79.
3361 * math/libm-test.inc (pow_test): Add more tests.
3362
3363 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3364
3365 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3366 _dl_s390_cap_flags with kernel. Increase string length.
3367 (_dl_s390_platforms): Add z196 and zEC12.
3368
3369 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3370
3371 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3372 Change XOPEN21K to XOPEN2K.
3373
3374 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3375
3376 * string/memmove.c: Use memcpy when possible.
3377
3378 2012-11-06 Andreas Jaeger <aj@suse.de>
3379
3380 * po/eo.po: Update from translation team.
3381
3382 2012-11-06 Joseph Myers <joseph@codesourcery.com>
3383
3384 [BZ #14793]
3385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3386 exponent and small x and y exponents, scale x or y up. Increase
3387 by 2 the exponent used in scaling up.
3388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3389 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3390 * math/libm-test.inc (fma_test): Add more tests.
3391 (fma_test_towardzero): Likewise.
3392 (fma_test_downward): Likewise.
3393 (fma_test_upward): Likewise.
3394
3395 2012-11-05 Joseph Myers <joseph@codesourcery.com>
3396
3397 [BZ #14805]
3398 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3399 fenv_t *.
3400
3401 [BZ #14801]
3402 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3403 namespace for names of struct fields.
3404 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3405 fenv_t fields.
3406 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3407 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3408
3409 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3410
3411 [BZ #3665]
3412 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3413
3414 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3415
3416 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3417 PTR_DEMANGLE.
3418
3419 [BZ #5246]
3420 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3421 PTR_DEMANGLE.
3422
3423 2012-11-04 Joseph Myers <joseph@codesourcery.com>
3424
3425 [BZ #14797]
3426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3427 definitely overflow as x * y not x * y + z.
3428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3429 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3430 * math/libm-test.inc (fma_test): Add more tests.
3431 (fma_test_towardzero): Likewise.
3432 (fma_test_downward): Likewise.
3433 (fma_test_upward): Likewise.
3434
3435 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3436
3437 [BZ #157]
3438
3439 * include/stub-tag.h: Remove file.
3440 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3441 '#include' of it.
3442 * manual/maint.texi (Porting): Don't reference it.
3443 * Makerules ($(objpfx)stubs): Likewise.
3444 * dirent/closedir.c: Don't include <stub-tag.h>.
3445 * dirent/dirfd.c: Likewise.
3446 * dirent/fdopendir.c: Likewise.
3447 * dirent/getdents.c: Likewise.
3448 * dirent/getdents64.c: Likewise.
3449 * dirent/opendir.c: Likewise.
3450 * dirent/readdir.c: Likewise.
3451 * dirent/readdir64.c: Likewise.
3452 * dirent/readdir64_r.c: Likewise.
3453 * dirent/readdir_r.c: Likewise.
3454 * dirent/rewinddir.c: Likewise.
3455 * dirent/seekdir.c: Likewise.
3456 * dirent/telldir.c: Likewise.
3457 * gmon/profil.c: Likewise.
3458 * grp/setgroups.c: Likewise.
3459 * inet/if_index.c: Likewise.
3460 * io/access.c: Likewise.
3461 * io/chdir.c: Likewise.
3462 * io/chmod.c: Likewise.
3463 * io/chown.c: Likewise.
3464 * io/close.c: Likewise.
3465 * io/dup.c: Likewise.
3466 * io/dup2.c: Likewise.
3467 * io/dup3.c: Likewise.
3468 * io/euidaccess.c: Likewise.
3469 * io/faccessat.c: Likewise.
3470 * io/fchdir.c: Likewise.
3471 * io/fchmod.c: Likewise.
3472 * io/fchmodat.c: Likewise.
3473 * io/fchown.c: Likewise.
3474 * io/fchownat.c: Likewise.
3475 * io/fcntl.c: Likewise.
3476 * io/flock.c: Likewise.
3477 * io/fstatfs.c: Likewise.
3478 * io/fstatfs64.c: Likewise.
3479 * io/fstatvfs.c: Likewise.
3480 * io/fstatvfs64.c: Likewise.
3481 * io/futimens.c: Likewise.
3482 * io/fxstat.c: Likewise.
3483 * io/fxstat64.c: Likewise.
3484 * io/fxstatat.c: Likewise.
3485 * io/fxstatat64.c: Likewise.
3486 * io/getcwd.c: Likewise.
3487 * io/isatty.c: Likewise.
3488 * io/lchmod.c: Likewise.
3489 * io/lchown.c: Likewise.
3490 * io/link.c: Likewise.
3491 * io/linkat.c: Likewise.
3492 * io/lseek.c: Likewise.
3493 * io/lseek64.c: Likewise.
3494 * io/lxstat64.c: Likewise.
3495 * io/mkdir.c: Likewise.
3496 * io/mkdirat.c: Likewise.
3497 * io/mkfifo.c: Likewise.
3498 * io/mkfifoat.c: Likewise.
3499 * io/open.c: Likewise.
3500 * io/open64.c: Likewise.
3501 * io/openat.c: Likewise.
3502 * io/openat64.c: Likewise.
3503 * io/pipe.c: Likewise.
3504 * io/pipe2.c: Likewise.
3505 * io/poll.c: Likewise.
3506 * io/posix_fadvise.c: Likewise.
3507 * io/posix_fadvise64.c: Likewise.
3508 * io/posix_fallocate.c: Likewise.
3509 * io/posix_fallocate64.c: Likewise.
3510 * io/read.c: Likewise.
3511 * io/readlink.c: Likewise.
3512 * io/readlinkat.c: Likewise.
3513 * io/rmdir.c: Likewise.
3514 * io/sendfile.c: Likewise.
3515 * io/sendfile64.c: Likewise.
3516 * io/statfs.c: Likewise.
3517 * io/statfs64.c: Likewise.
3518 * io/statvfs.c: Likewise.
3519 * io/statvfs64.c: Likewise.
3520 * io/symlink.c: Likewise.
3521 * io/symlinkat.c: Likewise.
3522 * io/ttyname.c: Likewise.
3523 * io/ttyname_r.c: Likewise.
3524 * io/umask.c: Likewise.
3525 * io/unlink.c: Likewise.
3526 * io/unlinkat.c: Likewise.
3527 * io/utime.c: Likewise.
3528 * io/utimensat.c: Likewise.
3529 * io/write.c: Likewise.
3530 * io/xmknod.c: Likewise.
3531 * io/xmknodat.c: Likewise.
3532 * io/xstat.c: Likewise.
3533 * io/xstat64.c: Likewise.
3534 * login/getpt.c: Likewise.
3535 * login/grantpt.c: Likewise.
3536 * login/unlockpt.c: Likewise.
3537 * math/e_acoshl.c: Likewise.
3538 * math/e_acosl.c: Likewise.
3539 * math/e_asinl.c: Likewise.
3540 * math/e_atan2l.c: Likewise.
3541 * math/e_atanhl.c: Likewise.
3542 * math/e_coshl.c: Likewise.
3543 * math/e_expl.c: Likewise.
3544 * math/e_fmodl.c: Likewise.
3545 * math/e_gammal_r.c: Likewise.
3546 * math/e_hypotl.c: Likewise.
3547 * math/e_j0l.c: Likewise.
3548 * math/e_j1l.c: Likewise.
3549 * math/e_jnl.c: Likewise.
3550 * math/e_lgammal_r.c: Likewise.
3551 * math/e_log10l.c: Likewise.
3552 * math/e_log2l.c: Likewise.
3553 * math/e_logl.c: Likewise.
3554 * math/e_powl.c: Likewise.
3555 * math/e_rem_pio2l.c: Likewise.
3556 * math/e_sinhl.c: Likewise.
3557 * math/e_sqrtl.c: Likewise.
3558 * math/fclrexcpt.c: Likewise.
3559 * math/fedisblxcpt.c: Likewise.
3560 * math/feenablxcpt.c: Likewise.
3561 * math/fegetenv.c: Likewise.
3562 * math/fegetexcept.c: Likewise.
3563 * math/fegetround.c: Likewise.
3564 * math/feholdexcpt.c: Likewise.
3565 * math/fesetenv.c: Likewise.
3566 * math/fesetround.c: Likewise.
3567 * math/feupdateenv.c: Likewise.
3568 * math/fgetexcptflg.c: Likewise.
3569 * math/fraiseexcpt.c: Likewise.
3570 * math/fsetexcptflg.c: Likewise.
3571 * math/ftestexcept.c: Likewise.
3572 * math/k_cosl.c: Likewise.
3573 * math/k_rem_pio2l.c: Likewise.
3574 * math/k_sinl.c: Likewise.
3575 * math/k_tanl.c: Likewise.
3576 * math/s_asinhl.c: Likewise.
3577 * math/s_atanl.c: Likewise.
3578 * math/s_cbrtl.c: Likewise.
3579 * math/s_erfl.c: Likewise.
3580 * math/s_expm1l.c: Likewise.
3581 * math/s_log1pl.c: Likewise.
3582 * math/s_tanhl.c: Likewise.
3583 * misc/acct.c: Likewise.
3584 * misc/brk.c: Likewise.
3585 * misc/chflags.c: Likewise.
3586 * misc/chroot.c: Likewise.
3587 * misc/fchflags.c: Likewise.
3588 * misc/fgetxattr.c: Likewise.
3589 * misc/flistxattr.c: Likewise.
3590 * misc/fremovexattr.c: Likewise.
3591 * misc/fsetxattr.c: Likewise.
3592 * misc/fsync.c: Likewise.
3593 * misc/ftruncate.c: Likewise.
3594 * misc/futimes.c: Likewise.
3595 * misc/futimesat.c: Likewise.
3596 * misc/getdomain.c: Likewise.
3597 * misc/getdtsz.c: Likewise.
3598 * misc/gethostid.c: Likewise.
3599 * misc/gethostname.c: Likewise.
3600 * misc/getloadavg.c: Likewise.
3601 * misc/getpagesize.c: Likewise.
3602 * misc/getsysstats.c: Likewise.
3603 * misc/getxattr.c: Likewise.
3604 * misc/gtty.c: Likewise.
3605 * misc/ioctl.c: Likewise.
3606 * misc/lgetxattr.c: Likewise.
3607 * misc/listxattr.c: Likewise.
3608 * misc/llistxattr.c: Likewise.
3609 * misc/lremovexattr.c: Likewise.
3610 * misc/lsetxattr.c: Likewise.
3611 * misc/lutimes.c: Likewise.
3612 * misc/madvise.c: Likewise.
3613 * misc/mincore.c: Likewise.
3614 * misc/mlock.c: Likewise.
3615 * misc/mlockall.c: Likewise.
3616 * misc/mmap.c: Likewise.
3617 * misc/mprotect.c: Likewise.
3618 * misc/msync.c: Likewise.
3619 * misc/munlock.c: Likewise.
3620 * misc/munlockall.c: Likewise.
3621 * misc/munmap.c: Likewise.
3622 * misc/preadv.c: Likewise.
3623 * misc/preadv64.c: Likewise.
3624 * misc/ptrace.c: Likewise.
3625 * misc/pwritev.c: Likewise.
3626 * misc/pwritev64.c: Likewise.
3627 * misc/readv.c: Likewise.
3628 * misc/reboot.c: Likewise.
3629 * misc/remap_file_pages.c: Likewise.
3630 * misc/removexattr.c: Likewise.
3631 * misc/revoke.c: Likewise.
3632 * misc/select.c: Likewise.
3633 * misc/setdomain.c: Likewise.
3634 * misc/setegid.c: Likewise.
3635 * misc/seteuid.c: Likewise.
3636 * misc/sethostid.c: Likewise.
3637 * misc/sethostname.c: Likewise.
3638 * misc/setregid.c: Likewise.
3639 * misc/setreuid.c: Likewise.
3640 * misc/setxattr.c: Likewise.
3641 * misc/sstk.c: Likewise.
3642 * misc/stty.c: Likewise.
3643 * misc/swapoff.c: Likewise.
3644 * misc/swapon.c: Likewise.
3645 * misc/sync.c: Likewise.
3646 * misc/syncfs.c: Likewise.
3647 * misc/syscall.c: Likewise.
3648 * misc/truncate.c: Likewise.
3649 * misc/ualarm.c: Likewise.
3650 * misc/usleep.c: Likewise.
3651 * misc/ustat.c: Likewise.
3652 * misc/utimes.c: Likewise.
3653 * misc/vhangup.c: Likewise.
3654 * misc/writev.c: Likewise.
3655 * posix/_exit.c: Likewise.
3656 * posix/alarm.c: Likewise.
3657 * posix/execve.c: Likewise.
3658 * posix/fexecve.c: Likewise.
3659 * posix/fork.c: Likewise.
3660 * posix/fpathconf.c: Likewise.
3661 * posix/getaddrinfo.c: Likewise.
3662 * posix/getegid.c: Likewise.
3663 * posix/geteuid.c: Likewise.
3664 * posix/getgid.c: Likewise.
3665 * posix/getgroups.c: Likewise.
3666 * posix/getlogin.c: Likewise.
3667 * posix/getlogin_r.c: Likewise.
3668 * posix/getpgid.c: Likewise.
3669 * posix/getpid.c: Likewise.
3670 * posix/getppid.c: Likewise.
3671 * posix/getresgid.c: Likewise.
3672 * posix/getresuid.c: Likewise.
3673 * posix/getsid.c: Likewise.
3674 * posix/getuid.c: Likewise.
3675 * posix/glob64.c: Likewise.
3676 * posix/nanosleep.c: Likewise.
3677 * posix/pathconf.c: Likewise.
3678 * posix/pause.c: Likewise.
3679 * posix/posix_madvise.c: Likewise.
3680 * posix/pread.c: Likewise.
3681 * posix/pread64.c: Likewise.
3682 * posix/pwrite.c: Likewise.
3683 * posix/pwrite64.c: Likewise.
3684 * posix/sched_getaffinity.c: Likewise.
3685 * posix/sched_getp.c: Likewise.
3686 * posix/sched_gets.c: Likewise.
3687 * posix/sched_primax.c: Likewise.
3688 * posix/sched_primin.c: Likewise.
3689 * posix/sched_rr_gi.c: Likewise.
3690 * posix/sched_setaffinity.c: Likewise.
3691 * posix/sched_setp.c: Likewise.
3692 * posix/sched_sets.c: Likewise.
3693 * posix/sched_yield.c: Likewise.
3694 * posix/setgid.c: Likewise.
3695 * posix/setlogin.c: Likewise.
3696 * posix/setpgid.c: Likewise.
3697 * posix/setresgid.c: Likewise.
3698 * posix/setresuid.c: Likewise.
3699 * posix/setsid.c: Likewise.
3700 * posix/setuid.c: Likewise.
3701 * posix/sleep.c: Likewise.
3702 * posix/spawni.c: Likewise.
3703 * posix/sysconf.c: Likewise.
3704 * posix/times.c: Likewise.
3705 * posix/wait.c: Likewise.
3706 * posix/wait3.c: Likewise.
3707 * posix/wait4.c: Likewise.
3708 * posix/waitpid.c: Likewise.
3709 * resolv/gai_sigqueue.c: Likewise.
3710 * resource/getpriority.c: Likewise.
3711 * resource/getrlimit.c: Likewise.
3712 * resource/getrusage.c: Likewise.
3713 * resource/nice.c: Likewise.
3714 * resource/setpriority.c: Likewise.
3715 * resource/setrlimit.c: Likewise.
3716 * resource/ulimit.c: Likewise.
3717 * rt/aio_cancel.c: Likewise.
3718 * rt/aio_fsync.c: Likewise.
3719 * rt/aio_read.c: Likewise.
3720 * rt/aio_sigqueue.c: Likewise.
3721 * rt/aio_suspend.c: Likewise.
3722 * rt/aio_write.c: Likewise.
3723 * rt/clock_getres.c: Likewise.
3724 * rt/clock_gettime.c: Likewise.
3725 * rt/clock_nanosleep.c: Likewise.
3726 * rt/clock_settime.c: Likewise.
3727 * rt/lio_listio.c: Likewise.
3728 * rt/mq_close.c: Likewise.
3729 * rt/mq_getattr.c: Likewise.
3730 * rt/mq_notify.c: Likewise.
3731 * rt/mq_open.c: Likewise.
3732 * rt/mq_receive.c: Likewise.
3733 * rt/mq_send.c: Likewise.
3734 * rt/mq_setattr.c: Likewise.
3735 * rt/mq_timedreceive.c: Likewise.
3736 * rt/mq_timedsend.c: Likewise.
3737 * rt/mq_unlink.c: Likewise.
3738 * rt/shm_open.c: Likewise.
3739 * rt/shm_unlink.c: Likewise.
3740 * rt/timer_create.c: Likewise.
3741 * rt/timer_delete.c: Likewise.
3742 * rt/timer_getoverr.c: Likewise.
3743 * rt/timer_gettime.c: Likewise.
3744 * rt/timer_settime.c: Likewise.
3745 * setjmp/__longjmp.c: Likewise.
3746 * setjmp/setjmp.c: Likewise.
3747 * signal/kill.c: Likewise.
3748 * signal/killpg.c: Likewise.
3749 * signal/raise.c: Likewise.
3750 * signal/sigaction.c: Likewise.
3751 * signal/sigaltstack.c: Likewise.
3752 * signal/sigblock.c: Likewise.
3753 * signal/sigignore.c: Likewise.
3754 * signal/sigintr.c: Likewise.
3755 * signal/signal.c: Likewise.
3756 * signal/sigpause.c: Likewise.
3757 * signal/sigpending.c: Likewise.
3758 * signal/sigqueue.c: Likewise.
3759 * signal/sigreturn.c: Likewise.
3760 * signal/sigset.c: Likewise.
3761 * signal/sigsetmask.c: Likewise.
3762 * signal/sigstack.c: Likewise.
3763 * signal/sigsuspend.c: Likewise.
3764 * signal/sigtimedwait.c: Likewise.
3765 * signal/sigvec.c: Likewise.
3766 * signal/sigwait.c: Likewise.
3767 * signal/sigwaitinfo.c: Likewise.
3768 * signal/sysv_signal.c: Likewise.
3769 * socket/accept.c: Likewise.
3770 * socket/accept4.c: Likewise.
3771 * socket/bind.c: Likewise.
3772 * socket/connect.c: Likewise.
3773 * socket/getpeername.c: Likewise.
3774 * socket/getsockname.c: Likewise.
3775 * socket/getsockopt.c: Likewise.
3776 * socket/isfdtype.c: Likewise.
3777 * socket/listen.c: Likewise.
3778 * socket/recv.c: Likewise.
3779 * socket/recvfrom.c: Likewise.
3780 * socket/recvmsg.c: Likewise.
3781 * socket/send.c: Likewise.
3782 * socket/sendmsg.c: Likewise.
3783 * socket/sendto.c: Likewise.
3784 * socket/setsockopt.c: Likewise.
3785 * socket/shutdown.c: Likewise.
3786 * socket/sockatmark.c: Likewise.
3787 * socket/socket.c: Likewise.
3788 * socket/socketpair.c: Likewise.
3789 * stdio-common/ctermid.c: Likewise.
3790 * stdio-common/cuserid.c: Likewise.
3791 * stdio-common/remove.c: Likewise.
3792 * stdio-common/rename.c: Likewise.
3793 * stdio-common/renameat.c: Likewise.
3794 * stdio-common/tempname.c: Likewise.
3795 * stdlib/getcontext.c: Likewise.
3796 * stdlib/makecontext.c: Likewise.
3797 * stdlib/setcontext.c: Likewise.
3798 * stdlib/swapcontext.c: Likewise.
3799 * stdlib/system.c: Likewise.
3800 * streams/fattach.c: Likewise.
3801 * streams/fdetach.c: Likewise.
3802 * streams/getmsg.c: Likewise.
3803 * streams/getpmsg.c: Likewise.
3804 * streams/putmsg.c: Likewise.
3805 * streams/putpmsg.c: Likewise.
3806 * sysdeps/unix/bsd/getpt.c: Likewise.
3807 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3808 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3809 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3811 Likewise.
3812 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3813 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3814 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3815 * sysvipc/msgctl.c: Likewise.
3816 * sysvipc/msgget.c: Likewise.
3817 * sysvipc/msgrcv.c: Likewise.
3818 * sysvipc/msgsnd.c: Likewise.
3819 * sysvipc/semctl.c: Likewise.
3820 * sysvipc/semget.c: Likewise.
3821 * sysvipc/semop.c: Likewise.
3822 * sysvipc/semtimedop.c: Likewise.
3823 * sysvipc/shmat.c: Likewise.
3824 * sysvipc/shmctl.c: Likewise.
3825 * sysvipc/shmdt.c: Likewise.
3826 * sysvipc/shmget.c: Likewise.
3827 * termios/tcdrain.c: Likewise.
3828 * termios/tcflow.c: Likewise.
3829 * termios/tcflush.c: Likewise.
3830 * termios/tcgetattr.c: Likewise.
3831 * termios/tcgetpgrp.c: Likewise.
3832 * termios/tcsendbrk.c: Likewise.
3833 * termios/tcsetattr.c: Likewise.
3834 * termios/tcsetpgrp.c: Likewise.
3835 * time/adjtime.c: Likewise.
3836 * time/clock.c: Likewise.
3837 * time/getitimer.c: Likewise.
3838 * time/gettimeofday.c: Likewise.
3839 * time/setitimer.c: Likewise.
3840 * time/settimeofday.c: Likewise.
3841 * time/stime.c: Likewise.
3842 * time/time.c: Likewise.
3843
3844 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
3845
3846 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3847 /usr/old/bin.
3848
3849 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3850 instead of spaces.
3851 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3852
3853 2012-11-03 Joseph Myers <joseph@codesourcery.com>
3854
3855 [BZ #14796]
3856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3857 FE_TONEAREST before applying Dekker multiplication and Knuth
3858 addition. Clear inexact exceptions and check for exact zero
3859 results afterwards.
3860 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3861 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3863 * math/libm-test.inc (fma_test): Add more tests.
3864 (fma_test_towardzero): Likewise.
3865 (fma_test_downward): Likewise.
3866 (fma_test_upward): Likewise.
3867 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3868 function.
3869 (libc_fesetround): New macro.
3870 (libc_fesetroundf): Likewise.
3871 (libc_fesetroundl): Likewise.
3872 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3873 function.
3874 (libc_fesetround_387): Likewise.
3875 (libc_fesetroundf): New macro.
3876 (libc_fesetround): Likewise.
3877 (libc_fesetroundl): Likewise.
3878 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3879 function.
3880 (libc_fesetroundf): New macro.
3881 (libc_fesetround): Likewise.
3882 (libc_fesetroundl): Likewise.
3883 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3884 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3885 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3886 libm_hidden_ver.
3887 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3888 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3889 libm_hidden_def.
3890 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3891 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3892 libm_hidden_ver.
3893 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3894 libm_hidden_def.
3895
3896 [BZ #3439]
3897 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3898 integer constant usable in #if and use that to give value to enum
3899 constant.
3900 (FE_DIVBYZERO): Likewise.
3901 (FE_UNDERFLOW): Likewise.
3902 (FE_OVERFLOW): Likewise.
3903 (FE_INVALID): Likewise.
3904 (FE_INVALID_SNAN): Likewise.
3905 (FE_INVALID_ISI): Likewise.
3906 (FE_INVALID_IDI): Likewise.
3907 (FE_INVALID_ZDZ): Likewise.
3908 (FE_INVALID_IMZ): Likewise.
3909 (FE_INVALID_COMPARE): Likewise.
3910 (FE_INVALID_SOFTWARE): Likewise.
3911 (FE_INVALID_SQRT): Likewise.
3912 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3913 (FE_TONEAREST): Likewise.
3914 (FE_TOWARDZERO): Likewise.
3915 (FE_UPWARD): Likewise.
3916 (FE_DOWNWARD): Likewise.
3917 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3918 (FE_DIVBYZERO): Likewise.
3919 (FE_OVERFLOW): Likewise.
3920 (FE_UNDERFLOW): Likewise.
3921 (FE_INEXACT): Likewise.
3922 (FE_TONEAREST): Likewise.
3923 (FE_DOWNWARD): Likewise.
3924 (FE_UPWARD): Likewise.
3925 (FE_TOWARDZERO): Likewise.
3926 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3927 (FE_UNDERFLOW): Likewise.
3928 (FE_OVERFLOW): Likewise.
3929 (FE_DIVBYZERO): Likewise.
3930 (FE_INVALID): Likewise.
3931 (FE_TONEAREST): Likewise.
3932 (FE_TOWARDZERO): Likewise.
3933 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3934 (FE_OVERFLOW): Likewise.
3935 (FE_UNDERFLOW): Likewise.
3936 (FE_DIVBYZERO): Likewise.
3937 (FE_INEXACT): Likewise.
3938 (FE_TONEAREST): Likewise.
3939 (FE_TOWARDZERO): Likewise.
3940 (FE_UPWARD): Likewise.
3941 (FE_DOWNWARD): Likewise.
3942 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3943 (FE_DIVBYZERO): Likewise.
3944 (FE_OVERFLOW): Likewise.
3945 (FE_UNDERFLOW): Likewise.
3946 (FE_INEXACT): Likewise.
3947 (FE_TONEAREST): Likewise.
3948 (FE_DOWNWARD): Likewise.
3949 (FE_UPWARD): Likewise.
3950 (FE_TOWARDZERO): Likewise.
3951
3952 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3953
3954 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3955
3956 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3957
3958 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3959 commands. Quote $PWD.
3960 (blacklist_exports): Don't use remove_newlines. Replace "declare
3961 -x" by "export".
3962 (remove_newlines): Remove.
3963
3964 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3965
3966 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3967 * stdlib/stdlib.h (atof): Moved to ...
3968 * include/bits/stdlib-float.h: Here. New file.
3969 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3970 * stdlib/bits/stdlib-float.h: New file.
3971 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3972 -mno-sse -mno-mmx.
3973 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3974 <xmmintrin.h>.
3975
3976 2012-11-02 Joseph Myers <joseph@codesourcery.com>
3977
3978 * conform/conformtest.pl (@headers): Add fenv.h.
3979 * conform/data/fenv.h-data: New file.
3980 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3981 include of <math/fenv.h>.
3982
3983 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3984 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3985 && !UNIX98]. Enables tests for XOPEN2K8.
3986 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3987 POSIX2008]: Likewise.
3988
3989 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3990 (struct rusage): Do not expect type or its members.
3991
3992 [BZ #3439]
3993 * math/math.h (FP_NAN): Define macro to integer constant usable in
3994 #if and use that to give value to enum constant.
3995 (FP_INFINITE): Likewise.
3996 (FP_ZERO): Likewise.
3997 (FP_SUBNORMAL): Likewise.
3998 (FP_NORMAL): Likewise.
3999
4000 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4001
4002 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4003 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4004 arguments.
4005
4006 2012-11-02 Roland McGrath <roland@hack.frob.com>
4007
4008 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4009 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4010 autoconf-time if not.
4011 * configure.in: Remove AC_PREREQ.
4012
4013 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4014
4015 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4016 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4017 of the internal implementation.
4018
4019 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4020
4021 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4022 except include of <misc/sys/syslog.h>.
4023
4024 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4025
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4027 function returns with a NULL context exit with zero.
4028
4029 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4030
4031 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4032
4033 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4034
4035 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4036 (run_program_cmd): This.
4037 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4038 (tst_langinfo): New variable. Use it.
4039
4040 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4041
4042 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4043 floating point opcodes.
4044
4045 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4046
4047 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4048 variable.
4049
4050 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4051
4052 * sysdeps/mach/hurd/powerpc: Remove directory.
4053 * sysdeps/mach/powerpc: Likewise.
4054
4055 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4056
4057 * scripts/check-local-headers.sh: Ignore c++ headers.
4058
4059 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4060
4061 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4062 __libc_cleanup_region_start argument.
4063
4064 2012-11-01 Joseph Myers <joseph@codesourcery.com>
4065
4066 [BZ #14784]
4067 [BZ #14785]
4068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4069 x * y using scaling, not as x * y + z.
4070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4071 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4072 * math/libm-test.inc (fma_test): Add more tests.
4073 (fma_test_towardzero): Likewise.
4074 (fma_test_downward): Likewise.
4075 (fma_test_upward): Likewise.
4076
4077 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4078
4079 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4080
4081 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4082
4083 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4084 New variable.
4085
4086 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4087
4088 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4089
4090 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4091
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4093 Fix sort order.
4094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4095 Likewise.
4096
4097 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4098
4099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4100 Fix the order of the list for glibc 2.17.
4101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4102 Likewise.
4103
4104 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4105
4106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4107
4108 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4109
4110 [BZ #14610]
4111 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4112 for low part of x being zero before using __atanl (y).
4113 * math/libm-test.inc (atan2_test): Add another test.
4114
4115 * manual/install.texi (Configuring and compiling): Document
4116 general use of test-wrapper and test-wrapper-env.
4117 * INSTALL: Regenerated.
4118
4119 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4120 (__fma): Do not extract and scale down low bits on after-rounding
4121 systems when result rounded to normal precision would have normal
4122 exponent.
4123 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4124 (__fmal): Do not extract and scale down low bits on after-rounding
4125 systems when result rounded to normal precision would have normal
4126 exponent.
4127 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4128 (__fmal): Do not extract and scale down low bits on after-rounding
4129 systems when result rounded to normal precision would have normal
4130 exponent.
4131 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4132 macro.
4133 (fma_test): Add more tests.
4134 (fma_test_towardzero): Likewise.
4135 (fma_test_downward): Likewise.
4136 (fma_test_upward): Likewise.
4137
4138 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4139
4140 * sysdeps/i386/tininess.h: Renamed to ...
4141 * sysdeps/x86/tininess.h: This.
4142 * sysdeps/x86_64/tininess.h: Removed.
4143
4144 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4145
4146 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4147 input. Use $(build-program-cmd).
4148 ($(objpfx)tst-array1-static.out): Likewise.
4149 ($(objpfx)tst-array2.out): Likewise.
4150 ($(objpfx)tst-array3.out): Likewise.
4151 ($(objpfx)tst-array4.out): Likewise.
4152 ($(objpfx)tst-array5.out): Likewise.
4153 ($(objpfx)tst-array5-static.out): Likewise.
4154
4155 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4156
4157 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4158 if defined.
4159
4160 * nss/nsswitch.h (nss_interface_function): Provide new
4161 macro for use with NSS functions.
4162 * grp/initgroups.c: Use new macro.
4163 * nss/getXXbyYY.c: Likewise.
4164 * nss/getXXbyYY_r.c: Likewise.
4165 * nss/getXXent.c: Likewise.
4166 * nss/getXXent_r.c: Likewise.
4167 * sysdeps/posix/getaddrinfo.c: Likewise.
4168
4169 2012-10-30 Andreas Jaeger <aj@suse.de>
4170
4171 * po/ru.po: Update Russion translation from translation project.
4172
4173 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4174
4175 [BZ #14152]
4176 [BZ #14783]
4177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4178 result and shift together with sticky bit instead of replicating
4179 round-to-nearest rounding.
4180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4181 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4182 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4183 missing underflow exceptions.
4184 (fma_test_towardzero): Add more tests.
4185 (fma_test_downward): Likewise.
4186 (fma_test_upward): Likewise.
4187
4188 [BZ #14047]
4189 * sysdeps/generic/tininess.h: New file.
4190 * sysdeps/i386/tininess.h: Likewise.
4191 * sysdeps/sh/tininess.h: Likewise.
4192 * sysdeps/x86_64/tininess.h: Likewise.
4193 * stdlib/tst-strtod-underflow.c: Likewise.
4194 * stdlib/tst-tininess.c: Likewise.
4195 * stdlib/strtod_l.c: Include <tininess.h>.
4196 (round_and_return): Do not set errno for exact underflow cases.
4197 Force an underflow exception when setting errno for underflow.
4198 Determine underflow based on rounding to normal precision if
4199 TININESS_AFTER_ROUNDING.
4200 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4201 ERANGE for exact underflow cases.
4202 * stdlib/Makefile (tests): Add tst-tininess and
4203 tst-strtod-underflow.
4204 ($(objpfx)tst-tininess): Use $(link-libm).
4205 ($(objpfx)tst-strtod-underflow): Likewise.
4206
4207 2012-10-30 Andreas Jaeger <aj@suse.de>
4208
4209 [BZ#14767]
4210 * elf/Makefile (tests): Remove conditional for have-initfini-array
4211 since this is now always required and the variable does not exist
4212 anymore.
4213 (tests-static): Likewise.
4214 (modules-names): Likewise.
4215
4216 * po/eo.po: Add Esperanto translation from translation project.
4217
4218 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4219 merged with constructor/destructor.
4220 (init_array): Likewise.
4221 * elf/tst-array2dep.c (fini_array): Likewise.
4222 (init_array): Likewise.
4223
4224 2012-10-29 Mike Frysinger <vapier@gentoo.org>
4225
4226 * manual/message.texi: Delete @cartouche tags.
4227
4228 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4229
4230 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4231 EOPNOTSUPP.
4232 * sysdeps/mach/hurd/fsync.c: Likewise.
4233
4234 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4235 [_POSIX_REALTIME_SIGNALS]: Change condition to
4236 [_POSIX_REALTIME_SIGNALS > 0].
4237
4238 2012-10-27 Andreas Jaeger <aj@suse.de>
4239
4240 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4241 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4242 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4243 [__WORDSIZE != 64]: Likewise.
4244
4245 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4246
4247 * iconvdata/tst-table.sh: Remove ${SHELL}.
4248 * iconvdata/tst-tables.sh: Likewise.
4249
4250 2012-10-25 David S. Miller <davem@davemloft.net>
4251
4252 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4253 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4254 of strtoull.
4255
4256 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4257 ifunc-impl-list.c
4258 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4259 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4260 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4261 file.
4262
4263 2012-10-25 Roland McGrath <roland@hack.frob.com>
4264
4265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4266 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4267 __getdirentries.
4268
4269 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4270 Jim Blandy <jimb@codesourcery.com>
4271
4272 * scripts/cross-test-ssh.sh: New file.
4273 * manual/install.texi (Configuring and compiling): Document use of
4274 cross-test-ssh.sh.
4275 * INSTALL: Regenerated.
4276
4277 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4278
4279 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4280 EOPNOTSUPP.
4281
4282 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4283
4284 * Makeconfig (run-program-prefix): Fix comment.
4285
4286 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4287 Jim Blandy <jimb@codesourcery.com>
4288
4289 * Makeconfig (test-wrapper): New variable,
4290 (test-wrapper-env): Likewise.
4291 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4292 (run-built-tests): Define to yes.
4293 (run-program-prefix): Use $(test-wrapper).
4294 (built-program-cmd): Likewise.
4295 * Rules (make-test-out): Use $(test-wrapper-env) and
4296 $(host-built-program-cmd).
4297 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4298 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4299 tst-pathopt.sh.
4300 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4301 $(test-wrapper-env) to tst-rtld-load-self.sh.
4302 ($(objpfx)order2.out): Use $(test-wrapper).
4303 ($(objpfx)tst-initorder.out): Likewise.
4304 ($(objpfx)tst-initorder2.out): Likewise.
4305 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4306 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4307 (test_wrapper_env): New variable. Use it to run ld.so.
4308 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4309 Use it to run ld.so.
4310 (test_wrapper_env): Likewise.
4311 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4312 $(test-wrapper) to run-iconv-test.sh.
4313 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4314 (ICONV): Use $test_wrapper.
4315 * posix/Makefile ($(objpfx)globtest.out): Pass
4316 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4317 globtest.sh, not $(run-program-prefix).
4318 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4319 (test_wrapper): Likewise.
4320 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4321 set together with run_via_rtld_prefix.
4322 (run_program_prefix): Define in terms of test_wrapper and
4323 run_via_rtld_prefix.
4324
4325 2012-10-24 Roland McGrath <roland@hack.frob.com>
4326
4327 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4328 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4329 Targets removed.
4330
4331 [BZ #14743]
4332 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4333 Declare __clock_getres, __clock_gettime, __clock_settime,
4334 __clock_nanosleep, and __clock_getcpuclockid.
4335 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4336 Remove librt_hidden_def (clock_gettime).
4337 * sysdeps/unix/clock_gettime.c: Likewise.
4338 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4339 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4340 * rt/clock_getres.c: Define __clock_getres as an alias.
4341 * sysdeps/posix/clock_getres.c: Likewise.
4342 * rt/clock_settime.c: Define __clock_settime as an alias.
4343 * sysdeps/unix/clock_settime.c: Likewise.
4344 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4345 * sysdeps/unix/clock_nanosleep.c: Likewise.
4346 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4347 * rt/clock-compat.c: New file.
4348 * rt/Makefile (librt-routines): Add clock-compat and move
4349 $(clock-routines) to ...
4350 (routines): ... here, new variable.
4351 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4352 Don't add get_clockfreq here.
4353 * rt/Versions (libc: GLIBC_2.17): New version set.
4354 Add clock_* symbols here.
4355 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4356 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4357 (GLIBC_2.17): Add clock_* symbols.
4358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4362 Likewise.
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4364 Likewise.
4365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4369 * NEWS: Mention the move.
4370
4371 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4372 Use __open, __read, __close rather than their public counterparts.
4373 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4374 (__get_clockfreq_via_cpuinfo): Likewise.
4375 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4376 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4377
4378 * config.h.in (HAVE_IFUNC): New #undef.
4379 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4380 was successful.
4381 * configure: Regenerated.
4382
4383 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4384
4385 * configure.in: Move READELF check to start of file.
4386 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4387 libc_cv_asm_gnu_indirect_function in the process.
4388 * configure: Regenerated.
4389
4390 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4391
4392 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4393 send the output to /dev/null.
4394 (libc_cv_cc_with_libunwind): Likewise.
4395 (libc_cv_as_noexecstack): Likewise.
4396 * configure: Regenerate.
4397
4398 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4399
4400 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4401
4402 * posix/globtest.sh (TMPDIR): Do not set.
4403 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4404 (testout): Likewise.
4405
4406 2012-10-24 Andreas Jaeger <aj@suse.de>
4407
4408 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4409 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4410 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4411 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4412 posix_fadvise64, posix_fallocate64.
4413
4414 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4415 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4416 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4417 Likewise.
4418 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4419 Likewise.
4420 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4421
4422 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4423 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4424 <bits/fcntl-linux.h>.
4425 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4426
4427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4428 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4429 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4430 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4431 [__WORDSIZE != 64]: Likewise.
4432
4433 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4434
4435 * Makeconfig (run-built-tests): New variable.
4436 * Rules [$(cross-compiling) = yes]: Change condition to
4437 [$(run-built-tests) = no].
4438 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4439 to [$(run-built-tests) = yes].
4440 * elf/Makefile [$(cross-compiling) = no]: Likewise
4441 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4442 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4443 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4444 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4445 * io/Makefile [$(cross-compiling) = no]: Likewise.
4446 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4447 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4448 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4449 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4450 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4451 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4452 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4453 * string/Makefile [$(cross-compiling) = no]: Likewise.
4454
4455 * posix/Makefile ($(objpfx)globtest.out): Pass
4456 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4457 $(rtld-installed-name).
4458 * posix/globtest.sh (elf_objpfx): Remove variable.
4459 (rtld_installed_name): Likewise.
4460 (library_path): Likewise.
4461 (run_program_prefix): New variable. Use for running globtest
4462 binary.
4463
4464 2012-10-23 Jim Blandy <jimb@codesourcery.com>
4465 Joseph Myers <joseph@codesourcery.com>
4466
4467 * Makeconfig (host-built-program-cmd): New variable.
4468 * elf/Makefile (tst-stackguard1-ARGS): Use
4469 $(host-built-program-cmd).
4470 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4471 (tst-spawn-ARGS): Likewise.
4472 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4473
4474 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4475 Jim Blandy <jimb@codesourcery.com>
4476
4477 * Makeconfig (run-via-rtld-prefix): New variable.
4478 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4479 (built-program-cmd): Likewise.
4480
4481 2012-10-22 Andreas Jaeger <aj@suse.de>
4482
4483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4484 __O_RSYNC if it exists, otherwise to O_SYNC.
4485
4486 2012-10-22 Jim Blandy <jimb@codesourcery.com>
4487 Joseph Myers <joseph@codesourcery.com>
4488
4489 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4490 /dev/null.
4491 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4492 from /dev/null
4493 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4494 /dev/null.
4495
4496 2012-10-22 Andreas Jaeger <aj@suse.de>
4497
4498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4499 Define always.
4500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4501
4502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4503 bits/fcntl-linux.h.
4504
4505 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4506 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4507
4508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4509 to __O_LARGEFILE.
4510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4511 to __O_LARGEFILE.
4512
4513 2012-10-21 Jim Blandy <jimb@codesourcery.com>
4514 Joseph Myers <joseph@codesourcery.com>
4515
4516 * config.make.in (NM): New variable.
4517
4518 2012-10-21 Andreas Jaeger <aj@suse.de>
4519
4520 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4521 definitions and declarations that are provided by
4522 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4523
4524 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4525
4526 [BZ #14683]
4527 * elf/Makefile (tests-static): Add tst-leaks1-static.
4528 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4529 ($(objpfx)tst-leaks1-static): New rule.
4530 ($(objpfx)tst-leaks1-static-mem): Likewise.
4531 (tst-leaks1-static-ENV): New macro.
4532 * elf/dl-open.c (dl_open_worker): Check the main application
4533 only if SHARED is defined.
4534 * elf/tst-leaks1-static.c: New file.
4535
4536 2012-10-20 Andreas Jaeger <aj@suse.de>
4537
4538 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4539 generic values for Linux.
4540 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4541 and declarations that are provided by <bits/fcntl-linux.h> and
4542 include <bits/fcntl-linux.h>.
4543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4545
4546 2012-10-20 Roland McGrath <roland@hack.frob.com>
4547
4548 * io/fcntl.h: Move include of <bits/types.h> to the top and
4549 include it unconditionally.
4550
4551 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4552
4553 * wcsmbs/Makefile (tests-ifunc): New variable.
4554 (tests): Add $(tests-ifunc).
4555 * wcsmbs/test-wcschr-ifunc.c: New file.
4556 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4557 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4558 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4559 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4560 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4561
4562 * string/Makefile (tests-ifunc): New variable.
4563 (tests): Add $(tests-ifunc).
4564 * string/test-memccpy.c (TEST_NAME): New macro.
4565 * string/test-memchr.c (TEST_NAME): Likewise.
4566 * string/test-memcmp.c (TEST_NAME): Likewise.
4567 * string/test-memcpy.c (TEST_NAME): Likewise.
4568 * string/test-memmem.c (TEST_NAME): Likewise.
4569 * string/test-memmove.c (TEST_NAME): Likewise.
4570 * string/test-memset.c (TEST_NAME): Likewise.
4571 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4572 * string/test-stpcpy.c (TEST_NAME): Likewise.
4573 * string/test-stpncpy.c (TEST_NAME): Likewise.
4574 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4575 * string/test-strcasestr.c (TEST_NAME): Likewise.
4576 * string/test-strcat.c (TEST_NAME): Likewise.
4577 * string/test-strchr.c (TEST_NAME): Likewise.
4578 * string/test-strcmp.c(TEST_NAME): Likewise.
4579 * string/test-strcpy.c (TEST_NAME): Likewise.
4580 * string/test-strcspn.c (TEST_NAME): Likewise.
4581 * string/test-strlen.c (TEST_NAME): Likewise.
4582 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4583 * string/test-strncmp.c (TEST_NAME): Likewise.
4584 * string/test-strncpy.c (TEST_NAME): Likewise.
4585 * string/test-strnlen.c (TEST_NAME): Likewise.
4586 * string/test-strpbrk.c (TEST_NAME): Likewise.
4587 * string/test-strrchr.c (TEST_NAME): Likewise.
4588 * string/test-strspn.c (TEST_NAME): Likewise.
4589 * string/test-strstr.c (TEST_NAME): Likewise.
4590 * string/test-bcopy-ifunc.c: New file.
4591 * string/test-bzero-ifunc.c: Likewise.
4592 * string/test-memccpy-ifunc.c: Likewise.
4593 * string/test-memchr-ifunc.c: Likewise.
4594 * string/test-memcmp-ifunc.c: Likewise.
4595 * string/test-memcpy-ifunc.c: Likewise.
4596 * string/test-memmem-ifunc.c: Likewise.
4597 * string/test-memmove-ifunc.c: Likewise.
4598 * string/test-mempcpy-ifunc.c: Likewise.
4599 * string/test-memset-ifunc.c: Likewise.
4600 * string/test-rawmemchr-ifunc.c: Likewise.
4601 * string/test-stpcpy-ifunc.c: Likewise.
4602 * string/test-stpncpy-ifunc.c: Likewise.
4603 * string/test-strcasecmp-ifunc.c: Likewise.
4604 * string/test-strcasestr-ifunc.c: Likewise.
4605 * string/test-strcat-ifunc.c: Likewise.
4606 * string/test-strchr-ifunc.c: Likewise.
4607 * string/test-strchrnul-ifunc.c: Likewise.
4608 * string/test-strcmp-ifunc.c: Likewise.
4609 * string/test-strcpy-ifunc.c: Likewise.
4610 * string/test-strcspn-ifunc.c: Likewise.
4611 * string/test-strlen-ifunc.c: Likewise.
4612 * string/test-strncasecmp-ifunc.c: Likewise.
4613 * string/test-strncat-ifunc.c: Likewise.
4614 * string/test-strncmp-ifunc.c: Likewise.
4615 * string/test-strncpy-ifunc.c: Likewise.
4616 * string/test-strnlen-ifunc.c: Likewise.
4617 * string/test-strpbrk-ifunc.c: Likewise.
4618 * string/test-strrchr-ifunc.c: Likewise.
4619 * string/test-strspn-ifunc.c: Likewise.
4620 * string/test-strstr-ifunc.c: Likewise.
4621
4622 * debug/Makefile (tests-ifunc): New variable.
4623 (tests): Add $(tests-ifunc).
4624 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4625 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4626 * debug/test-stpcpy_chk-ifunc.c: New file.
4627 * debug/test-strcpy_chk-ifunc.c: Likewise.
4628
4629 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4630
4631 [BZ #13601]
4632 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4633 header is not read in.
4634
4635 2012-10-19 Joseph Myers <joseph@codesourcery.com>
4636
4637 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4638 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4639 directly. Pass built executable to script as
4640 $(built-program-cmd).
4641 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4642 $testprogram without using LD_LIBRARY_PATH and $ldso.
4643
4644 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4645 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4646 $(rtld-installed-name).
4647 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4648 (rtld_installed_name): Likewise.
4649 (library_path): Likewise.
4650 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4651 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4652 $(run-program-prefix) to tst-tables.sh.
4653 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4654 it to run tst-table-from and tst-table-to.
4655 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4656 Pass it to tst-table.sh.
4657 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4658 $(run-program-prefix) to tst-gettext.sh.
4659 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4660 tst-translit.sh.
4661 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4662 tst-gettext2.sh.
4663 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4664 to run tst-gettext.
4665 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4666 to run tst-gettext2.
4667 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4668 to run tst-translit.
4669 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4670 $(run-program-prefix) to tst-mtrace.sh.
4671 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4672 to run tst-mtrace.
4673 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4674 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4675 $(rtld-installed-name).
4676 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4677 (rtld_installed_name): Likewise.
4678 (run_program_prefix): New variable. Use it to run wordexp-test.
4679
4680 * Makeconfig (ARCH): Remove all definitions.
4681 (machine): Likewise.
4682 [ARCH]: Remove conditional code.
4683 [!objdir]: Give error.
4684 [!objdir] (objpfx): Remove.
4685 [!objdir] (common-objpfx): Likewise.
4686 [!objdir] (common-objdir): Likewise.
4687 * configure.in (config_makefile): Remove. Hardcode Makefile in
4688 AC_CONFIG_FILES call.
4689 * configure: Regenerated.
4690
4691 [BZ #13888]
4692 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4693 or TMPDIR.
4694 (testout): Likewise.
4695
4696 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4697 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4698 $(rtld-installed-name).
4699 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4700 (rtld_installed_name): Likwise.
4701 (runit): Remove function.
4702 (run_getconf): New variable, Use it for running getconf binary.
4703
4704 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4705
4706 [BZ #14716]
4707 * string/test-memmem.c (check_result): New function.
4708 (do_one_test): Use it.
4709 (check1): New function.
4710 (test_main): Use it.
4711
4712 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4713
4714 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4715
4716 2012-10-18 Joseph Myers <joseph@codesourcery.com>
4717
4718 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4719 (_G_LSEEK64): Likewise.
4720 (_G_MMAP64): Likewise.
4721 (_G_FSTAT64): Likewise.
4722 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4723 (_G_LSEEK64): Likewise.
4724 (_G_MMAP64): Likewise.
4725 (_G_FSTAT64): Likewise.
4726 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4727 unconditional. Call __mmap64 directly.
4728 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4729 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4730 __lseek64 directly.
4731 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4732 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4733 __mmap64 directly.
4734 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4735 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4736 __lseek64 directly.
4737 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4738 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4739 __lseek64 directly.
4740 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4741 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4742 __lseek64 directly.
4743 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4744 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4745 __fxstat64 directly.
4746 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4747 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4748 unconditional.
4749 (freopen64) [!_G_OPEN64]: Remove conditional code.
4750 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4751 unconditional.
4752 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4753 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4754 unconditional.
4755 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4756 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4757 unconditional.
4758 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4759 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4760 unconditional.
4761 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4762 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4763 unconditional.
4764 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4765 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4766 unconditional.
4767 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4768 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4769 unconditional.
4770 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4771
4772 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4773
4774 [BZ #12140]
4775 * manual/memory.texi (Malloc Tunable Parameters): Add note
4776 about free list pointers overwriting some perturb bytes.
4777 Wording suggested by Roland McGrath.
4778
4779 2012-10-17 Joseph Myers <joseph@codesourcery.com>
4780
4781 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4782 (lgamma_test): Likewise.
4783 (tgamma_test): Likewise.
4784
4785 2012-10-16 Florian Weimer <fweimer@redhat.com>
4786
4787 [BZ #14700]
4788 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4789 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4790
4791 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4792
4793 * NEWS: Mention BZ #14716.
4794 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4795 when removing AVAILABLE1_USES_J macro.
4796
4797 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4798
4799 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4800 (__bswap_64): __uint64_t for unsigned 64-bit int.
4801
4802 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4803
4804 * include/string.h (memmem): Declare libc hidden alias.
4805 * string/memmem.c (memmem): Define libc hidden alias.
4806 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4807 __read, __close instead of open, read, close.
4808
4809 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4810
4811 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4812 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4813 global and hidden.
4814 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4815 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4816 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4817 Likewise.
4818 (__rawmemchr_sse2): Likewise.
4819 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4820 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4821 (__strchr_sse2): Likewise.
4822 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4823 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4824 (__strcasecmp_sse2): Likewise.
4825 (__strncasecmp_sse2): Likewise.
4826 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4827 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4828 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4829 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4830 (__strrchr_sse2): Likewise.
4831 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4832 ifunc-impl-list.c.
4833 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4834 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4835 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4836 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4837 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4838 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4839 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4840 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4841 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4842 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4843 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4844 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4845 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4846 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4847 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4848 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4849 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4850 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4851 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4852 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4853 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4854 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4855 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4856 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4857 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4858 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4859 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4860 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4861 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4862 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4863
4864 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4865 global and hidden.
4866 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4867 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4868 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4869 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4870 Likewise.
4871 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4872 Likewise.
4873 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4874 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4875 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4876 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4877 ifunc-impl-list.c.
4878 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4879 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4880 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4881 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4882 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4883 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4884 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4885 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4886 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4887 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4888 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4889 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4890 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4891 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4892 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4893 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4894 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4895 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4896 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4897 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4898 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4899 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4900 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4901 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4902 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4903 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4904 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4905 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4906 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4907 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4908 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4909 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4910 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4911 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4912 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4913 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4914 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4915 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4916 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4917 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4918 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4919
4920 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4921 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4922 * include/ifunc-impl-list.h: New file.
4923 * misc/ifunc-impl-list.c: Likewise.
4924 * misc/Makefile (routines): Add ifunc-impl-list.
4925 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4926 * string/test-string.h: Include <ifunc-impl-list.h>.
4927 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4928 impl_array): New variables.
4929 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4930 are defined.
4931 (test_init): Call __libc_ifunc_impl_list to initialize
4932 func_list if TEST_IFUNC and TEST_NAME are defined.
4933
4934 * string/Makefile (strop-tests): Add bcopy and bzero.
4935 * string/test-bcopy.c: New file.
4936 * string/test-bzero.c: Likewise.
4937 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4938 defined.
4939 * string/test-memset.c: Support bzero test if TEST_BZERO is
4940 defined.
4941 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4942 __libc_memmove.
4943 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4944 __libc_memset.
4945 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4946 of memset.
4947
4948 2012-10-10 Joseph Myers <joseph@codesourcery.com>
4949
4950 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4951 * configure: Regenerated.
4952
4953 * Makeconfig (+link-static-before-libc): Don't include
4954 $(link-static-libc).
4955
4956 * libio/libio.h (_IO_pos_t): Remove.
4957
4958 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4959
4960 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4961 McGrath.
4962
4963 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4964
4965 * crypt/crypt-entry.c: Include fips-private.h.
4966 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4967 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4968 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4969 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4970
4971 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4972
4973 * crypt/crypt-private.h: Include stdbool.h.
4974 (_ufc_setup_salt_r): Return bool.
4975 * crypt/crypt-entry.c: Include errno.h.
4976 (__crypt_r): Return NULL with EINVAL for bad salt.
4977 * crypt/crypt_util.c (bad_for_salt): New.
4978 (_ufc_setup_salt_r): Check that salt is long enough and within
4979 the specified alphabet.
4980 * crypt/badsalttest.c: New file.
4981 * crypt/Makefile (tests): Add it.
4982 ($(objpfx)badsalttest): New.
4983
4984 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4985
4986 * NEWS: Add entry for BZ #14602.
4987
4988 2012-10-09 Joseph Myers <joseph@codesourcery.com>
4989
4990 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4991 type-generic.
4992 * math/libm-test.inc: Update comment listing what functions and
4993 macros are tested.
4994 (isgreater_test): New function.
4995 (isgreaterequal_test): Likewise.
4996 (isless_test): Likewise.
4997 (islessequal_test): Likewise.
4998 (islessgreater_test): Likewise.
4999 (isunordered_test): Likewise.
5000 (main): Call the new functions.
5001
5002 2012-10-09 Roland McGrath <roland@hack.frob.com>
5003
5004 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5005 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5006 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5007 * sysdeps/i386/configure: Regenerated.
5008 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5009 * sysdeps/mach/configure: Regenerated.
5010 * sysdeps/mach/hurd/configure: Regenerated.
5011 * sysdeps/powerpc/configure: Regenerated.
5012 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5013 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5014 * sysdeps/s390/s390-32/configure: Regenerated.
5015 * sysdeps/s390/s390-64/configure: Regenerated.
5016 * sysdeps/sh/configure: Regenerated.
5017 * sysdeps/sparc/configure: Regenerated.
5018 * sysdeps/unix/sysv/linux/configure: Regenerated.
5019 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5020 * sysdeps/x86_64/configure: Regenerated.
5021
5022 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5023 defined. Don't check if MAP is NULL.
5024
5025 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5026
5027 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5028 (_G_stat64): Likewise.
5029 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5030 (_G_stat64): Likewise.
5031 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5032 instead of struct _G_stat64.
5033 * libio/fileops.c (mmap_remap_check): Likewise.
5034 (decide_maybe_mmap): Likewise.
5035 (_IO_new_file_seekoff): Likewise.
5036 (_IO_file_stat): Likewise.
5037 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5038 _G_off64_t.
5039 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5040 instead of struct _G_stat64.
5041 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5042
5043 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5044
5045 [BZ #14602]
5046 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5047 Replace with ...
5048 (CHECK_EOL): New macro.
5049 (two_way_short_needle): Check beginning of haystack for EOL. Use
5050 CHECK_EOL.
5051 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5052 Replace with CHECK_EOL.
5053 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5054 Replace with CHECK_EOL.
5055
5056 2012-10-08 Joseph Myers <joseph@codesourcery.com>
5057
5058 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5059 type-generic.
5060 * math/libm-test.inc: Update comment listing what functions and
5061 macros are tested.
5062 (finite_test): New function.
5063 (isinf_test): Likewise.
5064 (isnan_test): Likewise.
5065 (fpclassify_test): Test subnormal input.
5066 (isfinite_test): Likewise.
5067 (isnormal_test): Likewise.
5068 (main): Call the new functions.
5069
5070 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5071
5072 [BZ #14660]
5073 * Makerules (%.dynsym): Force C locale when running
5074 $(OBJDUMP) --dynamic-syms.
5075
5076 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5077
5078 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5079 <stdint.h>.
5080
5081 2012-10-06 David S. Miller <davem@davemloft.net>
5082
5083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5084 upper 32-bits of the length value in %o2 since we use branch-on-register
5085 tests which consider the entire 64-bit register.
5086
5087 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5088
5089 * string/test-strstr.c (check2): Add a test for page boundary.
5090
5091 2012-10-05 David S. Miller <davem@davemloft.net>
5092
5093 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5094 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5095 file.
5096 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5097 sysdep_routines.
5098 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5099 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5100 and bzero when HWCAP_SPARC_CRYPTO is present.
5101
5102 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5103
5104 [BZ #14602]
5105 * string/test-strstr.c (check2): New function.
5106 (test_main): Call check2.
5107
5108 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5109 and bug-strchr1.
5110 * string/bug-strcasestr1.c (do_test): Moved to ...
5111 * string/test-strcasestr.c (check1): Here. New function.
5112 (do_one_test): Break out result checking code into ...
5113 (check_result): This. New function.
5114 (do_one_test): Call check_result.
5115 (test_main): Call check1.
5116 * string/bug-strchr1.c (do_test): Moved to ...
5117 * string/test-strchr.c (check1): Here. New function.
5118 (do_one_test): Break out result checking code into ...
5119 (check_result): This. New function.
5120 (do_one_test): Call check_result.
5121 (test_main): Call check1.
5122 * string/bug-strstr1.c (main): Moved to ...
5123 * string/test-strstr.c (check1): Here. New function.
5124 (do_one_test): Break out result checking code into ...
5125 (check_result): This. New function.
5126 (do_one_test): Call check_result.
5127 (test_main): Call check1.
5128 * string/bug-strcasestr1.c: Removed.
5129 * string/bug-strchr1.c: Likewise.
5130 * string/bug-strstr1.c: Likewise.
5131
5132 * elf/Makefile (dl-routines): Add hwcaps.
5133 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5134 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5135 (_dl_important_hwcaps): Moved to ...
5136 * elf/dl-hwcaps.c: Here. New file.
5137 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5138
5139 [BZ #14557]
5140 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5141 if IS_IN_rtld isn't defined.
5142
5143 * elf/dl-support.c (_dl_sysinfo_map): New.
5144 Include "get-dynamic-info.h" and "setup-vdso.h".
5145 (_dl_non_dynamic_init): Call setup_vdso.
5146 * elf/dynamic-link.h: Don't include <assert.h>.
5147 (elf_get_dynamic_info): Moved to ...
5148 * elf/get-dynamic-info.h: Here. New file.
5149 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5150 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5151 * elf/setup-vdso.h: Here. New file.
5152 * elf/rtld.c: Include "setup-vdso.h".
5153 (dl_main): Call setup_vdso.
5154
5155 2012-10-05 Joseph Myers <joseph@codesourcery.com>
5156
5157 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5158 creal in comment listing functions tested. List finite, isinf,
5159 isnan, isless, islessequal, isgreater, isgreaterequal,
5160 islessgreater, isunordered, lgamma_r and pow10 as functions and
5161 macros not tested. Mention which functions not tested are aliases
5162 for other functions. Fix typo. Note that signs of NaNs are not
5163 tested.
5164
5165 * scripts/config.guess: Update from config.git.
5166 * scripts/config.sub: Likewise.
5167
5168 2012-10-04 Roland McGrath <roland@hack.frob.com>
5169
5170 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5171 * misc/madvise.c (madvise): Renamed to __madvise.
5172 Make madvise a weak alias.
5173 * include/sys/mman.h: Declare __madvise.
5174 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5175 * sysdeps/unix/syscalls.list
5176 (madvise): Make __madvise the strong name, and madvise a weak alias.
5177 * sysdeps/unix/sysv/linux/syscalls.list
5178 (madvise, mmap): Remove redundant entries.
5179 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5180 * malloc/malloc.c (mtrim): Likewise.
5181 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5182
5183 2012-10-03 Roland McGrath <roland@hack.frob.com>
5184
5185 * sysdeps/mach/hurd/dl-cache.c: File removed.
5186 * config.h.in (USE_LDCONFIG): New #undef.
5187 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5188 * configure: Regenerated.
5189 * elf/Makefile (dl-routines): Add dl-cache only under
5190 [$(use-ldconfig) = yes].
5191 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5192 cache on [USE_LDCONFIG].
5193 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5194 [USE_LDCONFIG].
5195 * elf/rtld.c (dl_main): Likewise.
5196
5197 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5198
5199 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5200 _SC_LEVEL4_CACHE_LINESIZE.
5201
5202 2012-10-03 Roland McGrath <roland@hack.frob.com>
5203
5204 * sysdeps/unix/bsd/confstr.h: File removed.
5205
5206 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
5207
5208 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5209 sys/sdt-config.h.
5210
5211 2012-10-02 Roland McGrath <roland@hack.frob.com>
5212
5213 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5214 Make 'mapoff' field ElfW(Off) rather than off_t.
5215
5216 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5217
5218 * nscd/Makefile: Remove nscd-cflags and all its users.
5219 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5220 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5221
5222 [BZ #10631]
5223 * malloc.c (malloc_printerr): Clarify error message.
5224
5225 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5226
5227 [BZ #14648]
5228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5229 Set bit_FMA_Usable if FMA is supported.
5230 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5231 macro.
5232 (bit_FMA4_Usable): Updated.
5233 (index_FMA_Usable): New macro.
5234 (CPUID_FMA): Likewise
5235 (HAS_FMA): Defined with bit_FMA_Usable.
5236
5237 2012-10-01 Roland McGrath <roland@hack.frob.com>
5238
5239 * bits/types.h (__swblk_t): Type removed.
5240 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5241 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5242 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5243 (__SWBLK_T_TYPE): Likewise.
5244 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5245 (__SWBLK_T_TYPE): Likewise.
5246 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5247 (__SWBLK_T_TYPE): Likewise.
5248 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5249 (__SWBLK_T_TYPE): Likewise.
5250
5251 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
5252 Honza Horak <hhorak@redhat.com>
5253
5254 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5255 (xdr_mapname): Use YPMAXMAP as maxsize.
5256 (xdr_peername): Use YPMAXPEER as maxsize.
5257 (xdr_keydat): Use YPAXRECORD as maxsize.
5258 (xdr_valdat): Use YPMAXRECORD as maxsize.
5259
5260 2012-10-01 Roland McGrath <roland@hack.frob.com>
5261
5262 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5263
5264 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5265 * csu/init-first.c: ... here.
5266 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5267 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5268 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5269 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5270 * sysdeps/i386/init-first.c: File removed.
5271 * sysdeps/sh/init-first.c: File removed.
5272
5273 2012-10-01 Joseph Myers <joseph@codesourcery.com>
5274
5275 [BZ #14645]
5276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5277 if x * y might underflow to zero and z is zero.
5278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5279 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5280 * math/libm-test.inc (min_subnorm_value): New variable.
5281 (fma_test): Add more tests.
5282 (fma_test_towardzero): Likewise.
5283 (fma_test_downward): Likewise
5284 (fma_test_upward): Likewise.
5285 (initialize): Set min_subnorm_value.
5286
5287 2012-09-29 Joseph Myers <joseph@codesourcery.com>
5288
5289 [BZ #14638]
5290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5291 0 + 0.
5292 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5293 mode for addition resulting in exact zero.
5294 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5296 exact 0 + 0.
5297 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5298 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5299 * math/libm-test.inc (fma_test): Add more tests.
5300 (fma_test_towardzero): New function.
5301 (fma_test_downward): Likewise.
5302 (fma_test_upward): Likewise.
5303 (main): Call the new functions.
5304
5305 2012-09-28 David S. Miller <davem@davemloft.net>
5306
5307 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5308
5309 2012-09-28 Roland McGrath <roland@hack.frob.com>
5310
5311 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5312 instead of SIGALRM.
5313
5314 * sysdeps/gnu/_G_config.h: Moved to ...
5315 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5316 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5317 * sysdeps/generic/_G_config.h: ... here.
5318
5319 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5320
5321 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5322
5323 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5324 Conditionalize target on [libnss_test1.so-version].
5325
5326 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5327
5328 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5329 (elfobjdir): Move out of conditionals.
5330
5331 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5332 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5333 (__nss_lookup_function): Conditionalize label remove_from_tree on
5334 [!DO_STATIC_NSS || SHARED], matching its only use.
5335
5336 2012-09-28 David S. Miller <davem@davemloft.net>
5337
5338 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5339 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5340 file.
5341 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5342 sysdep_routines.
5343 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5345 when HWCAP_SPARC_CRYPTO is present.
5346
5347 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5348
5349 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5350
5351 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5352
5353 [BZ #6530]
5354 * stdio-common/vfprintf.c (process_string_arg): Revert
5355 2000-07-22 change.
5356
5357 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5358
5359 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5360 for testcase.
5361 * stdio-common/tst-sprintf.c: Include <locale.h>
5362 (main): Test sprintf's handling of incomplete multibyte
5363 characters.
5364
5365 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5366
5367 * elf/dl-runtime.c (VERSYMIDX): Removed.
5368 * elf/dl-version.c (VERSYMIDX): Likewise.
5369 * elf/do-rel.h (VERSYMIDX): Likewise.
5370 (VALIDX): Likewise.
5371 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5372 * elf/rtld.c (VALIDX): Likewise.
5373 (ADDRIDX): Likewise.
5374 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5375 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5376 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
5377 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5378 (VALIDX): Likewise.
5379 (ADDRIDX): Likewise.
5380
5381 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5382
5383 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5384
5385 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5386
5387 [BZ #11438]
5388 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5389 to global scope.
5390 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5391 addresses are in the same scope as 192.0.2/24.
5392 * posix/gai.conf: Document new scope table defaults.
5393
5394 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5395
5396 [BZ #5298]
5397 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5398 for ftell. Compute offsets from write pointers instead.
5399 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5400
5401 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5402
5403 [BZ #14543]
5404 * libio/Makefile (tests): New test case tst-fseek.
5405 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5406 combination works in wide mode.
5407 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5408 state when the external buffer state changes.
5409
5410 2012-09-27 David S. Miller <davem@davemloft.net>
5411
5412 [BZ #14376]
5413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5414 pass reloc->r_addend in as the 'high' argument to
5415 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5416
5417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5418
5419 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5420
5421 * rt/tst-aio2.c: Include <pthread.h>.
5422 * rt/tst-aio3.c: Likewise.
5423
5424 2012-09-27 Steve Ellcey <sellcey@mips.com>
5425
5426 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5427
5428 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5429
5430 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5431 contents on [SHARED].
5432
5433 2012-09-26 Marek Polacek <polacek@redhat.com>
5434
5435 [BZ #14530]
5436 [BZ #13741]
5437 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5438 for C++ and GCC <4.3 as well as for non GCC compilers.
5439
5440 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5441
5442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5443
5444 2012-09-25 Roland McGrath <roland@hack.frob.com>
5445
5446 * Makefile.in (all, install): Declare with .PHONY.
5447 Reported by Michael Hope <michael.hope@linaro.org>.
5448
5449 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5450
5451 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5452 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5453 system header.
5454 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5455 Likewise.
5456 (sydep_routines): Add the new and the internal functions.
5457 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5458 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5460 (GLIBC_2.17): Add the new function.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5462 (GLIBC_2.17): Likewise.
5463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5464 (GLIBC_2.17): Likewise.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5466 (GLIBC_2.17): Likewise.
5467 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5468
5469 2012-09-25 Alan Modra <amodra@gmail.com>
5470
5471 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5472 Add release barrier before setting once_control to say
5473 initialisation is done. Add hints on lwarx. Use macro in
5474 place of isync.
5475 (clear_once_control): Add release barrier.
5476
5477 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5478
5479 [BZ #13629]
5480 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5481 specially.
5482 * math/s_clog10.c (__clog10): Likewise.
5483 * math/s_clog10f.c (__clog10f): Likewise.
5484 * math/s_clog10l.c (__clog10l): Likewise.
5485 * math/s_clogf.c (__clogf): Likewise.
5486 * math/s_clogl.c (__clogl): Likewise.
5487 * math/Makefile (libm-calls): Add x2y2m1.
5488 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5489 (__x2y2m1): Likewise.
5490 (__x2y2m1l): Likewise.
5491 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5492 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5495 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5496 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5497 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5498 * sysdeps/i386/fpu/libm-test-ulps: Update.
5499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5500
5501 [BZ #14621]
5502 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5503 int as type of variable DEPTH.
5504 (glob): Use size_t instead of int as type of variables NEWCOUNT
5505 and OLD_PATHC.
5506
5507 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5508
5509 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5510 Add s_sincosf-sse2.
5511 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5512 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5513 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5514 macros for using routine as __sincosf_ia32.
5515 Use macro for function declaration and weak_alias.
5516 * sysdeps/i386/fpu/libm-test-ulps: Update.
5517
5518 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5520
5521 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
5522 subnormal argument.
5523 * math/s_cexpf.c (__cexpf): Likewise.
5524 * math/s_csinf.c (__csinf): Likewise.
5525 * math/s_csinhf.c (__csinhf): Likewise.
5526 * math/s_ctanf.c (__ctanf): Likewise.
5527 * math/s_ctanhf.c (__ctanhf): Likewise.
5528 * math/s_ccosh.c (__ccoshf): Likewise.
5529 * math/s_cexp.c (__cexpl): Likewise.
5530 * math/s_csin.c (__csin): Likewise.
5531 * math/s_csinh.c (__csinh): Likewise.
5532 * math/s_ctan.c (__ctan): Likewise.
5533 * math/s_ctanh.c (ctanh): Likewise.
5534 * math/s_ccoshl.c (__ccoshl): Likewise.
5535 * math/s_cexpl.c (__cexpl): Likewise.
5536 * math/s_csinl.c (__csinl): Likewise.
5537 * math/s_csinhl.c (__csinhl): Likewise.
5538 * math/s_ctanl.c (__ctanl): Likewise.
5539 * math/s_ctanhl.c (__ctanhl): Likewise.
5540
5541 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5542
5543 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5544 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5545 (_IO_off_t): Define to __off_t, not _G_off_t.
5546 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5547 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5548 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5549 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5550 type of __dummy and __dummy2 fields.
5551 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5552 (_G_ssize_t): Likewise.
5553 (_G_off_t): Likewise.
5554 (_G_pid_t): Likewise.
5555 (_G_uid_t): Likewise.
5556 (_G_wchar_t): Likewise.
5557 (_G_wint_t): Likewise.
5558 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5559 (_G_ssize_t): Likewise.
5560 (_G_off_t): Likewise.
5561 (_G_pid_t): Likewise.
5562 (_G_uid_t): Likewise.
5563 (_G_wchar_t): Likewise.
5564 (_G_wint_t): Likewise.
5565 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5566 (_G_ssize_t): Likewise.
5567 (_G_off_t): Likewise.
5568 (_G_pid_t): Likewise.
5569 (_G_uid_t): Likewise.
5570 (_G_wchar_t): Likewise.
5571 (_G_wint_t): Likewise.
5572
5573 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5574
5575 * malloc/arena.c: Include malloc-sysdep.h.
5576 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5577 is sufficient to shrink the heap or an unmap is needed.
5578 * sysdeps/generic/malloc-sysdep.h: New file. Define
5579 new function check_may_shrink_heap.
5580 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5581 new function check_may_shrink_heap.
5582
5583 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5584
5585 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5586 comments.
5587
5588 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5589
5590 * catgets/test-gencat.sh: Add "set -e".
5591 * elf/tst-pathopt.sh: Likewise.
5592 * grp/tst_fgetgrent.sh: Likewise.
5593 * iconvdata/run-iconv-test.sh: Likewise.
5594 * intl/tst-gettext.sh: Likewise.
5595 * intl/tst-gettext2.sh: Likewise.
5596 * intl/tst-gettext4.sh: Likewise.
5597 * intl/tst-gettext6.sh: Likewise.
5598 * intl/tst-translit.sh: Likewise.
5599 * io/ftwtest-sh: Likewise.
5600 * libio/test-freopen.sh: Likewise.
5601 * malloc/tst-mtrace.sh: Likewise.
5602 * posix/globtest.sh: Likewise.
5603 * posix/tst-getconf.sh: Likewise.
5604 * posix/wordexp-tst.sh: Likewise.
5605 * stdio-common/tst-printf.sh: Likewise.
5606 * stdio-common/tst-unbputc.sh: Likewise.
5607 * stdlib/tst-fmtmsg.sh: Likewise.
5608 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5609 * catgets/Makefile: Do not specify -e option when running
5610 testsuite shell scripts.
5611 * elf/Makefile: Likewise.
5612 * grp/Makefile: Likewise.
5613 * iconvdata/Makefile: Likewise.
5614 * intl/Makefile: Likewise.
5615 * io/Makefile: Likewise.
5616 * libio/Makefile: Likewise.
5617 * malloc/Makefile: Likewise.
5618 * posix/Makefile: Likewise.
5619 * stdio-common/Makefile: Likewise.
5620 * stdlib/Makefile: Likewise.
5621 * sysdeps/x86_64/Makefile: Likewise.
5622
5623 * io/ftwtest-sh: Add copyright header.
5624 * posix/globtest.sh: Likewise.
5625 * posix/tst-getconf.sh: Likewise.
5626 * posix/wordexp-tst.sh: Likewise.
5627 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5628
5629 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5630
5631 [BZ #13679]
5632 * Makeconfig (+link): Defined as $(+link-static) if
5633 $(build-shared) isn't yes.
5634 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5635 isn't yes.
5636 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5637
5638 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5639
5640 [BZ #14562]
5641 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5642 new chunk size with MALLOC_ALIGN_MASK.
5643
5644 2012-09-24 Joseph Myers <joseph@codesourcery.com>
5645
5646 [BZ #5044]
5647 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5648 <rounding-mode.h>.
5649 (__printf_fphex): Determine rounding using get_rounding_mode and
5650 round_away.
5651 * stdio-common/tst-printf-round.c (struct hex_test): New
5652 structure.
5653 (hex_tests): New variable.
5654 (test_hex_in_one_mode): New function.
5655 (do_test): Also run tests for hex float output.
5656
5657 2012-09-21 Joseph Myers <joseph@codesourcery.com>
5658
5659 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5660 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5661 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5662 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5663 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5664 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5665 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5666 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5667
5668 2012-09-20 Joseph Myers <joseph@codesourcery.com>
5669
5670 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5671 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5672 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5673 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5674
5675 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5676
5677 [BZ #14579]
5678 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5679 mode only.
5680 * elf/tst-rtld-load-self.sh: New test.
5681 * elf/Makefile: Run it.
5682
5683 2012-09-18 Joseph Myers <joseph@codesourcery.com>
5684
5685 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5686 (tst-writev-ENV): Remove.
5687 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5688
5689 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5690
5691 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5692
5693 2012-09-17 Joseph Myers <joseph@codesourcery.com>
5694
5695 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5696 unconditional.
5697 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5698 Likewise.
5699 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5700 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5701 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5702 Likewise.
5703
5704 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5705
5706 [BZ #14587]
5707 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5708 * config.make.in (have-cpp-asm-debuginfo): Removed.
5709 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5710 * configure: Regenerated.
5711
5712 2012-09-14 Joseph Myers <joseph@codesourcery.com>
5713
5714 [BZ #5044]
5715 * stdio-common/printf_fp.c: Include <stdbool.h> and
5716 <rounding-mode.h>.
5717 (___printf_fp): Determine rounding using get_rounding_mode and
5718 round_away.
5719 * stdio-common/tst-printf-round.c: New file.
5720 * stdio-common/Makefile (tests): Add tst-printf-round.
5721 (link-libm): New variable.
5722 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5723
5724 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5725
5726 [BZ #14576]
5727 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5728 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5729 Likewise.
5730 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5731 Likewise.
5732
5733 2012-09-13 Joseph Myers <joseph@codesourcery.com>
5734
5735 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5736 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5737 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5738 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5739
5740 2012-09-12 Joseph Myers <joseph@codesourcery.com>
5741
5742 [BZ #14518]
5743 * include/rounding-mode.h: New file.
5744 * sysdeps/generic/get-rounding-mode.h: Likewise.
5745 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5746 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5747 (MAX_VALUE): New macro.
5748 (MIN_VALUE): Likewise.
5749 (overflow_value): New function.
5750 (underflow_value): Likewise.
5751 (round_and_return): Use overflow_value and underflow_value to
5752 determine return values in overflow and underflow cases. Use
5753 round_away to determine rounding depending on rounding mode.
5754 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5755 determine return values in overflow and underflow cases.
5756 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5757 (struct test_results): New structure.
5758 (struct test): Use struct test_results to store expected results
5759 for all rounding modes.
5760 (TEST): Include expected results for all rounding modes.
5761 (test_in_one_mode): New function.
5762 (do_test): Use test_in_one_mode to compute and check results.
5763 Check results for all rounding modes.
5764 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5765 $(link-libm).
5766
5767 2012-12-09 Allan McRae <allan@archlinux.org>
5768
5769 * sysdeps/i386/fpu/libm-test-ulps: Update
5770
5771 2012-09-11 Joseph Myers <joseph@codesourcery.com>
5772
5773 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5774 (_G_int32_t): Likewise.
5775 (_G_uint16_t): Likewise.
5776 (_G_uint32_t): Likewise.
5777 (_G_HAVE_BOOL): Likewise.
5778 (_G_HAVE_ATEXIT): Likewise.
5779 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5780 (_G_HAVE_IO_FILE_OPEN): Likewise.
5781 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5782 (_G_int32_t): Likewise.
5783 (_G_uint16_t): Likewise.
5784 (_G_uint32_t): Likewise.
5785 (_G_HAVE_BOOL): Likewise.
5786 (_G_HAVE_ATEXIT): Likewise.
5787 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5788 (_G_HAVE_IO_FILE_OPEN): Likewise.
5789 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5790 (_G_int32_t): Likewise.
5791 (_G_uint16_t): Likewise.
5792 (_G_uint32_t): Likewise.
5793 (_G_HAVE_BOOL): Likewise.
5794 (_G_HAVE_ATEXIT): Likewise.
5795 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5796 (_G_HAVE_IO_FILE_OPEN): Likewise.
5797
5798 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5799
5800 * csu/libc-tls.c: Update copyright years.
5801
5802 2012-09-10 Joseph Myers <joseph@codesourcery.com>
5803
5804 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5805 [!_G_USING_THUNKS]: Remove conditional code.
5806 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5807 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5808
5809 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5810 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5811 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5812 (_G_VTABLE_LABEL_PREFIX): Likewise.
5813 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5814 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5815 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5816 (_G_VTABLE_LABEL_PREFIX): Likewise.
5817 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5818 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5819 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5820 (_G_VTABLE_LABEL_PREFIX): Likewise.
5821 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5822
5823 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5824
5825 * libio/Makefile: Include ../Makeconfig before tests.
5826 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5827 only if $(build-shared) is yes.
5828
5829 * iconv/gconv_db.c: Update copyright years.
5830
5831 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5832
5833 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5834 unwind info if defined PIC. Fix special cases description.
5835 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5836
5837 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5838 DP_HI_MASK entry.
5839 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5840
5841 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5842
5843 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5844
5845 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5846 is NULL.
5847
5848 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5849 (LDLIBS-tst-chk4): This.
5850 (LDFLAGS-tst-chk5): Renamed to ...
5851 (LDLIBS-tst-chk5): This.
5852 (LDFLAGS-tst-chk6): Renamed to ...
5853 (LDLIBS-tst-chk6): This.
5854 (LDFLAGS-tst-lfschk4): Renamed to ...
5855 (LDLIBS-tst-lfschk4): This.
5856 (LDFLAGS-tst-lfschk5): Renamed to ...
5857 (LDLIBS-tst-lfschk5): This.
5858 (LDFLAGS-tst-lfschk6): Renamed to ...
5859 (LDLIBS-tst-lfschk6): This.
5860
5861 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5862 on $(common-objpfx)soversions.mk.
5863
5864 2012-09-07 Joseph Myers <joseph@codesourcery.com>
5865
5866 [BZ #10014]
5867 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5868 example host name.
5869
5870 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5871
5872 * malloc/arena.c (arena_get_retry): New function that gets
5873 another arena for the caller to try its request on.
5874 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5875 current arena cannot fulfill the request.
5876 (__libc_memalign): Likewise.
5877 (__libc_memalign): Likewise.
5878 (__libc_pvalloc): Likewise.
5879 (__libc_calloc): Likewise.
5880
5881 2012-09-05 John Tobey <john.tobey@gmail.com>
5882
5883 [BZ #13542]
5884 * manual/arith.texi (Operations on Complex): Fix description
5885 of carg branch cut.
5886
5887 2012-09-06 Joseph Myers <joseph@codesourcery.com>
5888
5889 [BZ #10014]
5890 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5891 host name.
5892
5893 [BZ #10038]
5894 * manual/memory.texi (Memory): Make order of menu items match
5895 order of sections.
5896
5897 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5898
5899 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5900 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5901 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5902
5903 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5904
5905 * csu/libc-tls.c (static_dtv): Renamed to ...
5906 (_dl_static_dtv): This. Make it global.
5907 (_dl_initial_dtv): Removed.
5908 (__libc_setup_tls): Updated.
5909 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5910 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5911 DL_INITIAL_DTV.
5912
5913 2012-09-06 Petr Machata <pmachata@redhat.com>
5914
5915 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5916 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5917 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5918 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5919
5920 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5921
5922 [BZ #14545]
5923 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5924 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5925 freeing dtv[-1].
5926
5927 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5928
5929 [BZ #14544]
5930 * Makeconfig (link-static-before-libc): Replace $(+prector)
5931 with $(+prectorT).
5932 (link-static-after-libc): Replace $(+postctor) with
5933 $(+postctorT).
5934 (link-bounded): Replace $(+prector)/$(+postctor) with
5935 $(+prectorT)/$(+postctorT).
5936 (+prectorT): New macro.
5937 (+postctorT): Likewise.
5938
5939 2012-09-06 Joseph Myers <joseph@codesourcery.com>
5940
5941 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5942 (round_str): Handle values above the maximum for IBM long double
5943 as inexact.
5944 * stdlib/tst-strtod-round.c (tests): Regenerated.
5945
5946 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5947
5948 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5949 assembler flag.
5950 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5951 zarch_nohighgprs around the zarch optimized routines.
5952 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5953 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5954 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5955 for zarch.
5956
5957 2012-09-05 David S. Miller <davem@davemloft.net>
5958
5959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5960
5961 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5962 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5963 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5964 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5965 entries.
5966
5967 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5968
5969 * malloc/arena.c: Fold copyright years.
5970 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5971
5972 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5973
5974 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5975
5976 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5977
5978 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5979
5980 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5981
5982 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5983 change internal state upon failure.
5984
5985 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5986
5987 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5988 * malloc/memusage.c (mmap): Likewise.
5989 (mmap64, mremap): Likewise. Adjust name in comment.
5990
5991 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5992
5993 * libio/fileops.c: Fix typos in comments.
5994 * libio/oldfileops.c: Likewise.
5995 * libio/wfileops.c: Likewise.
5996
5997 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5998
5999 [BZ #1349]
6000 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6001 (tst-malloc-usable-ENV): Set environment for test case.
6002 * malloc/hooks.c (malloc_check_get_size): New function to get
6003 requested size.
6004 * malloc/malloc.c (musable): Use malloc_check_get_size.
6005 * malloc/tst-malloc-usable.c: New test case.
6006
6007 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6008
6009 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6010
6011 2012-09-05 Allan McRae <allan@archlinux.org>
6012
6013 [BZ #13966]
6014 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6015 determine header location.
6016 * configure: Regenerated.
6017
6018 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6019
6020 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6021 float format.
6022 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6023 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6024 format.
6025 (test): Regenerate.
6026
6027 2012-09-04 David S. Miller <davem@davemloft.net>
6028
6029 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6030 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6031 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6032
6033 2012-09-04 Florian Weimer <fweimer@redhat.com>
6034
6035 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6036 failures.
6037
6038 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6039
6040 2012-09-04 Joseph Myers <joseph@codesourcery.com>
6041
6042 [BZ #9914]
6043 * libio/iogetdelim.c: Include <limits.h>.
6044 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6045 + len + 1 would overflow.
6046
6047 2012-09-03 Andreas Jaeger <aj@suse.de>
6048
6049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6050 * sysdeps/i386/fpu/libm-test-ulps: Update.
6051
6052 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6053
6054 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6055 Add s_sinf-sse2, s_conf-sse2.
6056
6057 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6058 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6059 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6060 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6061
6062 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6063 for using routine as __sinf_ia32.
6064 Use macro for function declaration and weak_alias.
6065 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6066 for using routine as __cosf_ia32.
6067 Use macro for function declaration and weak_alias.
6068
6069 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6070 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6071
6072 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6073 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6075
6076 * math/libm-test.inc (cos_test): Add more test cases.
6077 (sin_test): Likewise.
6078 (sincos_test): Likewise.
6079
6080 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6081
6082 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6083 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6084 hidden.
6085 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6086
6087 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6088
6089 [BZ #14538]
6090 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6091 first element of the GOT.
6092 (elf_machine_load_address): Return the difference between
6093 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6094
6095 2012-09-01 Allan McRae <allan@archlinux.org>
6096
6097 [BZ #13412]
6098 * configure.in (AWK): Require gawk version 3.0 or later.
6099 * configure: Regenerated.
6100
6101 2012-09-01 Joseph Myers <joseph@codesourcery.com>
6102
6103 * sysdeps/unix/sysv/linux/kernel-features.h
6104 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6105 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6106 [__NR_clock_getres]: Make code unconditional.
6107 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6108 (clock_getcpuclockid): Remove code left unreachable by removal of
6109 conditionals.
6110 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6111 code unconditional.
6112 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6113 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6114 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6115 Make code unconditional.
6116 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6117 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6118 * sysdeps/unix/sysv/linux/clock_settime.c
6119 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6120 conditional code.
6121 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6122 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6123
6124 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6125
6126 [BZ #14476]
6127 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6128 scripts/test-installation.pl.
6129
6130 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6131 and $ld_so_version if it is set.
6132
6133 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6134
6135 [BZ #14516]
6136 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6137 failure if reading from procfs failed.
6138 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6139
6140 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6141
6142 * sysdeps/unix/sysv/linux/kernel-features.h
6143 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6144 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6145 Remove conditional code.
6146 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6147 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6148 Remove conditional code.
6149 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6150 * sysdeps/unix/sysv/linux/i386/fxstat.c
6151 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6153 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6154 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6155 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6156 * sysdeps/unix/sysv/linux/i386/lxstat.c
6157 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6159 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6160 Remove conditional code.
6161 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6162 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6163 Remove conditional code.
6164 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6165 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6166 <kernel-features.h>.
6167 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6168 Remove.
6169 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6170 Remove conditional code.
6171 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6172 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6173 Remove conditional.
6174
6175 2012-08-27 Mike Frysinger <vapier@gentoo.org>
6176
6177 [BZ #5400]
6178 * NEWS: Add fixed bug number.
6179
6180 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6181
6182 [BZ #14519]
6183 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6184 underflowing exponent in case of negative sign.
6185 * stdlib/tst-strtod-round-data: Add more tests.
6186 * stdlib/tst-strtod-round.c (tests): Regenerated.
6187
6188 [BZ #3479]
6189 * stdlib/strtod_l.c (NDIG): Remove.
6190 (HEXNDIG): Likewise.
6191 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6192 smallest representable value.
6193 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6194 lie within an exact representation of 1/2 ulp of the result.
6195 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6196 unconditionally.
6197 (TENS_P9_IDX): Define unconditionally.
6198 (TENS_P9_SIZE): Likewise.
6199 (TENS_P10_IDX): Likewise.
6200 (TENS_P10_SIZE): Likewise.
6201 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6202 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6203 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6204 entries for 10^2^13 and 10^2^14.
6205 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6206 (TENS_P13_IDX): Define.
6207 (TENS_P13_SIZE): Likewise.
6208 (TENS_P14_IDX): Likewise.
6209 (TENS_P14_SIZE): Likewise.
6210 (_fpioconst_pow10): Change array size to
6211 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6212 unconditional.
6213 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6214 1024]: Add entries for 10^2^13 and 10^2^14.
6215 [LAST_POW10 > _LAST_POW10]: Remove #error.
6216 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6217 (_fpioconst_pow10): Change array size to
6218 FPIOCONST_POW10_ARRAY_SIZE.
6219 * stdlib/gen-fpioconst.c: New file.
6220 * stdlib/gen-tst-strtod-round.c: Likewise.
6221 * stdlib/tst-strtod-round-data: Likewise.
6222 * stdlib/tst-strtod-round.c: Likewise.
6223 * stdlib/Makefile (tests): Add tst-strtod-round.
6224
6225 [BZ #14459]
6226 * stdlib/strtod_l.c: Include <stdint.h>.
6227 (NDEBUG): Do not define.
6228 (round_and_return): Change EXPONENT parameter to type intmax_t.
6229 Rearrange calculations to avoid internal overflow possibilities.
6230 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6231 Rearrange calculations to avoid internal overflow possibilities.
6232 Assert that number fits inside MPNSIZE limbs.
6233 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6234 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6235 calculations and add assertions to avoid internal overflow
6236 possibilities. Add casts to avoid signed/unsigned operations.
6237 * stdlib/tst-strtod-overflow.c: New file.
6238 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6239
6240 2012-08-25 Marek Polacek <polacek@redhat.com>
6241
6242 * time/time.h: Fix some typos in comments.
6243
6244 2012-08-23 Roland McGrath <roland@hack.frob.com>
6245
6246 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6247 * posix/tst-rfc3484-2.c: Likewise.
6248 * posix/tst-rfc3484-3.c: Likewise.
6249
6250 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6251
6252 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6253 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6254
6255 2012-08-23 Joseph Myers <joseph@codesourcery.com>
6256
6257 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6258 #include of fxstatat64.c.
6259
6260 2012-08-22 Roland McGrath <roland@hack.frob.com>
6261
6262 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6263 * shadow/getspent_r.c: Likewise.
6264 * shadow/getspnam.c: Likewise.
6265 * shadow/getspnam_r.c: Likewise.
6266 * gshadow/getsgent.c: Likewise.
6267 * gshadow/getsgent_r.c: Likewise.
6268 * gshadow/getsgnam.c: Likewise.
6269 * gshadow/getsgnam_r.c: Likewise.
6270 * inet/getnetbyad.c: Likewise.
6271 * inet/getnetbyad_r.c: Likewise.
6272 * inet/getnetbynm.c: Likewise.
6273 * inet/getnetbynm_r.c: Likewise.
6274 * inet/getnetent.c: Likewise.
6275 * inet/getnetent_r.c: Likewise.
6276 * inet/getproto.c: Likewise.
6277 * inet/getproto_r.c: Likewise.
6278 * inet/getprtent.c: Likewise.
6279 * inet/getprtent_r.c: Likewise.
6280 * inet/getprtname.c: Likewise.
6281 * inet/getprtname_r.c: Likewise.
6282 * inet/getrpcbyname.c: Likewise.
6283 * inet/getrpcbyname_r.c: Likewise.
6284 * inet/getrpcbynumber.c: Likewise.
6285 * inet/getrpcbynumber_r.c: Likewise.
6286 * inet/getrpcent.c: Likewise.
6287 * inet/getrpcent_r.c: Likewise.
6288 * inet/getaliasent.c: Likewise.
6289 * inet/getaliasent_r.c: Likewise.
6290 * inet/getaliasname.c: Likewise.
6291 * inet/getaliasname_r.c: Likewise.
6292 * nscd/getgrgid_r.c: Likewise.
6293 * nscd/getgrnam_r.c: Likewise.
6294 * nscd/gethstbyad_r.c: Likewise.
6295 * nscd/gethstbynm3_r.c: Likewise.
6296 * nscd/getpwnam_r.c: Likewise.
6297 * nscd/getpwuid_r.c: Likewise.
6298 * nscd/getsrvbynm_r.c: Likewise.
6299 * nscd/getsrvbypt_r.c: Likewise.
6300 * nscd/gai.c: Likewise.
6301
6302 * configure.in (build_nscd): New substituted variable, set
6303 by --disable-build-nscd and defaults to $use_nscd.
6304 * configure: Regenerated.
6305 * config.make.in (build-nscd): New substituted variable.
6306 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6307 Change conditional to require [$(build-nscd) = yes] as well.
6308 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6309
6310 [BZ# 13696]
6311 * configure.in (use_nscd): New substituted variable, set by
6312 --disable-nscd. If enabled, define USE_NSCD.
6313 * configure: Regenerated.
6314 * config.h.in: Add USE_NSCD.
6315 * config.make.in (use-nscd): New substituted variable.
6316 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6317 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6318 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6319 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6320 (CFLAGS-getgrnam_r.c): Likewise.
6321 (CFLAGS-initgroups.c): Likewise.
6322 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6323 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6324 Variables removed.
6325 * inet/getnetgrent_r.c
6326 (nscd_setnetgrent): New function, broken out of ...
6327 (setnetgrent): ... here. Call it.
6328 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6329 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6330 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6331 * nscd/Makefile (routines, aux): Move definitions after include of
6332 Makeconfig. Conditionalize on [$(use-nscd) != no].
6333 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6334 Conditionalize on [USE_NSCD].
6335 (is_nscd, nscd_init_cb): Likewise.
6336 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6337 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6338 * nss/nss_db/db-init.c: Likewise.
6339 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6340 [USE_NSCD].
6341 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6342 (make_request): Use it.
6343 (cache_valid_p): New function.
6344 (__check_pf): Use it.
6345 * NEWS: Add item for --disable-nscd.
6346
6347 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6348
6349 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6350 to support sed >= 4.2.1-20-ga9bf076.
6351 * configure: Regenerated.
6352
6353 2012-08-22 Roland McGrath <roland@hack.frob.com>
6354
6355 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6356 Conditionalize whole body on [IREL].
6357
6358 2012-08-22 Jeff Law <law@redhat.com>
6359
6360 [BZ #14505]
6361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6362 if the family is PF_UNSPEC.
6363
6364 2012-08-22 Mike Frysinger <vapier@gentoo.org>
6365
6366 * Makerules (lib-version): Rename from V.
6367 (install-lib-nosubdir): Change V to lib-version.
6368
6369 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6370
6371 [BZ #14252]
6372 * powerpc32/power6/wcschr.c: New file.
6373 * powerpc32/power6/wcscpy.c: New file.
6374 * powerpc32/power6/wcsrchr.c: New file.
6375 * powerpc64/power6/wcschr.c: New file.
6376 * powerpc64/power6/wcscpy.c: New file.
6377 * powerpc64/power6/wcsrchr.c: New file.
6378
6379 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6380
6381 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6382 (two_way_short_needle): Use it.
6383 * string/strstr.c (AVAILABLE1_USES_J): Define.
6384 * string/strcasestr.c: Likewise.
6385
6386 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6387 array references.
6388 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6389
6390 [BZ #11607]
6391 * NEWS: Add an entry.
6392 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6393 define their defaults.
6394 (two_way_short_needle): Detect end-of-string on-the-fly.
6395 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6396 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6397 * string/bug-strcasestr1.c: New test.
6398 * string/Makefile: Run it.
6399
6400 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6401
6402 [BZ #11607]
6403 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6404 the first character.
6405
6406 2012-08-21 Roland McGrath <roland@hack.frob.com>
6407
6408 * csu/elf-init.c (__libc_csu_irel): Function removed.
6409 * csu/libc-start.c (apply_irel): New function.
6410 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6411
6412 2012-08-21 Joseph Myers <joseph@codesourcery.com>
6413
6414 * sysdeps/unix/sysv/linux/kernel-features.h
6415 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6416 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6417 <kernel-features.h>.
6418 [__NR_fadvise64_64]: Make code unconditional.
6419 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6420 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6421 !__NR_fadvise64_64)]: Likewise.
6422 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6423 !__NR_fadvise64_64))]: Likewise.
6424 [__NR_fadvise64]: Make code unconditional.
6425 [!__NR_fadvise64]: Remove conditional code.
6426 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6427 <kernel-features.h>.
6428 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6429 unconditional.
6430 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6431 conditional code.
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6433 not include <kernel-features.h>.
6434 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6435 unconditional.
6436 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6437 conditional code.
6438 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6439 include <kernel-features.h>.
6440 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6441 unconditional.
6442 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6443 conditional code.
6444
6445 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6446
6447 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6448 slight instruction rearrangements per scrollpipe analysis.
6449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6450
6451 2012-08-20 Roland McGrath <roland@hack.frob.com>
6452
6453 * manual/syslog.texi (syslog; vsyslog, closelog):
6454 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6455 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6456
6457 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6458 DSOCAPS to match condition on defining it.
6459
6460 2012-08-20 Joseph Myers <joseph@codesourcery.com>
6461
6462 * sysdeps/unix/sysv/linux/kernel-features.h
6463 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6465 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6466 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6468 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6469 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6471 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6472 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6473
6474 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6475 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6476
6477 * sysdeps/unix/sysv/linux/kernel-features.h
6478 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6479 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6480 unconditional.
6481 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6482 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6483 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6484 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6485 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6486 Make code unconditional.
6487 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6488 (__mmap64) [!__NR_mmap2]: Likewise.
6489 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6490 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6491 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6492 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6493 [__NR_mmap2]: Make code unconditional.
6494 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6495 (__mmap64) [!__NR_mmap2]: Likewise.
6496
6497 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6498
6499 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6500
6501 2012-08-18 Andreas Jaeger <aj@suse.de>
6502
6503 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6504
6505 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6506
6507 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6508 * include/unistd.h (__have_sock_cloexec): Likewise.
6509 (__have_pipe2): Likewise.
6510 (__have_dup3): Likewise.
6511
6512 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6513
6514 [BZ #9685]
6515 * include/unistd.h (__have_pipe2): Change define into an extern int.
6516 (__have_dup3): Likewise.
6517 * socket/have_sock_cloexec.c: Include fcntl.h.
6518 (__have_pipe2): New variable.
6519 (__have_dup3): Likewise.
6520
6521 2012-08-17 Mike Frysinger <vapier@gentoo.org>
6522
6523 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6524
6525 2012-08-17 Marek Polacek <polacek@redhat.com>
6526
6527 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6528 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6529
6530 2012-08-17 Roland McGrath <roland@hack.frob.com>
6531
6532 * configure.in: Add AC_SUBST for sysheaders.
6533 * configure: Regenerated.
6534 * config.make.in (sysheaders): New substituted variable.
6535
6536 * sysdeps/unix/mkfifo.c: Moved ...
6537 * sysdeps/posix/mkfifo.c: ... here.
6538 * sysdeps/unix/mkfifoat.c: Moved ...
6539 * sysdeps/posix/mkfifoat.c: ... here.
6540
6541 * sysdeps/unix/utime.c: Moved ...
6542 * sysdeps/posix/utime.c: ... here.
6543
6544 * sysdeps/unix/time.c: Moved ...
6545 * sysdeps/posix/time.c: ... here.
6546 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6547 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
6548
6549 * sysdeps/unix/nice.c: Moved ...
6550 * sysdeps/posix/nice.c: ... here.
6551
6552 * sysdeps/unix/alarm.c: Moved ...
6553 * sysdeps/posix/alarm.c: ... here.
6554
6555 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6556
6557 2012-08-17 Jeff Law <law@redhat.com>
6558
6559 * intl/Makefile (codeset_mo): New variable.
6560 ($(codeset_mo)): New target.
6561 (tst-codeset.out): Depend on that. Remove explicit rule.
6562 (tst-gettext3.out, tst-gettext5.out): Likewise.
6563 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6564 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6565 * intl/tst-codeset.sh: Remove.
6566 * intl/tst-gettext3.sh: Likewise.
6567 * intl/tst-gettext5.sh: Likewise.
6568
6569 2012-08-17 Roland McGrath <roland@hack.frob.com>
6570
6571 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6572 * sysdeps/unix/syscalls.list: ... here.
6573
6574 * sysdeps/posix/getaddrinfo.c
6575 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6576 (gaiconf_init, gaiconf_reload): Use them.
6577 [!_STATBUF_ST_NSEC]
6578 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6579 Define using time_t rather than struct timespec.
6580
6581 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6582 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6583 Macros removed.
6584 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6585 [!NO_THREADS].
6586 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6587 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6588 Likewise.
6589
6590 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6591 __libc_cleanup_push argument.
6592
6593 * bits/param.h: New file.
6594 * misc/sys/param.h: New file.
6595 * include/sys/param.h: New file.
6596 * misc/Makefile (headers): Add bits/param.h.
6597 * sysdeps/generic/sys/param.h: File removed.
6598 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6599 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6600 * sysdeps/mach/hurd/bits/param.h: New file.
6601 * sysdeps/mach/hurd/sys/param.h: File removed.
6602
6603 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6604 last change.
6605
6606 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6607 [_IO_MTSAFE_IO].
6608 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6609 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6610 New macros.
6611
6612 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6613 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6614 rather than -D_IO_MTSAFE_IO conditionally.
6615 * stdio-common/Makefile (CPPFLAGS): Likewise.
6616 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6617 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6618 Use $(libio-mtsafe).
6619 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6620 of -D_IO_MTSAFE_IO.
6621 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6622 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6623 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6624 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6625 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6626 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6627 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6628 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6629 (CFLAGS-fread_u_chk.c): Likewise.
6630 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6631 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6632 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6633 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6634 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6635 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6636 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6637 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6638 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6639
6640 * libio/Makefile: Test [$(libc-reentrant) = yes]
6641 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6642
6643 * Makeconfig
6644 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6645 * sysdeps/pthread/configure: File removed.
6646 * sysdeps/pthread/Makeconfig: New file.
6647 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6648 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6649
6650 2012-08-16 Gary Benson <gbenson@redhat.com>
6651
6652 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6653 unmapping the first object in a namespace.
6654
6655 2012-08-16 Roland McGrath <roland@hack.frob.com>
6656
6657 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6658 (__internal_setnetgrent): ... this. Add internal_function to
6659 definition. Add libc_hidden_def.
6660 (setnetgrent): Update caller.
6661 (internal_endnetgrent): Renamed to ...
6662 (__internal_endnetgrent): ... this. Add internal_function to
6663 definition. Add libc_hidden_def.
6664 (endnetgrent): Update caller.
6665 (internal_getnetgrent_r): Renamed to ...
6666 (__internal_getnetgrent_r): ... this. Add internal_function to
6667 definition. Add libc_hidden_def.
6668 (__getnetgrent_r): Update caller.
6669 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6670
6671 2012-08-16 Joseph Myers <joseph@codesourcery.com>
6672
6673 * stdlib/longlong.h: Update from GCC.
6674
6675 2012-08-16 Roland McGrath <roland@hack.frob.com>
6676
6677 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6678 on _QL, which is set by umul_ppmm but never used.
6679 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6680 variables, which are set by GMP macros but never used.
6681 * stdio-common/_itowa.c (_itowa): Likewise.
6682 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6683 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6684
6685 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6686
6687 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6688 struct La_sh_regs is not constant.
6689 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6690 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6691 and struct La_sparc64_regs are not constant.
6692
6693 2012-08-16 Joseph Myers <joseph@codesourcery.com>
6694
6695 * sysdeps/unix/sysv/linux/kernel-features.h
6696 (__ASSUME_POSIX_TIMERS): Remove.
6697 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6698 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6699 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6700 Make code unconditional.
6701 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6702 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6703 Make code unconditional.
6704 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6705 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6706 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6707 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6708 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6709 Make code unconditional.
6710 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6711 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6712 (__libc_missing_posix_timers): Remove.
6713
6714 2012-08-15 Roland McGrath <roland@hack.frob.com>
6715
6716 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6717 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6718
6719 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6720
6721 * elf/dl-sym.c: Include <stdlib.h>.
6722
6723 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6724 constants, which avoids warnings in 32-bit builds.
6725
6726 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6727 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6728
6729 * misc/lseek.c: File moved to ...
6730 * io/lseek.c: ... here.
6731
6732 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6733
6734 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6735 shifting LEN more than 31 bits at once.
6736
6737 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6738
6739 [BZ #14195]
6740 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6741 segmentation fault for a case of two empty input strings.
6742 * string/test-strncasecmp.c (check1): Renamed to...
6743 (bz12205): ...this.
6744 (bz14195): Add new testcase for two empty input strings and N > 0.
6745 (test_main): Call new testcase, adapt for renamed function.
6746
6747 2012-08-15 Andreas Jaeger <aj@suse.de>
6748
6749 [BZ #14090]
6750 * crypt/md5test2.c: New test, based on test supplied by Serge
6751 Belyshev <belyshev@depni.sinp.msu.ru>.
6752 * crypt/Makefile (xtests): Add md5test-giant..
6753 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6754
6755 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6756
6757 [BZ #14090]
6758 * crypt/md5.c (md5_process_block): Don't assume the buffer
6759 length is less than 2**32.
6760 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6761 length is less than 2**64.
6762
6763 2012-08-15 Roland McGrath <roland@hack.frob.com>
6764
6765 * string/str-two-way.h: Include <sys/param.h>.
6766 (MAX): Macro removed.
6767
6768 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6769 Move #define and #undef of memmove to just before and after
6770 including <string.h>.
6771
6772 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6773 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6774 and after including <string.h>. Move declarations of
6775 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6776 to before #include "string/memmove.c".
6777
6778 * include/dirent.h: Declare __getdirentries.
6779
6780 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6781 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6782
6783 2012-08-14 Mike Frysinger <vapier@gentoo.org>
6784
6785 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6786 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6787 * sysdeps/i386/configure: Regenerated.
6788 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6789 STABS_CURRENT_FILE, and STABS_FUN.
6790 (END): Remove call to STABS_FUN_END.
6791 (STABS_CURRENT_FILE1): Delete.
6792 (STABS_CURRENT_FILE): Likewise.
6793 (STABS_FUN): Likewise.
6794 (STABS_FUN_END): Likewise.
6795 (STABS_FUN2): Likewise.
6796 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6797 * sysdeps/x86_64/configure: Regenerated.
6798
6799 2012-08-14 Roland McGrath <roland@hack.frob.com>
6800
6801 * elf/dl-open.c: Include <atomic.h>.
6802 * elf/dl-lookup.c: Likewise.
6803
6804 2012-08-14 Joseph Myers <joseph@codesourcery.com>
6805
6806 * sysdeps/unix/sysv/linux/kernel-features.h
6807 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6808 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6809 unconditionally.
6810 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6811 unconditionally.
6812 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6813 condition on __ASSUME_CLONE_THREAD_FLAGS.
6814
6815 2012-08-14 Andreas Jaeger <aj@suse.de>
6816
6817 * sysdeps/i386/fpu/libm-test-ulps: Update.
6818
6819 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6820
6821 * include/atomic.h (atomic_exchange_and_add): Split into ...
6822 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6823 New atomic macros.
6824
6825 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6826
6827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6828
6829 2012-08-13 Jeff Law <law@redhat.com>
6830
6831 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6832 null byte in the output string.
6833
6834 2012-08-10 Joseph Myers <joseph@codesourcery.com>
6835
6836 * sysdeps/unix/sysv/linux/kernel-features.h
6837 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6838 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6839 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6840 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6841 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6842 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6843 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6844
6845 2012-08-09 Jeff Law <law@redhat.com>
6846
6847 [BZ #13939]
6848 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6849 When avoid_arena is set, don't retry in the that arena. Pick the
6850 next one, whatever it might be.
6851 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6852 (arena_lock): Pass in new parameter to arena_get2.
6853 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6854 arena_get2.
6855 (__libc_malloc): Unify retrying after main arena failure with
6856 __libc_memalign version.
6857 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6858
6859 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6860
6861 [BZ #14166]
6862 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6863 to __redirect_strstr.
6864 (__strstr_sse42): Use typeof __redirect_strstr.
6865 (__strstr_ia32): Likewise.
6866 (__libc_strstr): New prototype.
6867 (strstr): Renamed to ...
6868 (__libc_strstr): This.
6869 (strstr): New strong alias of __libc_strstr.
6870 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6871 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6872 __redirect_time.
6873 Include <time.h>.
6874 (__libc_time): New prototype.
6875 (time_ifunc): Replace time with __libc_time.
6876 (time): New strong alias and hidden definition of __libc_time.
6877 (__GI_time): Remove strong alias.
6878 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6879 Include <stddef.h>.
6880 (memmove): Redefined to __redirect_memmove.
6881 (__memmove_sse2): Use typeof __redirect_memmove.
6882 (__memmove_ssse3): Likewise.
6883 (__memmove_ssse3_back): Likewise.
6884 (__libc_memmove): New prototype.
6885 (memmove): Renamed to ...
6886 (__libc_memmove): This.
6887 (memmove): New strong alias of __libc_memmove.
6888
6889 2012-08-08 Mark Salter <msalter@redhat.com>
6890
6891 * elf/elf.h
6892 (R_MN10300_TLS_GD): Define.
6893 (R_MN10300_TLS_LD): Likewise.
6894 (R_MN10300_TLS_LDO): Likewise.
6895 (R_MN10300_TLS_GOTIE): Likewise.
6896 (R_MN10300_TLS_IE): Likewise.
6897 (R_MN10300_TLS_LE): Likewise.
6898 (R_MN10300_TLS_DTPMOD): Likewise.
6899 (R_MN10300_TLS_DTPOFF): Likewise.
6900 (R_MN10300_TLS_TPOFF): Likewise.
6901 (R_MN10300_SYM_DIFF): Likewise.
6902 (R_MN10300_ALIGN): Likewise.
6903 (R_MN10300_NUM): Update.
6904
6905 2012-08-08 Joseph Myers <joseph@codesourcery.com>
6906
6907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6908 Remove.
6909
6910 2012-08-08 Roland McGrath <roland@hack.frob.com>
6911
6912 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6913
6914 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6915 sysdeps/unix -> sysdeps/posix move.
6916 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6917
6918 2012-08-07 Allan McRae <allan@archlinux.org>
6919
6920 [BZ #14303]
6921 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6922 (SUNOS_CPP): Likewise.
6923 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6924 not found.
6925 (open_input): Call CPP using execvp.
6926
6927 2012-08-07 Joseph Myers <joseph@codesourcery.com>
6928
6929 * sysdeps/unix/sysv/linux/kernel-features.h
6930 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6931 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6932 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6933 (__ASSUME_WAITID_SYSCALL): Likewise.
6934 * sysdeps/unix/sysv/linux/dl-execstack.c
6935 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6936 code unconditional.
6937 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6938 conditional code.
6939 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6940 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6941 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6942 code.
6943 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6944 unconditional.
6945 [__ASSUME_WAITID_SYSCALL]: Likewise.
6946 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6947
6948 2012-08-07 Roland McGrath <roland@hack.frob.com>
6949
6950 * sysdeps/unix/closedir.c: Renamed to ...
6951 * sysdeps/posix/closedir.c: ... here.
6952 * sysdeps/unix/dirfd.c: Renamed to ...
6953 * sysdeps/posix/dirfd.c: ... here.
6954 * sysdeps/unix/dirstream.h: Renamed to ...
6955 * sysdeps/posix/dirstream.h: ... here.
6956 * sysdeps/unix/fdopendir.c: Renamed to ...
6957 * sysdeps/posix/fdopendir.c: ... here.
6958 * sysdeps/unix/opendir.c: Renamed to ...
6959 * sysdeps/posix/opendir.c: ... here.
6960 * sysdeps/unix/readdir.c: Renamed to ...
6961 * sysdeps/posix/readdir.c: ... here.
6962 * sysdeps/unix/readdir_r.c: Renamed to ...
6963 * sysdeps/posix/readdir_r.c: ... here.
6964 * sysdeps/unix/rewinddir.c: Renamed to ...
6965 * sysdeps/posix/rewinddir.c: ... here.
6966 * sysdeps/unix/seekdir.c: Renamed to ...
6967 * sysdeps/posix/seekdir.c: ... here.
6968 * sysdeps/unix/telldir.c: Renamed to ...
6969 * sysdeps/posix/telldir.c: ... here.
6970 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6971 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6972 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6973 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6974
6975 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6976 * bits/fcntl.h: ... here.
6977
6978 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6979 not 0.
6980 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6981 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6982 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6983 (struct flock): Move l_start, l_len to the beginning.
6984 Use __pid_t for l_pid.
6985 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6986 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6987 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6988 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6989 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6990 [__USE_LARGEFILE64] (struct flock64): New type.
6991 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6992
6993 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6994 * bits/dirent.h: ... here.
6995
6996 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6997 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6998
6999 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7000
7001 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7002 Change from 2.6.0 to 2.6.16.
7003 * sysdeps/unix/sysv/linux/configure: Regenerated.
7004 * sysdeps/unix/sysv/linux/kernel-features.h
7005 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7006 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7007 version.
7008 (__ASSUME_UTIMES): Likewise.
7009 (__ASSUME_CLONE_STOPPED): Remove.
7010 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7011 architectures, not kernel version.
7012 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7013 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7014 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7015 (__ASSUME_WAITID_SYSCALL): Likewise.
7016 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7017 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7018 * README: State 2.6.16 as minimum Linux kernel version. Do not
7019 refer to older versions.
7020
7021 2012-08-06 Roland McGrath <roland@hack.frob.com>
7022
7023 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7024 Define alphasort64 as an alias.
7025 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7026 Define versionsort64 as an alias.
7027 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7028 Define scandir64 as an alias.
7029 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7030 Define scandirat64 as an alias.
7031 * dirent/alphasort64.c (alphasort64):
7032 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7033 * dirent/versionsort64.c: Likewise.
7034 * dirent/scandir64.c: Likewise.
7035 * dirent/scandirat64.c: Likewise.
7036 * sysdeps/wordsize-64/alphasort.c: File removed.
7037 * sysdeps/wordsize-64/alphasort64.c: File removed.
7038 * sysdeps/wordsize-64/scandir.c: File removed.
7039 * sysdeps/wordsize-64/scandir64.c: File removed.
7040 * sysdeps/wordsize-64/scandirat.c: File removed.
7041 * sysdeps/wordsize-64/scandirat64.c: File removed.
7042 * sysdeps/wordsize-64/versionsort.c: File removed.
7043 * sysdeps/wordsize-64/versionsort64.c: File removed.
7044 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7045 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7046 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7047 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7048 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7049 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7050 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7051 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7052
7053 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7054 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7055 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7056 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7057 [defined __arch64__ || defined __sparcv9]
7058 (__INO_T_MATCHES_INO64_T): New macro.
7059 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7060 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7061 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7062 * sysdeps/unix/sysv/linux/bits/dirent.h
7063 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7064 (_DIRENT_MATCHES_DIRENT64): New macro.
7065
7066 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7067 Define lockf64 as an alias.
7068 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7069 Define fseeko64 as an alias.
7070 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7071 Define ftello64 as an alias.
7072 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7073 Define _IO_fgetpos64 and fgetpos64 as aliases.
7074 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7075 Define _IO_fsetpos64 and fsetpos64 as aliases.
7076 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7077 Conditionalize body on this.
7078 * libio/fseeko64.c: Likewise.
7079 * libio/ftello64.c: Likewise.
7080 * libio/iofgetpos64.c: Likewise.
7081 * libio/iofsetpos64.c: Likewise.
7082 * sysdeps/wordsize-64/lockf.c: File removed.
7083 * sysdeps/wordsize-64/lockf64.c: File removed.
7084 * sysdeps/wordsize-64/fseeko.c: File removed.
7085 * sysdeps/wordsize-64/fseeko64.c: File removed.
7086 * sysdeps/wordsize-64/ftello.c: File removed.
7087 * sysdeps/wordsize-64/ftello64.c: File removed.
7088 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7089 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7090 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7091 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7092 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7093 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7094 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7095 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7096 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7097 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7098 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7099 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7100 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7101 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7102
7103 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7104 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7105 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7107 [defined __arch64__ || defined __sparcv9]
7108 (__OFF_T_MATCHES_OFF64_T): New macro.
7109 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7110 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7112 (__OFF_T_MATCHES_OFF64_T): New macro.
7113
7114 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7115
7116 * stdlib/secure-getenv.c (__secure_getenv): Replace
7117 GLIBC_2_16 with GLIBC_2_17.
7118
7119 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7120
7121 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7122 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7123
7124 2012-08-03 David S. Miller <davem@davemloft.net>
7125
7126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7127
7128 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7129
7130 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7131 Remove.
7132 (__ASSUME_CORRECT_SI_PID): Likewise.
7133 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7134 (__ASSUME_TMPFS_NAME): Likewise.
7135 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7136 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7137 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7138 (HAVE_AUX_SECURE): Make definition unconditional.
7139 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7140 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7141
7142 2012-08-03 Roland McGrath <roland@hack.frob.com>
7143
7144 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7145 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7146 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7147 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7148 __eloop_threshold instead of SYMLOOP_MAX.
7149
7150 * sysdeps/generic/eloop-threshold.h: New file.
7151 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7152 of MAXSYMLINKS.
7153 * elf/chroot_canon.c (chroot_canon): Likewise.
7154
7155 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7156
7157 [BZ #13717]
7158 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7159 Change to 2.6.0 everywhere.
7160 * sysdeps/unix/sysv/linux/configure: Regenerated.
7161 * sysdeps/unix/sysv/linux/kernel-features.h
7162 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7163 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7164 kernel versions.
7165 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7166 (__ASSUME_FUTEX_REQUEUE): Remove.
7167 (__ASSUME_STATFS64): Define unconditionally.
7168 (__ASSUME_AT_SECURE): Likewise.
7169 (__ASSUME_CORRECT_SI_PID): Likewise.
7170 (__ASSUME_TGKILL): Define without depending on kernel version for
7171 i386.
7172 (__ASSUME_UTIMES): Likewise.
7173 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7174 kernel version.
7175 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7176 (__ASSUME_TMPFS_NAME): Likewise.
7177 * README: Update reference to Linux kernel versions.
7178
7179 2012-08-02 Marek Polacek <polacek@redhat.com>
7180
7181 [BZ# 14150]
7182 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7183 libc_cv_asm_type_prefix with %.
7184 * configure: Regenerated.
7185 * include/libc-symbols.h: Remove comment about
7186 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7187 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7188 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7189 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7190 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7191 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7192 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7193 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7194 * elf/tst-unique2mod1.c: Likewise.
7195 * elf/tst-unique1mod2.c: Likewise.
7196 * elf/tst-unique1mod1.c: Likewise.
7197 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7198 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7199 Replace ASM_TYPE_DIRECTIVE with .type.
7200 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7201 * sysdeps/i386/sysdep.h: Likewise.
7202 * sysdeps/x86_64/sysdep.h: Likewise.
7203 * sysdeps/sh/sysdep.h: Likewise.
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7205 Do not define ASM_TYPE_DIRECTIVE.
7206 * sysdeps/powerpc/sysdep.h: Likewise.
7207 * sysdeps/powerpc/powerpc32/sysdep.h:
7208 Replace ASM_TYPE_DIRECTIVE with .type.
7209 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7210 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7211 * sysdeps/i386/fpu/e_powf.S: Likewise.
7212 * sysdeps/i386/fpu/e_expl.S: Likewise.
7213 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7214 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7215 * sysdeps/i386/fpu/e_pow.S: Likewise.
7216 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7217 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7218 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7219 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7220 * sysdeps/i386/fpu/e_log2.S: Likewise.
7221 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7222 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7223 * sysdeps/i386/fpu/e_powl.S: Likewise.
7224 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7225 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7226 * sysdeps/i386/fpu/e_logl.S: Likewise.
7227 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7228 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7229 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7230 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7231 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7232 * sysdeps/i386/fpu/e_log.S: Likewise.
7233 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7234 * sysdeps/i386/fpu/e_logf.S: Likewise.
7235 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7236 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7237 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7238 * sysdeps/i386/fpu/e_log10.S: Likewise.
7239 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7240 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7241 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7242 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7243 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7244 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7245 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7246 * sysdeps/i386/i686/strtok.S: Likewise.
7247 * sysdeps/i386/i386-mcount.S: Likewise.
7248 * sysdeps/i386/strtok.S: Likewise.
7249 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7250 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7251 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7252 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7253 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7254 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7255 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7256 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7257 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7258 * sysdeps/x86_64/_mcount.S: Likewise.
7259 * sysdeps/x86_64/strtok.S: Likewise.
7260 * sysdeps/sh/_mcount.S: Likewise.
7261
7262 2012-08-01 Roland McGrath <roland@hack.frob.com>
7263
7264 * libio/iofopen.c: Include <fcntl.h>.
7265 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7266 (_IO_fopen64, fopen64): Define as aliases.
7267 * libio/iofopen64.c: Include <fcntl.h>.
7268 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7269 Conditionalize body on this.
7270 * sysdeps/wordsize-64/iofopen.c: File removed.
7271 * sysdeps/wordsize-64/iofopen64.c: File removed.
7272
7273 2012-08-01 Marek Polacek <polacek@redhat.com>
7274
7275 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7276 Use dlfcn directly instead of a variable.
7277 (binfmt-subdir): Do not define.
7278 (dlfcn): Likewise.
7279
7280 2012-08-01 Joseph Myers <joseph@codesourcery.com>
7281
7282 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7283 Remove all definitions.
7284 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7285 <kernel-features.h>.
7286 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7287 (miss_F_GETOWN_EX): Remove all definitions.
7288 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7289 macro definition.
7290 [!__ASSUME_FCNTL64]: Remove conditional code.
7291 [__ASSUME_FCNTL64]: Make code unconditional.
7292 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7293 <kernel-features.h>.
7294 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7295 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7296 (lockf64) [__NR_fcntl64]: Make code unconditional.
7297 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7298
7299 * sysdeps/unix/sysv/linux/kernel-features.h
7300 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7301 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7302 Make code unconditional.
7303 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7304 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7306 [__NR_vfork]: Make code unconditional.
7307 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7308 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7310 [__NR_vfork]: Make code unconditional.
7311 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7312 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7313
7314 2012-08-01 Roland McGrath <roland@hack.frob.com>
7315
7316 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7317 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7318
7319 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7320 Define mkstemp64 as an alias.
7321 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7322 Define mkstemps64 as an alias.
7323 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7324 Define mkostemp64 as an alias.
7325 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7326 Define mkostemps64 as an alias.
7327 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7328 Conditionalize body on this.
7329 * misc/mkostemp64.c: Likewise.
7330 * misc/mkostemps64.c: Likewise.
7331 * misc/mkstemps64.c: Likewise.
7332 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7333 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7334 * sysdeps/wordsize-64/mkostemp.c: File removed.
7335 * sysdeps/wordsize-64/mkstemp.c: File removed.
7336 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7337 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7338 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7339 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7340
7341 [BZ #14138]
7342 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7343 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7344 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7345 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7346
7347 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7348 compat_symbol macros from <shlib-compat.h> rather than the underlying
7349 default_symbol_version and symbol_version macros, so that DEFAULT
7350 lines in shlib-versions are respected.
7351 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7352
7353 2012-08-01 Florian Weimer <fweimer@redhat.com>
7354
7355 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7356 Declare with warn_unused_result.
7357 (setgid, setregid, setegid, setresgid): Likewise.
7358 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7359 Likewise.
7360 * WUR-REPORT: Remove set*id functions.
7361
7362 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7363
7364 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7365
7366 2012-07-31 Roland McGrath <roland@hack.frob.com>
7367
7368 * include/sys/socket.h (__libc_accept, __libc_accept4):
7369 Add attribute_hidden.
7370 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7371
7372 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7373 use of PTR_MANGLE.
7374 * inet/getnetgrent_r.c (setup): Likewise.
7375
7376 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7377
7378 2012-07-31 David S. Miller <davem@davemloft.net>
7379
7380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7381
7382 2012-07-31 Joseph Myers <joseph@codesourcery.com>
7383
7384 [BZ #13629]
7385 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7386 value between 1.0 and 2.0 and smaller part has absolute value less
7387 than 1.0.
7388 * math/s_clog10.c (__clog10): Likewise.
7389 * math/s_clog10f.c (__clog10f): Likewise.
7390 * math/s_clog10l.c (__clog10l): Likewise.
7391 * math/s_clogf.c (__clogf): Likewise.
7392 * math/s_clogl.c (__clogl): Likewise.
7393 * math/libm-test.inc (clog_test): Add more tests.
7394 (clog10_test): Likewise.
7395 * sysdeps/i386/fpu/libm-test-ulps: Update.
7396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7397
7398 2012-07-31 Florian Weimer <fweimer@redhat.com>
7399
7400 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7401 Exit with zero in case no suitable GID is found, and write a
7402 message to standard error.
7403
7404 2012-07-30 Roland McGrath <roland@hack.frob.com>
7405
7406 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7407 rather than to 1.
7408 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7409 (MAXPATHLEN): Removed.
7410 (NOGROUP, NODEV): New macros.
7411 (setbit, clrbit, isset, isclr): New macros.
7412 (howmany, roundup, powerof2): New macros.
7413 (DEV_BSIZE): New macro.
7414
7415 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7416 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7417
7418 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7419 definition on [!__NO_LONG_DOUBLE_MATH].
7420
7421 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7422 PTR_MANGLE and PTR_DEMANGLE.
7423
7424 * socket/accept4.c (accept4): Rename to __libc_accept4.
7425 Define accept4 as a weak alias.
7426
7427 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7428 on [_DIRENT_HAVE_D_TYPE].
7429 * io/ftw.c (ftw_dir): Likewise.
7430
7431 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7432
7433 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7434
7435 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7436 Use the BSD numbers rather than the arbitrary ones we had.
7437 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7438 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7439 (SIGXCPU, SIGXFSZ): New macros.
7440 (_NSIG): Now 32.
7441
7442 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7443 initializer on [_LIBC_REENTRANT].
7444
7445 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7446 definitions inside [_POSIX_MAPPED_FILES].
7447
7448 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7449
7450 * dirent/opendir.c: Include <fcntl.h>.
7451
7452 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7453 (__libc_getspecific): Likewise.
7454 (__libc_key_create): Likewise.
7455
7456 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7457 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7458 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7459 (tmpfile64): Define as alias.
7460 * sysdeps/wordsize-64/tmpfile.c: File removed.
7461 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7462 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7463 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7464
7465 * stdio-common/vfscanf.c: Include <stdbool.h>.
7466 * nss/makedb.c: Likewise.
7467 * stdio-common/_i18n_number.h: Likewise.
7468 * argp/argp-help.c: Likewise.
7469 * posix/wordexp.c: Likewise.
7470 * sysdeps/posix/spawni.c: Likewise.
7471 * nss/nss_files/files-initgroups.c: Likewise.
7472 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7473 * nss/nss_files/files-initgroups.c: Likewise.
7474 * nss/nss_db/db-netgrp.c: Likewise.
7475 * nss/nss_db/db-initgroups.c: Likewise.
7476 * io/fchmodat.c: Include <sys/stat.h>.
7477
7478 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7479 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7480
7481 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7482 [HAVE_MMAP].
7483
7484 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7485 Add multiple inclusion protection.
7486
7487 2012-07-27 David S. Miller <davem@davemloft.net>
7488
7489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7490
7491 2012-07-27 Gary Benson <gbenson@redhat.com>
7492
7493 [BZ #14298]
7494 * elf/rtld.c: Include <stap-probe.h>.
7495 (dl_main): Added static probes "init_start" and "init_complete".
7496 * elf/dl-load.c: Include <stap-probe.h>.
7497 (lose): Take new parameter "nsid".
7498 Added static probe "map_failed".
7499 (_dl_map_object_from_fd): Pass namespace id to lose.
7500 Added static probe "map_start".
7501 (open_verify): Pass namespace id to lose.
7502 * elf/dl-open.c: Include <stap-probe.h>.
7503 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7504 and "reloc_complete".
7505 * elf/dl-close.c: Include <stap-probe.h>.
7506 (_dl_close_worker): Added static probes "unmap_start" and
7507 "unmap_complete".
7508 * elf/rtld-debugger-interface.txt: New file documenting the above.
7509
7510 2012-07-26 Roland McGrath <roland@hack.frob.com>
7511
7512 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7513 rather than a string variable.
7514 * sunrpc/rpc_main.c (h_output): Likewise.
7515 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7516
7517 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7518
7519 * inet/check_native.c: New file.
7520
7521 2012-07-26 Joseph Myers <joseph@codesourcery.com>
7522
7523 [BZ #13629]
7524 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7525 if larger part has absolute value 1.0.
7526 * math/s_clog10.c (__clog10): Likewise.
7527 * math/s_clog10f.c (__clog10f): Likewise.
7528 * math/s_clog10l.c (__clog10l): Likewise.
7529 * math/s_clogf.c (__clogf): Likewise.
7530 * math/s_clogl.c (__clogl): Likewise.
7531 * math/libm-test.inc (clog_test): Add more tests.
7532 (clog10_test): Likewise.
7533 * sysdeps/i386/fpu/libm-test-ulps: Update.
7534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7535
7536 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7537 (pltexit): Likewise.
7538 (La_regs): Likewise.
7539 (La_retval): Likewise.
7540 (int_retval): Likewise.
7541 Update #error for removed macros to refer only to definitions in
7542 tst-audit.h.
7543 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7544 macro.
7545 (pltexit): Likewise.
7546 (La_regs): Likewise.
7547 (La_retval): Likewise.
7548 (int_retval): Likewise.
7549 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7550 macro.
7551 (pltexit): Likewise.
7552 (La_regs): Likewise.
7553 (La_retval): Likewise.
7554 (int_retval): Likewise.
7555 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7556 macro.
7557 (pltexit): Likewise.
7558 (La_regs): Likewise.
7559 (La_retval): Likewise.
7560 (int_retval): Likewise.
7561 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7562 macro.
7563 (pltexit): Likewise.
7564 (La_regs): Likewise.
7565 (La_retval): Likewise.
7566 (int_retval): Likewise.
7567 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7568 macro.
7569 (pltexit): Likewise.
7570 (La_regs): Likewise.
7571 (La_retval): Likewise.
7572 (int_retval): Likewise.
7573 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7574 macro.
7575 (pltexit): Likewise.
7576 (La_regs): Likewise.
7577 (La_retval): Likewise.
7578 (int_retval): Likewise.
7579 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7580 macro definitions in tst-audit.h.
7581 * sysdeps/i386/tst-audit.h: New file.
7582 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7583 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7584 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7585 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7586 * sysdeps/sh/tst-audit.h: Likewise.
7587 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7588 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7589 * sysdeps/x86_64/tst-audit.h: Likewise.
7590
7591 2012-07-26 Andreas Jaeger <aj@suse.de>
7592
7593 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7594 ptrace.
7595
7596 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7597 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7598 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7599 PTRACE_O_MASK.
7600 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7601 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7602 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7603
7604 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7605 value.
7606
7607 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7608 _sigsys.
7609 (si_call_addr, si_syscall, si_arch): Define new macro.
7610 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7611 _sigsys.
7612 (si_call_addr, si_syscall, si_arch): Define new marcro.
7613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7614 _sigsys.
7615 (si_call_addr, si_syscall, si_arch): Define new macro.
7616 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7617 _sigsys.
7618 (si_call_addr, si_syscall, si_arch): Define new macro.
7619
7620 2012-07-25 Joseph Myers <joseph@codesourcery.com>
7621
7622 [BZ #13717]
7623 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7624 Change to 2.4.21 where previously 2.4.1.
7625 * sysdeps/unix/sysv/linux/configure: Regenerated.
7626 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7627 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7628 Linux kernel version.
7629 (__ASSUME_STD_AUXV): Remove.
7630 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7631 kernel version.
7632 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7633 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7634 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7635 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7636 (__ASSUME_NETLINK_SUPPORT): Likewise.
7637 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7638 (__no_netlink_support): Remove conditional definition.
7639 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7640 Remove.
7641 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7642 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7643 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7644 (if_nameindex_ioctl): Remove.
7645 (if_nameindex_netlink): Do not handle __no_netlink_support.
7646 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7647 code.
7648 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7649 Remove conditional code.
7650 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7651 code.
7652 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7653 unconditional.
7654 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7655 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7656 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7657 Remove.
7658 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7659 [!__ASSUME_STD_AUXV]: Remove conditional code.
7660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7661 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7662 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7664 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7665 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7666 code.
7667 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7669 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7670 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7671 conditional code.
7672 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7674 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7675 code.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7677 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7678 conditional code.
7679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7680 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7681 code unconditional.
7682 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7683 conditional code.
7684 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7685 unconditional.
7686 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7687 conditional code.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7689 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7690 unconditional.
7691 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7692 conditional code.
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7694 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7695 code unconditional.
7696 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7697 conditional code.
7698 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7699 unconditional.
7700 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7701 conditional code.
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7703 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7704 code unconditional.
7705 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7706 conditional code.
7707 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7708 unconditional.
7709 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7710 conditional code.
7711
7712 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7713
7714 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7715 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7716 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7717 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7718 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7719 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7720 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7721 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7722 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7723 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7724 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7725 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7726 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7727 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7728 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7729 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7730 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7731 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7732 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7734 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7735 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7736 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7737
7738 2012-07-25 Florian Weimer <fweimer@redhat.com>
7739
7740 * Versions.def: Add GLIBC_2.17.
7741 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7742 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7743 Introduce __libc_secure_getenv.
7744 * stdlib/Versions (2.17): Add secure_getenv
7745 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7746 * stdlib/secure-getenv.c: Rename __secure_getenv to
7747 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7748 symbol __secure_getenv for GLIBC_2.0.
7749 * stdlib/tst-secure-getenv.c: New.
7750 * stdlib/Makefile (tests): Add testcase.
7751 * manual/startup.texi (Environment Access): Document
7752 secure_getenv.
7753 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7754 __libc_secure_getenv.
7755 * inet/ruserpass.c (ruserpass): Likewise.
7756 * malloc/mtrace.c (mtrace): Likewise.
7757 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
7758 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7759 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7760 * sysdeps/posix/tempname.c: Likewise. Evaluate
7761 HAVE_SECURE_GETENV.
7762 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
7763 __secure_getenv to __libc_secure_getenv.
7764 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
7765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7766 Likewise.
7767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7768 Likewise.
7769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7776
7777 2012-07-25 Joseph Myers <joseph@codesourcery.com>
7778
7779 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7780 (struct La_i86_retval): Likewise.
7781 (struct La_x86_64_regs): Likewise.
7782 (struct La_x86_64_retval): Likewise.
7783 (struct La_x32_regs): Likewise.
7784 (struct La_x32_retval): Likewise.
7785 (struct La_ppc32_regs): Likewise.
7786 (struct La_ppc32_retval): Likewise.
7787 (struct La_ppc64_regs): Likewise.
7788 (struct La_ppc64_retval): Likewise.
7789 (struct La_sh_regs): Likewise.
7790 (struct La_sh_retval): Likewise.
7791 (struct La_s390_32_regs): Likewise.
7792 (struct La_s390_32_retval): Likewise.
7793 (struct La_s390_64_regs): Likewise.
7794 (struct La_s390_64_retval): Likewise.
7795 (struct La_sparc32_regs): Likewise.
7796 (struct La_sparc32_retval): Likewise.
7797 (struct La_sparc64_regs): Likewise.
7798 (struct La_sparc64_retval): Likewise.
7799 (struct audit_ifaces): Remove architecture-specific pltenter and
7800 pltexit members.
7801 * sysdeps/i386/ldsodefs.h: New file.
7802 * sysdeps/powerpc/ldsodefs.h: Likewise.
7803 * sysdeps/s390/ldsodefs.h: Likewise.
7804 * sysdeps/sh/ldsodefs.h: Likewise.
7805 * sysdeps/sparc/ldsodefs.h: Likewise.
7806 * sysdeps/x86_64/ldsodefs.h: Likewise.
7807
7808 2012-07-25 Marek Polacek <polacek@redhat.com>
7809
7810 [BZ #6808]
7811 * math/libm-test.inc (yn_test): Add another test.
7812 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7813 to ERANGE when the result is +-Inf.
7814 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7815 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7816 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7817 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7818
7819 2012-07-24 Joseph Myers <joseph@codesourcery.com>
7820
7821 * conform/data/time.h-data (NULL): Use macro-constant. Require
7822 equal to 0.
7823 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7824 clock_t.
7825 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7826
7827 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7828
7829 * configure.in <sysdeps resolving>: Correct printing
7830 Implies_before.
7831 * configure: Regenerate.
7832
7833 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7834
7835 * math/w_ilogb.c: Include <limits.h>.
7836 * math/w_ilogbl.c: Likewise.
7837
7838 2012-07-20 Joseph Myers <joseph@codesourcery.com>
7839
7840 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7841 va_copy. Document allowing for unavailable va_copy only as
7842 pre-C99 compatibility.
7843 * manual/string.texi (Copying and Concatenation): Use va_copy
7844 instead of __va_copy in concat example.
7845
7846 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7847
7848 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7849 (__sendto): Use create_address_port. Initialize APORT and deallocate
7850 it if not null.
7851
7852 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7853 with O_NOLINK passed to __file_name_lookup.
7854
7855 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7856 with O_NOLINK passed to __file_name_lookup.
7857
7858 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7859 negative N or less than NGIDS.
7860
7861 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7862 type to string_t. Set ERANGE as errno and return it if NAME is not big
7863 enough. Use memcpy instead of strncpy.
7864
7865 2012-07-20 Joseph Myers <joseph@codesourcery.com>
7866
7867 * elf/Makefile (check-data): Remove.
7868 (localplt.data): New vpath directive.
7869 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7870 instead of $(check-data).
7871 * scripts/data/localplt-generic.data: Move to ...
7872 * sysdeps/generic/localplt.data: ... here.
7873 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7874 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7875 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7877 ... here.
7878 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7880 ... here.
7881 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7883 ... here.
7884 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7886 ... here.
7887 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7889 ... here.
7890 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7892 ... here.
7893
7894 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7895
7896 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7897 PPC32 and PPC64 files.
7898 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7899 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7900
7901 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7902
7903 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7904 __makecontext_ret to ...
7905 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7906 ... here and call exit if uc_link is NULL. New file.
7907 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7908 __makecontext_ret.S.
7909 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7910 __makecontext_ret to ...
7911 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7912 ... here and call exit if uc_link is NULL. New file.
7913 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7914 __makecontext_ret.S.
7915
7916 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7917
7918 * elf/elf.h (R_390_IRELATIVE): New definition.
7919 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7920 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7921 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7922 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7923 (elf_machine_lazy_rel): Likewise.
7924 * sysdeps/s390/dl-irel.h: New file.
7925 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7926 * sysdeps/s390/s390-64/memset.S: New asm code.
7927 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7928 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7929 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7930 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7931 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7932 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7933 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7934 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7935 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7936 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7937 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7938 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7939 * sysdeps/s390/s390-32/memset.S: New asm code.
7940 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7941
7942 2012-07-17 Marek Polacek <polacek@redhat.com>
7943
7944 [BZ #14349]
7945 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7946 * sysdeps/s390/s390-64/configure.in: Likewise.
7947 * sysdeps/sparc/configure.in: Likewise.
7948 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7949 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7950 * sysdeps/i386/configure.in: Likewise.
7951 * sysdeps/x86_64/configure.in: Likewise.
7952 * sysdeps/sh/configure.in: Likewise.
7953 * sysdeps/s390/s390-32/configure: Regenerated.
7954 * sysdeps/s390/s390-64/configure: Likewise.
7955 * sysdeps/x86_64/configure: Likewise.
7956 * sysdeps/sh/configure: Likewise.
7957 * sysdeps/powerpc/powerpc64/configure: Likewise.
7958 * sysdeps/powerpc/powerpc32/configure: Likewise.
7959 * sysdeps/sparc/configure: Likwise.
7960 * sysdeps/i386/configure: Likewise.
7961
7962 * elf/dl-open.c: Comment fixes.
7963
7964 2012-07-17 Joseph Myers <joseph@codesourcery.com>
7965
7966 * Makefile [CXX] (check-data): Remove.
7967 [CXX] (c++-types.data): New vpath directive.
7968 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7969 vpath. Do not allow for C++ type data being missing.
7970 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7971 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7972 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7973 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7974 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7975 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7976 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7978 ... here.
7979 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7981 ... here.
7982 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7984 ... here.
7985 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7987 ... here.
7988 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7990 ... here.
7991 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7993 ... here.
7994 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7996 ... here.
7997 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7999
8000 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8001 definitions to architecture-specific files.
8002 (TLS_IE): Likewise.
8003 (TLS_LD): Likewise.
8004 (TLS_GD): Likewise.
8005 * sysdeps/i386/tls-macros.h: New file.
8006 * sysdeps/powerpc/tls-macros.h: Likewise.
8007 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8008 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8009 * sysdeps/sh/tls-macros.h: Likewise.
8010 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8011 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8012 * sysdeps/x86_64/tls-macros.h: Likewise.
8013
8014 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8015
8016 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8017 zero value for regular exit case.
8018
8019 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8020 (__start_context): Preserve zero value for regular exit case.
8021
8022 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8023 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8024
8025 * manual/setjmp.texi (setcontext): Clarify normal process
8026 termination when uc_link is the null pointer.
8027 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8028 exit call.
8029
8030 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8031
8032 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8033 preprocessor. Test for each exception mask separately.
8034
8035 2012-07-16 Andreas Jaeger <aj@suse.de>
8036
8037 * po/ru.po: Update from translation team.
8038
8039 2012-07-15 Joseph Myers <joseph@codesourcery.com>
8040
8041 * conform/data/string.h-data (NULL): Use macro-constant. Require
8042 equal to 0.
8043 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8044 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8045 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8046 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8047 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8048
8049 2012-07-13 Andreas Jaeger <aj@suse.de>
8050
8051 * po/fr.po: Update from translation team.
8052
8053 2012-07-12 Marek Polacek <polacek@redhat.com>
8054
8055 [BZ #14173]
8056 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8057 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8058 loop condition.
8059
8060 2012-07-12 Joseph Myers <joseph@codesourcery.com>
8061
8062 [BZ #13717]
8063 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8064 Change to 2.4.1 where previously 2.4.0.
8065 * sysdeps/unix/sysv/linux/configure: Regenerated.
8066 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8067 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8068 version.
8069 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8070 (__ASSUME_AT_CLKTCK): Remove.
8071 (__ASSUME_AT_PAGESIZE): Likewise.
8072 (__ASSUME_AT_XID): Likewise.
8073 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8074 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8075 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8076 unconditionally.
8077 (HAVE_AUX_PAGESIZE): Likewise.
8078 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8079 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8080 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8081
8082 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8083
8084 [BZ #14307]
8085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8086 the temporary buffer used to invoke __gethostbyname2_r,
8087 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8088 host_data / struct gaih_addrtuple.
8089 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8090 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8091 header file nss/nsswitch.h.
8092 * nss/nsswitch.h (global scope): Add definition of implementation
8093 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8094 resolv/nss_dns/dns-host.c).
8095
8096 2012-07-11 Andreas Jaeger <aj@suse.de>
8097
8098 * po/fr.po: Update from translation team.
8099
8100 * po/sv.po: Update from translation team
8101 * po/fr.po: Another update from translation team.
8102
8103 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8104
8105 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8106 for subnormals or multiply small sinh result by itself.
8107 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8109
8110 2012-07-11 David S. Miller <davem@davemloft.net>
8111
8112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8113
8114 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8115
8116 [BZ #14347]
8117 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8118 (INTERNAL_MARK): Shift it here.
8119
8120 2012-07-10 Marek Polacek <polacek@redhat.com>
8121
8122 [BZ #14151]
8123 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8124 libc_cv_asm_global_directive with .globl.
8125 * configure: Regenerated.
8126 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8127 with .globl.
8128 * sysdeps/i386/configure: Regenerated.
8129 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8130 with .globl.
8131 * sysdeps/x86_64/configure: Regenerated.
8132 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8133 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8134 * elf/tst-unique2mod2.c: Likewise.
8135 * elf/tst-unique2mod1.c: Likewise.
8136 * elf/tst-unique1mod2.c: Likewise.
8137 * elf/tst-unique1mod1.c: Likewise.
8138 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8139 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8140 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8141 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8142 * sysdeps/mach/sysdep.h: Likewise.
8143 * sysdeps/i386/sysdep.h: Likewise.
8144 * sysdeps/i386/i386-mcount.S: Likewise.
8145 * sysdeps/x86_64/_mcount.S: Likewise.
8146 * sysdeps/x86_64/sysdep.h: Likewise.
8147 * sysdeps/sh/_mcount.S: Likewise.
8148 * sysdeps/sh/sysdep.h: Likewise.
8149 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8150 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8151 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8152 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8153 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8154 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8155 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8156 * locale/localeinfo.h: Likewise.
8157 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8158 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8159
8160 2012-07-09 Roland McGrath <roland@hack.frob.com>
8161
8162 [BZ #14336]
8163 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8164 system".
8165 * manual/message.texi (The Uniforum approach): Likewise.
8166 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8167 (glibc iconv Implementation): Likewise.
8168
8169 2012-07-09 Joseph Myers <joseph@codesourcery.com>
8170
8171 [BZ #14337]
8172 * math/s_clog.c (__clog): Avoid scaling a value down where that
8173 could result in underflow.
8174 * math/s_clog10.c (__clog10): Likewise.
8175 * math/s_clog10f.c (__clog10f): Likewise.
8176 * math/s_clog10l.c (__clog10l): Likewise.
8177 * math/s_clogf.c (__clogf): Likewise.
8178 * math/s_clogl.c (__clogl): Likewise.
8179 * math/libm-test.inc (clog_test): Add more tests.
8180 (clog10_test): Likewise.
8181 * sysdeps/i386/fpu/libm-test-ulps: Update.
8182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8183
8184 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8185
8186 [BZ #14283]
8187 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8188 by 7 not 8 to examine high bit of fractional part.
8189
8190 [BZ #14042]
8191 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8192 for call to __mcount_internal.
8193 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8194 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8195 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8196
8197 2012-07-06 Joseph Myers <joseph@codesourcery.com>
8198
8199 [BZ #14154]
8200 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8201 approximation for values within 0x1p-13f of an odd multiple of
8202 pi/4.
8203 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8204 exception. Add more tests.
8205 * sysdeps/i386/fpu/libm-test-ulps: Update.
8206
8207 [BZ #6778]
8208 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8209 inputs and return -1 for them. Do not check for +Inf in case not
8210 reachable for +Inf.
8211 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8212 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8213 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8214 and return -1 for them. Do not check for +Inf in case not
8215 reachable for +Inf.
8216 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8217 define.
8218 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8219 and return -1 for them. Do not check for +Inf in case not
8220 reachable for +Inf.
8221 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8222 spurious underflow.
8223 * sysdeps/i386/fpu/libm-test-ulps: Update.
8224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8225
8226 2012-07-06 Mike Frysinger <vapier@gentoo.org>
8227
8228 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8229
8230 2012-07-05 Joseph Myers <joseph@codesourcery.com>
8231
8232 [BZ #14157]
8233 [BZ #14331]
8234 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8235 could result in spurious underflow. Scale down values above
8236 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8237 * math/s_csqrtf.c (__csqrtf): Likewise.
8238 * math/s_csqrtl.c (__csqrtl): Likewise.
8239 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8240 spurious underflow.
8241 * sysdeps/i386/fpu/libm-test-ulps: Update.
8242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8243
8244 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8245
8246 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8247 xopen-msg.sed.
8248 * catgets/xopen-msg.awk: New file.
8249 * catgets/xopen-msg.sed: Removed.
8250
8251 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8252 po2text.sed.
8253 * intl/po2test.awk: New file.
8254 * intl/po2test.sed: Removed.
8255
8256 2012-07-04 Joseph Myers <joseph@codesourcery.com>
8257
8258 [BZ #14328]
8259 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8260 or multiply small sinh result by itself.
8261 * math/s_ctanf.c (__ctanf): Likewise.
8262 * math/s_ctanh.c (__ctanh): Likewise.
8263 * math/s_ctanhf.c (__ctanhf): Likewise.
8264 * math/s_ctanhl.c (__ctanhl): Likewise.
8265 * math/s_ctanl.c (__ctanl): Likewise.
8266 * math/libm-test.inc (ctan_test_tonearest): New function.
8267 (ctan_test_towardzero): Likewise.
8268 (ctan_test_downward): Likewise.
8269 (ctan_test_upward): Likewise.
8270 (ctanh_test_tonearest): Likewise.
8271 (ctanh_test_towardzero): Likewise.
8272 (ctanh_test_downward): Likewise.
8273 (ctanh_test_upward): Likewise.
8274 (main): Call these new functions.
8275 * sysdeps/i386/fpu/libm-test-ulps: Update.
8276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8277
8278 2012-07-03 Mike Frysinger <vapier@gentoo.org>
8279
8280 * .gitignore: Delete /ports entry.
8281
8282 2012-07-03 Andreas Jaeger <aj@suse.de>
8283
8284 * po/bg.po: Update from translation team.
8285 * po/cs.po: Likewise.
8286 * po/de.po: Likewise.
8287 * po/hr.po: Likewise.
8288 * po/nl.pl: Likewise.
8289 * po/pl.po: Likewise.
8290 * po/vi.po: Likewise.
8291
8292 2012-07-03 Joseph Myers <joseph@codesourcery.com>
8293
8294 * Makeconfig [!+link] (+link-before-libc): New variable.
8295 [!+link] (+link-after-libc): Likewise.
8296 [!+link] (+link-tests): Likewise.
8297 [!+link] (+link): Define in terms of $(+link-before-libc) and
8298 $(+link-after-libc).
8299 [!+link-static] (+link-static-before-libc): New variable.
8300 [!+link-static] (+link-static-after-libc): Likewise.
8301 [!+link-static] (+link-static-tests): Likewise.
8302 [!+link-static] (+link-static): Define in terms of
8303 $(+link-static-before-libc) and $(+link-static-after-libc).
8304 [build-shared] (link-libc-before-gnulib): New variable.
8305 [build-shared] (link-libc-tests): Likewise.
8306 [build-shared] (link-libc): Define in terms of
8307 $(link-libc-before-gnulib).
8308 [!build-shared] (link-libc-tests): New variable.
8309 (link-libc-static-tests): New variable.
8310 [!gnulib] (gnulib-arch): New variable.
8311 [!gnulib] (gnulib-tests): Likewise.
8312 [!gnulib] (static-gnulib-arch): Likewise.
8313 [!gnulib] (static-gnulib-tests): Likewise.
8314 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8315 Define with "=" instead of ":=".
8316 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8317 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8318 * Rules (binaries-all-notests): New variable.
8319 (binaries-all-tests): Likewise.
8320 (binaries-static-notests): Likewise.
8321 (binaries-static-tests): Likewise.
8322 (binaries-all): Define using $(binaries-all-notests) and
8323 $(binaries-all-tests).
8324 (binaries-static): Define using $(binaries-static-notests) and
8325 $(binaries-static-tests).
8326 (binaries-shared-tests): New variable.
8327 (binaries-shared-notests): Likewise.
8328 (binaries-shared): Remove variable.
8329 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8330 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8331 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8332 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8333 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8334 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8335 * elf/Makefile (sln-modules): New variable.
8336 (extra-objs): Add $(sln-modules:=.o).
8337 (ldconfig-modules): Add static-stubs.
8338 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8339 * elf/static-stubs.c: New file.
8340
8341 [BZ #14283]
8342 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8343 by 7 not 8 to examine high bit of fractional part. Use volatile
8344 variables when splitting into final array of floats if
8345 __FLT_EVAL_METHOD__ != 0.
8346 * math/libm-test.inc (cos_test): Add another test.
8347 (sin_test): Likewise.
8348 * sysdeps/i386/fpu/libm-test-ulps: Update.
8349
8350 [BZ #14273]
8351 * math/libm-test.inc (cosh_test): Add more tests.
8352
8353 * version.h (RELEASE): Set to "development".
8354 (VERSION): Set to "2.16.90".
8355
8356 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8357
8358 * NEWS: Update copyright. Remove last-updated date.
8359 Mention math library bug fixes and timezone data changes.
8360 * README: Mention GNU/Hurd, x32, and HPPA support status.
8361
8362 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8363
8364 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8365
8366 2012-06-27 Andreas Jaeger <aj@suse.de>
8367
8368 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8369
8370 2012-06-25 Andreas Jaeger <aj@suse.de>
8371
8372 * sysdeps/s390/fpu/libm-test-ulps: Update.
8373
8374 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8375 Thomas Schwinge <thomas@codesourcery.com>
8376
8377 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8378 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8379 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8380 fanotify_mark.
8381
8382 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8383
8384 * sysdeps/mach/start.c: Remove file.
8385 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8386 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8387 * sysdeps/sh/init-first.c: Likewise.
8388
8389 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8390 registers for frame unwinding purposes, add CFI directives.
8391 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8392 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8393 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8394 Likewise.
8395
8396 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8397 __fortify_fail returning.
8398 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8399
8400 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8401 sysdeps/sh/____longjmp_chk.S.
8402 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8403 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8404 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8405 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8406
8407 * sysdeps/sh/abort-instr.h: New file.
8408 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8409 process in case exit returns.
8410
8411 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8412 initialize the GOT register before use.
8413
8414 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8415 calculation of ARGC > 4.
8416
8417 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8418 meaningful names to some local labels.
8419
8420 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8421 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8422
8423 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8424 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8425 (__arch_compare_and_exchange_val_16_acq): Likewise.
8426 (__arch_compare_and_exchange_val_32_acq): Likewise.
8427 (atomic_exchange_and_add): Fix gUSA sequence.
8428 (atomic_add): Likewise.
8429 (atomic_add_negative): Likewise.
8430 (atomic_add_zero): Likewise.
8431 (atomic_bit_test_set): Likewise.
8432
8433 2012-06-22 Andreas Schwab <schwab@redhat.com>
8434
8435 [BZ #13579]
8436 * include/link.h (struct link_map): Add l_free_initfini.
8437 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8438 l_initfini.
8439 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8440 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8441 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8442 set.
8443
8444 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8445
8446 * configure.in: Use AC_LANG_SOURCE.
8447 * configure: Regenerate.
8448
8449 2012-06-22 Roland McGrath <roland@hack.frob.com>
8450
8451 * configure.in (libc_cv_localstatedir): New substituted variable.
8452 * configure: Regenerated.
8453 * config.make.in (localstatedir): New variable, substituted from
8454 libc_cv_localstatedir.
8455 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8456 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8457 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8458 * sysdeps/gnu/configure: Regenerated.
8459
8460 2012-06-21 Jeff Law <law@redhat.com>
8461
8462 [BZ #14277]
8463 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8464 free. Simplify list management for _LIBC case.
8465
8466 2012-06-21 Joseph Myers <joseph@codesourcery.com>
8467
8468 [BZ #14273]
8469 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8470 Clear sign bit of 64-bit integer value before comparing against
8471 overflow value.
8472
8473 * sysdeps/mach/configure: Regenerated.
8474
8475 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8476
8477 [BZ #14278]
8478 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8479
8480 2012-06-21 Jeff Law <law@redhat.com>
8481
8482 [BZ #13882]
8483 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8484 uint16_t for elements in the "seen" array to avoid char overflows.
8485 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8486 * elf/dl-open.c (dl_open_worker): Likewise.
8487
8488 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8489
8490 * scripts/list-sources.sh: Scan PORTS for translations.
8491 * po/libc.pot: Regenerated.
8492
8493 2012-06-21 Andreas Jaeger <aj@suse.de>
8494
8495 [BZ #12194]
8496 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8497 warning.
8498 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8499 * bits/byteswap-16.h (__bswap_16): Likewise.
8500 * bits/byteswap.h (__bswap_constant_16): Likewise.
8501
8502 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8503
8504 [BZ #14117]
8505 * sysdeps/i386/fpu_control.h: Removed.
8506 * sysdeps/x86_64/fpu_control.h: Moved to ...
8507 * sysdeps/x86/fpu_control.h: Here.
8508
8509 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8510 (_FPU_SETCW): Likewise.
8511
8512 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8513
8514 [BZ #14117]
8515 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8516 * sysdeps/x86/fpu/bits/mathinline.h: This.
8517 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8518
8519 [BZ #14050]
8520 [BZ #14117]
8521 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8522 functions if __x86_64__ is defined.
8523
8524 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8525
8526 * string/endian.h: Add !__ASSEMBLER__ condition for including
8527 conversion interfaces.
8528
8529 2012-06-15 Joseph Myers <joseph@codesourcery.com>
8530
8531 [BZ #14241]
8532 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8533 of ABS(x) in calculating zero to negative powers other than odd
8534 integers.
8535 * math/libm-test.inc (pow_test): Add more tests.
8536
8537 2012-06-15 Andreas Jaeger <aj@suse.de>
8538
8539 * manual/contrib.texi (Contributors): Update entry of Liubov
8540 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8541 Machado Filho.
8542
8543 2012-06-15 Cyril Hrubis <metan@ucw.cz>
8544
8545 * string/string.h: Add __wur to GNU version of strerror_r.
8546
8547 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8548
8549 [BZ #14229]
8550 * string/Makefile (tests): Add tst-strtok_r.
8551 * string/tst-strtok_r.c: New file.
8552 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8553 RAX_LP/RDX_LP on SAVE_PTR.
8554
8555 2012-06-14 Roland McGrath <roland@hack.frob.com>
8556
8557 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8558
8559 2012-06-14 Joseph Myers <joseph@codesourcery.com>
8560
8561 * libm_test.inc (csqrt_test): Allow more spurious underflow
8562 exceptions.
8563 (j0_test): Likewise.
8564 (j1_test): Likewise.
8565 (y0_test): Likewise.
8566 (y1_test): Likewise.
8567
8568 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8569
8570 * po/Makefile (libc.pot): Use UTF-8 charset.
8571
8572 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8573
8574 [BZ #14210]
8575 Suppress sign-conversion warning from FD_SET.
8576 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8577 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8578 not unsigned long int.
8579 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8580
8581 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8582
8583 [BZ #14050]
8584 [BZ #14117]
8585 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8586 __extern_always_inline instead of __extern_inline.
8587 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8588 (__signbit): Likewise.
8589 (__signbitl): Support C++ namespace.
8590 (lrintf): New inline function.
8591 (lrint): Likewise.
8592 (llrintf): Likewise.
8593 (llrint): Likewise.
8594 (fmaxf): Likewise.
8595 (fmax): Likewise.
8596 (fminf): Likewise.
8597 (fmin): Likewise.
8598 (rint): Likewise.
8599 (rintf): Likewise.
8600 (ceil): Likewise.
8601 (ceilf): Likewise.
8602 (floor): Likewise.
8603 (floorf): Likewise.
8604 (nearbyint): Likewise.
8605 (nearbyintf): Likewise.
8606
8607 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8608
8609 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8610 non-default versions.
8611
8612 2012-06-11 Roland McGrath <roland@hack.frob.com>
8613
8614 [BZ #14218]
8615 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8616
8617 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8618
8619 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8620 (FE_UPWARD, FE_DOWNWARD): Don't define.
8621 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8622 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8623
8624 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8625 reading it.
8626 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8627 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8628
8629 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8630
8631 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8632 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8633 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8634 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8635
8636 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8637
8638 [BZ #14117]
8639 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8640 * sysdeps/i386/fpu/Implies: New file.
8641 * sysdeps/x86_64/fpu/Implies: Likewise.
8642 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8643 * sysdeps/x86/fpu/bits/fenv.h: This.
8644
8645 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8646 __SSE_MATH__.
8647
8648 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8649
8650 [BZ #14134]
8651 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8652 character 0xffff that matches the last element of the
8653 conversion table.
8654
8655 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8656
8657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8658 fmodl commit.
8659
8660 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8661
8662 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8663 values higher than 25.6283.
8664
8665 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8666
8667 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8668 subnormal exponent extraction and add some __builtin_expect.
8669 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8670 Fix for subnormal mantissa calculation.
8671
8672 2012-06-04 Mike Frysinger <vapier@gentoo.org>
8673
8674 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8675 cpu2 is -1 and errno is not ENOSYS.
8676
8677 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8678
8679 [BZ #14117]
8680 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8681 * sysdeps/x86/bits/string.h: This.
8682 * sysdeps/x86_64/bits/string.h: Removed.
8683
8684 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8685 if not compiling for x86-64, but compiling for >= i486.
8686
8687 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8688 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8689
8690 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8691 New macro from Linux kernel 3.4.0.
8692 (FP_XSTATE_MAGIC2): Likewise.
8693 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8694 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8695 (struct _fpx_sw_bytes): New struct.
8696 (struct _xsave_hdr): Likewise.
8697 (struct _ymmh_state): Likewise.
8698 (struct _xstate): Likewise.
8699
8700 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8701 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8702 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8703 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8704 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8705 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8706
8707 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8708 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8709 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8710 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8711 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8712 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8713
8714 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8715
8716 [BZ #13743]
8717 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8718 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8719 (sysdep_headers): Include sys/platform/ppc.h.
8720 * sysdeps/powerpc/test-gettimebase.c: Test for
8721 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8722 * manual/Makefile (appendices): Include platform.texi.
8723 * manual/contrib.texi (Contributors): Update @node pointers.
8724 * manual/maint.texi (Maintenance): Likewise.
8725 (Platform): New node.
8726 * manual/platform.texi: New file. Document the new features.
8727
8728 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8729 Jakub Jelinek <jakub@redhat.com>
8730
8731 [BZ #14188]
8732 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8733 where __builtin_expect is unavailable.
8734
8735 2012-06-03 David S. Miller <davem@davemloft.net>
8736
8737 * stdlib/longlong.h: Updated from GCC.
8738
8739 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8740
8741 [BZ #14042]
8742 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8743 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8744 __mcount_internal.
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8746 (GLIBC_2.16): Likewise.
8747
8748 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8749
8750 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8751
8752 2012-06-01 Joseph Myers <joseph@codesourcery.com>
8753
8754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8755 (default-abi): New variable.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8757 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8758 variable.
8759 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8760 Likewise.
8761 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8762 Likewise.
8763 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8764 Likewise.
8765
8766 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8767 definition. Document in comment.
8768
8769 2012-06-01 David S. Miller <davem@davemloft.net>
8770
8771 * stdlib/longlong.h: Updated from GCC.
8772
8773 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8774
8775 [BZ #14117]
8776 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8777 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8778 sys/debugreg.h sys/io.h here.
8779 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8780 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8781 sys/io.h.
8782 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8783 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8784 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8785 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8786 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8787 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8788
8789 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8790 Define only if __x86_64__ is defined.
8791
8792 2012-06-01 Joseph Myers <joseph@codesourcery.com>
8793
8794 [BZ #14048]
8795 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8796 Use int64_t for variable i.
8797 * math/libm-test.inc (fmod_test): Add more tests.
8798
8799 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8800 z computation is not scheduled after fetestexcept.
8801 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8802 Use math_force_eval instead of asm to ensure calculation scheduled
8803 before exception test.
8804 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8805 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8806
8807 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8808
8809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8810 computation is not scheduled after fetestexcept.
8811
8812 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8813
8814 [BZ #14117]
8815 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8816 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8817
8818 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8819
8820 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8821 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8822
8823 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8824
8825 [BZ #14117]
8826 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8827 <bits/wordsize.h>.
8828 (__WCHAR_MIN): Support __WORDSIZE == 64.
8829 (__WCHAR_MAX): Likewise.
8830
8831 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8832 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8833
8834 [BZ #14183]
8835 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8836 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8837
8838 [BZ #14117]
8839 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8840 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8841
8842 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8843 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8844
8845 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8846 Defined to 1 if __x86_64__ isn't defined.
8847 (_STAT_VER_LINUX_OLD): New.
8848 (st_atime): Remove duplicate.
8849 (st_mtime): Likewise.
8850 (st_ctime): Likewise.
8851
8852 2012-05-31 David S. Miller <davem@davemloft.net>
8853
8854 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8855 entries.
8856
8857 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8858
8859 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8860 gen-libm-test.pl.
8861
8862 [BZ #14132]
8863 * elf/dl-reloc.c: Include <_itoa.h>.
8864 (_dl_reloc_bad_type): Remove use of INTUSE.
8865 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8866 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8867 * stdio-common/psiginfo.c (psiginfo): Likewise.
8868 * stdio-common/psignal.c (psignal): Likewise.
8869 * string/strsignal.c (strsignal): Likewise.
8870 * include/signal.h (_sys_siglist): Declare hidden proto.
8871 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8872 INTVARDEF with libc_hidden_data_def.
8873 * stdio-common/itoa-udigits.c: Likewise.
8874 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8875 (_itoa_lower_digits_internal): Remove declaration.
8876 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8877 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8878 (_sys_sigabbrev_internal): Remove aliases.
8879 (_sys_siglist): Define hidden alias.
8880
8881 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8882
8883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8884 bits/sysctl.h.
8885
8886 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8887
8888 [BZ #14117]
8889 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8890 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8891
8892 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8893 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8894 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8895 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8896 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8897 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8898
8899 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8900 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8901 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8902
8903 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8904 with __addr.
8905 (insw): Likewise.
8906 (insl): Likewise.
8907 (outsb): Likewise.
8908 (outsw): Likewise.
8909 (outsl): Likewise.
8910
8911 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8912 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8913 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8914
8915 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8916 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8917 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8918 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8919 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8920 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8921
8922 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8923 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8924
8925 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8926 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8927
8928 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8930 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8931
8932 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8933 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8934 to ...
8935 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8936
8937 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8938 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8939 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8940
8941 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8942 for x86-64.
8943 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8944
8945 2012-05-31 Joseph Myers <joseph@codesourcery.com>
8946
8947 * math/math.h (M_El): Use two more decimal places.
8948 (M_LOG2El): Likewise.
8949 (M_LOG10El): Likewise.
8950 (M_LN2l): Likewise.
8951 (M_LN10l): Likewise.
8952 (M_PIl): Likewise.
8953 (M_PI_2l): Likewise.
8954 (M_PI_4l): Likewise.
8955 (M_1_PIl): Likewise.
8956 (M_2_PIl): Likewise.
8957 (M_2_SQRTPIl): Likewise.
8958 (M_SQRT2l): Likewise.
8959 (M_SQRT1_2l): Likewise.
8960
8961 2012-05-31 David S. Miller <davem@davemloft.net>
8962
8963 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8964 values between float registers.
8965 * sysdeps/sparc/sparc64/memset.S: Likewise.
8966 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8967
8968 2012-05-31 Mike Frysinger <vapier@gentoo.org>
8969
8970 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8971 -D_FORTIFY_SOURCE=1.
8972 (CPPFLAGS-tst-longjmp_chk.c): Define.
8973 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8974 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8975 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8976 CFLAGS-tst-wchar-h.c.
8977
8978 2012-05-31 Marek Polacek <polacek@redhat.com>
8979
8980 [BZ #14132]
8981 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8982 __endmntent_internal): Remove declaration.
8983 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8984 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8985 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8986
8987 2012-05-30 David S. Miller <davem@davemloft.net>
8988
8989 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8990 (___Q_simulate_exceptions): Use real FP ops rather than writing
8991 into the %fsr.
8992 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8993 Likewise.
8994
8995 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8996
8997 [BZ #14117]
8998 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8999 * sysdeps/x86/bits/xtitypes.h: This.
9000
9001 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9002 * sysdeps/x86/bits/wordsize.h: This.
9003
9004 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9005 * sysdeps/x86/bits/huge_vall.h: This.
9006
9007 * sysdeps/i386/bits/select.h: Removed.
9008 * sysdeps/x86_64/bits/select.h: Renamed to ...
9009 * sysdeps/x86/bits/select.h: This.
9010
9011 * sysdeps/i386/bits/setjmp.h: Removed.
9012 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9013 * sysdeps/x86/bits/setjmp.h: This.
9014
9015 * sysdeps/i386/bits/mathdef.h: Removed.
9016 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9017 * sysdeps/x86/bits/mathdef.h: This.
9018
9019 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9020
9021 [BZ #14132]
9022 * include/sys/socket.h (__connect_internal)
9023 (__libc_sa_len_internal): Remove declaration.
9024 (__connect, __libc_sa_len): Declare hidden_proto.
9025 (SA_LEN): Remove use of INTUSE.
9026 * socket/connect.c: Add libc_hidden_def.
9027 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9028 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9029 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9030 alias.
9031 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9032 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9033 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9034 of adding _internal alias.
9035
9036 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9037
9038 [BZ #14117]
9039 * sysdeps/i386/bits/link.h: Removed.
9040 * sysdeps/i386/bits/linkmap.h: Likewise.
9041 * sysdeps/x86_64/bits/link.h: Renamed to ...
9042 * sysdeps/x86/bits/link.h: This.
9043 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9044 * sysdeps/x86/bits/linkmap.h: This.
9045
9046 * sysdeps/i386/bits/endian.h: Removed.
9047 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9048 * sysdeps/x86/bits/endian.h: This.
9049
9050 * sysdeps/i386/bits/byteswap.h: Removed.
9051 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9052 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9053 * sysdeps/x86/bits/byteswap.h: This.
9054 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9055 * sysdeps/x86/bits/byteswap-16.h: This.
9056 * sysdeps/i386/Implies: Add x86.
9057 * sysdeps/x86_64/Implies: Likewise.
9058
9059 2012-05-30 David S. Miller <davem@davemloft.net>
9060
9061 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9062 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9063 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9064 (FP_TRAPPING_EXCEPTIONS): Define.
9065 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9066 (FP_TRAPPING_EXCEPTIONS): Define.
9067 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9068 subnormals only when inexact has been signalled or underflow
9069 exceptions are enabled.
9070 (_FP_PACK_CANONICAL): Likewise.
9071
9072 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9073
9074 [BZ #14183]
9075 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9076 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9077
9078 2012-05-30 Richard Henderson <rth@twiddle.net>
9079
9080 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9081 with #ifndef NOT_IN_libc.
9082
9083 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9084 marked to avoid plt entry.
9085
9086 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9087
9088 [BZ #14112]
9089 * Makeconfig (default-abi): New macro.
9090 (abi-includes): Likewise.
9091 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9092 $(abi-$(default-abi)-lib-soname) for soname if defined.
9093 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9094 abi-variants.
9095 * Makefile (installed-stubs): Likewise.
9096 * include/stubs-biarch.h: Removed.
9097 * scripts/lib-names.awk: Only handle one library at a time.
9098 * scripts/soversions.awk: Remove WORDSIZE support.
9099 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9100 entries.
9101 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9102 Removed.
9103 (syscall-list-default-condition): Likewise.
9104 (syscall-list-default-condition): Likewise.
9105 (syscall-list-includes): Likewise.
9106 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9107 syscall-list-* with abi-*. Handle undefined abi-variants.
9108 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9109 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9110 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9111 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9112 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9113 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9114 Removed.
9115 (syscall-list-32-options): Likewise.
9116 (syscall-list-32-condition): Likewise.
9117 (syscall-list-64-options): Likewise.
9118 (syscall-list-64-condition): Likewise.
9119 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9120 macro.
9121 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9122 Renamed to ...
9123 (abi-*): This.
9124 (abi-64-ld-soname): New macro.
9125 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9126 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9127 Renamed to ...
9128 (abi-*): This.
9129 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9130 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9131
9132 2012-05-30 Joseph Myers <joseph@codesourcery.com>
9133
9134 * sysdeps/unix/sysv/linux/kernel-features.h
9135 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9136 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9137 include <kernel-features.h>.
9138 [!__NR_ftruncate64]: Remove conditional code.
9139 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9140 [__NR_ftruncate64]: Make code unconditional.
9141 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9142 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9143 include <kernel-features.h>.
9144 [!__NR_ftruncate64]: Remove conditional code.
9145 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9146 [__NR_ftruncate64]: Make code unconditional.
9147 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9149 include <kernel-features.h>.
9150 [!__NR_ftruncate64]: Remove conditional code.
9151 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9152 [__NR_ftruncate64]: Make code unconditional.
9153 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9155 include <kernel-features.h>.
9156 [!__NR_ftruncate64]: Remove conditional code.
9157 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9158 [__NR_ftruncate64]: Make code unconditional.
9159 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9160
9161 * configure.in (libc_cv_fpie): Weaken to a compile test using
9162 LIBC_TRY_CC_OPTION.
9163 * configure: Regenerated.
9164
9165 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9166
9167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9171 Refreshed.
9172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9178 Refreshed.
9179
9180 2012-05-27 David S. Miller <davem@davemloft.net>
9181
9182 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9183 (___Q_zero): New.
9184 (__Q_simulate_exceptions): Return void. Change to simulate
9185 exceptions by writing into the %fsr.
9186 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9187 (__Qp_handle_exceptions): Likewise.
9188 (numbers): Delete.
9189 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9190 __Qp_handle_exceptions.
9191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9192 __Qp_handle_exceptions.
9193 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9194 as unused and give dummy FP_RND_NEAREST initializer.
9195 (FP_INHIBIT_RESULTS): Define.
9196 (___Q_simulate_exceptions): Update declaration.
9197 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9198 formatting.
9199 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9200 as unused and give dummy FP_RND_NEAREST initializer.
9201 (__Qp_handle_exceptions): Update declaration.
9202 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9203 formatting.
9204
9205 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9206
9207 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9208 the temporary FPU control word.
9209 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9210 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9211 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9212 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9213 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9214 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9215 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9216 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9217 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9218 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9219 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9220
9221 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9222
9223 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9224 fields.
9225
9226 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9227
9228 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9229 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9230 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9231 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9232 Likewise.
9233 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9234 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9235 Likewise.
9236
9237 2012-05-27 Ulrich Drepper <drepper@gmail.com>
9238
9239 * po/h.po: Update from translation team.
9240
9241 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9242
9243 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9244
9245 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9246 handling of denormals.
9247 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9248 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9249 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9250 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9252 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9254 Likewise.
9255
9256 2012-05-26 Marek Polacek <polacek@redhat.com>
9257
9258 [BZ #14152]
9259 * math/libm-test.inc (fma_test): Don't always expect underflow
9260 exception.
9261
9262 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9263
9264 [BZ #12416]
9265 * elf/tst-execstack.c: Include stackinfo.h.
9266 (do_test): Adjust test case to ensure that pthread_getattr_np
9267 behaviour remains the same after marking stack executable.
9268
9269 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9270
9271 * sysdeps/unix/sysv/linux/kernel-features.h
9272 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9273 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9274 kernel-features.h.
9275 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9276 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9277 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9278 kernel-features.h.
9279 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9280 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9281
9282 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9283
9284 * configure.in: Define the default includes to being none.
9285 * configure: Regenerated.
9286
9287 2012-05-25 Roland McGrath <roland@hack.frob.com>
9288
9289 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9290 * sysdeps/x86_64/setjmp.S: Likewise.
9291 * sysdeps/i386/bsd-setjmp.S: Likewise.
9292 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9293 * sysdeps/i386/setjmp.S: Likewise.
9294 * sysdeps/i386/__longjmp.S: Likewise.
9295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9296 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9297
9298 * include/stap-probe.h: New file.
9299 * configure.in: Handle --enable-systemtap.
9300 * configure: Regenerated.
9301 * config.h.in (USE_STAP_PROBE): New #undef.
9302 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9303 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9304 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9305
9306 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9307
9308 [BZ #13717]
9309 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9310 to 2.4.0 where earlier.
9311 * sysdeps/unix/sysv/linux/configure: Regenerated.
9312 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9313 <kernel-features.h>.
9314 [__ASSUME_32BITUIDS]: Make code unconditional.
9315 [!__ASSUME_32BITUIDS]: Remove conditional code.
9316 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9317 <kernel-features.h>.
9318 [__ASSUME_32BITUIDS]: Make code unconditional.
9319 [!__ASSUME_32BITUIDS]: Remove conditional code.
9320 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9321 [__ASSUME_32BITUIDS]: Make code unconditional.
9322 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9323 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9324 <kernel-features.h>.
9325 [__ASSUME_32BITUIDS]: Make code unconditional.
9326 [!__ASSUME_32BITUIDS]: Remove conditional code.
9327 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9328 <kernel-features.h>.
9329 [__ASSUME_32BITUIDS]: Make code unconditional.
9330 [!__ASSUME_32BITUIDS]: Remove conditional code.
9331 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9332 <kernel-features.h>.
9333 [__ASSUME_32BITUIDS]: Make code unconditional.
9334 [!__ASSUME_32BITUIDS]: Remove conditional code.
9335 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9336 <kernel-features.h>.
9337 [__ASSUME_32BITUIDS]: Make code unconditional.
9338 [!__ASSUME_32BITUIDS]: Remove conditional code.
9339 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9340 <kernel-features.h>.
9341 [__ASSUME_32BITUIDS]: Make code unconditional.
9342 [!__ASSUME_32BITUIDS]: Remove conditional code.
9343 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9344 <kernel-features.h>.
9345 [__ASSUME_32BITUIDS]: Make code unconditional.
9346 [!__ASSUME_32BITUIDS]: Remove conditional code.
9347 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9348 <kernel-features.h>.
9349 [__ASSUME_32BITUIDS]: Make code unconditional.
9350 [!__ASSUME_32BITUIDS]: Remove conditional code.
9351 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9352 <kernel-features.h>.
9353 [__ASSUME_32BITUIDS]: Make code unconditional.
9354 [!__ASSUME_32BITUIDS]: Remove conditional code.
9355 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9356 <kernel-features.h>.
9357 [__ASSUME_32BITUIDS]: Make code unconditional.
9358 [!__ASSUME_32BITUIDS]: Remove conditional code.
9359 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9360 <kernel-features.h>.
9361 [__ASSUME_32BITUIDS]: Make code unconditional.
9362 [!__ASSUME_32BITUIDS]: Remove conditional code.
9363 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9364 <kernel-features.h>.
9365 [__NR_setresgid] (__setresgid): Do not declare.
9366 [__ASSUME_32BITUIDS]: Make code unconditional.
9367 [!__ASSUME_32BITUIDS]: Remove conditional code.
9368 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9369 <kernel-features.h>.
9370 [__NR_setresuid] (__setresuid): Do not declare.
9371 [__ASSUME_32BITUIDS]: Make code unconditional.
9372 [!__ASSUME_32BITUIDS]: Remove conditional code.
9373 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9374 <kernel-features.h>.
9375 [__ASSUME_32BITUIDS]: Make code unconditional.
9376 [!__ASSUME_32BITUIDS]: Remove conditional code.
9377 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9378 <kernel-features.h>.
9379 [__ASSUME_32BITUIDS]: Make code unconditional.
9380 [!__ASSUME_32BITUIDS]: Remove conditional code.
9381 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9382 <kernel-features.h>.
9383 [__ASSUME_32BITUIDS]: Make code unconditional.
9384 [!__ASSUME_32BITUIDS]: Remove conditional code.
9385 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9386 <kernel-features.h>.
9387 [__ASSUME_32BITUIDS]: Make code unconditional.
9388 [!__ASSUME_32BITUIDS]: Remove conditional code.
9389 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9390 <kernel-features.h>.
9391 [__ASSUME_32BITUIDS]: Make code unconditional.
9392 [!__ASSUME_32BITUIDS]: Remove conditional code.
9393 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9394 <kernel-features.h>.
9395 [__ASSUME_32BITUIDS]: Make code unconditional.
9396 [!__ASSUME_32BITUIDS]: Remove conditional code.
9397 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9398 <kernel-features.h>.
9399 [__ASSUME_32BITUIDS]: Make code unconditional.
9400 [!__ASSUME_32BITUIDS]: Remove conditional code.
9401 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9402 <kernel-features.h>.
9403 [__ASSUME_32BITUIDS]: Make code unconditional.
9404 [!__ASSUME_32BITUIDS]: Remove conditional code.
9405 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9406 <kernel-features.h>.
9407 [__ASSUME_32BITUIDS]: Make code unconditional.
9408 [!__ASSUME_32BITUIDS]: Remove conditional code.
9409 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9410 <kernel-features.h>.
9411 [__ASSUME_32BITUIDS]: Make code unconditional.
9412 [!__ASSUME_32BITUIDS]: Remove conditional code.
9413 * sysdeps/unix/sysv/linux/kernel-features.h
9414 (__ASSUME_SETRESUID_SYSCALL): Remove.
9415 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9416 (__ASSUME_32BITUIDS): Likewise.
9417 (__ASSUME_LDT_WORKS): Likewise.
9418 (__ASSUME_O_DIRECTORY): Likewise.
9419 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9420 architecture but not kernel version.
9421 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9422 (__ASSUME_MMAP2_SYSCALL): Likewise.
9423 (__ASSUME_STAT64_SYSCALL): Likewise.
9424 (__ASSUME_IPC64): Likewise.
9425 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9426 <kernel-features.h>.
9427 [__ASSUME_32BITUIDS]: Make code unconditional.
9428 [!__ASSUME_32BITUIDS]: Remove conditional code.
9429 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9430 <kernel-features.h>.
9431 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9432 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9433 132096]: Remove conditional code.
9434 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9435 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9436 <kernel-features.h>.
9437 [__ASSUME_32BITUIDS]: Make code unconditional.
9438 [!__ASSUME_32BITUIDS]: Remove conditional code.
9439 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9440 <kernel-features.h>.
9441 [__ASSUME_32BITUIDS]: Make code unconditional.
9442 [!__ASSUME_32BITUIDS]: Remove conditional code.
9443 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9444 <kernel-features.h>.
9445 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9446 unconditional.
9447 (__setresgid): Do not declare.
9448 [__ASSUME_32BITUIDS]: Make code unconditional.
9449 [!__ASSUME_32BITUIDS]: Remove conditional code.
9450 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9451 <kernel-features.h>.
9452 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9453 unconditional.
9454 (__setresuid): Do not declare.
9455 [__ASSUME_32BITUIDS]: Make code unconditional.
9456 [!__ASSUME_32BITUIDS]: Remove conditional code.
9457 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9458 <kernel-features.h>.
9459 [__ASSUME_32BITUIDS]: Make code unconditional.
9460 [!__ASSUME_32BITUIDS]: Remove conditional code.
9461 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9462 <kernel-features.h>.
9463 [__ASSUME_32BITUIDS]: Make code unconditional.
9464 [!__ASSUME_32BITUIDS]: Remove conditional code.
9465
9466 2012-05-25 Richard Henderson <rth@twiddle.net>
9467
9468 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9469 dl_hwcap to ifunc resolver.
9470 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9471 elf_ifunc_invoke.
9472 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9473 dl_hwcap to ifunc resolver.
9474 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9475
9476 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9477
9478 [BZ #14153]
9479 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9480 for |x| <= 2**-26, not 2**-57.
9481 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9482 exception.
9483
9484 2012-05-24 Jeff Law <law@redhat.com>
9485
9486 * stdio-common/Makefile (tests): Add bug25.
9487 * stdio-common/bug25.c: New test.
9488
9489 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9490
9491 [BZ #13576]
9492 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9493 multiple of MALLOC_ALIGNMENT in size.
9494 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9495
9496 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9497
9498 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9499 Require >= 256.
9500 (FILENAME_MAX): Use macro-int-constant.
9501 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9502 (_IOFBF): Use macro-int-constant.
9503 (_IOLBF): Likewise.
9504 (_IONBF): Likewise.
9505 (SEEK_CUR): Likewise.
9506 (SEEK_END): Likewise.
9507 (SEEK_SET): Likewise.
9508 (TMP_MAX): Likewise.
9509 (EOF): Use macro-int-constant. Require < 0.
9510 (NULL): Use macro-constant. Require == 0.
9511 (stdin): Require type to be FILE *.
9512 (stdout): Likewise.
9513 (stderr): Likewise.
9514 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9515 macro-int-constant.
9516 (EXIT_SUCCESS): Likewise.
9517 (NULL): Use macro-constant. Require == 0.
9518 (RAND_MAX): Use macro-int-constant.
9519 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9520 [C99-based standards] (strtof): Require function.
9521 [C99-based standards] (strtold): Likewise.
9522 [C99-based standards] (strtoll): Likewise.
9523 [C99-based standards] (strtoull): Likewise.
9524 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9525 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9526 [ISO || ISO99 || ISO11] (math.h): Likewise.
9527 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9528 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9530
9531 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9532
9533 [BZ #14132]
9534 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9535 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9536 * intl/dgettext.c (DCGETTEXT): Likewise.
9537 * intl/gettext.c (DCGETTEXT): Likewise.
9538 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9539 * posix/regex_internal.h (gettext): Likewise.
9540 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9541 Remove declaration.
9542 * include/argz.h (__argz_count_internal)
9543 (__argz_stringify_internal): Remove declaration.
9544 (__argz_count, __argz_stringify): Declare hidden proto.
9545 * intl/dcgettext.c: Remove use of INTDEF.
9546 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9547 * string/argz-stringify.c: Likewise.
9548 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9549 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9550 Declare hidden proto.
9551 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9552 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9553 Declare hidden proto.
9554 * include/stdio.h (__asprintf_internal): Don't declare.
9555 (__asprintf): Don't define as macro. Declare hidden proto.
9556 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9557 (__fsetlocking): Declare hidden proto.
9558 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9559 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9560 hidden proto.
9561 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9562 (_IO_setlinebuf): Remove use of INTUSE.
9563 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9564 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9565 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9566 Remove declaration.
9567 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9568 (_IO_do_flush): Remove use of INTUSE.
9569 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9570 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9571 (_IO_adjust_column, _IO_least_wmarker)
9572 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9573 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9574 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9575 (_IO_default_doallocate, _IO_wdefault_doallocate)
9576 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9577 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9578 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9579 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9580 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9581 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9582 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9583 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9584 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9585 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9586 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9587 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9588 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9589 proto.
9590 (_IO_flush_all_internal, _IO_adjust_column_internal)
9591 (_IO_default_uflow_internal, _IO_default_finish_internal)
9592 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9593 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9594 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9595 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9596 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9597 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9598 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9599 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9600 (_IO_file_close_internal, _IO_file_close_it_internal)
9601 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9602 (_IO_file_init_internal, _IO_file_attach_internal)
9603 (_IO_file_fopen_internal, _IO_file_read_internal)
9604 (_IO_file_sync_internal, _IO_file_seek_internal)
9605 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9606 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9607 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9608 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9609 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9610 (_IO_list_all_internal, _IO_link_in_internal)
9611 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9612 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9613 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9614 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9615 (_IO_do_write_internal, _IO_padn_internal)
9616 (_IO_getline_info_internal, _IO_getline_internal)
9617 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9618 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9619 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9620 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9621 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9622 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9623 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9624 with libc_hidden_ver, remove use of INTUSE.
9625 * libio/genops.c: Likewise.
9626 * libio/freopen.c: Likewise.
9627 * libio/freopen64.c: Likewise.
9628 * libio/iofclose.c: Likewise.
9629 * libio/iofdopen.c: Likewise.
9630 * libio/iofflush.c: Likewise.
9631 * libio/iofflush_u.c: Likewise.
9632 * libio/iofgets.c: Likewise.
9633 * libio/iofgets_u.c: Likewise.
9634 * libio/iofopen.c: Likewise.
9635 * libio/iofopncook.c: Likewise.
9636 * libio/iofread.c: Likewise.
9637 * libio/iofread_u.c: Likewise.
9638 * libio/ioftell.c: Likewise.
9639 * libio/iofwrite.c: Likewise.
9640 * libio/iogetline.c: Likewise.
9641 * libio/iogets.c: Likewise.
9642 * libio/iogetwline.c: Likewise.
9643 * libio/iopadn.c: Likewise.
9644 * libio/iopopen.c: Likewise.
9645 * libio/ioseekoff.c: Likewise.
9646 * libio/ioseekpos.c: Likewise.
9647 * libio/iosetbuffer.c: Likewise.
9648 * libio/iosetvbuf.c: Likewise.
9649 * libio/ioungetc.c: Likewise.
9650 * libio/ioungetwc.c: Likewise.
9651 * libio/iovdprintf.c: Likewise.
9652 * libio/iovsprintf.c: Likewise.
9653 * libio/iovsscanf.c: Likewise.
9654 * libio/memstream.c: Likewise.
9655 * libio/obprintf.c: Likewise.
9656 * libio/oldfileops.c: Likewise.
9657 * libio/oldiofclose.c: Likewise.
9658 * libio/oldiofdopen.c: Likewise.
9659 * libio/oldiofopen.c: Likewise.
9660 * libio/oldiopopen.c: Likewise.
9661 * libio/oldstdfiles.c: Likewise.
9662 * libio/putc.c: Likewise.
9663 * libio/setbuf.c: Likewise.
9664 * libio/setlinebuf.c: Likewise.
9665 * libio/stdfiles.c: Likewise.
9666 * libio/strops.c: Likewise.
9667 * libio/vasprintf.c: Likewise.
9668 * libio/vscanf.c: Likewise.
9669 * libio/vsnprintf.c: Likewise.
9670 * libio/vswprintf.c: Likewise.
9671 * libio/wfiledoalloc.c: Likewise.
9672 * libio/wfileops.c: Likewise.
9673 * libio/wgenops.c: Likewise.
9674 * libio/wmemstream.c: Likewise.
9675 * libio/wstrops.c: Likewise.
9676 * libio/__fpurge.c: Likewise.
9677 * libio/__fsetlocking.c: Likewise.
9678 * assert/assert.c: Likewise.
9679 * debug/fgets_chk.c: Likewise.
9680 * debug/fgets_u_chk.c: Likewise.
9681 * debug/fread_chk.c: Likewise.
9682 * debug/fread_u_chk.c: Likewise.
9683 * debug/gets_chk.c: Likewise.
9684 * debug/obprintf_chk.c: Likewise.
9685 * debug/vasprintf_chk.c: Likewise.
9686 * debug/vdprintf_chk.c: Likewise.
9687 * debug/vsnprintf_chk.c: Likewise.
9688 * debug/vsprintf_chk.c: Likewise.
9689 * malloc/mtrace.c: Likewise.
9690 * misc/error.c: Likewise.
9691 * misc/syslog.c: Likewise.
9692 * stdio-common/asprintf.c: Likewise.
9693 * stdio-common/fxprintf.c: Likewise.
9694 * stdio-common/getw.c: Likewise.
9695 * stdio-common/isoc99_fscanf.c: Likewise.
9696 * stdio-common/isoc99_scanf.c: Likewise.
9697 * stdio-common/isoc99_vfscanf.c: Likewise.
9698 * stdio-common/isoc99_vscanf.c: Likewise.
9699 * stdio-common/isoc99_vsscanf.c: Likewise.
9700 * stdio-common/printf-prs.c: Likewise.
9701 * stdio-common/printf_fp.c: Likewise.
9702 * stdio-common/printf_fphex.c: Likewise.
9703 * stdio-common/printf_size.c: Likewise.
9704 * stdio-common/putw.c: Likewise.
9705 * stdio-common/scanf.c: Likewise.
9706 * stdio-common/sprintf.c: Likewise.
9707 * stdio-common/tmpfile.c: Likewise.
9708 * stdio-common/vfprintf.c: Likewise.
9709 * stdio-common/vfscanf.c: Likewise.
9710 * stdlib/strfmon_l.c: Likewise.
9711 * sunrpc/openchild.c: Likewise.
9712 * sunrpc/xdr_stdio.c: Likewise.
9713 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9714 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9715
9716 2012-05-24 Roland McGrath <roland@hack.frob.com>
9717
9718 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9719
9720 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9721 in the third column, to generate for the shared library an IFUNC
9722 that uses _dl_vdso_vsym.
9723 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9724 * Makeconfig (object-suffixes-noshared): New variable.
9725
9726 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9727 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9728 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9729 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9730
9731 [BZ #14132]
9732 * include/sys/time.h (__gettimeofday): Remove macro.
9733 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9734 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9735 Remove INTDEF.
9736 (__gettimeofday): Add libc_hidden_def.
9737 (gettimeofday): Add libc_hidden_weak.
9738 * sysdeps/mach/gettimeofday.c: Likewise.
9739 * sysdeps/posix/gettimeofday.c: Likewise.
9740 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9741 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9742 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9743 (__gettimeofday_internal): Remove strong_alias.
9744 (__gettimeofday): Add libc_hidden_def.
9745 (gettimeofday): Add libc_hidden_weak.
9746 * sysdeps/unix/syscalls.list (gettimeofday):
9747 Remove __gettimeofday_internal alias.
9748
9749 2012-05-24 Daniel Jacobowitz <drow@false.org>
9750 H.J. Lu <hongjiu.lu@intel.com>
9751
9752 [BZ #12495]
9753 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9754 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9755 (largebin_index_32_big): New.
9756 (largebin_index): Use it for 16-byte alignment.
9757 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9758 correction with front_misalign.
9759
9760 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9764 Likewise.
9765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9766 Likewise.
9767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9768 Likewise.
9769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9770 Likewise.
9771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9772 Likewise.
9773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9774 Likewise.
9775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9776 Likewise.
9777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9778 Likewise.
9779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9780 Likewise.
9781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9782 Likewise.
9783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9784 Likewise.
9785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9786 Likewise.
9787
9788 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9789 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9790
9791 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9792
9793 [BZ #10846]
9794 [BZ #14036]
9795 * math/libm-test.inc (exp_test): Add test from bug 14036.
9796 (pow_test): Add test from bug 10846.
9797
9798 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9799 and other flags.
9800 (special_function): Do not include flags in test name.
9801 (parse_args): Likewise.
9802 * sysdeps/i386/fpu/libm-test-ulps: Update.
9803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9804 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9805 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9807
9808 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9809 exceptions.
9810 * math/libm-test.inc ("Philosophy"): Update comment about
9811 exception testing.
9812 (UNDERFLOW_EXCEPTION): New macro.
9813 (UNDERFLOW_EXCEPTION_OK): Likewise.
9814 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9815 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9816 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9817 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9818 (INVALID_EXCEPTION_OK): Update value.
9819 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9820 (OVERFLOW_EXCEPTION_OK): Likewise.
9821 (IGNORE_ZERO_INF_SIGN): Likewise.
9822 (test_exceptions): Handle underflow exceptions.
9823 (acos_test): Update for underflow exception expectations.
9824 (cexp_test): Likewise.
9825 (clog_test): Likewise.
9826 (clog10_test): Likewise.
9827 (csqrt_test): Likewise.
9828 (ctan_test): Likewise.
9829 (ctanh_test): Likewise.
9830 (exp_test): Likewise.
9831 (exp10_test): Likewise.
9832 (exp2_test): Likewise.
9833 (expm1_test): Likewise.
9834 (fma_test): Likewise.
9835 (j0_test): Likewise.
9836 (jn_test): Likewise.
9837 (nexttoward_test): Likewise.
9838 (pow_test): Likewise.
9839 (scalbn_test): Likewise.
9840 (scalbln_test): Likewise.
9841 (tan_test): Likewise.
9842 (y1_test): Likewise.
9843 * sysdeps/i386/fpu/libm-test-ulps: Update.
9844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9845
9846 2012-05-23 David S. Miller <davem@davemloft.net>
9847
9848 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9849 (__libc_sigaction): Remove unused local variables.
9850
9851 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9852
9853 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9854
9855 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9856
9857 mktime: avoid signed integer overflow
9858 * time/mktime.c (__mktime_internal): Do not mishandle the case
9859 where diff == INT_MIN.
9860
9861 mktime: simplify computation of average
9862 * time/mktime.c (ranged_convert): Use new time_t_avg function
9863 instead of rolling our own (probably-slower) code.
9864
9865 mktime: do not assume signed right shift propagates sign bit
9866 * time/mktime.c (isdst_differ): New static function.
9867 (__mktime_internal): No need to normalize tm_isdst now.
9868 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9869 tm_isdst values.
9870
9871 mktime: merge another wrapv change from gnulib
9872 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9873 from some compilers.
9874
9875 mktime: remove incorrect attempt at unusual arithmetics
9876 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9877 The code didn't really work on such machines anyway.
9878 (TYPE_MINIMUM): Assume two's complement.
9879 (twos_complement_arithmetic): Verify that long_int and time_t
9880 are two's complement (or unsigned, in the latter case).
9881
9882 mktime: check signed shifts on long_int and time_t, too
9883 * time/mktime.c (SHR): Check that shifts work as desired
9884 on the types long_int and time_t too, as SHR is used on
9885 such types.
9886
9887 mktime: do not assume 'long' is wide enough
9888 * time/mktime.c (verify): Move decl up.
9889 (long_int): New type.
9890 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9891 to remove assumption in the code that 'long' is wide enough to
9892 store year values. This assumption is not true on x32 and on
9893 some non-glibc platforms.
9894
9895 mktime: merge wrapv change from gnulib
9896 * time/mktime.c (WRAPV): New macro.
9897 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9898 (guess_time_tm, __mktime_internal): Do not assume that signed
9899 integer overflow wraps around; modern compilers generate code
9900 where this assumption is no longer valid.
9901
9902 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9903
9904 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9905 Replace "jmp L(pseudo_end)" with "ret".
9906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9907 Likewise.
9908
9909 2012-05-23 Andreas Jaeger <aj@suse.de>
9910
9911 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9912 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9913
9914 2012-05-23 Andreas Jaeger <aj@suse.de>
9915 Maximilian Attems <max@stro.at>
9916
9917 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9918 New macros.
9919
9920 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9921
9922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9923 code so that pseudo_end is just ret and the stack pointer is
9924 correct also for static library in error case.
9925
9926 2012-05-23 Joseph Myers <joseph@codesourcery.com>
9927
9928 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9929 move to syscalls.list.
9930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9934
9935 * manual/install.texi (Running make install): Do not mention Linux
9936 kernel version for which pt_chown is not needed.
9937 (Linux): Do not mention problems with nscd with 2.0 kernels.
9938 * INSTALL: Regenerated.
9939
9940 2012-05-23 Andreas Jaeger <aj@suse.de>
9941
9942 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9943 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9944 macro.
9945 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9946 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9947 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9948 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9949 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9950 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9952 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9953 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9954 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9955 * sysdeps/unix/sysv/linux/bits/in.h
9956 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9957
9958 2012-05-22 Roland McGrath <roland@hack.frob.com>
9959
9960 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9961 (PREPARE_VERSION): Just use assert instead, it will be elided
9962 under [NDEBUG] anyway.
9963
9964 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9965
9966 * sysdeps/unix/sysv/linux/Makefile: Include
9967 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9968 (sysdep_routines): Remove sysctl.
9969 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9970 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9971 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9972 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9973 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9974
9975 2012-05-22 Andreas Jaeger <aj@suse.de>
9976
9977 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9978 that pseudo_end is just ret and the stack pointer is correct also
9979 for static library in error case.
9980
9981 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9982
9983 [BZ #14122]
9984 * nss/nsswitch.c (defconfig_entries): New variable.
9985 (__nss_database_lookup): Don't leak defconfig entries.
9986 (nss_parse_service_list): Don't leak on error paths.
9987 (free_database_entries): New function.
9988 (free_defconfig): New function.
9989 (free_mem): Move common code to free_database_entries.
9990
9991 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9992
9993 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9994 Add arch_prctl.
9995 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9996
9997 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9998 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10000 New macro.
10001 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10002 (INTERNAL_SYSCALL_TYPES): Likewise.
10003 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10004 (LOAD_REGS_TYPES_[1-6]): Likewise.
10005 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10006 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10007
10008 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10009
10010 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10011 copysignl for GLIBC_2_0.
10012 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10013 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10014 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10015 logbl for GLIBC_2_0.
10016 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10017 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10018
10019 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10020
10021 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10022 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10023
10024 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10025 Use "neg %eax".
10026
10027 * time/mktime.c: Update copyright years.
10028
10029 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10030
10031 mktime: merge comment-quoting-style change from gnulib
10032 * time/mktime.c: Quote 'like this' in comments.
10033 The GNU coding standards suggest that we no longer quote `like this',
10034 as "`" and "'" are typically rendered asymmetrically nowadays.
10035 The typical gnulib style is to quote 'like this' when quoting
10036 code, and "like this" when quoting English.
10037
10038 * time/mktime.c (compile-command): Add "-I.".
10039
10040 mktime: merge mktime-internal.h change from gnulib
10041 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10042
10043 mktime: merge time_r change from gnulib
10044 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10045
10046 mktime: merge DEBUG change from gnulib
10047 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10048 case system <time.h> has a #define.
10049
10050 mktime: merge <sys/types.h> change from gnulib
10051 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10052 since <time.t> is now guaranteed to define time_t.
10053
10054 mktime: merge HAVE_CONFIG_H change from gnulib
10055 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10056
10057 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10058
10059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10060 Use "neg %eax".
10061
10062 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10063 __rlim_t cast.
10064 (struct rusage): Use anonymous union to pad each field to
10065 __syscall_slong_t.
10066
10067 2012-05-21 David S. Miller <davem@davemloft.net>
10068
10069 * Makefules (o-iterator): Remove .s cases.
10070 (compile-command.s): Delete.
10071 (COMPILE.s): Delete.
10072 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10073
10074 2012-05-21 Joseph Myers <joseph@codesourcery.com>
10075
10076 * configure.in (libc_cv_predef_stack_protector): Only consider
10077 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10078 * configure: Regenerated.
10079
10080 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10081
10082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10083 New macro. Use R*LP on int and pointer.
10084 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10085 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10086 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10087 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10088
10089 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10090 [__WORDSIZE_TIME64_COMPAT32] instead of
10091 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10092 (struct utmp): Likewise.
10093 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10094 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10095 Renamed to ...
10096 (__WORDSIZE_TIME64_COMPAT32): This.
10097 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10098 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10099 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10100 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10101 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10102 (__WORDSIZE_TIME64_COMPAT32): New macro.
10103
10104 2012-05-21 Andreas Jaeger <aj@suse.de>
10105
10106 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10107 only if [SHARED]. Add prototype for __wcschr_ia32.
10108
10109 2012-05-21 Roland McGrath <roland@hack.frob.com>
10110
10111 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10112 of %rbp unmolested in the jmp_buf while mangling the low bits.
10113 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10114 unmolested high bits of %rbp while demangling the low bits.
10115 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10116
10117 2012-05-21 Andreas Jaeger <aj@suse.de>
10118
10119 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10120 * sunrpc/svc_simple.c: Use it for registerrpc.
10121 * sunrpc/xcrypt.c: Use it for passwd2des.
10122
10123 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10124
10125 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10126
10127 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10128 Don't define if [__SYSCALL_WORDSIZE != 32].
10129 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10130 New macro.
10131
10132 2012-05-21 Bruno Haible <bruno@clisp.org>
10133 Andreas Jaeger <aj@suse.de>
10134
10135 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10136 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10137 inptr and inend for must_buffer_ch.
10138 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10139 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10140 * stdio-common/Makefile (tests): Remove bug15.
10141 (bug15-ENV): Remove macro.
10142 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10143 anymore.
10144
10145 2012-05-19 Andreas Jaeger <aj@suse.de>
10146 Roland McGrath <roland@hack.frob.com>
10147
10148 * manual/contrib.texi: Completely rewritten. It contains now an
10149 alphabetical list of contributors and their contributions.
10150
10151 2012-05-21 Richard Henderson <rth@twiddle.net>
10152
10153 * misc/getauxval.c (__getauxval): Use unsigned long int.
10154 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10155 (getauxval): Use unsigned long int.
10156
10157 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10158
10159 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10160
10161 2012-05-21 Roland McGrath <roland@hack.frob.com>
10162
10163 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10164 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10165 __alignof__ (long double).
10166
10167 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10168
10169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10170
10171 2012-05-20 Richard Henderson <rth@twiddle.net>
10172
10173 * misc/getauxval.c: New file.
10174 * misc/sys/auxv.h: New file.
10175 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10176 (routines): Add getauxval.
10177 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10178 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10179 * elf/dl-sysdep.c (_dl_auxv): Remove.
10180 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10181 * elf/dl-support.c (_dl_auxv): New variable.
10182 (_dl_aux_init): Initialize it.
10183 * manual/startup.texi (Auxiliary Vector): New node.
10184 * sysdeps/generic/bits/hwcap.h: New file.
10185 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10186 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10187 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10188 * sysdeps/sparc/sysdep.h: ... here. Include it.
10189 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10190 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10192 Update.
10193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10196 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10201
10202 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10203
10204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10205
10206 2012-05-19 David S. Miller <davem@davemloft.net>
10207
10208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10209
10210 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10211
10212 [BZ #14123]
10213 * math/s_ccosh.c: Include <float.h>
10214 (__ccosh): Avoid internal overflow calculating sinh and cosh
10215 values before multiplying by sin and cos values.
10216 * math/s_ccoshf.c: Likewise.
10217 * math/s_ccoshl.c: Likewise.
10218 * math/s_csin.c: Likewise.
10219 * math/s_csinf.c: Likewise.
10220 * math/s_csinl.c: Likewise.
10221 * math/s_csinh.c: Likewise.
10222 * math/s_csinhf.c: Likewise.
10223 * math/s_csinhl.c: Likewise.
10224 * math/libm-test.inc (ccos_test): Add more tests.
10225 (ccosh_test): Likewise.
10226 (csin_test): Likewise.
10227 (csinh_test): Likewise.
10228 * sysdeps/i386/fpu/libm-test-ulps: Update.
10229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10230
10231 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10232
10233 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10234 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10235
10236 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10237
10238 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10239
10240 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10241 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10242 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10243 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10244 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10245 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10246 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10247 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10248 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10249 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10250 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10251 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10252 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10253 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10254 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10255 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10256 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10257 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10258 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10259 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10260 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10261 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10262 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10263 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10264 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10265 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10266 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10267 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10268 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10269 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10270 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10271
10272 2012-05-18 Andreas Jaeger <aj@suse.de>
10273
10274 * csu/.gitignore: Delete.
10275
10276 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10277
10278 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10279 (timex): Use __syscall_slong_t.
10280
10281 2012-05-18 Andreas Jaeger <aj@suse.de>
10282 Carlos O'Donell <carlos_odonell@mentor.com>
10283
10284 * manual/install.texi (Configuring and compiling): Update
10285 description about files modified in the source directory.
10286 * INSTALL: Regenerated.
10287
10288 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10289
10290 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10291 value. Use "or" to set return value to -1.
10292 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10293 negate return value.
10294
10295 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10296
10297 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10298 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10299 failure if the compiler has Graphite support disabled.
10300 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10301 Likewise.
10302 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10303 CFLAGS-memmove.c): Likewise.
10304 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10305 Likewise.
10306
10307 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10308
10309 * sysdeps/x86_64/x32/_itoa.h: New file.
10310
10311 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10312 getdents system call only if kernel and user dirents have the
10313 same d_ino and d_off.
10314
10315 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10316 LLONG_MAX != LONG_MAX.
10317 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10318 (_fitoa_word): Likewise.
10319
10320 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10321 years.
10322 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10323 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10324 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10325
10326 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10327 include <bits/wordsize.h>. Check __x86_64__ instead of
10328 __WORDSIZE.
10329 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10330 if __x86_64__ is defined. Use anonymous union on fpstate.
10331
10332 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10333 anonymous union.
10334
10335 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10336
10337 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10338 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10339 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10340 Refer to _rtld_local_ro instead of _rtld_global_ro.
10341 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10342 Likewise.
10343 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10344 Likewise.
10345 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10346 Likewise.
10347 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10348 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10349 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10350
10351 * sysdeps/powerpc/powerpc32/dl-machine.c
10352 (__elf_machine_runtime_setup) [PROF]: Don't reference
10353 _dl_prof_resolve.
10354
10355 2012-05-18 Andreas Jaeger <aj@suse.de>
10356
10357 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10358 function only available for GCCs before 3.4 since GCC 3.4
10359 introduced a builtin.
10360 (lrint): Likewise.
10361 (llrintf): Likewise.
10362 (llrint): Likewise.
10363 (fmaxf): Likewise.
10364 (fmax): Likewise.
10365 (fminf): Likewise.
10366 (fmin): Likewise.
10367 (rint): Likewise.
10368 (rintf): Likewise.
10369 (nearbyint): Likewise.
10370 (nearbyintf): Likewise.
10371 (ceil): Likewise.
10372 (ceilf): Likewise.
10373 (floor): Likewise.
10374 (floorf): Likewise.
10375
10376 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10377
10378 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10379 on both fields and cast pointer to __syscall_ulong_t.
10380
10381 * bits/types.h (__fsword_t): New type.
10382 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10383 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10384 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10385 (__FSWORD_T_TYPE): Likewise.
10386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10387 (__FSWORD_T_TYPE): Likewise.
10388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10389 (__FSWORD_T_TYPE): Likewise.
10390 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10391 (__FSWORD_T_TYPE): Likewise.
10392 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10393 __SWORD_TYPE with __fsword_t.
10394 (statfs64): Likewise.
10395
10396 2012-05-17 David S. Miller <davem@davemloft.net>
10397
10398 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10399
10400 2012-05-17 Andreas Jaeger <aj@suse.de>
10401
10402 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10403 warning.
10404
10405 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10406
10407 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10408
10409 2012-05-17 Andreas Jaeger <aj@suse.de>
10410
10411 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10412 when it is used.
10413
10414 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10415
10416 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10417
10418 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10419
10420 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10421 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10422
10423 2012-05-17 Andreas Jaeger <aj@suse.de>
10424 Carlos O'Donell <carlos_odonell@mentor.com>
10425
10426 [BZ #14059]
10427 * sysdeps/x86_64/multiarch/init-arch.h
10428 (bit_YMM_Usable): Rename to...
10429 (bit_AVX_Usable): ... this.
10430 (bit_FMA4_Usable): New macro.
10431 (bit_XMM_state): New macro.
10432 (bit_YMM_state): New macro.
10433 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10434 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10435 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10436 (CPUID_OSXSAVE): New macro.
10437 (CPUID_AVX): New macro.
10438 (CPUID_FMA4): New macro.
10439 (index_YMM_Usable): Rename to...
10440 (index_AVX_Usable): ... this.
10441 (HAS_AVX): Use HAS_ARCH_FEATURE.
10442 (HAS_FMA4): Likewise.
10443 (HAS_YMM_USABLE): Remove.
10444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10445 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10446 are present.
10447 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10448 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10449 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10450 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10451 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10452
10453 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10454
10455 * math/libm-test.c: Support platforms without multiple rounding modes.
10456 * math/bug-nextafter.c: Support platforms without FP exceptions.
10457 * math/bug-nexttoward.c: Likewise.
10458 * math/test-fenv.c: Likewise.
10459 * math/test-misc.c: Likewise.
10460 * stdlib/bug-getcontext.c: Likewise.
10461
10462 2012-05-17 Andreas Jaeger <aj@suse.de>
10463
10464 * manual/examples/search.c (critter_cmp): Change signature to
10465 avoid warnings.
10466 * manual/string.texi (Collation Functions): Likewise.
10467
10468 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10469
10470 * bits/types.h: Fold copyright years.
10471 * bits/typesizes.h: Likewise.
10472 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10473 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10474 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10475 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10476 * time/time.h: Likewise.
10477
10478 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10479
10480 [BZ #208]
10481 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10482 in instead of returning them. Return void.
10483 (__libc_mallinfo): Accumulate over all arenas.
10484 (__malloc_stats): Adjust for change in int_mallinfo interface.
10485
10486 2012-05-16 Roland McGrath <roland@hack.frob.com>
10487
10488 [BZ #10375]
10489 * configure.in (NM): Add AC_CHECK_TOOL for it.
10490 (libc_extra_cflags): New substituted variable.
10491 Check for -fstack-protector being used implicitly.
10492 * configure: Regenerated.
10493 * config.make.in (config-extra-cflags): New variable,
10494 gets @libc_extra_cflags@.
10495 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10496
10497 [BZ #10375]
10498 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10499 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10500 * configure: Regenerated.
10501 * config.make.in (CPPUNDEFS): New substituted variable.
10502 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10503 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10504 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10505
10506 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10507
10508 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10509 (mq_attr): Use __syscall_slong_t.
10510
10511 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10512
10513 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10514 Check __x86_64__ instead of __WORDSIZE.
10515 (_STAT_VER_LINUX): Likewise.
10516 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10517 __syscall_ulong_t and __syscall_slong_t.
10518 (stat64): Likewise.
10519
10520 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10521
10522 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10523
10524 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10525
10526 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10527
10528 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10529
10530 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10531 __syscall_ulong_t.
10532
10533 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10534 include <bits/wordsize.h>. Check __x86_64__ instead of
10535 __WORDSIZE.
10536 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10537 defined.
10538 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10539
10540 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10541 include <bits/wordsize.h>. Check __x86_64__ instead of
10542 __WORDSIZE.
10543 (user_regs_struct): Use "__extension__ unsigned long long"
10544 instead of "unsigned long" if __x86_64__ is defined.
10545 (user): Likewise. Pad after pointer field if __ILP32__ is
10546 defined.
10547
10548 2012-05-16 Joseph Myers <joseph@codesourcery.com>
10549
10550 * configure.in (makeinfo): Require version 4.5 or later. Allow
10551 versions 5 to 9.
10552 * configure: Regenerated.
10553 * manual/install.texi (texinfo): Increase version requirement to
10554 4.5 or later.
10555 * INSTALL: Regenerated.
10556
10557 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10558
10559 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10560
10561 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10562
10563 * sysdeps/x86_64/x32/ffs.c: New file.
10564
10565 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10566 __syscall_ulong_t.
10567 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10568 defined. Use __syscall_ulong_t.
10569 (shminfo): Use __syscall_ulong_t.
10570 (shm_info): Likewise.
10571
10572 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10573 __syscall_ulong_t.
10574
10575 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10576 <bits/wordsize.h>.
10577 (msgqnum_t): Use __syscall_ulong_t.
10578 (msglen_t): Likewise.
10579 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10580 __syscall_ulong_t.
10581
10582 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10583 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10584
10585 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10586
10587 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10588 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10589
10590 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10591 __syscall_slong_t.
10592
10593 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10594 include <bits/wordsize.h>. Check __x86_64__ instead of
10595 __WORDSIZE.
10596
10597 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10598 "unsigned long long int" if __x86_64__ is defined.
10599 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10600
10601 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10602 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10603 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10604
10605 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10606 <stdint.h>.
10607 (GET_PC): Cast to uintptr_t first.
10608 (GET_FRAME): Likewise.
10609 (GET_STACK): Likewise.
10610
10611 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10612 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10613 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10614 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10615 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10616 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10617 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10618 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10619 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10620 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10621 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10622 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10623 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10624 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10625 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10626 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10627 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10628 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10629 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10630 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10631 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10632 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10633 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10634 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10635 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10636 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10637 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10638 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10640
10641 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10642
10643 * Makerules (+depfiles): Also collect depfiles from .oS in
10644 $(extra-objs).
10645 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10646 .oS, $(libnldbl-routines)).
10647
10648 * Makerules (native-compile-mkdep-flags): Define.
10649 * sunrpc/Makefile (extra-objs): Add $(addprefix
10650 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10651 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10652 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10653 calling $(make-target-directory).
10654
10655 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10656
10657 * bits/types.h (__snseconds_t): Removed.
10658 * time/time.h (struct timespec): Replace __snseconds_t with
10659 __syscall_slong_t.
10660 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10661 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10662 Likewise.
10663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10664 (__SNSECONDS_T_TYPE): Likewise.
10665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10666 (__SNSECONDS_T_TYPE): Likewise.
10667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10668 (__SNSECONDS_T_TYPE): Likewise.
10669
10670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10671
10672 * sysdeps/mach/hurd/bits/typesizes.h
10673 (__SYSCALL_SLONG_TYPE): New macro.
10674 (__SYSCALL_ULONG_TYPE): Likewise.
10675
10676 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10677
10678 * bits/types.h (__syscall_slong_t): New type.
10679 (__syscall_ulong_t): Likewise.
10680
10681 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10682 (__SYSCALL_ULONG_TYPE): Likewise.
10683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10684 (__SYSCALL_SLONG_TYPE): Likewise.
10685 (__SYSCALL_ULONG_TYPE): Likewise.
10686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10687 (__SYSCALL_SLONG_TYPE): Likewise.
10688 (__SYSCALL_ULONG_TYPE): Likewise.
10689 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10690 (__SYSCALL_SLONG_TYPE): Likewise.
10691 (__SYSCALL_ULONG_TYPE): Likewise.
10692
10693 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10694
10695 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10696 Add sigaltstack-offsets.sym.
10697 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10698 <sigaltstack-offsets.h>.
10699 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10700 longjmp_msg pointer.
10701 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10702 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10703 signal stack.
10704 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10705
10706 2012-05-15 Joseph Myers <joseph@codesourcery.com>
10707
10708 * elf/stackguard-macros.h: Remove file.
10709 * sysdeps/generic/stackguard-macros.h: New file.
10710 * sysdeps/i386/stackguard-macros.h: Likewise.
10711 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10712 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10713 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10714 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10715 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10716 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10717 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10718 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10719 <elf/stackguard-macros.h>.
10720
10721 [BZ #14109]
10722 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10723 __aligned__ in attribute.
10724 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10725 (gregset_t): Likewise.
10726
10727 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10728
10729 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10730 * sysdeps/x86_64/64/Implies-after: Here. New file.
10731 * sysdeps/x86_64/x32/Implies-after: New file.
10732
10733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10734
10735 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10736 and access return value for _dl_profile_fixup. Use R10_LP to
10737 load frame size.
10738
10739 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10740
10741 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10742
10743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10744
10745 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10746 * sysdeps/x86_64/x32/sysdep.h: New file.
10747
10748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10749
10750 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10751 * sysdeps/x86_64/setjmp.S: Likewise.
10752
10753 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10754
10755 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10756 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10757 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10758 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10759 remove unused global constant.
10760
10761 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10762
10763 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10764 include of <not-cancel.h>.
10765
10766 2012-05-15 Roland McGrath <roland@hack.frob.com>
10767
10768 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10769
10770 2012-05-15 Jeff Law <law@redhat.com>
10771 Andreas Jaeger <aj@suse.de>
10772
10773 [BZ #13594]
10774 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10775 out from...
10776 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10777 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10778 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10779 code changing __hst_map_handle.map.
10780
10781 2012-05-15 Roland McGrath <roland@hack.frob.com>
10782
10783 * configure.in (sysnames): Look for Implies-before and Implies-after
10784 files.
10785 * configure: Regenerated.
10786
10787 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10788
10789 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10790 8-byte data alignment with LP_SIZE alignment.
10791
10792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10793
10794 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10795 into R10_LP.
10796
10797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10798
10799 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10800
10801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10802
10803 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10804 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10805 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10806 Likewise.
10807 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10808
10809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10810
10811 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10812 (stackinfo_sub_sp): Likewise.
10813
10814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10815
10816 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10817 RAX_LP.
10818
10819 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10820
10821 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10822 into R*_LP.
10823
10824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10825
10826 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10827 sizes into R*_LP.
10828
10829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10830
10831 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10832
10833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10834
10835 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10836 into R11_LP and load __x86_64_shared_cache_size_half into
10837 R8_LP.
10838
10839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10840
10841 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10842 R8_LP.
10843
10844 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10845
10846 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10847 logb for POWER7.
10848 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10849 logbf for POWER7.
10850 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10851 logbl for POWER7.
10852 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10853 powerpc32/power7/fpu/s_logb.c via #include.
10854 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10855 powerpc32/power7/fpu/s_logbf.c via #include.
10856 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10857 powerpc32/power7/fpu/s_logbl.c via #include.
10858
10859 2012-05-15 Joseph Myers <joseph@codesourcery.com>
10860
10861 * README.libm: Remove file.
10862
10863 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10864
10865 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10866 count for x32. Use R*_LP and omit operand-size suffix.
10867
10868 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10869
10870 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10871 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10872 * sysdeps/x86_64/x32/shlib-versions: New file.
10873
10874 2012-05-14 Roland McGrath <roland@hack.frob.com>
10875
10876 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10877 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10878 Use _dl_fatal_printf instead.
10879
10880 2012-05-14 Joseph Myers <joseph@codesourcery.com>
10881
10882 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10883 set if not set by the user. Do not allow for being unset.
10884 * sysdeps/unix/sysv/linux/configure: Regenerated.
10885
10886 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10887
10888 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10889 the `q' suffix from lea and replace .quad with ASM_ADDR.
10890
10891 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10892
10893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10894 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10895 instead of $17.
10896 (PTR_DEMANGLE): Likewise.
10897
10898 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10899
10900 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10901 (LP_OP): Likewise.
10902 (ASM_ADDR): Likewise.
10903 (RAX_LP): Likewise.
10904 (RBP_LP): Likewise.
10905 (RBX_LP): Likewise.
10906 (RCX_LP): Likewise.
10907 (RDI_LP): Likewise.
10908 (RSI_LP): Likewise.
10909 (RSP_LP): Likewise.
10910 (R8_LP): Likewise.
10911 (R9_LP): Likewise.
10912 (R10_LP): Likewise.
10913 (R10_LP): Likewise.
10914 (R11_LP): Likewise.
10915 (R12_LP): Likewise.
10916 (R13_LP): Likewise.
10917 (R14_LP): Likewise.
10918 (R15_LP): Likewise.
10919
10920 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10921
10922 * sysdeps/x86_64/x32/dl-machine.h: New file.
10923
10924 2012-05-14 Andreas Jaeger <aj@suse.de>
10925
10926 * manual/Makefile (subdir): Remove export of subdir.
10927 (all): Remove target.
10928 (.PHONY): Remove all from list.
10929 (mkinstalldirs): Remove.
10930 (.PHONY): Remove installdirs from list.
10931 ($(inst_infodir)/libc.info): Use make-target-directory.
10932 (installdirs): Remove.
10933 (subdir_%): Remove.
10934 (glibc-targets): Remove.
10935 (lib): Remove.
10936 (stubs): Remove.
10937 ($(objpfx)stubs ../po/manual.pot): Remove.
10938 ($(objpfx)stamp%): Remove.
10939 (make-target-directory): Remove.
10940 (subdir_install): Remove.
10941 (routines): Remove.
10942 (aux): Remove.
10943 (sources): Remove.
10944 (objects): Remove.
10945 (headers): Remove.
10946
10947 [BZ #13750]
10948 * manual/.gitignore: Remove, it's not needed anymore.
10949 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10950 all files in it.
10951 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10952 directory.
10953 (texis): Renamed to $(objpfx)texis.
10954 (texis-path): New, contains path to generated files.
10955 (chapters.%): Use texis-path for complete path, add extra argument
10956 libc-texinfo.sh.
10957 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10958 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10959 (summary,texi, stamp-summary): Use complete path of
10960 files. Generate files in build dir.
10961 (dir-add.texi): Build in build dir.
10962 (libm-err.texi,stamp-libm-err): Likewise.
10963 (version.texi, stamp-version): Likewise.
10964 (.%c.texi): Likewise.
10965 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10966 (mostlyclean): Remove target.
10967 (realclean): Remove target.
10968 (generated): Add new variable with contents from mostlyclean and
10969 realclean, remove entries duplicated in common-mostlyclean, add
10970 stamp-libm-err and stamp-version.
10971 (generated-dirs): Add libc directory.
10972 ($(inst_infodir)/libc.info): Install files from build dir.
10973
10974 * manual/install.texi (Configuring and compiling): Adjust since
10975 the info files are not part of the tar ball anymore.
10976
10977 2012-05-14 Andreas Jaeger <aj@suse.de>
10978
10979 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10980 variable.
10981
10982 2012-05-14 Joseph Myers <joseph@codesourcery.com>
10983
10984 [BZ #13717]
10985 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10986 to 2.2.0 where earlier.
10987 * sysdeps/unix/sysv/linux/configure: Regenerated.
10988 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10989 Remove conditional code.
10990 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10991 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10992 Remove conditional code.
10993 [!__NR_lchown]: Likewise.
10994 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10995 [__NR_lchown]: Likewise.
10996 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10997 comment referencing __ASSUME_LCHOWN_SYSCALL.
10998 * sysdeps/unix/sysv/linux/i386/sigaction.c
10999 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11000 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11001 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11002 Remove conditional code.
11003 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11004 (__protocol_available): Remove #if 0 code.
11005 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11006 conditional code.
11007 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11008 * sysdeps/unix/sysv/linux/kernel-features.h
11009 (__ASSUME_GETCWD_SYSCALL): Don't define.
11010 (__ASSUME_REALTIME_SIGNALS): Likewise.
11011 (__ASSUME_PREAD_SYSCALL): Likewise.
11012 (__ASSUME_PWRITE_SYSCALL): Likewise.
11013 (__ASSUME_POLL_SYSCALL): Likewise.
11014 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11015 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11016 non-SPARC.
11017 (__ASSUME_SIOCGIFNAME): Don't define.
11018 (__ASSUME_MSG_NOSIGNAL): Likewise.
11019 (__ASSUME_SENDFILE): Define unconditionally.
11020 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11021 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11022 conditional code.
11023 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11024 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11025 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11026 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11027 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11028 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11029 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11031 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11034 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11037 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11040 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11043 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11044 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11046 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11049 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11050 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11052 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11053 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11054 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11055 Remove conditional code.
11056 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11057 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11058 Remove conditional code.
11059 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11060 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11061 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11062 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11063 Remove conditional code.
11064 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11065 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11066 Remove conditional code.
11067 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11068 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11069 Remove conditional code.
11070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11071 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11072 Remove conditional code.
11073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11074 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11075 Remove conditional code.
11076 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11077 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11078 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11079 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11080 * sysdeps/unix/sysv/linux/sigaction.c
11081 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11082 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11083 * sysdeps/unix/sysv/linux/sigpending.c
11084 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11085 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11086 * sysdeps/unix/sysv/linux/sigprocmask.c
11087 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11088 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11089 * sysdeps/unix/sysv/linux/sigsuspend.c
11090 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11091 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11092 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11093 (__libc_missing_rt_sigs): Remove.
11094 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11095 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11096 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11097 Remove conditional code.
11098 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11099 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11100 return 1.
11101 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11102 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11103 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11104 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11105
11106 2012-05-14 Andreas Jaeger <aj@suse.de>
11107
11108 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11109 it's not used in glibc.
11110 (__coshm1): Likewise.
11111 (__acosh1p): Likewise.
11112 (__sgn): Likewise.
11113
11114 * manual/string.texi (Copying and Concatenation): Add missing
11115 variable in concat example.
11116 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11117
11118 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11119
11120 [BZ #14103]
11121 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11122 __builtin_clzl with __builtin_clzll.
11123
11124 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11125
11126 [BZ #14104]
11127 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11128 libc_freeres_ptr.
11129
11130 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11131
11132 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11133 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11134 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11135 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11136
11137 2012-05-14 Mike Frysinger <vapier@gentoo.org>
11138
11139 * NEWS: Update ia64 info.
11140
11141 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11142
11143 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11144 used as bcopy.
11145
11146 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11147
11148 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11149 * sysdeps/unix/syscalls.list (dup3): Likewise.
11150 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11151 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11152
11153 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11154
11155 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11156 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11157
11158 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11159
11160 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11161 thread pointer.
11162 (TLS_IE): Use mov/add instead of movq/addq to load thread
11163 pointer.
11164 (TLS_GD_PREFIX): New.
11165 (TLS_GD): Use it.
11166
11167 2012-05-11 David S. Miller <davem@davemloft.net>
11168
11169 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11170 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11171 (_FPU_SETCW): Likewise.
11172
11173 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11174
11175 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11176 is 32-byte aligned.
11177
11178 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11179
11180 [BZ #11837]
11181 * iconvdata/gb18030.c: Update tables.
11182 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11183 characters specially.
11184 (BODY for TO_LOOP): Add encoding of missing ranges.
11185
11186 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11187
11188 [BZ #13673]
11189 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11190 * sysdeps/mach/hurd/dup3.c: Likewise.
11191 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11192 * sysdeps/powerpc/memmove.c:: Likewise.
11193
11194 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11195
11196 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11197 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11198
11199 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11200
11201 * elf/elf.h (R_X86_64_RELATIVE64): New.
11202 (R_X86_64_NUM): Updated.
11203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11204 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11205 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11206 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11207 tst-quad1pie tst-quad2pie
11208 (modules-names): Add tst-quadmod1 tst-quadmod2.
11209 ($(objpfx)tst-quad1): New dependency.
11210 ($(objpfx)tst-quad2): Likewise.
11211 ($(objpfx)tst-quad1pie): Likewise.
11212 ($(objpfx)tst-quad2pie): Likewise.
11213 * sysdeps/x86_64/tst-quad1.c: New file.
11214 * sysdeps/x86_64/tst-quad1pie.c: New file.
11215 * sysdeps/x86_64/tst-quad2.c: Likewise.
11216 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11217 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11218 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11219 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11220 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11221
11222 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11223
11224 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11225 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11226 * streams/stropts.h (t_scalar_t): Define type.
11227
11228 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11229 (_PATH_PRESERVE): Set to "/var/lib".
11230 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11231
11232 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11233 instead of int.
11234
11235 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11236 if __dir_mkfile succeeded.
11237
11238 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11239 checking for _hurd_dtablesize. Unlock it right after having
11240 finished _hurd_dtable allocation.
11241
11242 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11243
11244 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11245 * sysdeps/mach/hurd/configure: Regenerated.
11246 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11247 special-casing to...
11248 * sysdeps/gnu/configure.in: ... this new file.
11249 * sysdeps/unix/sysv/linux/configure: Regenerated.
11250 * sysdeps/gnu/configure: New generated file.
11251
11252 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11253 for Linux: use nsec instead of usec, as well as:
11254 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11255 members of type struct timespec.
11256 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11257 New macros.
11258 (struct stat64): Likewise.
11259 (_STATBUF_ST_NSEC): New macro.
11260 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11261
11262 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11263 __strtoul_internal rather than strtoul.
11264
11265 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11266
11267 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11268 and reject them.
11269
11270 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11271
11272 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11273 which preserves existing values.
11274 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11275
11276 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11277
11278 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11279 TIMEOUT values. Return EINVAL for NFDS values either negative or
11280 greater than FD_SETSIZE.
11281
11282 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11283
11284 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11285 allocated, call __vm_protect to finish enabling the existing space, and
11286 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11287 allocate the remainder.
11288
11289 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11290
11291 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11292 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11293
11294 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11295
11296 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11297 sysdeps/mach/hurd/readlink.c.
11298
11299 * posix/tst-sysconf.c (posix_options): Only use
11300 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11301 _POSIX_SYNCHRONIZED_IO when they are defined
11302 * sysdeps/mach/hurd/bits/posix_opt.h:
11303 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11304 (_XOPEN_REALTIME): Undefine macro.
11305 (_XOPEN_REALTIME_THREADS): Undefine macro.
11306 (_XOPEN_SHM): Undefine macro.
11307 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11308 macro to -1.
11309 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11310 macro to -1.
11311 (_POSIX_ASYNC_IO): Undefine macro.
11312 (_POSIX_PRIORITIZED_IO): Undefine macro.
11313 (_POSIX_SPIN_LOCKS): Define macro to -1.
11314
11315 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11316 SA_NODEFER, SA_RESETHAND.
11317 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11318 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11319 F_DUPFD_CLOEXEC.
11320
11321 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11322
11323 * elf/Makefile (pldd-modules): Define unconditionally.
11324
11325 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11326
11327 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11328
11329 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11330
11331 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11332 Return ENOENT when name is empty.
11333 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11334
11335 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11336
11337 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11338
11339 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11340
11341 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11342
11343 Fix mlock in all cases except non-readable pages.
11344 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11345 instead of VM_PROT_ALL as parameter to __vm_wire function.
11346
11347 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11348 (__mkdir): When path is `/', just fail with EEXIST.
11349 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11350
11351 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11352
11353 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11354 <sys/uio.h> (for writev).
11355 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11356 and <sys/param.h> (for MIN).
11357
11358 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11359
11360 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11361 REQUESTED_TIME. Properly set the remaining time and return EINTR
11362 if interrupted.
11363
11364 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11365
11366 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11367 Depend on against $(link-rpcuserlibs).
11368
11369 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11370
11371 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11372 (__libc_stack_end): Do not use attribute_relro.
11373 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11374 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
11375 to libthread-provided value.
11376 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11377 attribute_relro.
11378
11379 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11380
11381 [BZ #3748]
11382 * bits/libc-lock.h (__libc_once_get): New macro.
11383 * sysdeps/mach/bits/libc-lock.h: Likewise.
11384 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11385 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11386 instead of using implementation details.
11387
11388 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11389 * libio/freopen.c: Likewise.
11390 * libio/freopen64.c: Likewise.
11391 * misc/syslog.c: Likewise.
11392 * nscd/connections.c: Likewise.
11393 * nscd/netgroupcache.c: Likewise.
11394 * sysdeps/posix/getcwd.c: Likewise.
11395
11396 2012-05-10 Roland McGrath <roland@hack.frob.com>
11397
11398 * math/w_ilogbf.c: Add #include <limits.h>.
11399
11400 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11401
11402 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
11403 path instead of returning without unlocking.
11404
11405 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11406 immediate-write ioctls.
11407 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11408
11409 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11410
11411 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11412 __builtin_frame_address instead of making assumptions about the
11413 location of the return address relative to DATA. Force early load of
11414 the return address.
11415 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11416 __builtin_frame_address.
11417
11418 dup3 for GNU Hurd.
11419 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11420 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11421 implement dup3 and do some further code clean-ups.
11422 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11423 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11424
11425 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11426
11427 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11428
11429 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11430 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11431 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11432 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11433 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11434 d->port.lock.
11435
11436 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11437 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11438 when handler == SIG_ERR, not when handler != SIG_ERR.
11439
11440 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11441
11442 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11443 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11444 definitions.
11445
11446 accept4 for GNU Hurd.
11447 * include/sys/socket.h (__libc_accept4): New prototype.
11448 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11449 to implement __libc_accept4.
11450 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11451 __libc_accept4.
11452 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11453
11454 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11455 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11456 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11457 signal-defines.sym.
11458
11459 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11460
11461 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
11462
11463 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11464
11465 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11466 assertion on O_CLOEXEC flag.
11467 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11468 * hurd/intern-fd.c: Likewise.
11469 * hurd/port2fd.c: Likewise.
11470
11471 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11472
11473 [BZ #3906]
11474 * bits/in.h (IPV6_PKTINFO): Define new macro.
11475 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11476
11477 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11478
11479 [BZ #13954]
11480 [BZ #13955]
11481 [BZ #13956]
11482 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11483 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11484 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11485 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11486 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11487 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11488 * math/libm-test.inc (logb_test) : Additional logb tests.
11489
11490 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11491 Andreas Jaeger <aj@suse.de>
11492
11493 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11494 * configure: Regenerated.
11495 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11496 * config.make.in (link-obsolete-rpc): New substituted variable.
11497 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11498 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11499 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11500 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11501 so that libc.a contains the symbols.
11502 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11503 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11504 * sunrpc/auth_none.c: Likewise.
11505 * sunrpc/auth_unix.c: Likewise.
11506 * sunrpc/authdes_prot.c: Likewise.
11507 * sunrpc/authuxprot.c: Likewise.
11508 * sunrpc/clnt_gen.c: Likewise.
11509 * sunrpc/clnt_perr.c: Likewise.
11510 * sunrpc/clnt_raw.c: Likewise.
11511 * sunrpc/clnt_simp.c: Likewise.
11512 * sunrpc/clnt_tcp.c: Likewise.
11513 * sunrpc/clnt_udp.c: Likewise.
11514 * sunrpc/clnt_unix.c: Likewise.
11515 * sunrpc/des_crypt.c: Likewise.
11516 * sunrpc/des_soft.c: Likewise.
11517 * sunrpc/get_myaddr.c: Likewise.
11518 * sunrpc/key_call.c: Likewise.
11519 * sunrpc/key_prot.c: Likewise.
11520 * sunrpc/netname.c: Likewise.
11521 * sunrpc/pm_getmaps.c: Likewise.
11522 * sunrpc/pm_getport.c: Likewise.
11523 * sunrpc/pmap_clnt.c: Likewise.
11524 * sunrpc/pmap_prot.c: Likewise.
11525 * sunrpc/pmap_prot2.c: Likewise.
11526 * sunrpc/pmap_rmt.c: Likewise.
11527 * sunrpc/publickey.c: Likewise.
11528 * sunrpc/rpc_cmsg.c: Likewise.
11529 * sunrpc/rpc_common.c: Likewise.
11530 * sunrpc/rpc_dtable.c: Likewise.
11531 * sunrpc/rpc_prot.c: Likewise.
11532 * sunrpc/rpc_thread.c: Likewise.
11533 * sunrpc/rtime.c: Likewise.
11534 * sunrpc/svc.c: Likewise.
11535 * sunrpc/svc_auth.c: Likewise.
11536 * sunrpc/svc_raw.c: Likewise.
11537 * sunrpc/svc_run.c: Likewise.
11538 * sunrpc/svc_tcp.c: Likewise.
11539 * sunrpc/svc_udp.c: Likewise.
11540 * sunrpc/svc_unix.c: Likewise.
11541 * sunrpc/svcauth_des.c: Likewise.
11542 * sunrpc/xcrypt.c: Likewise.
11543 * sunrpc/xdr.c: Likewise.
11544 * sunrpc/xdr_array.c: Likewise.
11545 * sunrpc/xdr_float.c: Likewise.
11546 * sunrpc/xdr_intXX_t.c: Likewise.
11547 * sunrpc/xdr_mem.c: Likewise.
11548 * sunrpc/xdr_rec.c: Likewise.
11549 * sunrpc/xdr_ref.c: Likewise.
11550 * sunrpc/xdr_sizeof.c: Likewise.
11551 * sunrpc/xdr_stdio.c: Likewise.
11552
11553 2012-05-10 Roland McGrath <roland@hack.frob.com>
11554
11555 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11556 change. Update copyright years.
11557
11558 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11559
11560 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11561
11562 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11563 Joseph Myers <joseph@codesourcery.com>
11564 Paul Pluzhnikov <ppluzhnikov@google.com>
11565
11566 [BZ #14012]
11567 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11568 requiring rpcgen.
11569 [cross-compiling] (extra-libs): Likewise.
11570 [cross-compiling] (extra-libs-others): Likewise.
11571 [cross-compiling] (librpcsvc-routines): Likewise.
11572 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11573 [cross-compiling] (omit-deps): Likewise.
11574 (sunrpc-CPPFLAGS): New variable.
11575 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11576 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11577 (cross-rpcgen-objs): New variable.
11578 (extra-objs): Append $(cross-rpcgen-objs).
11579 ($(cross-rpcgen-objs)): New rule.
11580 ($(objpfx)cross-rpcgen): Likewise.
11581 (rpcgen-cmd): Define to use $(built-program-file). Expand
11582 comment.
11583 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11584 ($(objpfx)x%.stmp): Likewise.
11585 * sunrpc/proto.h [IS_IN_build] (_): Define.
11586 [IS_IN_build] (_libc_intl_domainname): Likewise.
11587
11588 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11589
11590 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11591 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11592 and R_X86_64_TPOFF64.
11593
11594 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11595
11596 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11597 sysdeps/unix/sysv/syscalls.list.
11598 (stime): Likewise.
11599 (utime): Likewise.
11600 * sysdeps/unix/sysv/syscalls.list: Remove file.
11601
11602 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11603
11604 [BZ #3440]
11605 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11606 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11607 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11608 (__LC_IDENTIFICATION): Make these macros useful in #if
11609 expressions, as required by C99.
11610
11611 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11612
11613 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11614 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11615 after this.
11616
11617 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11618
11619 * stdlib/longlong.h: Updated from GCC.
11620
11621 2012-05-09 Andreas Jaeger <aj@suse.de>
11622
11623 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11624 default is first entry.
11625 (run_mode): Set type.
11626 (main): Remove informal message about syslog.
11627 (options): Fix typo.
11628
11629 [BZ #14053]
11630 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
11631 to asm.
11632 (lrint): Likewise.
11633 (llrintf): Likewise.
11634 (llrint): Likewise.
11635 (rint): Likewise.
11636 (rintf): Likewise.
11637 (nearbyint): Likewise.
11638 (nearbyintf): Likewise.
11639
11640 2012-05-09 Andreas Jaeger <aj@suse.de>
11641 Pedro Alves <palves@redhat.com>
11642
11643 * nscd/nscd.c (run_mode): Use enum.
11644 (main): Cleanup coding style issue.
11645
11646 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
11647 Andreas Jaeger <aj@suse.de>
11648
11649 * nscd/nscd.c (go_background): Replaced with...
11650 (run_mode): ... this.
11651 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
11652 (options): Add -F --foreground.
11653 (main): Implement it.
11654 (parse_opt): Parse it.
11655
11656 2012-05-09 Andreas Jaeger <aj@suse.de>
11657
11658 [BZ #14083]
11659 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11660 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11661 -Wconversion warning.
11662 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11663 Likewise.
11664
11665 2012-05-09 Joseph Myers <joseph@codesourcery.com>
11666
11667 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11668 == 0.
11669 (LC_ALL): Use macro-int-constant.
11670 (LC_COLLATE): Likewise.
11671 (LC_CTYPE): Likewise.
11672 (LC_MESSAGES): Likewise.
11673 (LC_MONETARY): Likewise.
11674 (LC_NUMERIC): Likewise.
11675 (LC_TIME): Likewise.
11676 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11677 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11679 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11680 Specify type.
11681 [C99-based standards] (float_t): Expect type.
11682 [C99-based standards] (double_t): Expect type.
11683 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11684 type.
11685 [C99-based standards] (HUGE_VALL): Likewise.
11686 [C99-based standards] (INFINITY): Likewise.
11687 [C99-based standards] (NAN): Likewise.
11688 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11689 [C99-based standards] (FP_NAN): Likewise.
11690 [C99-based standards] (FP_NORMAL): Likewise.
11691 [C99-based standards] (FP_SUBNORMAL): Likewise.
11692 [C99-based standards] (FP_ZERO): Likewise.
11693 [C99-based standards] (FP_FAST_FMA): Use
11694 optional-macro-int-constant. Specify type. Require == 1.
11695 [C99-based standards] (FP_FAST_FMAF): Likewise.
11696 [C99-based standards] (FP_FAST_FMAL): Likewise.
11697 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11698 [C99-based standards] (FP_ILOGBNAN): Likewise.
11699 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11700 Specify type.
11701 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11702 [C99-based standards] (math_errhandling): Specify type.
11703 [ISO99 || ISO11] (signgam): Do not allow.
11704 [non-C99-based standards] (copysignf): Do not allow.
11705 [non-C99-based standards] (exp2f): Likewise.
11706 [non-C99-based standards] (log2f): Likewise.
11707 [non-C99-based standards] (modff): Allow.
11708 [non-C99-based standards] (erff): Do not allow.
11709 [non-C99-based standards] (erfcf): Likewise.
11710 [non-C99-based standards] (gammaf): Likewise.
11711 [non-C99-based standards] (hypotf): Likewise.
11712 [non-C99-based standards] (j0f): Likewise.
11713 [non-C99-based standards] (j1f): Likewise.
11714 [non-C99-based standards] (jnf): Likewise.
11715 [non-C99-based standards] (lgammaf): Likewise.
11716 [non-C99-based standards] (tgammaf): Likewise.
11717 [non-C99-based standards] (y0f): Likewise.
11718 [non-C99-based standards] (y1f): Likewise.
11719 [non-C99-based standards] (ynf): Likewise.
11720 [non-C99-based standards] (isnanf): Likewise.
11721 [non-C99-based standards] (acoshf): Likewise.
11722 [non-C99-based standards] (asinhf): Likewise.
11723 [non-C99-based standards] (atanhf): Likewise.
11724 [non-C99-based standards] (cbrtf): Likewise.
11725 [non-C99-based standards] (expm1f): Likewise.
11726 [non-C99-based standards] (ilogbf): Likewise.
11727 [non-C99-based standards] (log1pf): Likewise.
11728 [non-C99-based standards] (logbf): Likewise.
11729 [non-C99-based standards] (nextafterf): Likewise.
11730 [non-C99-based standards] (remainderf): Likewise.
11731 [non-C99-based standards] (rintf): Likewise.
11732 [non-C99-based standards] (scalbf): Likewise.
11733 [non-C99-based standards] (copysignl): Likewise.
11734 [non-C99-based standards] (exp2l): Likewise.
11735 [non-C99-based standards] (log2l): Likewise.
11736 [non-C99-based standards] (modfl): Allow.
11737 [non-C99-based standards] (erfl): Do not allow.
11738 [non-C99-based standards] (erfcl): Likewise.
11739 [non-C99-based standards] (gammal): Likewise.
11740 [non-C99-based standards] (hypotl): Likewise.
11741 [non-C99-based standards] (j0l): Likewise.
11742 [non-C99-based standards] (j1l): Likewise.
11743 [non-C99-based standards] (jnl): Likewise.
11744 [non-C99-based standards] (lgammal): Likewise.
11745 [non-C99-based standards] (tgammal): Likewise.
11746 [non-C99-based standards] (y0l): Likewise.
11747 [non-C99-based standards] (y1l): Likewise.
11748 [non-C99-based standards] (ynl): Likewise.
11749 [non-C99-based standards] (isnanl): Likewise.
11750 [non-C99-based standards] (acoshl): Likewise.
11751 [non-C99-based standards] (asinhl): Likewise.
11752 [non-C99-based standards] (atanhl): Likewise.
11753 [non-C99-based standards] (cbrtl): Likewise.
11754 [non-C99-based standards] (expm1l): Likewise.
11755 [non-C99-based standards] (ilogbl): Likewise.
11756 [non-C99-based standards] (log1pl): Likewise.
11757 [non-C99-based standards] (logbl): Likewise.
11758 [non-C99-based standards] (nextafterl): Likewise.
11759 [non-C99-based standards] (remainderl): Likewise.
11760 [non-C99-based standards] (rintl): Likewise.
11761 [non-C99-based standards] (scalbl): Likewise.
11762 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11763 [non-C99-based standards] (FP_*): Do not allow.
11764 [C99-based standards] (FP_*): Change to
11765 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11766 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11767 allow.
11768 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11769 (SIG_ERR): Likewise.
11770 [X/Open-based standards] (SIG_HOLD): Likewise.
11771 (SIG_IGN): Likewise.
11772 (SIGABRT): Use macro-int-constant. Specify type. Require
11773 positive value.
11774 (SIGFPE): Likewise.
11775 (SIGILL): Likewise.
11776 (SIGINT): Likewise.
11777 (SIGSEGV): Likewise.
11778 (SIGTER): Likewise.
11779 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11780 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11781 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11782 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11783 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11784 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11785 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11786 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11787 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11788 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11789 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11790 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11791 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11792 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11793 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11794 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11795 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11796 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11797 [X/Open-based standards] (SIGTRAP): Likewise.
11798 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11799 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11800 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11801 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11802 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11803 allow.
11804
11805 2012-05-08 Ian Wienand <ianw@vmware.com>
11806
11807 [BZ #14080]
11808 * time/tzset.c (__tzset_parse_tz): Update default rules for
11809 daylight time changes in the Energy Policy Act of 2005.
11810
11811 2012-05-09 Andreas Jaeger <aj@suse.de>
11812
11813 [BZ #13983]
11814 * elf/ldconfig.c (parse_conf): Change string to make clear that
11815 ldconfig only issued a warning if ld.so.conf does not exist.
11816
11817 2012-05-08 David S. Miller <davem@davemloft.net>
11818
11819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11820 movxtod instead of popping the value on the stack.
11821
11822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11823
11824 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11825
11826 * config.h.in: Add HAVE_ARM_PCS_VFP.
11827
11828 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
11829
11830 [BZ #13979]
11831 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11832 checking but the checks are disabled for any reason.
11833
11834 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11835
11836 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11837 and ELF64_R_TYPE with ELFW(R_TYPE).
11838
11839 2012-05-08 Joseph Myers <joseph@codesourcery.com>
11840
11841 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11842 (ulimit): Likewise.
11843
11844 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11845 (settimeofday): Likewise.
11846
11847 2012-05-08 Mike Frysinger <vapier@gentoo.org>
11848
11849 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11850 a struct th_u2 inside the union, and move tu_block/tu_code into
11851 a new th_u3 union of tu_block/tu_code inside of that. Move
11852 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11853 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11854 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11855 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11856 (th_stuff): Change to th_u1.tu_stuff.
11857 (th_data): Define.
11858 (th_msg): Change to th_u1.th_u2.tu_data.
11859
11860 2012-05-07 David S. Miller <davem@davemloft.net>
11861
11862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11863
11864 [BZ #14074]
11865 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11866 (SETUP_PIC_REG): Use it.
11867 (SETUP_PIC_REG_LEAF): Use it.
11868
11869 2012-05-07 Joseph Myers <joseph@codesourcery.com>
11870
11871 [BZ #13885]
11872 [BZ #13923]
11873 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11874 USE_AS_EXPM1L.
11875 (EXPL_FINITE): Likewise.
11876 (FLDLOG): Likewise.
11877 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11878 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11879 e_expl.S.
11880 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11881 USE_AS_EXPM1L.
11882 (EXPL_FINITE): Likewise.
11883 (FLDLOG): Likewise.
11884 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11885 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11886 e_expl.S.
11887 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11888 test of -max_value argument for long double.
11889 * sysdeps/i386/fpu/libm-test-ulps: Update.
11890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11891
11892 2012-05-06 David S. Miller <davem@davemloft.net>
11893
11894 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11895 quad soft-float symbols whose references which are compiler
11896 generated.
11897 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11898
11899 2012-05-06 Joseph Myers <joseph@codesourcery.com>
11900
11901 [BZ #13884]
11902 [BZ #13914]
11903 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11904 USE_AS_EXP10L.
11905 (EXPL_FINITE): Likewise.
11906 (FLDLOG): Likewise.
11907 (c0): Likewise.
11908 (c1): Likewise.
11909 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11910 Adjust comments for base varying.
11911 (__expl_finite): Change alias to EXPL_FINITE.
11912 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11913 e_expl.S.
11914 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11915 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11916 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11917 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11918 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11919 USE_AS_EXP10L.
11920 (EXPL_FINITE): Likewise.
11921 (FLDLOG): Likewise.
11922 (c0): Likewise.
11923 (c1): Likewise.
11924 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11925 Adjust comments for base varying.
11926 (__expl_finite): Change alias to EXPL_FINITE.
11927 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11928 tests for bugs.
11929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11930
11931 [BZ #14064]
11932 * math/libm-test.inc (check_float_internal): Correct ulp
11933 calculation for subnormal expected results.
11934
11935 2012-05-06 Andreas Jaeger <aj@suse.de>
11936
11937 * Makeconfig (+math-flags): New, set to -frounding-math.
11938 (+cflags): Add +math-flags so that all of glibc gets compiled with
11939 it.
11940
11941 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11942
11943 2012-05-05 Joseph Myers <joseph@codesourcery.com>
11944
11945 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11946 Disable one test.
11947
11948 [BZ #13787]
11949 [BZ #13922]
11950 [BZ #14036]
11951 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11952 (__ieee754_expl): Allow for and saturate large arguments.
11953 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11954 (u_threshold): Likewise.
11955 (__exp): Call __ieee754_exp before checking for overflow and
11956 underflow.
11957 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11958 (u_threshold): Likewise.
11959 (__expf): Call __ieee754_expf before checking for overflow and
11960 underflow.
11961 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11962 (u_threshold): Likewise.
11963 (__expl): Call __ieee754_expl before checking for overflow and
11964 underflow.
11965 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11966 (__ieee754_expl): Allow for and saturate large arguments.
11967 * math/libm-test.inc (exp_test): Add another test. Do not allow
11968 missing overflow exception on overflow.
11969 (expm1_test): Do not allow missing overflow exception on overflow.
11970
11971 * sysdeps/i386/fpu/e_expl.c: Move to ...
11972 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11973 rather than using inline asm.
11974 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11975 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11976 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11977
11978 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11979 (nice): Likewise.
11980 (poll): Likewise.
11981 (signal): Likewise.
11982 (time): Likewise.
11983 (times): Likewise.
11984
11985 2012-05-04 Joseph Myers <joseph@codesourcery.com>
11986
11987 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11988 sysdeps/unix/common/syscalls.list.
11989 (fchmod): Likewise.
11990 (fchown): Likewise.
11991 (ftruncate): Likewise.
11992 (getrusage): Likewise.
11993 (gettimeofday): Likewise.
11994 (setpgid): Likewise.
11995 (setregid): Likewise.
11996 (setreuid): Likewise.
11997 (sigaction): Likewise.
11998 (truncate): Likewise.
11999 (vhangup): Likewise.
12000 * sysdeps/unix/common/syscalls.list: Remove file.
12001 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12002 * sysdeps/unix/sysv/linux/Implies: Likewise.
12003
12004 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12005
12006 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12008 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12009 Moved to ...
12010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12011 Here.
12012 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12013 to ...
12014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12015 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12016 to ...
12017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12018 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12019 to ...
12020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12021 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12022 to ...
12023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12024 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12025 to ...
12026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12027 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12028 to ...
12029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12030 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12031 to ...
12032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12033 Here.
12034 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12035 to ...
12036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12037 Here.
12038 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12039 to ...
12040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12041 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12042 Moved to ...
12043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12044 Here.
12045 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12046 to ...
12047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12048
12049 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12050
12051 * sysdeps/unix/common/bits/dirent.h: Remove file.
12052 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12053
12054 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12055 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12056 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12057 * sysdeps/unix/bsd/isatty.c: Likewise.
12058 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12059 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12060 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12061
12062 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12063
12064 [BZ #13563]
12065 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12066 long double comparison inaccuracies.
12067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12069
12070 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12071
12072 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12073 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12074
12075 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12076
12077 [BZ #14049]
12078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12079 nonzero digits before rounding a hex value.
12080 * stdlib/tst-strtod.c (tests): Add another test.
12081
12082 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12083
12084 * sysdeps/s390/fpu/libm-test-ulps: Update.
12085
12086 2012-05-03 Andreas Jaeger <aj@suse.de>
12087
12088 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12089 does not get optimized out.
12090 (malloc_opt_barrier): New.
12091
12092 2012-05-03 Andreas Jaeger <aj@suse.de>
12093 Roland McGrath <roland@hack.frob.com>
12094
12095 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12096 intermediate file deletion.
12097 (generated): Add .symlist files.
12098
12099 2012-05-03 Joseph Myers <joseph@codesourcery.com>
12100
12101 [BZ #13775]
12102 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12103 Redirect under this condition.
12104 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12105 [__USE_GNU] (__dprintf_chk): Not under this condition.
12106 [__USE_GNU] (__vdprintf_chk): Likewise.
12107 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12108 under this condition.
12109 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12110 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12111 [__USE_XOPEN2K8] (vdprintf): Likewise.
12112 [__USE_GNU] (__dprintf_chk): Not under this condition.
12113 [__USE_GNU] (__vdprintf_chk): Likewise.
12114 [__USE_GNU] (dprintf): Likewise.
12115 [__USE_GNU] (vdprintf): Likewise.
12116
12117 2012-05-03 Roland McGrath <roland@hack.frob.com>
12118
12119 * elf/Makefile (common-generated): Set this instead of generated for
12120 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12121 $(all-built-dso)-derived lists.
12122
12123 2012-05-03 Andreas Jaeger <aj@suse.de>
12124
12125 * sysdeps/i386/fpu/libm-test-ulps: Update.
12126
12127 * FAQ: Removed.
12128 * FAQ.in: Likewise.
12129 * scripts/gen-FAQ.pl: Likewise.
12130 * manual/install.texi (Installation): Point to online location of
12131 FAQ.
12132 * Makefile (files-for-dist): Remove FAQ.
12133 (FAQ): Remove.
12134
12135 2012-05-02 Allan McRae <allan@archlinux.org>
12136
12137 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12138 (LDFLAGS-reldepmod5.so): Likewise.
12139 (LDFLAGS-reldep6mod1.so): Likewise.
12140 (LDFLAGS-reldep6mod4.so): Likewise.
12141 (LDFLAGS-reldep8mod3.so): Likewise.
12142 (LDFLAGS-unload4mod1.so): Likewise.
12143 (LDFLAGS-unload4mod2.so): Likewise.
12144 (LDFLAGS-tst-initorder): Likewise.
12145 (LDFLAGS-tst-initordera2.so): Likewise.
12146 (LDFLAGS-tst-initordera3.so): Likewise.
12147 (LDFLAGS-tst-initordera4.so): Likewise.
12148 (LDFLAGS-tst-initorderb2.so): Likewise.
12149 (LDFLAGS-noload): Likewise.
12150 (LDFLAGS-next): Likewise.
12151 (LDFLAGS-order2mod1.so): Likewise.
12152 (LDFLAGS-order2mod2.so): Likewise.
12153 (LDFLAGS-tst-initorder2): Likewise.
12154 (LDFLAGS-tst-initorder2a.so): Likewise.
12155 (LDFLAGS-tst-initorder2b.so): Likewise.
12156 (LDFLAGS-tst-initorder2c.so): Likewise.
12157 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12158
12159 2012-05-02 David S. Miller <davem@davemloft.net>
12160
12161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12162
12163 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12164
12165 [BZ #14055]
12166 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12167
12168 2012-05-02 Andreas Jaeger <aj@suse.de>
12169
12170 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12171 since we manipulate rounding mode.
12172 (CPPFLAGS-test-idouble.c): Likewise.
12173 (CPPFLAGS-test-ifloat.c): Likewise.
12174 (CFLAGS-test-ldouble.c): Likewise.
12175 (CFLAGS-test-double.c): Likewise.
12176 (CFLAGS-test-float.c): Likewise.
12177 (CFLAGS-test-misc.c): Likewise.
12178 (CFLAGS-test-test-fenv.c): Likewise.
12179
12180 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12181
12182 [BZ #2550]
12183 [BZ #2570]
12184 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12185 comparisons to determine direction to adjust input.
12186
12187 2012-05-01 Roland McGrath <roland@hack.frob.com>
12188
12189 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12190 output to the target.
12191
12192 * scripts/localplt.awk: New file.
12193 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12194 (check-localplt-CFLAGS): Variable removed.
12195 ($(all-built-dso:=.jmprel)): New static pattern rule.
12196 (generated): Add those targets.
12197 (localplt-built-dso): New variable.
12198 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12199
12200 * elf/check-localplt.c: File removed.
12201
12202 * scripts/check-execstack.awk: New file.
12203 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12204 (check-execstack-CFLAGS): Variable removed.
12205 ($(objpfx)check-execstack.h): Target removed.
12206 ($(objpfx)execstack-default): New target.
12207 (generated): Add that instead of check-execstack.h.
12208 ($(all-built-dso:=.phdr)): New static pattern rule.
12209 (generated): Add those targets.
12210 * elf/check-execstack.c: File removed.
12211
12212 * scripts/check-textrel.awk: New file.
12213 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12214 (check-textrel-CFLAGS): Variable removed.
12215 (all-built-dso): Use := to define.o
12216 ($(all-built-dso:=.dyn)): New static pattern rule.
12217 (generated): Add those targets.
12218 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12219 * config.make.in (READELF): New substituted variable.
12220 * elf/check-textrel.c: File removed.
12221
12222 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12223
12224 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12225 allow.
12226 * conform/data/ctype.h-data [C99-based standards] (isblank):
12227 Expect function.
12228 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12229 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12230 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12231 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12232 Specify type. Require positive value.
12233 (EILSEQ): Likewise.
12234 (ERANGE): Likewise.
12235 [ISO || POSIX] (EILSEQ): Do not expect.
12236 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12237 Specify type. Require positive value.
12238 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12239 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12240 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12241 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12242 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12243 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12244 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12245 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12246 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12247 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12248 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12249 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12250 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12251 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12252 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12253 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12254 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12255 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12256 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12257 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12258 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12259 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12260 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12261 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12262 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12263 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12264 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12265 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12266 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12267 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12268 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12269 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12270 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12271 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12272 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12273 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12274 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12275 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12276 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12277 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12278 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12279 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12280 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12281 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12282 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12283 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12284 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12285 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12286 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12287 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12288 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12289 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12290 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12291 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12292 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12293 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12294 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12295 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12296 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12297 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12298 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12299 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12300 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12301 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12302 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12303 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12304 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12305 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12306 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12307 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12308 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12309 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12310 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12311 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12312 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12313 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12314 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12315 Require >= 2.
12316 (FLT_ROUNDS): Expect as macro, not constant.
12317 (FLT_MANT_DIG): Use macro-int-constant.
12318 (DBL_MANT_DIG): Likewise.
12319 (LDBL_MANT_DIG): Likewise.
12320 (FLT_DIG): Likewise.
12321 (DBL_DIG): Likewise.
12322 (LDBL_DIG): Likewise.
12323 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12324 (DBL_MIN_EXP): Likewise.
12325 (LDBL_MIN_EXP): Likewise.
12326 (FLT_MAX_EXP): Use macro-int-constant.
12327 (DBL_MAX_EXP): Likewise.
12328 (LDBL_MAX_EXP): Likewise.
12329 (FLT_MAX_10_EXP): Likewise.
12330 (DBL_MAX_10_EXP): Likewise.
12331 (LDBL_MAX_10_EXP): Likewise.
12332 (FLT_MAX): Use macro-constant.
12333 (DBL_MAX): Likewise.
12334 (LDBL_MAX): Likewise.
12335 (FLT_EPSILON): Use macro-constant. Give upper bound.
12336 (DBL_EPSILON): Likewise.
12337 (LDBL_EPSILON): Likewise.
12338 (FLT_MIN): Likewise.
12339 (DBL_MIN): Likewise.
12340 (LDBL_MIN): Likewise.
12341 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12342 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12343 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12344 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12345 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12346 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12347 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12348 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12349 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12350 [ISO11] (FLT_TRUE_MIN): Likewise.
12351 [ISO11] (LDBL_TRUE_MIN): Likewise.
12352 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12353 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12354 (SCHAR_MIN): Use macro-int-constant. Specify type.
12355 (SCHAR_MAX): Likewise.
12356 (UCHAR_MAX): Likewise.
12357 (CHAR_MIN): Likewise.
12358 (CHAR_MAX): Likewise.
12359 (MB_LEN_MAX): Use macro-int-constant.
12360 (SHRT_MIN): Use macro-int-constant. Specify type.
12361 (SHRT_MAX): Likewise.
12362 (USHRT_MAX): Likewise.
12363 (INT_MAX): Likewise.
12364 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12365 bound negative.
12366 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12367 bound with "U".
12368 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12369 bound with "L".
12370 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12371 bound negative. Suffix upper bound with "L".
12372 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12373 bound with "UL".
12374 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12375 Specify type.
12376 [C99-based standards] (LLONG_MAX): Likewise.
12377 [C99-based standards] (ULLONG_MAX): Likewise.
12378 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12379 == 0.
12380 [ISO11] (max_align_t): Require type.
12381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12382
12383 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12384 from $CFLAGS, without defining away __attribute__ calls.
12385 (checknamespace): Use $CFLAGS_namespace.
12386
12387 * conform/conformtest.pl (@keywords): Only include C99 keywords
12388 for standards based on C99 or C11.
12389
12390 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12391 Disable tests.
12392 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12393 UNIX98]: Likewise.
12394
12395 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12396 usability of symbols in #if.
12397
12398 * conform/conformtest.pl: If macro or constant types start
12399 "promoted:", expect the symbol to be of the following type
12400 promoted by the integer promotions.
12401
12402 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12403 in one place. Also handle "macro-constant".
12404
12405 * conform/conformtest.pl: Only accept expected macro values with
12406 "==". Parse all "macro" lines in one place.
12407 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12408
12409 * conform/conformtest.pl: Handle braced types on "constant" lines
12410 instead of handling "typed-constant".
12411 * conform/data/signal.h-data: Use "constant" instead of
12412 "typed-constant".
12413
12414 * conform/conformtest.pl: Handle "optional-" at start of lines in
12415 one place rather than duplicating several cases. Handle each
12416 format of "macro" line with initial "optional-".
12417
12418 * conform/conformtest.pl: Only accept expected constant or
12419 optional-constant values with "==". Parse all "constant" lines in
12420 one place. Parse all "optional-constant" lines in one place.
12421 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12422 * conform/data/fmtmsg.h-data: Likewise.
12423 * conform/data/netinet/in.h-data: Likewise.
12424 * conform/data/tar.h-data: Likewise.
12425 * conform/data/limits.h-data: Use "==" form on "constant" and
12426 "optional-constant" lines.
12427
12428 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12429 Use -std=c99 for XOPEN2K.
12430 (@knownproblems): Remove.
12431 (newtoken): Don't check %isknown.
12432
12433 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12434 Do not expect macro.
12435 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12436 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12437 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12438 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12439 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12440 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12441 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12442 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12443 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12444 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12445 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12446 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12447 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12448 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12449 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12450 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12451 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12452 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12453 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12454 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12455 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12456 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12457 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12458 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12459 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12460 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12461 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12462 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12463 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12464 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12465 [XPG3] (acosh): Likewise.
12466 [XPG3] (asinh): Likewise.
12467 [XPG3] (atanh): Likewise.
12468 [XPG3] (cbrt): Likewise.
12469 [XPG3] (expm1): Likewise.
12470 [XPG3] (ilogb): Likewise.
12471 [XPG3] (log1p): Likewise.
12472 [XPG3] (logb): Likewise.
12473 [XPG3] (nextafter): Likewise.
12474 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12475 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12476 [XPG3] (remainder): Likewise.
12477 [XPG3] (rint): Likewise.
12478 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12479 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12480 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12481 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12482 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12483 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12484 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12485 [UNIX98 || XOPEN2K] (scalb): Expect.
12486 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12487 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12488 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12489 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12490 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12491 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12492 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12493 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12494 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12495 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12496 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12497 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12498 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12499 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12500 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12501 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12502 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12503 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12504 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12505 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12506 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12507 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12508 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12509 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12510 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12511 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12512 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12513 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12514 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12515 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12516 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12517 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12518 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12519 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12520 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12521 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12522 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12523 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12524 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12525 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12526 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12527 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12528 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12529 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12530 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12531 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12532 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12533 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12534 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12535 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12536 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12537 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12538 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12539 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12540 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12541 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12542 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12543 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12544 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12545 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12546 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12547 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12548 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12549 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12550 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12551 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12552 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12553 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12554 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12555 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12556 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12557 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12558 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12559 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12560 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12561 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12562 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12563 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12564 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12565 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12566 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12567 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12568 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12569 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12570 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12571 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12572 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12573 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12574 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12575 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12576 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12577 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12578 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12579 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12580 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12581 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12582 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12583 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12584 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12585 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12586 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12587 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12588 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12589 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12590 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12591 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12592 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12593 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12594 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12595 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12596 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12597 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12598 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12599 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12600 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12601 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12602 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12603 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12604 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12605 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12606 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12607 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12608 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12609 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12610 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12611 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12612 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12613 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12614 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12615 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12616 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12617 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12618 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12619 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12620 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12621 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12622 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12623
12624 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12625 _XOPEN_SOURCE_EXTENDED for XPG4.
12626
12627 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12628
12629 * Makeconfig (localtime): Remove variable.
12630 (inst_localtime-file): Likewise.
12631
12632 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12633
12634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12635 Update.
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12637 Update.
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12639 Update.
12640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12641 Update.
12642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12643 Update.
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12645 Update.
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12647 Update.
12648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12649 Update.
12650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12651 Update.
12652
12653 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12654
12655 [BZ #2550]
12656 [BZ #2570]
12657 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12658 comparisons to determine direction to adjust input.
12659 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12660 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12661 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12662 Likewise.
12663 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12664 Likewise.
12665 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12666 Likewise.
12667 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12668 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12669 Likewise.
12670 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12671 Likewise.
12672 * math/libm-test.inc (nexttoward_test): Add more tests.
12673
12674 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12675
12676 [BZ #14040]
12677 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12678 in version GLIBC_2.1, not GLIBC_2.0.
12679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12680 Likewise.
12681
12682 2012-04-30 Joseph Myers <joseph@codesourcery.com>
12683
12684 [BZ #13942]
12685 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12686 (1 - x) * (1 + x).
12687 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12688 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12689 * math/libm-test.inc (acos_test): Add more tests.
12690 (asin_test): Likewise.
12691 * sysdeps/i386/fpu/libm-test-ulps: Update.
12692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12693
12694 [BZ #14034]
12695 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12696 of square root.
12697 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12698 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12699 * math/libm-test.inc (acos_test_tonearest): New function.
12700 (acos_test_towardzero): Likewise.
12701 (acos_test_downward): Likewise.
12702 (acos_test_upward): Likewise.
12703 (asin_test_tonearest): Likewise.
12704 (asin_test_towardzero): Likewise.
12705 (asin_test_downward): Likewise.
12706 (asin_test_upward): Likewise.
12707 (main): Call the new functions.
12708 * sysdeps/i386/fpu/libm-test-ulps: Update.
12709 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12710
12711 [BZ #13884]
12712 [BZ #13924]
12713 * math/e_exp10.c: Include <float.h>.
12714 (__ieee754_exp10): Handle underflow here rather than multiplying
12715 large negative argument by M_LN10.
12716 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12717 of __ieee754_expf.
12718 * math/e_exp10l.c: Include <float.h>.
12719 (__ieee754_exp10l): Handle underflow here rather than multiplying
12720 large negative argument by M_LN10l.
12721 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12722 spurious overflow exception on underflow.
12723
12724 2012-04-29 Marek Polacek <polacek@redhat.com>
12725
12726 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12727 (__fortify_function): New macro.
12728 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12729 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12730 __extern_always_inline.
12731 * libio/bits/stdio2.h: Likewise.
12732 * libio/bits/stdio.h: Likewise.
12733 * string/string.h: Likewise.
12734 * string/bits/string3.h: Likewise.
12735 * include/stdio.h: Likewise.
12736 * stdlib/bits/stdlib.h: Likewise.
12737 * stdlib/stdlib.h: Likewise.
12738 * rt/bits/mqueue2.h: Likewise.
12739 * rt/mqueue.h: Likewise.
12740 * posix/bits/unistd.h: Likewise.
12741 * posix/unistd.h: Likewise.
12742 * io/bits/poll2.h: Likewise.
12743 * io/bits/fcntl2.h: Likewise.
12744 * io/fcntl.h: Likewise.
12745 * io/sys/poll.h: Likewise.
12746 * misc/bits/syslog.h: Likewise.
12747 * misc/bits/syslog-ldbl.h: Likewise.
12748 * misc/sys/syslog.h: Likewise.
12749 * socket/bits/socket2.h: Likewise.
12750 * socket/sys/socket.h: Likewise.
12751 * debug/tst-chk1.c: Likewise.
12752 * wcsmbs/bits/wchar2.h: Likewise.
12753 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12754 * wcsmbs/wchar.h: Likewise.
12755
12756 2012-04-29 Andreas Jaeger <aj@suse.de>
12757
12758 * Makerules (tests): Remove enable-check-abi protection.
12759 (check-abi-warn): Remove.
12760 (check-abi-%): Remove check-abi-warn usage.
12761
12762 * configure.in: Remove check-abi configure option.
12763 * configure: Regenerated.
12764 * config.make.in (enable-check-abi): Remove.
12765
12766 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12767
12768 [BZ #14033]
12769 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12770 double functions to double *_finite functions.
12771
12772 [BZ #13941]
12773 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12774 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12775 LDBL_MIN_EXP.
12776 * stdio-common/Makefile (tests): Add tst-sprintf3.
12777 * stdio-common/tst-sprintf3.c: New file.
12778
12779 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12780 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12781
12782 2012-04-28 Joseph Myers <joseph@codesourcery.com>
12783
12784 * conform/conformtest.pl: Remove duplicate typed-constant
12785 handling.
12786
12787 2012-04-28 David S. Miller <davem@davemloft.net>
12788
12789 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12790 (check-abi-%): Remove AWK script prerequisite and explicit
12791 abilist directory.
12792 (check-abi): Rewrite to just diff the symlist with the abilist.
12793 (config-tls, config-abi-config): Delete, no longer used.
12794 (update-abi-%): Remove AWK script and explicit abilist directory.
12795 (update-abi): Rewrite to simply compare and conditionally copy the
12796 symlist and the sysdep abilist file. Remove update-abi-config
12797 checks.
12798 * abilist/ld.abilist: Remove.
12799 * abilist/libBrokenLocale.abilist: Remove.
12800 * abilist/libanl.abilist: Remove.
12801 * abilist/libcrypt.abilist: Remove.
12802 * abilist/libdl.abilist: Remove.
12803 * abilist/librt.abilist: Remove.
12804 * abilist/libthread_db.abilist: Remove.
12805 * abilist/libutil.abilist: Remove.
12806 * scripts/extract-abilist.awk: Remove.
12807 * scripts/merge-abilist.awk: Remove.
12808 * sysdeps/generic/libcidn.abilist: New file.
12809 * sysdeps/generic/libnss_compat.abilist: New file.
12810 * sysdeps/generic/libnss_db.abilist: New file.
12811 * sysdeps/generic/libnss_dns.abilist: New file.
12812 * sysdeps/generic/libnss_files.abilist: New file.
12813 * sysdeps/generic/libnss_hesiod.abilist: New file.
12814 * sysdeps/generic/libnss_nis.abilist: New file.
12815 * sysdeps/generic/libnss_nisplus.abilist: New file.
12816 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12817 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12818 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12819 file.
12820 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12821 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12822 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12823 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12824 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12825 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12826 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12827 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12828 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12829 file.
12830 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12831 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12832 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12833 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12834 file.
12835 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12836 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12837 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12838 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12839 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12840 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12841 file.
12842 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12843 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12844 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12845 file.
12846 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12848 New file.
12849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12850 New file.
12851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12852 New file.
12853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12854 New file.
12855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12856 New file.
12857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12858 New file.
12859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12860 New file.
12861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12862 New file.
12863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12864 New file.
12865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12866 New file.
12867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12868 New file.
12869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12870 New file.
12871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12872 New file.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12874 file.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12876 New file.
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12878 New file.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12880 file.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12882 New file.
12883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12884 New file.
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12886 file.
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12888 New file.
12889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12890 New file.
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12892 New file.
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12894 New file.
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12896 New file.
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12898 New file.
12899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12901 file.
12902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12903 New file.
12904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12905 file.
12906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12907 file.
12908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12909 file.
12910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12911 file.
12912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12913 file.
12914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12915 New file.
12916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12917 file.
12918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12919 file.
12920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12921 New file.
12922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12923 file.
12924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12926 file.
12927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12928 New file.
12929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12930 file.
12931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12932 file.
12933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12934 file.
12935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12936 file.
12937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12938 file.
12939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12940 New file.
12941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12942 file.
12943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12944 file.
12945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12946 New file.
12947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12948 file.
12949 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12950 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12951 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12952 file.
12953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12954 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12955 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12956 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12957 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12958 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12959 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12960 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12961 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12962 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12965 file.
12966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12967 New file.
12968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12969 file.
12970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12971 file.
12972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12973 file.
12974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12975 file.
12976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12977 file.
12978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12979 New file.
12980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12981 New file.
12982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12983 file.
12984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12985 New file.
12986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12987 file.
12988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12990 file.
12991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12992 New file.
12993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12994 file.
12995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12996 file.
12997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12998 file.
12999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13000 file.
13001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13002 file.
13003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13004 New file.
13005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13006 New file.
13007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13008 file.
13009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13010 New file.
13011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13012 file.
13013
13014 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13015
13016 * conform/conformtest.pl: Fix typo in handling typed-constant from
13017 allow-header.
13018
13019 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13020
13021 * README: Cut down references to pre-2.6 Linux kernels and
13022 Linuxthreads. Update lists of configurations in libc and ports
13023 and sort alphabetically. Say "or newer" with Linux kernel version
13024 requirements.
13025
13026 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13027
13028 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13029
13030 [BZ #887]
13031 * math/libm-test.inc (logb_test_downward): New test to expose
13032 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13033 rounding mode.
13034
13035 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13036
13037 [BZ #14027]
13038 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13039 to be done.
13040 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13041 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13042
13043 2012-04-26 Joseph Myers <joseph@codesourcery.com>
13044
13045 * sysdeps/unix/i386/brk.S: Remove file.
13046 * sysdeps/unix/i386/dl-brk.S: Likewise.
13047 * sysdeps/unix/i386/pipe.S: Likewise.
13048 * sysdeps/unix/i386/sigreturn.S: Likewise.
13049 * sysdeps/unix/i386/syscall.S: Likewise.
13050 * sysdeps/unix/i386/vfork.S: Likewise.
13051 * sysdeps/unix/i386/wait.S: Likewise.
13052
13053 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13054 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13055
13056 * configure.in (arm*-none*): Do not allow without
13057 --enable-hacker-mode.
13058 (netbsd*): Remove case setting base_os.
13059 (386bsd*): Likewise.
13060 (freebsd*): Likewise.
13061 (bsdi*): Likewise.
13062 (osf*): Likewise.
13063 (sunos*): Likewise.
13064 (ultrix*): Likewise.
13065 (newsos*): Likewise.
13066 (dynix*): Likewise.
13067 (*bsd*): Likewise.
13068 (sysv*): Likewise.
13069 (isc*): Likewise.
13070 (esix*): Likewise.
13071 (sco*): Likewise.
13072 (minix*): Likewise.
13073 (irix4*): Likewise.
13074 (irix6*): Likewise.
13075 (solaris[2-9]*): Likewise.
13076 (none): Likewise.
13077 * configure: Regenerated.
13078
13079 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13080
13081 [BZ #11521]
13082 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13083 overflow or cancellation in calculating denominator.
13084 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13085 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13086 down expression to avoid unexpected rounding in newer GCCs.
13087 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13088
13089 2012-04-26 David S. Miller <davem@davemloft.net>
13090
13091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13092 long-double compat symbols.
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13106
13107 2012-04-25 David S. Miller <davem@davemloft.net>
13108
13109 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13110 HWCAP_* values only after the memory barriers have been defined.
13111 (atomic_full_barrier): Define.
13112 (atomic_read_barrier): Define.
13113 (atomic_write_barrier): Define.
13114
13115 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13116
13117 * shlib-versions: Add libgcc_s version information.
13118 * sysdeps/generic/libgcc_s.h: Remove.
13119 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13120 libgcc_s.h.
13121 * sysdeps/gnu/unwind-resume.c: Likewise.
13122 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13123
13124 2012-04-25 David S. Miller <davem@davemloft.net>
13125
13126 * sysdeps/unix/sparc/brk.S: Delete.
13127 * sysdeps/unix/sparc/dl-brk.S: Delete.
13128 * sysdeps/unix/sparc/pipe.S: Delete.
13129 * sysdeps/unix/sparc/sysdep.S: Delete.
13130 * sysdeps/unix/sparc/sysdep.h: Delete.
13131 * sysdeps/unix/sparc/vfork.S: Delete.
13132 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13133 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13134 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13135 ret_ERRVAL, r0, r1, MOVE): Define.
13136 (JUMPTARGET): Remove.
13137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13138 sysdeps/unix/sparc/sysdep.h
13139 (ENTRY, END): Remove.
13140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13141
13142 2012-04-25 Joseph Myers <joseph@codesourcery.com>
13143
13144 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13145 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13146 -DIS_IN_build.
13147
13148 * timezone/README: Update upstream location and email address for
13149 tzcode and tzdata.
13150 * timezone/zdump.c: Update from tzcode 2012b.
13151 * timezone/zic.c: Likewise.
13152
13153 * configure.in (libc_cv_as_needed): Remove test.
13154 * configure: Regenerated.
13155 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13156 conditional definition.
13157 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13158 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13159 * config.make.in (have-as-needed): Remove variable.
13160
13161 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13162 Paul Pluzhnikov <ppluzhnikov@google.com>
13163
13164 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13165 strings correctly.
13166
13167 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13168
13169 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13170 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13171 * sysdeps/sh/strlen.S: Likewise.
13172
13173 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13174
13175 * sysdeps/unix/fork.S: Remove file.
13176 * sysdeps/unix/i386/fork.S: Likewise.
13177 * sysdeps/unix/sparc/fork.S: Likewise.
13178
13179 * sysdeps/unix/system.c: Remove file.
13180 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13181
13182 * sysdeps/unix/getegid.S: Remove file.
13183 * sysdeps/unix/geteuid.S: Likewise.
13184
13185 2012-04-24 Roland McGrath <roland@hack.frob.com>
13186
13187 * scripts/check-localplt.awk: New file.
13188 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13189 of diff.
13190 * scripts/data/localplt-generic.data: Add a comment.
13191
13192 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13193 NODE when __dir_mkfile failed.
13194 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13195 Reported by Ludovic Courtès <ludo@gnu.org>.
13196
13197 2012-04-24 Andreas Jaeger <aj@suse.de>
13198
13199 * Makerules (common-clean): Also remove gen-as-const-headers
13200 files.
13201
13202 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13203
13204 * Makerules (native-compile): Do not change working directory for
13205 build. Use $(OUTPUT_OPTION) in command.
13206 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13207
13208 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13209
13210 [BZ #13886]
13211 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13212 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13213 * math/libm-test.inc (floor_test): Add more tests.
13214 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13215
13216 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13217
13218 * sysdeps/unix/getdents.c: Remove file.
13219 * sysdeps/unix/sysv/getdents.c: Likewise.
13220 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13221
13222 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13223 sysdeps/unix/mman/syscalls.list.
13224 (mmap): Likewise.
13225 (mprotect): Likewise.
13226 (msync): Likewise.
13227 (munmap): Likewise.
13228 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13229 * sysdeps/unix/mman/syscalls.list: Remove.
13230 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13231
13232 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13233 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13234 * configure: Regenerated.
13235 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13236 $(libgcc_s_suffix).
13237 * config.make.in (libgcc_s_suffix): Remove variable.
13238
13239 2012-04-23 Joseph Myers <joseph@codesourcery.com>
13240
13241 * sysdeps/unix/sysv/gethostname.c: Move to ...
13242 * sysdeps/posix/gethostname.c: ... here.
13243
13244 * sysdeps/unix/execve.S: Remove file.
13245
13246 * sysdeps/unix/_exit.S: Remove file.
13247
13248 2012-04-23 Andreas Jaeger <aj@suse.de>
13249
13250 [BZ #13739]
13251 * manual/Makefile: Remove make dist support, there's no
13252 need for a stand-alone documentation tar ball.
13253 (TEXI2DVI): Define always, it's not in Makeconfig.
13254 (dist): Removed.
13255 (tar-it): Removed.
13256 (edition): Removed.
13257 (glibc-doc-$(edition).tar): Removed
13258 (%.Z): Removed.
13259 (%.gz): Removed.
13260 (%.uu): Removed.
13261 (ETAGS): Remove, it's in Makeconfig.
13262 (move-if-change): Remove, it's in Makeconfig.
13263
13264 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
13265
13266 [BZ #13970]
13267 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13268 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13269 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13270 (strtod_l, strtof_l, strtold_l): Remove __wur.
13271 It is not necessarily an error to ignore strtol's return value.
13272 One can reliably look at the stored endptr to decide whether
13273 the number had valid syntax.
13274
13275 2012-04-21 Andreas Jaeger <aj@suse.de>
13276
13277 [BZ #13739]
13278 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13279
13280 2012-04-21 Joseph Myers <joseph@codesourcery.com>
13281
13282 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13283 * sysdeps/unix/sysv/Versions: Remove file.
13284
13285 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13286
13287 [BZ #13927]
13288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13289
13290 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
13291
13292 [BZ #7064]
13293 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13294 version from __vm86.
13295
13296 2012-04-20 Joseph Myers <joseph@codesourcery.com>
13297
13298 * sysdeps/unix/common/lxstat.c: Remove file.
13299 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13300
13301 * sysdeps/unix/sysv/Makefile: Remove file.
13302
13303 * sysdeps/unix/sysv/direct.h: Remove file.
13304
13305 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13306 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13307 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13308 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13309 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13310 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13311 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13312
13313 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13314
13315 * sysdeps/unix/xmknod.c: Remove file.
13316 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13317
13318 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13319
13320 * sysdeps/unix/sysv/i386/time.S: Remove file.
13321
13322 * sysdeps/unix/fxstat.c: Remove file.
13323 * sysdeps/unix/xstat.c: Likewise.
13324 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13325
13326 * sysdeps/unix/sysv/sigaction.c: Remove file.
13327
13328 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13329 (sysdep_headers): Remove variable.
13330 [termio.h not in sysdep_headers] (generated): Likewise.
13331 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13332 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13333 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13334 * sysdeps/unix/sysv/tcflow.c: Likewise.
13335 * sysdeps/unix/sysv/tcflush.c: Likewise.
13336 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13337 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13338 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13339 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13340 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13341
13342 * sysdeps/unix/siglist.c: Remove file.
13343
13344 * sysdeps/unix/getppid.S: Remove file.
13345
13346 * sysdeps/unix/mkdir.c: Remove file.
13347 * sysdeps/unix/rmdir.c: Likewise.
13348
13349 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13350
13351 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13352 ERR_MAX value.
13353 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13354 errlist-compat value.
13355
13356 2012-04-18 David S. Miller <davem@davemloft.net>
13357
13358 * sysdeps/generic/memcopy.h (reg_char): Delete.
13359 * debug/strcat_chk.c: Use char, not reg_char.
13360 * debug/strcpy_chk.c: Likewise.
13361 * debug/strncat_chk.c: Likewise.
13362 * debug/strncpy_chk.c: Likewise.
13363 * string/memchr.c: Likewise.
13364 * string/memrchr.c: Likewise.
13365 * string/rawmemchr.c: Likewise.
13366 * string/strcat.c: Likewise.
13367 * string/strchr.c: Likewise.
13368 * string/strchrnul.c: Likewise.
13369 * string/strcmp.c: Likewise.
13370 * string/strcpy.c: Likewise.
13371 * string/strncat.c: Likewise.
13372 * string/strncmp.c: Likewise.
13373 * string/strncpy.c: Likewise.
13374
13375 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13376
13377 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13378 __builtin_memcopy is called when src and dest ranges are known to not
13379 overlap.
13380
13381 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13382
13383 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13384 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13385 fwd_align_merge macro call.
13386 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13387 bwd_align_merge macro call.
13388 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13389
13390 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13391
13392 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13393 bwd_align_merge macros.
13394 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13395 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13396 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13397
13398 2012-04-18 David S. Miller <davem@davemloft.net>
13399
13400 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13401
13402 2012-04-18 Andreas Jaeger <aj@suse.de>
13403
13404 [BZ# 6794]
13405 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13406 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13407 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13408
13409 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13410 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13411 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13412
13413 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13414 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13415 Adjust for changed ldbl-128 files.
13416
13417 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13418 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13419 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13420
13421 2012-04-17 David S. Miller <davem@davemloft.net>
13422
13423 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13424
13425 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13426
13427 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13428 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13429 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13430 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13431 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13432 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13433
13434 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13435
13436 [BZ #6794]
13437 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13438 * math/libm-test.inc: Add ilogb errno and exception tests.
13439 * math/w_ilogb.c: New file: ilogb wrapper.
13440 * math/w_ilogbf.c: New file: ilogbf wrapper.
13441 * math/w_ilogbl.c: New file: ilogbl wrapper.
13442 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13443 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13444 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13445 exception being thrown with 0.0 as argument.
13446 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13447 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13448 exception being thrown with 0.0 as argument.
13449 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13450 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13451 exception being thrown with 0.0 as argument.
13452 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13453 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13454 exception being thrown with 0.0 as argument.
13455 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13456 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
13457 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
13458 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13459 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13460 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13461 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13462 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13463 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13464
13465 2012-04-17 Petr Baudis <pasky@ucw.cz>
13466
13467 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13468 with altivec.
13469
13470 2012-04-16 Marek Polacek <polacek@redhat.com>
13471
13472 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13473
13474 2012-04-16 Marek Polacek <polacek@redhat.com>
13475
13476 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13477 operands of fdivp instruction.
13478
13479 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13480
13481 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13482 * elf/tst-auditmod3b.c: Likewise.
13483 * elf/tst-auditmod4b.c: Likewise.
13484 * elf/tst-auditmod5b.c: Likewise.
13485 * elf/tst-auditmod6b.c: Likewise.
13486 * elf/tst-auditmod6c.c: Likewise.
13487 * elf/tst-auditmod7b.c: Likewise.
13488 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13489 * sysdeps/x86_64/preconfigure.in: Likewise.
13490 * sysdeps/x86_64/preconfigure: Regenerated.
13491
13492 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13493
13494 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13495 __ILP32__.
13496
13497 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
13498
13499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13500 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13501
13502 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13503
13504 [BZ #13973]
13505 * locale/iso-639.def: Fix gl language name. Spotted by
13506 Yaron Shahrabani.
13507
13508 2012-04-12 Roland McGrath <roland@hack.frob.com>
13509
13510 [BZ #2074]
13511 * libio/libio.h (__io_write_fn): Update comment.
13512
13513 2012-04-12 Petr Baudis <pasky@ucw.cz>
13514
13515 [BZ #2074]
13516 * stdio.texi (Hook Functions): The user provided writer function
13517 is not allowed to return -1.
13518
13519 2012-04-11 David S. Miller <davem@davemloft.net>
13520
13521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13522
13523 2012-04-11 Mike Frysinger <vapier@gentoo.org>
13524
13525 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13526 Add a leading slash to rtkaio.
13527
13528 2012-04-11 Jim Meyering <meyering@redhat.com>
13529
13530 [BZ #11959]
13531 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13532 It is not necessarily an error to ignore fwrite's return
13533 value. One can reliably use ferror to test for errors after
13534 the fact.
13535
13536 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13537
13538 * bits/types.h (__snseconds_t): New type.
13539 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13540
13541 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13542 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13543 (__SNSECONDS_T_TYPE): Likewise.
13544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13545 (__SNSECONDS_T_TYPE): Likewise.
13546 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13547 (__SNSECONDS_T_TYPE): Likewise.
13548
13549 2012-04-10 Andreas Jaeger <aj@suse.de>
13550
13551 [BZ #2636]
13552 * manual/time.texi (Processor Time): Return type of times is
13553 elapsed real time since an arbitrary point in the past.
13554 (CPU Time): Move CLK_TCK from here...
13555 (Processor Time): ...to here. Correct description.
13556 * manual/conf.texi (Constants for Sysconf): Correct description of
13557 _SC_CLK_TCK.
13558
13559 2012-04-10 David S. Miller <davem@davemloft.net>
13560
13561 [BZ #13967]
13562 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13563 where the is a gap between DT_REL(A) and DT_JMPREL.
13564
13565 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13566
13567 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13568 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13569 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13570
13571 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13572
13573 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13574 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13575 (dl_main): Handle --inhibit-cache.
13576 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13577 _dl_inhibit_cache.
13578 * elf/dl-load.c (_dl_map_object): Use it.
13579 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13580
13581 2012-04-09 Joseph Myers <joseph@codesourcery.com>
13582
13583 [BZ #13872]
13584 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13585 (__ieee754_powl): Saturate large exponents rather than testing for
13586 overflow of y*log2(x).
13587 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13588 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13589 exceptions.
13590
13591 [BZ #11521]
13592 * math/s_ctan.c: Include <float.h>.
13593 (__ctan): Avoid internal overflow or cancellation in calculating
13594 denominator.
13595 * math/s_ctanf.c: Likewise.
13596 * math/s_ctanl.c: Likewise.
13597 * math/s_ctanh.c: Likewise.
13598 * math/s_ctanhf.c: Likewise.
13599 * math/s_ctanhl.c: Likewise.
13600 * math/libm-test.inc (ctan_test): Add more tests.
13601 (ctanh_test): Likewise.
13602 * sysdeps/i386/fpu/libm-test-ulps: Update.
13603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13604
13605 2012-04-09 Andreas Jaeger <aj@suse.de>
13606
13607 [BZ #6894]
13608 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13609 is an optional BSD extension.
13610
13611 [BZ #10254]
13612 * manual/stdio.texi (Opening Streams): Document additional fopen
13613 parameters.
13614
13615 2012-04-09 Roland McGrath <roland@hack.frob.com>
13616
13617 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13618 %eax without telling the compiler.
13619
13620 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13621
13622 [BZ # 13963]
13623 * manual/install.texi: Use sourceware.org.
13624
13625 2012-04-09 Joseph Myers <joseph@codesourcery.com>
13626
13627 [BZ #13873]
13628 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13629 (__ieee754_pow): Generate overflow and underflow using huge*huge
13630 and tiny*tiny rather than just returning constant infinity or zero
13631 for large exponents.
13632 * math/libm-test.inc (pow_test): Require overflow exceptions for
13633 applicable cases of large exponents.
13634
13635 [BZ #706]
13636 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13637 (__ieee754_pow): Use iterative multiplication algorithm only for
13638 integer exponents with absolute value below 1024. Check for odd
13639 integer exponents when using algorithm for real exponents.
13640 * math/libm-test.inc (pow_test): Add more tests.
13641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13642
13643 2012-04-08 Joseph Myers <joseph@codesourcery.com>
13644
13645 [BZ #13705]
13646 * math/libm-test.inc (exp_test): Do not allow overflow exception
13647 on underflow test.
13648
13649 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13650
13651 [BZ #13705]
13652 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13653 instead of __kernel_standard_f.
13654
13655 2012-04-08 Mike Frysinger <vapier@gentoo.org>
13656
13657 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13658 * sysdeps/x86_64/memset_chk.S: Likewise.
13659
13660 2012-04-08 Andreas Jaeger <aj@suse.de>
13661
13662 [BZ #10153]
13663 * manual/startup.texi (Environment Access): Describe return value
13664 for putenv and setenv.
13665
13666 [BZ #6895]
13667 * manual/filesys.texi (Directory Entries): Add description for
13668 DT_LNK.
13669
13670 [BZ #6890]
13671 * manual/filesys.texi (Directory Entries): Clarify that it's file
13672 system not operating system in the description of DT_UNKNOWN.
13673
13674 [BZ #6578]
13675 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13676
13677 2012-04-08 Stephen Compall <s11@member.fsf.org>
13678
13679 [BZ #6649]
13680 * manual/llio.texi (Opening and Closing Files): Add cross
13681 reference to explain mode argument.
13682
13683 2012-04-07 Mike Frysinger <vapier@gentoo.org>
13684
13685 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13686 * sysdeps/x86_64/memset_chk.S: Likewise.
13687
13688 2012-04-07 David S. Miller <davem@davemloft.net>
13689
13690 * elf/elf.h (R_SPARC_WDISP10): Define.
13691 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13692 R_SPARC_SIZE32.
13693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13694 R_SPARC_SIZE64 and R_SPARC_H34.
13695
13696 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13697
13698 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13699 conditions and remove no longer applicable assertion.
13700
13701 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13702
13703 * bits/byteswap.h: Include <features.h>.
13704 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13705 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13706
13707 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13708
13709 * bits/byteswap.h (__bswap_16): Removed.
13710 Include <bits/byteswap-16.h> to get __bswap_16.
13711 * sysdeps/i386/bits/byteswap.h: Likewise.
13712 * sysdeps/s390/bits/byteswap.h: Likewise.
13713 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13714 * bits/byteswap-16.h: New file.
13715 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13716 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13717 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13718 * string/Makefile (headers): Add bits/byteswap-16.h.
13719
13720 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13721
13722 [BZ #13895]
13723 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13724 extra indirection.
13725 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13726 * nss/tst-nss-static.c: New.
13727
13728 2012-04-06 Robert Millan <rmh@gnu.org>
13729
13730 [BZ #6486]
13731 * manual/llio.texi (File Position Primitive): lseek
13732 refers to WHENCE when it really means OFFSET.
13733
13734 2012-04-06 Andreas Jaeger <aj@suse.de>
13735
13736 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13737 strncmp declarations.
13738
13739 * abilist/libc.abilist: Add __poll and __ppoll.
13740
13741 2012-04-05 David S. Miller <davem@davemloft.net>
13742
13743 * scripts/check-local-headers.sh: Accept a host triplet in the
13744 path matched by the exclude regexp.
13745
13746 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13747 definition.
13748 * sysdeps/powerpc/powerpc32/dl-machine.h
13749 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13750 * sysdeps/s390/s390-32/dl-machine.h
13751 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13752 * sysdeps/sparc/sparc32/dl-machine.h
13753 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13754 * sysdeps/sparc/sparc64/dl-machine.h
13755 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13756
13757 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13758 lazy binding.
13759 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
13760 undefined symbol errors.
13761
13762 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
13763 DT_NEEDED entries.
13764
13765 2012-04-05 Michael Matz <matz@suse.de>
13766
13767 [BZ #13592]
13768 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13769
13770 2012-04-05 Andreas Jaeger <aj@suse.de>
13771
13772 [BZ #13908]
13773 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13774 comment.
13775
13776 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13777
13778 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13779 which ROUND is no valid rounding mode.
13780
13781 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13782
13783 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13784 read again.
13785 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13786
13787 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13788
13789 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13790 an exception using FPU order intentionally.
13791
13792 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13793
13794 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13795 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13796 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13797 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13798
13799 2012-04-05 Simon Josefsson <simon@josefsson.org>
13800
13801 [BZ #12340]
13802 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13803 EINVAL when BUFLEN is too smal.
13804
13805 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13806
13807 [BZ #13553]
13808 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13809 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13810
13811 2012-04-03 Andreas Jaeger <aj@suse.de>
13812
13813 [BZ #13938]
13814 * manual/setjmp.texi (System V contexts): Fix sentence.
13815
13816 [BZ #13926]
13817 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13818 New macro for this case.
13819 [!__GNUC__] (__bswap_64): New inline function for this case.
13820 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13821 * bits/byteswap.h: Likewise.
13822 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13823 ull, guard with __GLIBC_HAVE_LONG_LONG.
13824
13825 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13826 __GLIBC_HAVE_LONG_LONG.
13827
13828 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13829 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13830
13831 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13832
13833 [BZ #13691]
13834 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13835 inptr and inend, rather than using last_ch.
13836
13837 2012-04-02 David S. Miller <davem@davemloft.net>
13838
13839 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13840 * stdio-common/printf-parse.h (read_int): Change return type to
13841 'int', return -1 on INT_MAX overflow.
13842 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13843 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13844 overflows INT_MAX. Check for overflow of in-format-string precision
13845 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13846 SIZE_MAX not INT_MAX for integer overflow test.
13847 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13848 skip the construct in the format string but do not record anything.
13849 * stdio-common/bug22.c: Adjust to test both width/prevision
13850 INT_MAX overflow as well as total length INT_MAX overflow. Check
13851 explicitly for proper errno values.
13852
13853 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13854
13855 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13856 CHAR_MAX.
13857 * string/test-strcmp.c [! WIDE]: Likewise.
13858 * time/tst-mktime2.c: Likewise for INT_MAX.
13859 * string/test-string.h: #include <sys/param.h> for MIN.
13860
13861 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13862 * sysdeps/i386/init-first.c (init): Likewise.
13863 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13864 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13865 * sysdeps/sh/init-first.c (init): Likewise.
13866
13867 2012-04-01 Ulrich Drepper <drepper@gmail.com>
13868
13869 * po/ru.po: Update from translation team.
13870 * po/vi.po: Likewise.
13871
13872 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13873
13874 * resolv/nss_dns/dns-host.c: Merge copyright years.
13875
13876 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13877
13878 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13879 Optimize memcpy with prefetch if
13880 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13881 src, dst pointers have unequal 16 byte alignments.
13882
13883 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13884
13885 [BZ #13928]
13886 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13887 from a CNAME entry and return the minimum ttl for the query.
13888 (gaih_getanswer_slice): Likewise.
13889
13890 2012-03-30 Jeff Law <law@redhat.com>
13891
13892 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13893 due to long keys.
13894 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13895 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13896
13897 * resolv/nss_dns/dns-host.c: Update copyright year.
13898
13899 2012-03-30 Ulrich Drepper <drepper@gmail.com>
13900
13901 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13902 requests to save a system call. Fix check that all bytes are sent.
13903
13904 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13905 comments for sendmmsg.
13906
13907 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13908
13909 [BZ #13691]
13910 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13911 with only 1 character between 0x0041 and 0x01b0.
13912 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13913 * wcsmbs/tst-mbsnrtowcs.c: New file.
13914
13915 2012-03-29 David S. Miller <davem@davemloft.net>
13916
13917 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13918 small copies by hand.
13919
13920 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13921
13922 [BZ #13761]
13923 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13924 _nss_compat_initgroups_dyn): Fall back to malloc/free
13925 for large group memberships.
13926
13927 2012-03-28 David S. Miller <davem@davemloft.net>
13928
13929 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13930 that branches into memcpy.
13931 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13932 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13933 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13934 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13936 bits.
13937 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13938 implementation too.
13939 * sysdeps/sparc/mempcpy.S: New file.
13940
13941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13942 the IFUNC routine in the libc case.
13943 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13944
13945 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13946 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13947 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13948 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13949 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13950 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13951 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13952 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13953
13954 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13955 loop to 256 bytes instead of 64 bytes and fix test signedness.
13956
13957 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13958 * sysdeps/sparc/sparc32/Makefile: rather than here...
13959 * sysdeps/sparc/sparc64/Makefile: and here.
13960
13961 2012-03-28 Ulrich Drepper <drepper@gmail.com>
13962
13963 * malloc/mallocbug.c: Avoid warnings about unused variables.
13964
13965 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13966
13967 [BZ #13760]
13968 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13969 in the right place. Discard and retry query if response is
13970 larger than input buffer size.
13971
13972 2012-03-28 Joseph Myers <joseph@codesourcery.com>
13973
13974 [BZ #369]
13975 [BZ #2678]
13976 [BZ #3866]
13977 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13978 x for large integer exponent.
13979 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13980 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13981 sign of result as needed afterwards.
13982 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13983 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13984 result for underflowing pow the same as for overflow.
13985 (__kernel_standard_l): Handle powl overflow and underflow here
13986 rather than calling __kernel_standard.
13987 * math/libm-test.inc (pow_test): Add more tests.
13988
13989 [BZ #3868]
13990 [BZ #13879]
13991 [BZ #13910]
13992 [BZ #13911]
13993 [BZ #13912]
13994 [BZ #13913]
13995 [BZ #13915]
13996 [BZ #13916]
13997 [BZ #13917]
13998 [BZ #13918]
13999 [BZ #13919]
14000 [BZ #13920]
14001 [BZ #13921]
14002 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14003 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14004 (__kernel_standard_l): New function.
14005 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14006 __kernel_standard.
14007 * math/w_acosl.c (__acosl): Likewise.
14008 * math/w_asinl.c (__asinl): Likewise.
14009 * math/w_atan2l.c (__atan2l): Likewise.
14010 * math/w_atanhl.c (__atanhl): Likewise.
14011 * math/w_coshl.c (__coshl): Likewise.
14012 * math/w_exp10l.c (__exp10l): Likewise.
14013 * math/w_exp2l.c (__exp2l): Likewise.
14014 * math/w_fmodl.c (__fmodl): Likewise.
14015 * math/w_hypotl.c (__hypotl): Likewise.
14016 * math/w_j0l.c (__j0l, __y0l): Likewise.
14017 * math/w_j1l.c (__j1l, __y1l): Likewise.
14018 * math/w_jnl.c (__jnl, __ynl): Likewise.
14019 * math/w_lgammal.c (__lgammal): Likewise.
14020 * math/w_log10l.c (__log10l): Likewise.
14021 * math/w_log2l.c (__log2l): Likewise.
14022 * math/w_logl.c (__logl): Likewise.
14023 * math/w_powl.c (__powl): Likewise.
14024 * math/w_remainderl.c (__remainderl): Likewise.
14025 * math/w_scalbl.c (sysv_scalbl): Likewise.
14026 * math/w_sinhl.c (__sinhl): Likewise.
14027 * math/w_sqrtl.c (__sqrtl): Likewise.
14028 * math/w_tgammal.c (__tgammal): Likewise.
14029 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14030 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14031 * math/libm-test.inc (acos_test): Add more tests.
14032 (acosh_test): Likewise.
14033 (asin_test): Likewise.
14034 (atanh_test): Likewise.
14035 (exp_test): Likewise.
14036 (exp10_test): Likewise.
14037 (exp2_test): Likewise.
14038 (expm1_test): Likewise.
14039 (lgamma_test): Likewise.
14040 (log_test): Likewise.
14041 (log10_test): Likewise.
14042 (log1p_test): Likewise.
14043 (log2_test): Likewise.
14044 (pow_test): Do not allow some spurious overflow exceptions.
14045 (sqrt_test): Add more tests.
14046 (tgamma_test): Likewise.
14047 (y0_test): Likewise.
14048 (y1_test): Likewise.
14049 (yn_test): Likewise.
14050
14051 2012-03-27 Anton Blanchard <anton@samba.org>
14052
14053 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14054 MAP_HUGETLB.
14055 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14056 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14057 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14058
14059 2012-03-27 David S. Miller <davem@davemloft.net>
14060
14061 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14062
14063 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14064 have-as-vis3 check.
14065
14066 2012-03-27 Andreas Jaeger <aj@suse.de>
14067
14068 * sysdeps/x86_64/elf/configure.in: Moved to ...
14069 * sysdeps/x86_64/configure.in: ... here.
14070 * sysdeps/x86_64/elf/start.S: Moved to ...
14071 * sysdeps/x86_64/start.S: ... here.
14072 * sysdeps/x86_64/elf/configure: Delete.
14073
14074 * sysdeps/x86_64/configure.in: Merge contents from
14075 sysdeps/i386/configure.in (without i686 check).
14076
14077 * sysdeps/i386/elf/Versions: Merge into ...
14078 * sysdeps/i386/Versions: ... this.
14079 * sysdeps/i386/elf/Versions: Delete file.
14080 * sysdeps/i386/elf/start.S: Moved to ...
14081 * sysdeps/i386/start.S: ...here.
14082 * sysdeps/i386/elf/configure.in: Merge into...
14083 * sysdeps/i386/configure.in: ...here.
14084 * sysdeps/i386/elf/configure.in: Delete file.
14085 * sysdeps/i386/elf/configure: Delete file.
14086
14087 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14088 * debug/backtracesyms.c: ... here.
14089 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14090 * debug/backtracesymsfd.c: ... here.
14091 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14092 * sysdeps/generic/ifunc-sel.h: ... here.
14093
14094 * sysdeps/unix/i386/start.c: Delete file.
14095 * sysdeps/unix/sparc/start.c: Delete file.
14096 * sysdeps/unix/start.c: Delete file.
14097
14098 * sysdeps/sh/elf/configure.in: Moved to ...
14099 * sysdeps/sh/configure.in: ... here.
14100 * sysdeps/sh/elf/start.S: Moved to ...
14101 * sysdeps/sh/start.S: ... here.
14102 * sysdeps/sh/elf/configure: Delete file.
14103
14104 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14105 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14106 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14107 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14108 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14109 * sysdeps/powerpc/powerpc64/start.S: here.
14110 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14111 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14112 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14113 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14114 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14115
14116 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14117 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14118 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14119 * sysdeps/powerpc/powerpc32/start.S: ... here.
14120 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14121 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14122 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14123
14124 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14125 * sysdeps/powerpc/ifunc-sel.h: ... here.
14126 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14127 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14128
14129 * sysdeps/sparc/elf/configure.in: Moved to ...
14130 * sysdeps/sparc/configure.in: ... here.
14131 * sysdeps/sparc/elf/configure: Delete file.
14132 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14133 * sysdeps/sparc/sparc32/start.S: ... here.
14134 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14135 * sysdeps/sparc/sparc64/start.S: ... here.
14136 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14137 * sysdeps/sparc/sparc32/Makefile: ... this.
14138 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14139 * sysdeps/sparc/sparc64/Makefile: ... this.
14140
14141 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14142 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14143 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14144 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14145 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14146 * sysdeps/s390/s390-32/setjmp.S: ... here.
14147 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14148 * sysdeps/s390/s390-32/configure.in: ... here.
14149 * sysdeps/s390/s390-32/elf/configure: Delete file.
14150 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14151 * sysdeps/s390/s390-32/start.S: ... here.
14152
14153 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14154 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14155 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14156 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14157 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14158 * sysdeps/s390/s390-64/setjmp.S: ... here.
14159 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14160 * sysdeps/s390/s390-64/configure.in: ... here
14161 * sysdeps/s390/s390-64/elf/configure: Delete file.
14162 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14163 * sysdeps/s390/s390-64/start.S: ... here.
14164 * sysdeps/s390/s390-64/elf/configure: Delete.
14165
14166 * configure.in: Remove support for elf directories in sysdeps.
14167
14168 * configure: Regenerated.
14169 * sysdeps/i386/configure: Regenerated.
14170 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14171 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14172 * sysdeps/s390/s390-32/configure: Regenerated.
14173 * sysdeps/s390/s390-64/configure: Regenerated.
14174 * sysdeps/sh/configure: Regenerated.
14175 * sysdeps/sparc/configure: Regenerated.
14176 * sysdeps/x86_64/configure: Regenerated.
14177
14178 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14179
14180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14181
14182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14183 denormal result into account.
14184
14185 2012-03-25 Roland McGrath <roland@hack.frob.com>
14186
14187 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14188 Reported by Allan McRae <allan@archlinux.org>.
14189
14190 2012-03-23 Jeff Law <law@redhat.com>
14191
14192 * nss/getnssent.c (__nss_getent): Fix typo.
14193
14194 2012-03-23 David S. Miller <davem@davemloft.net>
14195
14196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14197
14198 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14199
14200 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14201 to pad to uint64_t for each field.
14202 (dl_tls_index): Replace unsigned long with uint64_t.
14203
14204 2012-03-23 Daniel Jacobowitz <dmj@google.com>
14205 Paul Pluzhnikov <ppluzhnikov@google.com>
14206
14207 [BZ #6528]
14208 * grp/Makefile (otherlibs): Don't set it.
14209 * inet/Makefile (otherlibs): Likewise.
14210 * login/Makefile (otherlibs): Likewise.
14211 * nscd/Makefile (otherlibs): Likewise.
14212 * posix/Makefile (otherlibs): Likewise.
14213 * pwd/Makefile (otherlibs): Likewise.
14214 * rt/Makefile (otherlibs): Likewise.
14215 * sunrpc/Makefile (otherlibs): Likewise.
14216 * nss/Makefile (otherlibs): Likewise.
14217 Add libnss_files to routines and static-only-routines.
14218 ($(objpfx)getent): Remove rule.
14219 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14220 static-only-routines.
14221
14222 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14223
14224 [BZ #13892]
14225 * math/s_cexp.c: Include <float.h>.
14226 (__cexp): Handle exp result overflowing not necessarily
14227 overflowing both real and imaginary parts of result.
14228 * math/s_cexpf.c: Likewise.
14229 * math/s_cexpl.c: Likewise.
14230 * math/libm-test.inc (cexp_test): Add more tests.
14231 * sysdeps/i386/fpu/libm-test-ulps: Update.
14232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14233
14234 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 * include/link.h (ELFW): New macro.
14237 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14238 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14239
14240 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14241
14242 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14243 with uint64_t.
14244
14245 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14246
14247 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14248 declaration.
14249 (struct La_x32_retval): Likewise.
14250
14251 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14252
14253 * sysdeps/x86_64/preconfigure.in: New file.
14254 * sysdeps/x86_64/preconfigure: New generated file.
14255
14256 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14257
14258 [BZ #13824]
14259 * math/e_exp2l.c: Include <float.h>.
14260 (__ieee754_exp2l): Handle overflow and underflow cases
14261 separately. Only pass fractional part of argument to
14262 __ieee754_expl.
14263 * math/libm-test.inc (exp2_test): Add more tests.
14264
14265 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14266 negating x to take absolute value.
14267 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14268 Likewise.
14269 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14270 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14271 Likewise.
14272 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14273 computing low part if x was negated.
14274 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14275
14276 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14277
14278 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14279 la_x32_gnu_pltexit.
14280 (pltexit): Cast int_retval to ptrdiff_t.
14281 * elf/tst-auditmod3b.c: Likewise.
14282 * elf/tst-auditmod4b.c: Likewise.
14283 * elf/tst-auditmod5b.c: Likewise.
14284 * elf/tst-auditmod6b.c: Likewise.
14285 * elf/tst-auditmod6c.c: Likewise.
14286 * elf/tst-auditmod7b.c: Likewise.
14287
14288 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14289 and x32_gnu_pltexit.
14290
14291 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14292 __ELF_NATIVE_CLASS.
14293 (La_x32_regs): New macro.
14294 (La_x32_retval): Likewise.
14295 (la_x32_gnu_pltenter): New function prototype.
14296 (la_x32_gnu_pltexit): Likewise.
14297
14298 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14299
14300 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14301 exponent.
14302
14303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14304
14305 * configure.in (libc_cv_cc_nofma): Check for option to disable
14306 generation of FMA instructions.
14307 * configure: Regenerate.
14308 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14309 * sysdeps/ieee754/dbl-64/Makefile: New file.
14310 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14311 Remove brandred-fma4.
14312 (CFLAGS-brandred-fma4.c): Remove.
14313 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14314 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14315 define.
14316 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14317 define.
14318
14319 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14320
14321 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14322 LLONG_MAX != LONG_MAX.
14323 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14324 (_fitoa_word): Likewise.
14325 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14326 LLONG_MAX != LONG_MAX.
14327 * stdio-common/_itowa.h: Include <_itoa.h>.
14328 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14329 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14330 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14331 only if not defined.
14332 (_ITOA_WORD_TYPE): Likewise.
14333 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14334 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14335
14336 2012-03-21 David S. Miller <davem@davemloft.net>
14337
14338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14339
14340 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14341
14342 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14343 of x86_64 when setting libc_cv_slibdir, libdir and
14344 libc_cv_localedir.
14345 * sysdeps/unix/sysv/linux/configure: Regenerated.
14346
14347 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14348
14349 * manual/lang.texi (Old Varargs): Remove section.
14350 (How Variadic): Update menu.
14351 (va_start): Do not mention varargs.h.
14352
14353 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14354 Joseph Myers <joseph@codesourcery.com>
14355
14356 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14357 link test.
14358 * configure: Regenerated.
14359
14360 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14361
14362 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14363 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14364 conformtest.pl
14365
14366 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14367
14368 * NOTES: Remove.
14369 * Makefile (files-for-dist): Remove NOTES.
14370 (NOTES): Remove rule.
14371 * README: Don't refer to NOTES.
14372 * manual/creature.texi: Don't include macros.texi.
14373 * manual/intro.texi (creature.texi): Remove comment referring to
14374 NOTES.
14375
14376 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14377 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14378 * configure: Regenerated.
14379 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14380 LIBC_TRY_CC_OPTION.
14381 (libc_cv_as_i686): Likewise.
14382 (libc_cv_cc_avx): Likewise.
14383 (libc_cv_cc_sse2avx): Likewise.
14384 (libc_cv_cc_fma4): Likewise.
14385 (libc_cv_cc_novzeroupper): Likewise.
14386 * sysdeps/i386/configure: Regenerated.
14387
14388 [BZ #13883]
14389 * sysdeps/i386/fpu/s_cexp.S: Remove.
14390 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14391 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14392 * math/libm-test.inc (cexp_test): Add more tests.
14393 * sysdeps/i386/fpu/libm-test-ulps: Update.
14394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14395
14396 2012-03-21 Allan McRae <allan@archlinux.org>
14397
14398 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14399
14400 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14401
14402 [BZ #13871]
14403 * math/w_exp2.c: Do not include <float.h>.
14404 (o_threshold, u_threshold): Remove.
14405 (__exp2): Calculate result before checking finiteness and calling
14406 __kernel_standard.
14407 * math/w_exp2f.c: Likewise.
14408 * math/w_exp2l.c: Likewise.
14409 * math/libm-test.inc (exp2_test): Require overflow exception for
14410 1e6 input.
14411
14412 [BZ #3866]
14413 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14414 range of signed 64-bit integers before using fistpll. Remove
14415 checks for whether integers fit in mantissa bits.
14416 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14417 the range of signed 32-bit integers before using fistpl. Remove
14418 checks for whether integers fit in mantissa bits.
14419 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14420 (__ieee754_powl): Test for y outside the range of signed 64-bit
14421 integers before using fistpll. Reduce 64-bit values to 63-bit
14422 ones as needed.
14423 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14424 divide-by-zero is raised for zero to large negative powers.
14425 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14426 (__ieee754_powl): Test for y outside the range of signed 64-bit
14427 integers before using fistpll. Reduce 64-bit values to 63-bit
14428 ones as needed.
14429 * math/libm-test.inc (pow_test): Add more tests.
14430
14431 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14432
14433 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14434 <stdio-common/_itoa.h>.
14435 * debug/segfault.c: Likewise.
14436 * elf/dl-cache.c: Likewise.
14437 * elf/dl-minimal.c: Likewise.
14438 * elf/dl-misc.c: Likewise.
14439 * elf/dl-sysdep.c: Likewise.
14440 * elf/dl-version.c: Likewise.
14441 * elf/rtld.c: Likewise.
14442 * hurd/hurdsock.c: Likewise.
14443 * hurd/lookup-retry.c: Likewise.
14444 * malloc/malloc.c: Likewise.
14445 * malloc/mtrace.c: Likewise.
14446 * nscd/nscd_getgr_r.c: Likewise.
14447 * nscd/nscd_getpw_r.c: Likewise.
14448 * nscd/nscd_getserv_r.c: Likewise.
14449 * posix/getopt_init.c: Likewise.
14450 * posix/wordexp.c: Likewise.
14451 * stdio-common/_itoa.c: Likewise.
14452 * stdio-common/printf_fphex.c: Likewise.
14453 * stdio-common/vfprintf.c: Likewise.
14454 * string/_strerror.c: Likewise.
14455 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14456 * sysdeps/i386/i686/hp-timing.h: Likewise.
14457 * sysdeps/mach/_strerror.c: Likewise.
14458 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14459 * sysdeps/mach/hurd/sethostid.c: Likewise.
14460 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14461 * sysdeps/mach/xpg-strerror.c: Likewise.
14462 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14463 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14464 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14465 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14466 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14467 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14468 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14469 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14470 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14471 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14472 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14473 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14474 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14475 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14476 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14477 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14478 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14479 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14480 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14481 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14482 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14483
14484 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14485
14486 * stdio-common/_itoa.h: Moved to ...
14487 * sysdeps/generic/_itoa.h: Here.
14488
14489 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14490
14491 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14492 instead of "_itoa.h" and "_itowa.h".
14493 * stdio-common/vfprintf.: Likewise.
14494
14495 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14496
14497 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14498 <bits/wordsize.h>.
14499 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14500 (__signbit): Likwise.
14501 (llrintf): Likwise.
14502 (llrint): Likwise.
14503
14504 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14505
14506 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14507 __WORDSIZE != 64.
14508
14509 2012-03-20 Joseph Myers <joseph@codesourcery.com>
14510
14511 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14512 OVERFLOW_EXCEPTION_OK.
14513 * math/libm-test.inc ("Philosophy"): Update comment about
14514 exception testing.
14515 (OVERFLOW_EXCEPTION): Define.
14516 (OVERFLOW_EXCEPTION_OK): Likewise.
14517 (INVALID_EXCEPTION_OK): Renumber.
14518 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14519 (IGNORE_ZERO_INF_SIGN): Likewise.
14520 (test_exceptions): Handle FE_OVERFLOW.
14521 (exp10_test): Expect overflow exceptions.
14522 (exp2_test): Likewise.
14523 (expm1_test): Likewise.
14524 (nextafter_test): Likewise.
14525 (pow_test): Likewise.
14526 (scalbn_test): Likewise.
14527 (scalbln_test): Likewise.
14528
14529 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14530
14531 * sysdeps/x86_64/bits/atomic.h
14532 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14533 64bit integer.
14534 (atomic_exchange_acq): Likewise.
14535 (__arch_exchange_and_add_body): Likewise.
14536 (__arch_add_body): Likewise.
14537 (atomic_add_negative): Likewise.
14538 (atomic_add_zero): Likewise.
14539
14540 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14541
14542 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
14543 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14544
14545 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14546
14547 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14548 Check __x86_64__ instead of __WORDSIZE.
14549
14550 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14551
14552 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14553
14554 2012-03-19 David S. Miller <davem@davemloft.net>
14555
14556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14557
14558 * sysdeps/sparc/fpu/fenv_private.h: New file.
14559 * sysdeps/sparc/fpu/math_private.h: Use it.
14560 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14561 Remove.
14562 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14563 (libc_feholdexcept_setroundl): Remove.
14564 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14565 Remove.
14566 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14567 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14568
14569 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14570
14571 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14572 int64_t instead of long int.
14573 (INSERT_WORDS64): Likwise.
14574
14575 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14576
14577 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14578 _Unwind_GetCFA return to _Unwind_Ptr first.
14579
14580 2012-03-19 Joseph Myers <joseph@codesourcery.com>
14581
14582 [BZ #13629]
14583 * math/s_clog.c: Include <float.h>.
14584 (__clog): Scale large or subnormal inputs.
14585 * math/s_clogf.c: Likewise.
14586 * math/s_clogl.c: Likewise.
14587 * math/s_clog10.c: Include <float.h>.
14588 (M_LOG10_2): Define.
14589 (__clog10): Scale large or subnormal inputs.
14590 * math/s_clog10f.c: Likewise.
14591 * math/s_clog10l.c: Likewise.
14592 * math/libm-test.inc (clog_test): Add more tests.
14593 (clog10_test): Likewise.
14594 * sysdeps/i386/fpu/libm-test-ulps: Update.
14595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14596
14597 [BZ #11451]
14598 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14599 x and y.
14600 * math/libm-test.inc (atan2_test): Add another test.
14601
14602 * Makerules (common-objdir-compile): Remove.
14603 * sysdeps/unix/Makefile (config-generated): Do not add
14604 $(unix-generated) to variable.
14605 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14606 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14607 Remove rule.
14608 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14609 Likewise.
14610 [generic bits/local_lim.h] (before-compile): Do not append to
14611 variable.
14612 [generic bits/local_lim.h] (common-generated): Likewise.
14613 [generic sys/param.h] (before-compile): Do not append to variable.
14614 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14615 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14616 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14617 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14618 include.
14619 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14620 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14621 [generic sys/param.h] ($(addprefix
14622 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14623 [generic sys/param.h] (common-generated): Do not append to
14624 variable.
14625 [generic sys/param.h] (sysdep_headers): Likewise.
14626 [generic bits/errno.h] (before-compile): Do not append to
14627 variable.
14628 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14629 rule.
14630 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14631 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14632 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14633 [generic bits/errno.h] (common-generated): Do not append to
14634 variable.
14635 [generic bits/ioctls.h] (before-compile): Do not append to
14636 variable.
14637 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14638 rule.
14639 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14640 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14641 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14642 rule.
14643 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14644 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14645 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14646 [generic bits/ioctls.h] (common-generated): Do not append to
14647 variable.
14648 [generic sys/syscall.h] (syscall.h): Remove variable.
14649 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14650 rule.
14651 [generic sys/syscall.h] (before-compile): Do not append to
14652 variable.
14653 [generic sys/syscall.h] (common-generated): Likewise.
14654 * sysdeps/unix/errnos-tmpl.c: Remove file.
14655 * sysdeps/unix/errnos.awk: Likewise.
14656 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14657 * sysdeps/unix/ioctls.awk: Likewise.
14658 * sysdeps/unix/mk-local_lim.c: Likewise.
14659 * sysdeps/unix/snarf-ioctls: Likewise.
14660
14661 2012-03-19 Richard Henderson <rth@twiddle.net>
14662
14663 * sysdeps/i386/fpu/fenv_private.h: New file.
14664 * sysdeps/i386/fpu/math_private.h: Use it.
14665 (math_opt_barrier, math_force_eval): Remove.
14666 (libc_feholdexcept_setround_53bit): Remove.
14667 (libc_feupdateenv_53bit): Remove.
14668 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14669 (math_opt_barrier, math_force_eval): Remove.
14670 (libc_feholdexcept): Remove.
14671 (libc_feholdexcept_setround): Remove.
14672 (libc_fetestexcept, libc_fesetenv): Remove.
14673 (libc_feupdateenv_test): Remove.
14674 (libc_feupdateenv, libc_feholdsetround): Remove.
14675 (libc_feresetround): Remove.
14676
14677 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14678 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14679
14680 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14681 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14682 (libc_feupdateenv_testl): New.
14683 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14684 (libc_feupdateenv_testf): New.
14685 (libc_feupdateenv): Use libc_feupdateenv_test.
14686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14687 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14688
14689 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14690 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14691 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14692 (libc_feresetround_noex): New.
14693 (libc_feresetround_noexf): New.
14694 (libc_feresetround_noexl): New.
14695 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14696 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14697 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14698 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14699 SET_RESTORE_ROUND.
14700 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14701 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14702 (__cos): Likewise.
14703 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14704 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14705 SET_RESTORE_ROUND_NOEX.
14706 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14707 SET_RESTORE_ROUND_NOEXF.
14708 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14709 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14710 (libc_feholdsetroundf): New.
14711 (libc_feresetround, libc_feresetroundf): New.
14712
14713 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14714 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14715 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14716
14717 * sysdeps/generic/math_private.h: Include <fenv.h>.
14718 (default_libc_feholdexcept): New.
14719 (default_libc_feholdexcept_setround): New.
14720 (default_libc_fesetenv, default_libc_feupdateenv): New.
14721 (libc_feholdexcept): Only define if undefined.
14722 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14723 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14724 (libc_feholdexcept_setroundl): Likewise.
14725 (libc_feholdexcept_setround_53bit): Likewise.
14726 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14727 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14728 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14729 (libc_feupdateenv_53bit): Likewise.
14730 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14731 (libc_feholdexcept): Convert from macro to inline function.
14732 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14733 (libc_fesetenv, libc_feupdateenv): Likewise.
14734
14735 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14736 not previously defined.
14737 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14738 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14739 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14740 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14741 * sysdeps/ieee754/flt-32/math_private.h: New file.
14742 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14743 math_private.h below SET_FLOAT_WORD.
14744 (__isnan, __isinf_ns, __finite): Remove.
14745 (__isnanf, __isinf_nsf, __finitef): Remove.
14746
14747 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14748
14749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14750
14751 2012-03-17 David S. Miller <davem@davemloft.net>
14752
14753 [BZ #6471]
14754 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14755 for 2.16.
14756
14757 2012-03-16 David S. Miller <davem@davemloft.net>
14758
14759 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14760 warnings.
14761
14762 [BZ #6471]
14763 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14764 properly.
14765 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14766 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14767 sysdep_routines when subdir is sysvipc.
14768 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14769 __getshmlba helper.
14770
14771 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14772
14773 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14774
14775 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14776 [__LP64__].
14777
14778 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14779
14780 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14781 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14782 (__lround): Renamed to ...
14783 (__llround): This. Replace long int with long long int.
14784 Define lround functions as aliases of llround functions.
14785 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14786
14787 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14788
14789 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14790 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14791 adresses to uintptr_t. Replace "long int" and "unsigned long
14792 int" with "greg_t" on va_arg.
14793
14794 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14795
14796 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14797 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14798
14799 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14800 Move e_machine check before EI_CLASS check. Handle x32
14801 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14802 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14803 SKIP_EM_IA_64 and include
14804 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14805
14806 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14807 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14808 (add_system_dir): New macro.
14809
14810 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14811 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14812
14813 2012-03-16 Joseph Myers <joseph@codesourcery.com>
14814
14815 [BZ #2551]
14816 [BZ #2552]
14817 [BZ #2553]
14818 [BZ #2554]
14819 [BZ #2562]
14820 [BZ #2563]
14821 [BZ #2565]
14822 [BZ #2566]
14823 [BZ #2576]
14824 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14825 (y0): Likewise.
14826 * math/w_j0f.c (j0f): Likewise.
14827 (y0f): Likewise.
14828 * math/w_j0l.c (__j0l): Likewise.
14829 (__y0l): Likewise.
14830 * math/w_j1.c (j1): Likewise.
14831 (y1): Likewise.
14832 * math/w_j1f.c (j1f): Likewise.
14833 (y1f): Likewise.
14834 * math/w_j1l.c (__j1l): Likewise.
14835 (__y1l): Likewise.
14836 * math/w_jn.c (jn): Likewise.
14837 (yn): Likewise.
14838 * math/w_jnf.c (jnf): Likewise.
14839 (ynf): Likewise.
14840 * math/w_jnl.c (__jnl): Likewise.
14841 (__ynl): Likewise.
14842 * math/libm-test.inc (j0_test): Add more tests.
14843 (j1_test): Likewise.
14844 (jn_test): Likewise. Add trailing semicolon to existing test.
14845 (y0_test): Likewise.
14846 (y1_test): Likewise.
14847 * sysdeps/i386/fpu/libm-test-ulps: Update.
14848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14849
14850 [BZ #13851]
14851 [BZ #13854]
14852 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14853 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14854 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14855 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14856 (__tanl): Set errno for infinite argument.
14857 * sysdeps/i386/fpu/mptan.c: Remove.
14858 * sysdeps/i386/fpu/s_tan.S: Likewise.
14859 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14860 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14861 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14862 * math/libm-test.inc (tan_test): Add more tests and enable more
14863 tests for double and long double.
14864 * sysdeps/i386/fpu/libm-test-ulps: Update.
14865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14866
14867 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14868
14869 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14870 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14871
14872 2012-03-16 Roland McGrath <roland@hack.frob.com>
14873
14874 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14875 * configure.in: Use it for both main tree and add-ons.
14876 * configure: Regenerated.
14877
14878 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14879
14880 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14881
14882 2012-03-16 Joseph Myers <joseph@codesourcery.com>
14883
14884 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14885 in comment.
14886
14887 [BZ #13851]
14888 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14889 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14890 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14891 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14893 infinite argument.
14894 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14895 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14896 != 0 for prec == 2.
14897 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14898 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14899 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14900 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14901 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14902 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14903 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14904 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14905 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14906 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14907 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14908 * math/libm-test.inc (cos_test): Add more tests and enable more
14909 tests for long double.
14910 (sin_test): Likewise.
14911 (sincos_test): Likewise.
14912 * sysdeps/i386/fpu/libm-test-ulps: Update.
14913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14914
14915 2012-03-16 David S. Miller <davem@davemloft.net>
14916
14917 * sysdeps/sparc/fpu/math_private.h: New file.
14918
14919 2012-03-15 David S. Miller <davem@davemloft.net>
14920
14921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14922 file.
14923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14925 file.
14926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14932 sysdep routines.
14933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14934
14935 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14936 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14937
14938 * sysdeps/sparc/sparc-ifunc.h: New file.
14939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14940 sparc-ifunc.h
14941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14943 Likewise.
14944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14945 Likewise.
14946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14950 Likewise.
14951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14956 Likewise.
14957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14958 Likewise.
14959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14965 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14981 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14982 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14983
14984 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14985
14986 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14987 scaling.
14988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14989
14990 2012-03-15 Andreas Jaeger <aj@suse.de>
14991
14992 [BZ #13852]
14993 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14994 ieee754/flt-32 implementation for sin, cos and sincos.
14995 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14996 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14997 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14998 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14999 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15000 ieee754/flt-32 implementation for tan.
15001
15002 * math/libm-test.inc (cos_test): Enable some large input tests for
15003 float as well
15004 (sin_test): Likewise.
15005 (sincos_test): Likewise.
15006 (tan_test): Add tests for large input.
15007
15008 * sysdeps/i386/fpu/libm-test-ulps: Update.
15009
15010 2012-03-15 Andreas Jaeger <aj@suse.de>
15011
15012 [BZ #13658]
15013 * math/libm-test.inc (cos_test): Add more test cases.
15014 (sin_test): Likewise.
15015 (sincos_test): Likewise.
15016
15017 2012-03-15 Andreas Jaeger <aj@suse.de>
15018
15019 [BZ #13837]
15020 * math/libm-test.inc (cos_test): Add a test case for large input
15021 value.
15022 (sin_test): Likewise.
15023 (sincos_test): Likewise.
15024
15025 2012-03-15 Andreas Jaeger <aj@suse.de>,
15026 Joseph Myers <joseph@codesourcery.com>
15027
15028 [BZ #13658]
15029 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
15030 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15031 * sysdeps/i386/fpu/branred.c: Likewise.
15032 * sysdeps/i386/fpu/dosincos.c: Likewise.
15033 * sysdeps/i386/fpu/mpa.c: Likewise.
15034 * sysdeps/i386/fpu/s_cos.S: Likewise.
15035 * sysdeps/i386/fpu/s_sin.S: Likewise.
15036 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15037 * sysdeps/i386/fpu/sincos32.c: Likewise.
15038
15039 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15040 Define.
15041 (libc_feupdateenv_53bit): Define.
15042 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15043 Define.
15044 (libc_feupdateenv_53bit): Define.
15045
15046 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15047 53 bit (without extend i386 double precision).
15048
15049 * math/libm-test.inc (sincos_test): Add tests for large input.
15050 (sin): Likewise.
15051 (cos): Likewise.
15052
15053 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15054
15055 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15056
15057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15058
15059 2012-03-15 David S. Miller <davem@davemloft.net>
15060
15061 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15062 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15063 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15064 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
15076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15077 file.
15078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
15079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15080 file.
15081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
15082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15083 file.
15084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15086 file.
15087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15089 fmin/fmax sysdep routines.
15090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15091
15092 2012-03-14 David S. Miller <davem@davemloft.net>
15093
15094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15101 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15114 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15123 routines.
15124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15125 file.
15126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15128 file.
15129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15131 file.
15132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15134 file.
15135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15137 file.
15138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15140 file.
15141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15142 file.
15143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15144 file.
15145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15146 file.
15147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15148 New file.
15149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15150 file.
15151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15152 file.
15153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15155 file.
15156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15158 file.
15159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15161 file.
15162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15164 VIS3 routines.
15165
15166 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15167 New file.
15168
15169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15170
15171 * sysdeps/sparc/configure.in: New file.
15172 * sysdeps/sparc/configure: Generate.
15173 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15174 * configure: Regenerate.
15175 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15176 * config.make.in (have-as-vis3): New.
15177 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15178 available use -Av9d instead of -Av9a.
15179 * sysdeps/sparc/sparc64/Makefile: Likewise.
15180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15182 New file.
15183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15184 file.
15185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15186 New file.
15187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15188 file.
15189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15192 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15193 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15194
15195 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15196 fzeros/fnegs to load 0x80000000 into a float register instead of
15197 using the stack.
15198 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15199
15200 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15201
15202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15203 bits/syscall.h.
15204 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15205 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15206 ($(inst_includedir)/bits/syscall.h): Remove rule.
15207 ($(objpfx)bits/syscall.d): Include instead of
15208 $(objpfx)syscall-list.d.
15209 (generated): Change syscall-list.h and syscall-list.d to
15210 bits/syscall.h and bits/syscall.d.
15211
15212 2012-03-14 Roland McGrath <roland@hack.frob.com>
15213
15214 [BZ #13846]
15215 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15216
15217 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15218
15219 [BZ #13841]
15220 * math/s_csqrt.c: Include <float.h>.
15221 (__csqrt): Scale large or subnormal inputs.
15222 * math/s_csqrtf.c: Likewise.
15223 * math/s_csqrtl.c: Likewise.
15224 * math/libm-test.inc (csqrt_test): Add more tests.
15225 * sysdeps/i386/fpu/libm-test-ulps: Update.
15226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15227
15228 [BZ #13840]
15229 * math/libm-test.inc (hypot_test): Add more tests.
15230
15231 2012-03-13 David S. Miller <davem@davemloft.net>
15232
15233 [BZ #13840]
15234 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15235 double-precision for the calculation instead of scaling.
15236
15237 2012-03-13 Joseph Myers <joseph@codesourcery.com>
15238
15239 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15240 manipulate bits before adding and subtracting TWO52[sx].
15241 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15242 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15243 Likewise.
15244 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15245
15246 2012-03-13 David S. Miller <davem@davemloft.net>
15247
15248 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15249 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15251 rtld-global-offsets.h
15252 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15253
15254 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15255 large parameters.
15256
15257 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15258
15259 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15260 'err' in the ifdef scope in which it is actually used.
15261
15262 * nss/nss_db/db-init.c: Include string.h
15263
15264 2012-03-12 David S. Miller <davem@davemloft.net>
15265
15266 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15267 masking out of the most significant byte of random value used.
15268 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15269 Fix coding style in previous change.
15270
15271 * sysdeps/unix/sysv/linux/kernel-features.h
15272 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15273 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15274 expression.
15275 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15276 later.
15277
15278 2012-03-11 David S. Miller <davem@davemloft.net>
15279
15280 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15281 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15282 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15283 for 'resultvar' otherwise things get truncated on 64-bit.
15284
15285 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15286 Fix masking out of the most significant byte of random value used.
15287
15288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15289
15290 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15291
15292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15293
15294 2012-03-09 David S. Miller <davem@davemloft.net>
15295
15296 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15297 variables with appropriate CPP guards.
15298 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15299 frame pointer, not the stack pointer. Correct layout comments. Fix test
15300 on resulting framesize and the management of the outregs buffer for pltexit.
15301 Preserve floating point return values across _dl_call_pltexit call.
15302 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15303 framesize and the management of the outregs buffer for pltexit.
15304 Preserve floating point return values across _dl_call_pltexit
15305 call.
15306 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15307 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15308 (print_exit): Fix format string for return register value.
15309
15310 2012-03-10 Joseph Myers <joseph@codesourcery.com>
15311
15312 * sunrpc/Makefile (others): Add rpcgen.
15313 ($(objpfx)rpcgen): Remove special build rule and dependency on
15314 libc.
15315 * sunrpc/rpcgen.c: New file.
15316
15317 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15318
15319 [BZ #13673]
15320 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15321 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15322 * sysdeps/i386/crti.S: Likewise.
15323 * sysdeps/i386/crtn.S: Likewise.
15324 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15325 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15326 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15327 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15328 * sysdeps/sh/crti.S: Likewise.
15329 * sysdeps/sh/crtn.S: Likewise.
15330 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15331
15332 [BZ #13673]
15333 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15334 with URL.
15335 * locale/programs/locfile-kw.gperf: Likewise.
15336 * locale/programs/charmap-kw.h: Regenerated.
15337 * locale/programs/locfile-kw.h: Likewise.
15338
15339 [BZ #13673]
15340 * intl/plural.y: Replace FSF snail mail address with URL.
15341 * intl/plural.c: Regenerated.
15342
15343 2012-03-09 Richard Henderson <rth@twiddle.net>
15344
15345 * include/math_private.h: Remove file.
15346 * math/math_private.h: Move file ...
15347 * sysdeps/generic/math_private.h: ... here.
15348
15349 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15350 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15351 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15352
15353 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
15354 and <math_private.h>.
15355 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15356 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15357 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15358 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15359 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15360 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15361 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15363 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15364 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15366 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15367 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15369 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15370 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15371 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15372 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15373 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15374 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15375 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15376 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15377 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15379 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15380 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15381 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15382 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15383 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15384 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15385 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15386 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15387 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15388 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15389 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15390 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15391 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15392 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15393 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15394 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15395 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15397 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15403 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15404 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15405 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15406 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15408 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15409 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15410 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15411 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15412 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15413 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15414 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15415 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15416 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15417 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15418 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15419 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15420 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15421 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15422 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15426 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15427 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15428 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15429 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15430 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15433 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15434 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15435 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15436 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15437 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15438 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15439 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15440 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15442 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15443 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15444 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15445 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15446 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15447 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15448 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15449 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15450 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15451 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15452 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15453 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15454 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15455 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15456 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15457 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15458 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15459 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15460 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15461 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15462 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15463 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15464 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15465 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15466 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15467 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15468 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15469 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15470 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15471 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15472 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15473 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15474 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15475 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15476 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15477 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15478 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15479 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15480 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15481 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15482 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15483 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15484 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15485 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15486 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15487 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15488 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15489 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15490 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15491 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15492 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15493 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15494 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15495 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15496 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15497 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15498 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15499 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15500 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15501 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15502 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15503 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15504 * sysdeps/ieee754/k_standard.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15513 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15572 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15573 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15575 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15578 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15579 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15580 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15582 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15586 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15590 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15596 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15600 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15602 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15604 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15605 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15606 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15607 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15608 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15610 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15611 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15612 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15613 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15615 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15616 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15617 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15618 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15619 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15620 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15621 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15622 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15623 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15624 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15625 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15626 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15627 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15630 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15631 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15632 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15633 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15634 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15635 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15636 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15637 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15638 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15639 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15640 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15641 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15642 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15643 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15644 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15645 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15646 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15647 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15648 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15649 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15650 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15651 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15652 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15653 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15654 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15655 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15656 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15657 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15658 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15659 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15660 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15661 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15662 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15663 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15664 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15665 * sysdeps/ieee754/s_lib_version.c: Likewise.
15666 * sysdeps/ieee754/s_matherr.c: Likewise.
15667 * sysdeps/ieee754/s_signgam.c: Likewise.
15668 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15669 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15670 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15671 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15672 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15673 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15674 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15675 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15676 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15677 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15678 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15679 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15680 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15681 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15682 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15683 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15684 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15685 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15686 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15687 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15688 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15689
15690 2012-03-09 Joseph Myers <joseph@codesourcery.com>
15691
15692 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15693 * sunrpc/rpc_main.c: Likewise.
15694 * sunrpc/rpc_svcout.c: Likewise.
15695
15696 2012-03-09 David S. Miller <davem@davemloft.net>
15697
15698 * include/math_private.h: New file.
15699
15700 2012-03-09 Joseph Myers <joseph@codesourcery.com>
15701
15702 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15703 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15704 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15705 from <bits/socket_type.h>.
15706 (enum __socket_type): Don't define here.
15707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15709 bits/socket_type.h.
15710
15711 [BZ #13566]
15712 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15713 checking __USE_GNU.
15714
15715 * Makerules ($(inst_includedir)/%.h): New rule.
15716 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15717 (install-others): Remove variable setting.
15718 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15719
15720 2012-03-08 Richard Henderson <rth@twiddle.net>
15721
15722 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15723 from macro to inline function; merge with the
15724 !__LIBC_INTERNAL_MATH_INLINES version.
15725 (__ieee754_sqrtf): Likewise.
15726
15727 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15728 to inline function.
15729 (__rintf, __floor, __floorf): Likewise.
15730
15731 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15732 macro to inline function.
15733 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15734
15735 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15736 not <math/math_private.h>.
15737
15738 2012-03-08 David S. Miller <davem@davemloft.net>
15739
15740 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15741 copyright year.
15742 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15743
15744 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15745
15746 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15747 normalization.
15748 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15749 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15750
15751 2012-03-08 Ulrich Drepper <drepper@gmail.com>
15752
15753 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15754 be defined individually, they must be defined as a block. Define
15755 S for printing a string instead of hidint the different by using a
15756 macro for adding the 'l'.
15757 * stdio-common/tst-fphex-wide.c: Adjust.
15758
15759 2012-03-07 Marek Polacek <polacek@redhat.com>
15760
15761 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15762
15763 2012-03-08 Marek Polacek <polacek@redhat.com>
15764
15765 [BZ #13806]
15766 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15767 * stdio-common/tst-fphex.c: Define a few macros to make the
15768 test reusable. Use them.
15769 * stdio-common/tst-fphex-wide.c: New file.
15770
15771 2012-03-08 Joseph Myers <joseph@codesourcery.com>
15772
15773 [BZ #6911]
15774 * manual/macros.texi (gnusystems): New macro.
15775 (nongnusystems): Likewise.
15776 (gnulinuxhurdsystems): Likewise.
15777 (gnuhurdsystems): Likewise..
15778 (gnulinuxsystems): Likewise.
15779 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15780 variants of the GNU system, not "GNU system".
15781 * manual/conf.texi: Likewise.
15782 * manual/errno.texi: Likewise. Update example of errno macro
15783 expansion.
15784 * manual/filesys.texi: Likewise.
15785 (getumask): Document as specific to GNU/Hurd.
15786 * manual/install.texi: Likewise. Reword some references to
15787 GNU/Linux.
15788 * manual/intro.texi: Likewise.
15789 * manual/io.texi: Likewise.
15790 (File Name Portability): Detail which constraints are inapplicable
15791 to all GNU systems and which are only inapplicable to GNU/Hurd.
15792 * manual/job.texi: Likewise.
15793 * manual/llio.texi: Likewise.
15794 (O_NOCTTY): Document as present on GNU/Linux.
15795 * manual/maint.texi: Likewise.
15796 * manual/memory.texi: Likewise.
15797 * manual/pattern.texi: Likewise.
15798 * manual/pipe.texi: Likewise.
15799 * manual/process.texi: Likewise.
15800 * manual/resource.texi: Likewise.
15801 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15802 child on GNU/Hurd.
15803 * manual/setjmp.texi: Likewise.
15804 * manual/signal.texi: Likewise.
15805 * manual/startup.texi: Likewise.
15806 * manual/stdio.texi: Likewise.
15807 * manual/terminal.texi: Likewise.
15808 (ONLCR): Document as POSIX.
15809 (OXTABS): Document availability on GNU/Linux as XTABS.
15810 (ONOEOT): Document availability separately from other bits.
15811 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15812 * manual/time.texi: Likewise.
15813 * manual/users.texi: Likewise.
15814 * INSTALL: Regenerated.
15815 * sysdeps/gnu/errlist.c: Regenerated.
15816
15817 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15818 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15819 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15820 puts.
15821 * configure: Regenerated.
15822
15823 2012-03-07 Joseph Myers <joseph@codesourcery.com>
15824
15825 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15826 default includes instead of AC_HEADER_CHECK.
15827 * sysdeps/i386/configure: Regenerated.
15828
15829 [BZ #10716]
15830 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15831 * math/s_cacoshf.c (__cacoshf): Likewise.
15832 * math/s_cacoshl.c (__cacoshl): Likewise.
15833 * math/s_casinh.c (__casinh): Set signs of result from argument.
15834 * math/s_casinhf.c (__casinhf): Likewise.
15835 * math/s_casinhl.c (__casinhl): Likewise.
15836 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15837 (casinh_test): Add more tests.
15838 * sysdeps/i386/fpu/libm-test-ulps: Update.
15839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15840
15841 2012-03-07 Ulrich Drepper <drepper@gmail.com>
15842
15843 * po/zh_TW.po: Update from translation team.
15844
15845 * login/Makefile (distribute): Remove variable.
15846 * catgets/Makefile: Likewise.
15847 * mach/Makefile: Likewise.
15848 * malloc/Makefile: Likewise.
15849 * misc/Makefile: Likewise.
15850 * iconv/Makefile: Likewise.
15851 * nscd/Makefile: Likewise.
15852 * hurd/Makefile: Likewise.
15853 * manual/Makefile: Likewise.
15854 * locale/Makefile: Likewise.
15855 * intl/Makefile: Likewise.
15856 * conform/Makefile: Likewise.
15857 * nss/Makefile: Likewise.
15858 * time/Makefile: Likewise.
15859 * soft-fp/Makefile: Likewise.
15860 * dirent/Makefile: Likewise.
15861 * gmon/Makefile: Likewise.
15862 * po/Makefile: Likewise.
15863 * rt/Makefile: Likewise.
15864 * socket/Makefile: Likewise.
15865 * math/Makefile: Likewise.
15866 * signal/Makefile: Likewise.
15867 * debug/Makefile: Likewise.
15868 * elf/Makefile: Likewise.
15869 * timezone/Makefile: Likewise.
15870 * stdlib/Makefile: Likewise.
15871 * iconvdata/Makefile: Likewise.
15872 * sunrpc/Makefile: Likewise.
15873 * io/Makefile: Likewise.
15874 * argp/Makefile: Likewise.
15875 * inet/Makefile: Likewise.
15876 * hesiod/Makefile: Likewise.
15877 * grp/Makefile: Likewise.
15878 * csu/Makefile: Likewise.
15879 * wctype/Makefile: Likewise.
15880 * crypt/Makefile: Likewise.
15881 * libio/Makefile: Likewise.
15882 * string/Makefile: Likewise.
15883 * nis/Makefile: Likewise.
15884 * resolv/Makefile: Likewise.
15885 * stdio-common/Makefile: Likewise.
15886 * wcsmbs/Makefile: Likewise.
15887 * dlfcn/Makefile: Likewise.
15888 * posix/Makefile: Likewise.
15889
15890 [BZ #6959]
15891 * timezone/Makefile: Don't install timezone files, just the programs
15892 and scripts.
15893
15894 2012-03-06 Ulrich Drepper <drepper@gmail.com>
15895
15896 * nss/databases.def: Add missing gshadow entry.
15897
15898 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15899
15900 2012-03-06 Marek Polacek <polacek@redhat.com>
15901
15902 [BZ #13726]
15903 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15904 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15905 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15906 * stdio-common/tst-long-dbl-fphex.c: New file.
15907
15908 2012-03-06 David S. Miller <davem@davemloft.net>
15909
15910 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15911 (set_obp_int): New function.
15912 (get_obp_int): New function.
15913 (__get_clockfreq_via_dev_openprom): Likewise.
15914 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15915 Avoid unused variable warnings on 'val' and use builtin_expect.
15916 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15917 __builtin_expect.
15918 (INLINE_CLONE_SYSCALL): Likewise.
15919
15920 2012-03-05 David S. Miller <davem@davemloft.net>
15921
15922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15923
15924 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15925
15926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15927
15928 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15929 only for |x| >= 40.
15930 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15931
15932 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
15933
15934 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15935 Replace gettimeofday with __vdso_gettimeofday.
15936
15937 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15938 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15939 __vdso_clock_gettime and __vdso_getcpu.
15940
15941 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15942 time with __vdso_time.
15943
15944 2012-03-05 Joseph Myers <joseph@codesourcery.com>
15945
15946 * manual/lang.texi (size_t): Note types to which size_t may be
15947 equivalent with the GNU C Library, but do not describe when
15948 differences between them are significant.
15949
15950 2012-03-05 Andreas Jaeger <aj@suse.de>
15951
15952 * sysdeps/i386/fpu/libm-test-ulps: Update.
15953
15954 2012-03-05 Joseph Myers <joseph@codesourcery.com>
15955
15956 [BZ #3976]
15957 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15958 (__ieee754_pow): Save and restore rounding mode and use
15959 round-to-nearest for main computations.
15960 * math/libm-test.inc (pow_test_tonearest): New function.
15961 (pow_test_towardzero): Likewise.
15962 (pow_test_downward): Likewise.
15963 (pow_test_upward): Likewise.
15964 (main): Call the new functions.
15965 * sysdeps/i386/fpu/libm-test-ulps: Update.
15966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15967
15968 [BZ #3976]
15969 * math/libm-test.inc (cosh_test_tonearest): New function.
15970 (cosh_test_towardzero): Likewise.
15971 (cosh_test_downward): Likewise.
15972 (cosh_test_upward): Likewise.
15973 (sinh_test_tonearest): Likewise.
15974 (sinh_test_towardzero): Likewise.
15975 (sinh_test_downward): Likewise.
15976 (sinh_test_upward): Likewise.
15977 (main): Call the new functions.
15978 * sysdeps/i386/fpu/libm-test-ulps: Update.
15979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15980
15981 2012-03-05 Tom de Vries <tom@codesourcery.com>
15982
15983 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15984 default stack guard is set in last bytes.
15985 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15986
15987 2012-03-05 Kees Cook <keescook@chromium.org>
15988
15989 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15990
15991 [BZ #13656]
15992 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15993 possibly allocate from heap instead of stack.
15994 * stdio-common/bug-vfprintf-nargs.c: New file.
15995 * stdio-common/Makefile (tests): Add nargs overflow test.
15996
15997 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15998
15999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16000
16001 2012-03-03 Marek Polacek <polacek@redhat.com>
16002
16003 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16004 * math/math_private.h: Likewise.
16005 * stdlib/tst-strtod.c: Likewise.
16006 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16007 * sysdeps/x86_64/bits/atomic.h: Likewise.
16008
16009 2012-03-02 David S. Miller <davem@davemloft.net>
16010
16011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16015 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16016 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16017 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16018 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16019
16020 2012-03-02 Roland McGrath <roland@hack.frob.com>
16021
16022 [BZ #13792]
16023 * manual/examples/README: New file, says the example source files
16024 can be used under GPL>=2.
16025 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16026 line containing just "*/".
16027 * manual/examples/add.c: Add copyright header (GPL>=2).
16028 * manual/examples/argp-ex1.c: Likewise.
16029 * manual/examples/argp-ex2.c: Likewise.
16030 * manual/examples/argp-ex3.c: Likewise.
16031 * manual/examples/argp-ex4.c: Likewise.
16032 * manual/examples/atexit.c: Likewise.
16033 * manual/examples/db.c: Likewise.
16034 * manual/examples/dir.c: Likewise.
16035 * manual/examples/dir2.c: Likewise.
16036 * manual/examples/execinfo.c: Likewise.
16037 * manual/examples/filecli.c: Likewise.
16038 * manual/examples/filesrv.c: Likewise.
16039 * manual/examples/fmtmsgexpl.c: Likewise.
16040 * manual/examples/genpass.c: Likewise.
16041 * manual/examples/inetcli.c: Likewise.
16042 * manual/examples/inetsrv.c: Likewise.
16043 * manual/examples/isockad.c: Likewise.
16044 * manual/examples/longopt.c: Likewise.
16045 * manual/examples/memopen.c: Likewise.
16046 * manual/examples/memstrm.c: Likewise.
16047 * manual/examples/mkfsock.c: Likewise.
16048 * manual/examples/mkisock.c: Likewise.
16049 * manual/examples/mygetpass.c: Likewise.
16050 * manual/examples/pipe.c: Likewise.
16051 * manual/examples/popen.c: Likewise.
16052 * manual/examples/rprintf.c: Likewise.
16053 * manual/examples/search.c: Likewise.
16054 * manual/examples/select.c: Likewise.
16055 * manual/examples/setjmp.c: Likewise.
16056 * manual/examples/sigh1.c: Likewise.
16057 * manual/examples/sigusr.c: Likewise.
16058 * manual/examples/stpcpy.c: Likewise.
16059 * manual/examples/strdupa.c: Likewise.
16060 * manual/examples/strftim.c: Likewise.
16061 * manual/examples/strncat.c: Likewise.
16062 * manual/examples/subopt.c: Likewise.
16063 * manual/examples/swapcontext.c: Likewise.
16064 * manual/examples/termios.c: Likewise.
16065 * manual/examples/testopt.c: Likewise.
16066 * manual/examples/testpass.c: Likewise.
16067 * manual/examples/timeval_subtract.c: Likewise.
16068
16069 [BZ #13792]
16070 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16071 function to ...
16072 * manual/timeval_subtract.c.texi: ... here, new file.
16073
16074 2012-03-02 David S. Miller <davem@davemloft.net>
16075
16076 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16077
16078 2012-03-02 Joseph Myers <joseph@codesourcery.com>
16079
16080 [BZ #3976]
16081 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16082 (__sin): Save and restore rounding mode and use round-to-nearest
16083 for all computations.
16084 (__cos): Save and restore rounding mode and use round-to-nearest
16085 for all computations.
16086 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16087 <fenv.h>.
16088 (tan): Save and restore rounding mode and use round-to-nearest for
16089 all computations.
16090 * math/libm-test.inc (cos_test_tonearest): New function.
16091 (cos_test_towardzero): Likewise.
16092 (cos_test_downward): Likewise.
16093 (cos_test_upward): Likewise.
16094 (sin_test_tonearest): Likewise.
16095 (sin_test_towardzero): Likewise.
16096 (sin_test_downward): Likewise.
16097 (sin_test_upward): Likewise.
16098 (tan_test_tonearest): Likewise.
16099 (tan_test_towardzero): Likewise.
16100 (tan_test_downward): Likewise.
16101 (tan_test_upward): Likewise.
16102 (main): Call the new functions.
16103 * sysdeps/i386/fpu/libm-test-ulps: Update.
16104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16105
16106 [BZ #10135]
16107 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16108 small n, then large n, before computing and testing k+n.
16109 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16111 Likewise.
16112 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16113 Likewise.
16114 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16115 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16116 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16117 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16118 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16119 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16121 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16122 * math/libm-test.inc (scalbn_test): Add more tests.
16123 (scalbln_test): Likewise.
16124
16125 * manual/filesys.texi (mode_t): Describe constraints on size and
16126 signedness, not exact equivalence to a particular type.
16127 (ino_t): Likewise.
16128 (ino64_t): Likewise.
16129 (dev_t): Likewise.
16130 (nlink_t): Likewise.
16131 (blkcnt_t): Likewise.
16132 (blkcnt64_t): Likewise.
16133 * manual/llio.texi (off_t): Likewise.
16134
16135 [BZ #3976]
16136 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16137 (__ieee754_exp): Save and restore rounding mode and use
16138 round-to-nearest for all computations.
16139 * math/libm-test.inc (exp_test_tonearest): New function.
16140 (exp_test_towardzero): Likewise.
16141 (exp_test_downward): Likewise.
16142 (exp_test_upward): Likewise.
16143 (main): Call the new functions.
16144 * sysdeps/i386/fpu/libm-test-ulps: Update.
16145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16146
16147 2012-03-01 Chris Demetriou <cgd@google.com>
16148
16149 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16150 have predictable order.
16151
16152 2012-03-01 David S. Miller <davem@davemloft.net>
16153
16154 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16155
16156 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16157 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16158 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16159 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16160
16161 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16162 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16163 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16165 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16166 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16167 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16168 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16169 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16170
16171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16172
16173 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16174 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16175 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16176
16177 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16178 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16179 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16180 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16181 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16183 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16184 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16185 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16186 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16187 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16188 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16189 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16190 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16191 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16193 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16194 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16195 * sysdeps/sparc/elf/configure: Regenerated.
16196
16197 2012-03-01 Joseph Myers <joseph@codesourcery.com>
16198
16199 * configure.in (AS, LD): Require binutils 2.20 or later.
16200 * configure: Regenerated.
16201 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16202 as required minimum version.
16203 * INSTALL: Regenerated.
16204
16205 [BZ #2541]
16206 [BZ #4108]
16207 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16208 before squaring exponent.
16209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16210 bottom long double and 27 bits of top long double before squaring
16211 exponent.
16212 * math/libm-test.inc (erfc_test): Add more tests.
16213 * sysdeps/i386/fpu/libm-test-ulps: Update.
16214 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16216
16217 2012-03-01 Kai Tietz <ktietz@redhat.com>
16218
16219 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16220 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16221 containing bit-fields.
16222 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16223 * soft-fp/single.h (_FP_UNION_S): Likewise.
16224 * soft-fp/double.h (_FP_UNION_D): Likewise.
16225
16226 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16227
16228 [BZ #13786]
16229 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16230 not include ../strcmp.S.
16231 [USE_AS_STRNCASECMP_L]: Likewise.
16232 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16233 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16234 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16235 (__strncasecmp_l_ia32): Define as alias to
16236 __strncasecmp_l_nonascii.
16237
16238 [BZ #5794]
16239 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16240 * sysdeps/i386/fpu/libm-test-ulps: Update.
16241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16242
16243 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16245
16246 2012-02-29 Jeff Law <law@redhat.com>
16247
16248 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16249 out of bounds read.
16250
16251 2012-02-29 Marek Polacek <polacek@redhat.com>
16252
16253 [BZ #13706]
16254 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16255 * elf/Makefile: Add rules to run tst-unused-dep.out.
16256
16257 2012-02-28 David S. Miller <davem@davemloft.net>
16258
16259 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16260 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16261 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16262 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16263 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16264 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16265
16266 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16267
16268 * math/libm-test.inc (llround_test): Move one test from
16269 lround_test. Use TEST_f_L in moved test.
16270 (lround_test): Move misplaced test to llround_test. Add testcase
16271 from bug 2561.
16272
16273 2012-02-28 Ulrich Drepper <drepper@gmail.com>
16274
16275 * sysdeps/x86_64/fpu/e_expf.S: New file.
16276 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16277
16278 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16279
16280 [BZ #13637]
16281 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16282 of remain_len that may cause incomplete multi-byte character and
16283 false match.
16284 * posix/bug-regex33.c: New file.
16285 * posix/Makefile (tests): Add bug-regex33.
16286
16287 2012-02-28 Joseph Myers <joseph@codesourcery.com>
16288
16289 * manual/macros.texi: New file.
16290 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16291 * manual/libc.texinfo: Include macros.texi.
16292 * manual/creatute.texi: Likewise.
16293 * manual/install.texi: Likewise.
16294 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16295 @glibcadj{} in references to the GNU C Library.
16296 * manual/charset.texi: Likewise.
16297 * manual/conf.texi: Likewise.
16298 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16299 when not using those macros.
16300 * manual/creature.texi: Likewise.
16301 * manual/crypt.texi: Likewise.
16302 * manual/errno.texi: Likewise.
16303 * manual/filesys.texi: Likewise.
16304 * manual/header.texi: Likewise.
16305 * manual/install.texi: Likewise.
16306 * manual/intro.texi: Likewise.
16307 * manual/io.texi: Likewise.
16308 * manual/job.texi: Likewise.
16309 * manual/lang.texi: Likewise.
16310 * manual/libc.texiinfo: Likewise.
16311 * manual/llio.texi: Likewise.
16312 * manual/locale.texi: Likewise.
16313 * manual/maint.texi: Likewise.
16314 * manual/math.texi: Likewise.
16315 * manual/memory.texi: Likewise.
16316 * manual/message.texi: Likewise.
16317 * manual/nss.texi: Likewise.
16318 * manual/pattern.texi: Likewise.
16319 * manual/process.texi: Likewise.
16320 * manual/resource.texi: Likewise.
16321 * manual/search.texi: Likewise.
16322 * manual/setjmp.texi: Likewise.
16323 * manual/signal.texi: Likewise.
16324 * manual/socket.texi: Likewise.
16325 * manual/startup.texi: Likewise.
16326 * manual/stdio.texi: Likewise.
16327 * manual/string.texi: Likewise.
16328 * manual/sysinfo.texi: Likewise.
16329 * manual/syslog.texi: Likewise.
16330 * manual/terminal.texi: Likewise.
16331 * manual/time.texi: Likewise.
16332 * manual/users.texi: Likewise.
16333 * INSTALL: Regenerated.
16334 * NOTES: Regenerated.
16335 * sysdeps/gnu/errlist.c: Regenerated.
16336
16337 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16338
16339 * include/dirent.h: Include <dirstream.h> before
16340 <dirent/dirent.h>.
16341
16342 2012-02-28 David S. Miller <davem@davemloft.net>
16343
16344 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16345 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16346 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16347 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16348
16349 2012-02-27 David S. Miller <davem@davemloft.net>
16350
16351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16353 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16354 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16355
16356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16357 frame pointer instead of stack pointer relative arg slot.
16358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16359 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16360 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16361
16362 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16363
16364 [BZ #3992]
16365 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16366
16367 2012-02-27 David S. Miller <davem@davemloft.net>
16368
16369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16373 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16374 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16375 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16376 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16377
16378 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16379
16380 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16381 later. Allow versions 5-9.
16382 * configure: Regenerated.
16383 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16384 required minimum version and 4.6 as recommended version. Do not
16385 mention bugs in GCC 2.7 and 2.8.
16386 * INSTALL: Regenerated.
16387
16388 2012-02-27 David S. Miller <davem@davemloft.net>
16389
16390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16394 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16395 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16396 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16397 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16398
16399 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16400 manipulate bits before adding and subtracting TWO112[sx].
16401 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16402
16403 2012-02-27 Roland McGrath <roland@hack.frob.com>
16404
16405 [BZ #13775]
16406 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16407 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16408 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16409 being in POSIX, because they are in 1003.1-2008.
16410
16411 * rt/tst-aio.c: Include <fcntl.h>.
16412 * rt/tst-aio7.c: Likewise.
16413 * rt/tst-aio64.c: Likewise.
16414
16415 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16416
16417 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16418
16419 * manual/install.texi (--with-headers): Describe headers as
16420 interface headers, not private headers.
16421 (Specific advice for GNU/Linux systems): Describe use of headers
16422 from "make headers_install", not private headers from older
16423 kernels.
16424 * INSTALL: Regenerated.
16425 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16426 Change to 2.6.19.
16427 * sysdeps/unix/sysv/linux/configure: Regenerated.
16428
16429 * manual/llio.texi (fclean): Remove documentation.
16430
16431 * manual/Makefile (libc-texi-generated): New variable. Include
16432 version.texi.
16433 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16434 $(libc-texi-generated), not duplicated list of files.
16435 (version.texi, stamp-version): New rules.
16436 (realclean): Remove $(libc-texi-generated), not individual files
16437 from that list. Do not remove dir-add.texinfo.
16438 * manual/libc.texinfo: Comment out uses of edition numbers and
16439 references to printed manual. Remove last-updated dates.
16440 (EDITION): Comment out.
16441 (ISBN): Likewise.
16442 (VERSION, UPDATED): Remove.
16443 (version.texi): Include.
16444
16445 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16446
16447 * sysdeps/posix/spawni.c: Include <signal.h>.
16448 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16449 * sysdeps/pthread/aio_fsync.c: Likewise.
16450
16451 2012-02-26 Ulrich Drepper <drepper@gmail.com>
16452
16453 * conform/Makefile (tests): Run only when not cross-compiling and
16454 when fast-check is not defined.
16455
16456 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16457 * conform/data/limits.h-data: Fixes for POSIX2008.
16458 * conform/run-conformtest.sh: Run all tests.
16459 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16460 headers.
16461 * include/bits/dlfcn.h: Likewise.
16462 * include/langinfo.h: Likewise.
16463 * include/monetary.h: Likewise.
16464 * include/sys/poll.h: Likewise.
16465
16466 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16467 for __USE_GNU.
16468 * posix/spawn.h: Define __need_sigset_t.
16469 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16470 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16471 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16472 to get sigevent_t only.
16473 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16474 only for __USE_GNU.
16475 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16476 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16477 process_vm_writev only for __USE_GNU.
16478 * termios/termios.h: Declare tcgetsid also for POSIX2008.
16479
16480 * conform/Makefile: For now ignore errors from run-conformtest.
16481 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16482 POSIX to avoid namespace pollution. Don't prepend headers.
16483 * conform/data/aio.h-data: Fixes for POSIX testing.
16484 * conform/data/fcntl.h-data: Likewise.
16485 * conform/data/glob.h-data: Likewise.
16486 * conform/data/grp.h-data: Likewise.
16487 * conform/data/pthread.h-data: Likewise.
16488 * conform/data/pwd.h-data: Likewise.
16489 * conform/data/signal.h-data: Likewise.
16490 * conform/data/spawn.h-data: Likewise.
16491 * conform/data/stdio.h-data: Likewise.
16492 * conform/data/stdlib.h-data: Likewise.
16493 * conform/data/stropts.h-data: Likewise.
16494 * conform/data/sys/mman.h-data: Likewise.
16495 * conform/data/sys/stat.h-data: Likewise.
16496 * conform/data/sys/types.h-data: Likewise.
16497 * conform/data/sys/wait.h-data: Likewise.
16498 * conform/data/time.h-data: Likewise.
16499 * conform/data/unistd.h-data: Likewise.
16500 * conform/data/utime.h-data: Likewise.
16501
16502 * io/sys/stat.h: fchmod was always in POSIX.
16503 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16504 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16505 * rt/aio.h: Define __need_timespec before including <time.h>.
16506 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16507 struct. Add forward declaration of pthread_attr_t and use it in
16508 sigevent.
16509 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16510 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16511 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16512 always remove CLK_TCK definition.
16513
16514 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16515
16516 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16517
16518 2012-02-25 Ulrich Drepper <drepper@gmail.com>
16519
16520 * conform/run-conformtest.sh: New file.
16521 * conform/Makefile: Run run-conformtest for tests.
16522 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16523 support.
16524
16525 * conform/data/uchar.h-data: New file.
16526 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16527 * conform/data/arpa/inet.h-data: Likewise.
16528 * conform/data/assert.h-data: Likewise.
16529 * conform/data/complex.h-data: Likewise.
16530 * conform/data/cpio.h-data: Likewise.
16531 * conform/data/ctype.h-data: Likewise.
16532 * conform/data/dirent.h-data: Likewise.
16533 * conform/data/dlfcn.h-data: Likewise.
16534 * conform/data/errno.h-data: Likewise.
16535 * conform/data/fcntl.h-data: Likewise.
16536 * conform/data/float.h-data: Likewise.
16537 * conform/data/fmtmsg.h-data: Likewise.
16538 * conform/data/fnmatch.h-data: Likewise.
16539 * conform/data/ftw.h-data: Likewise.
16540 * conform/data/glob.h-data: Likewise.
16541 * conform/data/grp.h-data: Likewise.
16542 * conform/data/iconv.h-data: Likewise.
16543 * conform/data/inttypes.h-data: Likewise.
16544 * conform/data/langinfo.h-data: Likewise.
16545 * conform/data/libgen.h-data: Likewise.
16546 * conform/data/limits.h-data: Likewise.
16547 * conform/data/locale.h-data: Likewise.
16548 * conform/data/math.h-data: Likewise.
16549 * conform/data/monetary.h-data: Likewise.
16550 * conform/data/mqueue.h-data: Likewise.
16551 * conform/data/ndbm.h-data: Likewise.
16552 * conform/data/net/if.h-data: Likewise.
16553 * conform/data/netdb.h-data: Likewise.
16554 * conform/data/netinet/in.h-data: Likewise.
16555 * conform/data/nl_types.h-data: Likewise.
16556 * conform/data/poll.h-data: Likewise.
16557 * conform/data/pthread.h-data: Likewise.
16558 * conform/data/pwd.h-data: Likewise.
16559 * conform/data/regex.h-data: Likewise.
16560 * conform/data/sched.h-data: Likewise.
16561 * conform/data/search.h-data: Likewise.
16562 * conform/data/semaphore.h-data: Likewise.
16563 * conform/data/setjmp.h-data: Likewise.
16564 * conform/data/signal.h-data: Likewise.
16565 * conform/data/spawn.h-data: Likewise.
16566 * conform/data/stdarg.h-data: Likewise.
16567 * conform/data/stdio.h-data: Likewise.
16568 * conform/data/stdlib.h-data: Likewise.
16569 * conform/data/string.h-data: Likewise.
16570 * conform/data/strings.h-data: Likewise.
16571 * conform/data/stropts.h-data: Likewise.
16572 * conform/data/sys/ipc.h-data: Likewise.
16573 * conform/data/sys/mman.h-data: Likewise.
16574 * conform/data/sys/msg.h-data: Likewise.
16575 * conform/data/sys/resource.h-data: Likewise.
16576 * conform/data/sys/select.h-data: Likewise.
16577 * conform/data/sys/sem.h-data: Likewise.
16578 * conform/data/sys/shm.h-data: Likewise.
16579 * conform/data/sys/socket.h-data: Likewise.
16580 * conform/data/sys/stat.h-data: Likewise.
16581 * conform/data/sys/statvfs.h-data: Likewise.
16582 * conform/data/sys/time.h-data: Likewise.
16583 * conform/data/sys/timeb.h-data: Likewise.
16584 * conform/data/sys/times.h-data: Likewise.
16585 * conform/data/sys/types.h-data: Likewise.
16586 * conform/data/sys/uio.h-data: Likewise.
16587 * conform/data/sys/un.h-data: Likewise.
16588 * conform/data/sys/utsname.h-data: Likewise.
16589 * conform/data/sys/wait.h-data: Likewise.
16590 * conform/data/syslog.h-data: Likewise.
16591 * conform/data/tar.h-data: Likewise.
16592 * conform/data/termios.h-data: Likewise.
16593 * conform/data/utime.h-data: Likewise.
16594 * conform/data/utmpx.h-data: Likewise.
16595 * conform/data/varargs.h-data: Likewise.
16596 * conform/data/wchar.h-data: Likewise.
16597 * conform/data/wctype.h-data: Likewise.
16598 * conform/data/wordexp.h-data: Likewise.
16599
16600 * include/stropts.h: New file.
16601 * include/uchar.h: New file.
16602 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16603 * include/assert.h: Likewise.
16604 * include/ctype.h: Likewise.
16605 * include/dirent.h: Likewise.
16606 * include/dlfcn.h: Likewise.
16607 * include/fcntl.h: Likewise.
16608 * include/fnmatch.h: Likewise.
16609 * include/glob.h: Likewise.
16610 * include/grp.h: Likewise.
16611 * include/libio.h: Likewise.
16612 * include/locale.h: Likewise.
16613 * include/math.h: Likewise.
16614 * include/net/if.h: Likewise.
16615 * include/netdb.h: Likewise.
16616 * include/netinet/in.h: Likewise.
16617 * include/pthread.h: Likewise.
16618 * include/pwd.h: Likewise.
16619 * include/regex.h: Likewise.
16620 * include/sched.h: Likewise.
16621 * include/search.h: Likewise.
16622 * include/setjmp.h: Likewise.
16623 * include/signal.h: Likewise.
16624 * include/stdio.h: Likewise.
16625 * include/stdlib.h: Likewise.
16626 * include/string.h: Likewise.
16627 * include/sys/cdefs.h: Likewise.
16628 * include/sys/mman.h: Likewise.
16629 * include/sys/msg.h: Likewise.
16630 * include/sys/resource.h: Likewise.
16631 * include/sys/select.h: Likewise.
16632 * include/sys/socket.h: Likewise.
16633 * include/sys/stat.h: Likewise.
16634 * include/sys/statvfs.h: Likewise.
16635 * include/sys/time.h: Likewise.
16636 * include/sys/times.h: Likewise.
16637 * include/sys/uio.h: Likewise.
16638 * include/sys/utsname.h: Likewise.
16639 * include/sys/wait.h: Likewise.
16640 * include/termios.h: Likewise.
16641 * include/time.h: Likewise.
16642 * include/ulimit.h: Likewise.
16643 * include/unistd.h: Likewise.
16644 * include/utime.h: Likewise.
16645 * include/wchar.h: Likewise.
16646 * include/wctype.h: Likewise.
16647 * include/wordexp.h: Likewise.
16648
16649 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16650
16651 * time/time.h: TIME_UTC must be a macro.
16652 Make timespec_get available for ISO C11 only as well.
16653
16654 2012-02-24 Ulrich Drepper <drepper@gmail.com>
16655
16656 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16657 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16658
16659 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16660
16661 * configure.in: Use -o not -a in test for unsupported multi-arch.
16662
16663 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16664
16665 * manual/texinfo.tex: Update to version 2012-01-19.16.
16666
16667 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16668
16669 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16670
16671 2012-02-24 Roland McGrath <roland@hack.frob.com>
16672
16673 [BZ #13738]
16674 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16675 * manual/fdl-1.3.texi: New file.
16676 * manual/fdl-1.1.texi: File removed.
16677
16678 [BZ #13738]
16679 * manual/libc.texinfo (FDL_VERSION): New @set.
16680 Use it for mention of FDL in cover text.
16681 (Documentation License): Use it in @include file name.
16682
16683 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16684 Roland McGrath <roland@hack.frob.com>
16685
16686 [BZ #5461]
16687 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16688 not LONG_LONG_MAX and LONG_LONG_MIN.
16689 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16690 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16691 name.
16692 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16693
16694 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16695
16696 [BZ #2547]
16697 [BZ #11365]
16698 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16699 manipulate bits before adding and subtracting TWO23[sx].
16700 * math/libm-test.inc (nearbyint_test): Add more tests.
16701
16702 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16703
16704 [BZ #2548]
16705 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16706 bits before adding and subtracting TWO23[sx].
16707 * math/libm-test.inc (rint_test): Add more tests.
16708 (rint_test_tonearest): Likewise.
16709 (rint_test_towardzero): Likewise.
16710 (rint_test_downward): Likewise.
16711 (rint_test_upward: Likewise.
16712
16713 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16714
16715 [BZ #10110]
16716 * include/stdc-predef.h: New file. Extracted from features.h.
16717 * include/features.h: Include stdc-predef.h.
16718 * Makefile (headers): Add stdc-predef.h.
16719 * CONFORMANCE (Compiler limitations): Update.
16720
16721 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16722
16723 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16724
16725 2012-02-21 David S. Miller <davem@davemloft.net>
16726
16727 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16728 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16729
16730 2012-02-20 David S. Miller <davem@davemloft.net>
16731
16732 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16733 using a normal save/restore sequence, rather than allocating a
16734 dummy stack frame just to store a frame pointer and restore.
16735 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16736
16737 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16738
16739 * manual/install.texi: Fix stray word in line-wrapped comment.
16740
16741 2012-02-20 David S. Miller <davem@davemloft.net>
16742
16743 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16744 both binutils and gcc support GOTDATA.
16745
16746 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16747 "rd %pc" in the PIC register setup sequences.
16748
16749 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16750 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16751 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16752 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16753 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16755 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16758 (SYSCALL_ERROR_HANDLER): Likewise.
16759 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16760 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16761 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16762 (SYSCALL_ERROR_HANDLER): Likewise.
16763
16764 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16765 (HAVE_GCC_GOTDATA): New.
16766 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16767 relocation support in both binutils and gcc.
16768 * sysdeps/sparc/elf/configure: Regenerate.
16769
16770 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16771 * sysdeps/sparc/sparc32/elf/configure: Delete.
16772 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16773 * sysdeps/sparc/sparc64/elf/configure: Delete.
16774 * sysdeps/sparc/elf/configure.in: New file.
16775 * sysdeps/sparc/elf/configure: Generate.
16776
16777 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16778 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16779 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16780 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16781 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16782
16783 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16784
16785 * manual/install.texi: Do not mention specific glibc version
16786 numbers.
16787 * manual/libc.texinfo (VERSION, UPDATED): Update.
16788 (@copying): Use @copyright{} and range of years.
16789
16790 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16791
16792 [BZ #13695]
16793 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16794 [crti.S not in sysdirs] (generated): Do not append.
16795 [crti.S not in sysdirs] (omit-deps): Likewise.
16796 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16797 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16798 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16799 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16800 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16801 Likewise.
16802 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16803 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16804 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16805 * csu/defs.awk: Remove file.
16806 * sysdeps/generic/initfini.c: Likewise.
16807 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16808 variable.
16809 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16810 Likewise.
16811
16812 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16813
16814 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16815 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16816 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16818 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16819 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16820 <bits/epoll.h>.
16821 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16822 (__EPOLL_PACKED): Define to empty if not defined by
16823 <bits/epoll.h>.
16824 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16826 bits/epoll.h.
16827
16828 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16829
16830 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16831 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16832 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16833 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16834 <bits/timerfd.h>.
16835 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16837 bits/timerfd.h.
16838
16839 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16840
16841 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16842 in C locale.
16843 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16844 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16845 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16847
16848 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16849
16850 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16851 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16852
16853 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16854
16855 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16856 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16857 defined.
16858 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16859 Likewise.
16860 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16861 entry for 2.16.
16862
16863 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16864
16865 * math/w_acos.c: Use non-signaling floating-point comparisons.
16866 * math/w_acosf.c: Likewise.
16867 * math/w_acosh.c: Likewise.
16868 * math/w_acoshf.c: Likewise.
16869 * math/w_acoshl.c: Likewise.
16870 * math/w_acosl.c: Likewise.
16871 * math/w_asin.c: Likewise.
16872 * math/w_asinf.c: Likewise.
16873 * math/w_asinl.c: Likewise.
16874 * math/w_atanh.c: Likewise.
16875 * math/w_atanhf.c: Likewise.
16876 * math/w_atanhl.c: Likewise.
16877 * math/w_exp2.c: Likewise.
16878 * math/w_exp2f.c: Likewise.
16879 * math/w_exp2l.c: Likewise.
16880 * math/w_j0.c: Likewise.
16881 * math/w_j0f.c: Likewise.
16882 * math/w_j0l.c: Likewise.
16883 * math/w_j1.c: Likewise.
16884 * math/w_j1f.c: Likewise.
16885 * math/w_j1l.c: Likewise.
16886 * math/w_jn.c: Likewise.
16887 * math/w_jnf.c: Likewise.
16888 * math/w_log.c: Likewise.
16889 * math/w_log10.c: Likewise.
16890 * math/w_log10f.c: Likewise.
16891 * math/w_log10l.c: Likewise.
16892 * math/w_log2.c: Likewise.
16893 * math/w_log2f.c: Likewise.
16894 * math/w_log2l.c: Likewise.
16895 * math/w_logf.c: Likewise.
16896 * math/w_logl.c: Likewise.
16897 * math/w_sqrt.c: Likewise.
16898 * math/w_sqrtf.c: Likewise.
16899 * math/w_sqrtl.c: Likewise.
16900 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16901 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16902 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16903 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16904 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16905
16906 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16907
16908 [BZ #9739]
16909 * manual/string.texi (strnlen): Use correct parameter name in
16910 equivalent expression.
16911
16912 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16913
16914 [BZ #11174]
16915 * manual/users.texi (seteuid): Consistently use neweuid for
16916 argument name.
16917
16918 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16919
16920 [BZ #13704]
16921 * manual/nss.texi (Services in the NSS configuration): Correct
16922 list of services in example configuration file.
16923
16924 2012-02-19 Nick Bowler <nbowler@draconx.ca>
16925
16926 [BZ #11322]
16927 * manual/arith.texi: Remove statements about negative zero
16928 behaving identically to zero.
16929
16930 2012-02-18 Joseph Myers <joseph@codesourcery.com>
16931
16932 [BZ #5993]
16933 * manual/install.texi: Do not document upgrading from libc5.
16934
16935 2012-02-18 Joseph Myers <joseph@codesourcery.com>
16936
16937 [BZ #4596]
16938 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16939
16940 2012-02-18 David S. Miller <davem@davemloft.net>
16941
16942 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16943 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16944 %o7 across the call.
16945 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16946 instead.
16947 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16948 SETUP_PIC_REG_LEAF.
16949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16950 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16951 * sysdeps/sparc/crtn.S: Likewise.
16952
16953 2012-02-17 Ulrich Drepper <drepper@gmail.com>
16954
16955 * aout/Makefile: Remove.
16956
16957 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16958
16959 [BZ #13058]
16960 * manual/examples/argp-ex1.c (main): Format definition in GNU
16961 style.
16962 * manual/examples/argp-ex2.c (main): Likewise.
16963 * manual/examples/argp-ex3.c (main): Likewise.
16964 * manual/examples/argp-ex4.c (main): Likewise.
16965 * manual/examples/longopt.c (main): Use new-style prototype
16966 definition.
16967 * manual/examples/strncat.c (main): Specify return type and use
16968 (void) for arguments.
16969 * manual/examples/subopt.c (main): Use char **argv argument.
16970
16971 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16972
16973 [BZ #5077]
16974 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16975 rounding modes.
16976
16977 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16978
16979 [BZ #6907]
16980 * manual/string.texi (strchr): Change when strchrnul is
16981 recommended.
16982
16983 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16984
16985 [BZ #174]
16986 * manual/locale.texi (setlocale): Document LOCPATH.
16987
16988 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16989
16990 [BZ #10210]
16991 * manual/process.texi (execle): Move @dots{} before last argument.
16992
16993 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
16994
16995 [BZ #12047]
16996 * manual/charset.texi (Generic Charset Conversion): Fix typo
16997 (LC_TYPE -> LC_CTYPE).
16998
16999 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17000
17001 [BZ #5805]
17002 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17003 (scalbnf): Likewise.
17004 (scalbnl): Likewise.
17005 (scalbln): Likewise.
17006 (scalblnf): Likewise.
17007 (scalblnl): Likewise.
17008 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17009 (vwarnx): Likewise.
17010 (verr): Likewise.
17011 (verrx): Likewise.
17012 * manual/filesys.texi (telldir): Use braces around return type.
17013 * manual/llio.texi (mmap): Add space after comma.
17014 (mmap64): Likewise.
17015 * manual/math.texi (jn): Use @var{} on parameter names.
17016 (jnf): Likewise.
17017 (jnl): Likewise.
17018 (yn): Likewise.
17019 (ynf): Likewise.
17020 (ynl): Likewise.
17021 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17022 line.
17023 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17024 "...".
17025 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17026 (sched_get_priority_max): Likewise.
17027 * manual/signal.texi (sigvec): Add space after comma.
17028 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17029 names.
17030 (if_indextoname): Likewise.
17031 (if_freenameindex): Likewise.
17032 (sendto): Use ',' instead of '.' in prototype.
17033 * manual/startup.texi (syscall): Use @dots{} instead of literal
17034 "...".
17035 * manual/stdio.texi (__fpending): Separate initial words of
17036 paragraph from @deftypefun line.
17037 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17038 "...".
17039 (vsyslog): Use @var{} on parameter names.
17040 * manual/terminal.texi (stty): Use @var{} on parameter names.
17041 * manual/users.texi (getutmp): Use @var{} on parameter names.
17042 (getutmpx): Likewise.
17043
17044 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17045
17046 [BZ #6884]
17047 * manual/stdio.texi (fopen): Fix typos in description of
17048 ",ccs=STRING".
17049
17050 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17051
17052 [BZ #4026]
17053 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17054 get clock_id definition.
17055
17056 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
17057
17058 [BZ #4822]
17059 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17060 (madvise): Cast every argument to void on its own.
17061
17062 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17063
17064 [BZ #9902]
17065 * manual/startup.texi (Exit Status): Fix typo.
17066
17067 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17068
17069 [BZ #10140]
17070 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17071 * manual/examples/argp-ex2.c: Likewise.
17072 * manual/examples/argp-ex3.c: Likewise.
17073
17074 2012-02-16 Richard Henderson <rth@redhat.com>
17075
17076 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17077 * sysdeps/s390/s390-32/initfini.c: Remove.
17078 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17079 * sysdeps/s390/s390-64/initfini.c: Remove.
17080
17081 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17082
17083 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17084 compiler output for sysdeps/generic/initfini.c.
17085 * sysdeps/sh/elf/initfini.c: Remove file.
17086
17087 2012-02-16 David S. Miller <davem@davemloft.net>
17088
17089 [BZ #11494]
17090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17091
17092 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17093 * sysdeps/sparc/crti.S: New file.
17094 * sysdeps/sparc/crtn.S: New file.
17095 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17096 * sysdeps/sparc/sparc64/Makefile: Likewise.
17097
17098 2012-02-15 Mike Frysinger <vapier@gentoo.org>
17099
17100 [BZ #3335]
17101 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17102
17103 2012-02-15 Roland McGrath <roland@hack.frob.com>
17104
17105 [BZ #4822]
17106 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17107
17108 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17109 (write, read, close): Likewise.
17110 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17111
17112 2012-02-15 Joseph Myers <joseph@codesourcery.com>
17113
17114 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17115 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17116 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17117 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17118 <bits/signalfd.h>.
17119 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17121 bits/signalfd.h.
17122
17123 2012-02-14 Marek Polacek <polacek@redhat.com>
17124
17125 * sysdeps/x86_64/crti.S: New file.
17126 * sysdeps/x86_64/crtn.S: New file.
17127 * sysdeps/x86_64/elf/initfini.c: Remove file.
17128
17129 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17130
17131 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17132 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17133 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17134 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17135 <bits/inotify.h>.
17136 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17138 bits/inotify.h.
17139
17140 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17141
17142 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17143 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17144 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17145 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17146 <bits/eventfd.h>.
17147 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17149 bits/eventfd.h.
17150
17151 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17152
17153 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17154 __feraiseexcept instead of feraiseexcept.
17155
17156 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17157 nanosleep invocations.
17158 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17159 strings, and add error checking for a nanosleep invocations.
17160
17161 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17162
17163 Replace FSF snail mail address with URLs, as per GNU coding standards.
17164 Most of the snail mail addresses were wrong anyway, and omitting
17165 them makes the source code easier to maintain. Almost all of the
17166 changes are to license notices and to locale LC_IDENTIFICATION
17167 addresses, except for this one:
17168 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17169 not its snail mail address.
17170
17171 2012-02-09 Richard Henderson <rth@twiddle.net>
17172
17173 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17174 of kernel-features.h.
17175
17176 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17177
17178 2012-02-08 Marek Polacek <polacek@redhat.com>
17179
17180 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17181 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17182 * sysdeps/gnu/_G_config.h: Likewise.
17183 * sysdeps/generic/_G_config.h: Likewise.
17184
17185 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17186
17187 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17188 tests.
17189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17190
17191 * sysdeps/powerpc/powerpc32/crti.S: New file.
17192 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17193 * sysdeps/powerpc/powerpc64/crti.S: New file.
17194 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17195
17196 * Makeconfig (have-initfini): Don't set.
17197 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17198 * configure.in (nopic_initfini): Don't substitute.
17199 * config.h.in (HAVE_INITFINI): Don't #undef.
17200 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17201 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17202
17203 2012-02-08 Joseph Myers <joseph@codesourcery.com>
17204
17205 Support crti.S and crtn.S provided directly by architectures.
17206 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17207 [crti.S in sysdirs] (omit-deps): Likewise.
17208 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17209 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17210 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17211 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17212 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17213 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17214 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17215 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17216 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17217 compiler output for sysdeps/generic/initfini.c.
17218 * sysdeps/i386/elf/Makefile: Remove file.
17219 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17220
17221 2012-02-07 Marek Polacek <polacek@redhat.com>
17222
17223 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17224 * sysdeps/gnu/_G_config.h: Likewise.
17225 * sysdeps/mach/hurd/_G_config.h: Likewise.
17226
17227 2012-02-07 Marek Polacek <polacek@redhat.com>
17228
17229 * math/Makefile (tests): Add tst-CMPLX2.
17230 * math/tst-CMPLX2.c: New file.
17231
17232 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17233
17234 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17235
17236 * math/libm-test.inc (jn_test): Add missing L suffix.
17237
17238 2012-02-06 Marek Polacek <polacek@redhat.com>
17239
17240 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17241 * sysdeps/i386/fpu/e_powf.S: Likewise.
17242 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17243 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17244 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17245 * sysdeps/i386/fpu/e_pow.S: Likewise.
17246 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17247 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17248 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17249 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17250 * sysdeps/i386/fpu/e_log2.S: Likewise.
17251 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17252 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17253 * sysdeps/i386/fpu/e_powl.S: Likewise.
17254 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17255 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17256 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17257 * sysdeps/i386/fpu/e_logl.S: Likewise.
17258 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17259 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17260 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17261 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17262 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17263 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17264 * sysdeps/i386/fpu/e_log.S: Likewise.
17265 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17266 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17267 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17268 * sysdeps/i386/fpu/e_logf.S: Likewise.
17269 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17270 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17271 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17272 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17273 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17274 * sysdeps/i386/fpu/e_log10.S: Likewise.
17275 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17276 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17277 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17278 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17279 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17280 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17281 * sysdeps/i386/asm-syntax.h: Likewise.
17282 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17283 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17284 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17285 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17286 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17287 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17288 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17289 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17290 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17291 * sysdeps/powerpc/sysdep.h: Likewise.
17292 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17293 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17294
17295 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17296
17297 [BZ #411]
17298 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17299
17300 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17301
17302 * sysdeps/i386/sysdep.h: Include <features.h>.
17303 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17304 version.
17305
17306 2012-02-05 Joseph Myers <joseph@codesourcery.com>
17307
17308 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17309 Define.
17310 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17311 LOAD_PIC_REG_STR.
17312
17313 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17314
17315 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17316 (SETUP_PIC_REG): Use GET_PC_THUNK.
17317 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17318 macro.
17319
17320 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17321
17322 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17323 for non-PIC compilation.
17324 (SETUP_PIC_REG): Add .p2align directive.
17325 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17326 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17327 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17328 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17329 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17330 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17331 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17332 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17333 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17334 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17335 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17336 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17337 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17338 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17339 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17340 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17341 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17342 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17343 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17344 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17345 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17346 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17347 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17348 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17349 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17351 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17352 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17353 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17354 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17355 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17356 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17357 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17358 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17359 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17360 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17361 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17362 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17363 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17364 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17365 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17366
17367 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17368
17369 * math/tst-CMPLX.c: Include <stdio.h>.
17370
17371 2012-01-31 Joseph Myers <joseph@codesourcery.com>
17372
17373 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17374 float.
17375 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17376 * sysdeps/sparc/bits/mathdef.h: Likewise.
17377
17378 2012-01-31 Marek Polacek <polacek@redhat.com>
17379
17380 * libio/libio.h: Don't define _PARAMS.
17381 * locale/programs/config.h: Don't define PARAMS.
17382 * stdlib/strtol_l.c: Likewise.
17383 (__strtol_l): Remove PARAMS from the prototype.
17384
17385 2012-01-31 Ulrich Drepper <drepper@gmail.com>
17386
17387 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17388 names. Just use the correct names. Remove unnecessary wrapper
17389 functions.
17390 * malloc/arena.c: Likewise.
17391 * malloc/hooks.c: Likewise.
17392
17393 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17394 ARENA_TEST says not to. Simplify test for creation of a new arena.
17395 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17396
17397 2012-01-30 Ulrich Drepper <drepper@gmail.com>
17398
17399 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17400 into tail calls.
17401 (update_get_addr): New function.
17402 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17403 GET_ADDR_MODULE parameter.
17404
17405 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17406
17407 * crypt/cert.c: Remove __STDC__ conditionals.
17408 * crypt/crypt-entry.c: Likewise.
17409 * crypt/crypt_util.c: Likewise.
17410 * libio/filedoalloc.c: Likewise.
17411 * libio/fileops.c: Likewise.
17412 * libio/genops.c: Likewise.
17413 * libio/iofclose.c: Likewise.
17414 * libio/iofdopen.c: Likewise.
17415 * libio/iofopen.c: Likewise.
17416 * libio/iofopen64.c: Likewise.
17417 * libio/iogetdelim.c: Likewise.
17418 * libio/iopopen.c: Likewise.
17419 * libio/obprintf.c: Likewise.
17420 * libio/oldfileops.c: Likewise.
17421 * libio/oldiofclose.c: Likewise.
17422 * libio/oldiofdopen.c: Likewise.
17423 * libio/oldiofopen.c: Likewise.
17424 * libio/oldiopopen.c: Likewise.
17425 * libio/wfiledoalloc.c: Likewise.
17426 * libio/wgenops.c: Likewise.
17427 * locale/programs/xmalloc.c: Likewise.
17428 * misc/syslog.c: Likewise.
17429 * stdio-common/xbug.c: Likewise.
17430 * string/memchr.c: Likewise.
17431 * string/memcmp.c: Likewise.
17432 * string/memrchr.c: Likewise.
17433 * string/rawmemchr.c: Likewise.
17434 * sysdeps/posix/getcwd.c: Likewise.
17435 * time/strftime_l.c: Likewise.
17436
17437 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17438
17439 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
17440 * config.make.in (config-cflags-sse2avx): Define.
17441 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17442 Fix typo.
17443
17444 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17445
17446 * scripts/config.guess: Update from upstream config git repository.
17447 * scripts/config.sub: Likewise.
17448
17449 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17450
17451 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17452 (EM_NUM): Update.
17453 (R_TILEPRO_*, R_TILEGX_*): New macros.
17454
17455 * scripts/firstversions.awk: Fix bug in version range handling.
17456
17457 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17458
17459 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17460
17461 * include/sys/epoll.h: New file.
17462 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17463 libc_hidden_def.
17464
17465 2012-01-28 Ulrich Drepper <drepper@gmail.com>
17466
17467 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17468 Avoid unnecessary __WORDSIZE == 64 test.
17469 (fmaxf): Use VEX format if possible.
17470 (fmax): Likewise.
17471 (fminf): Likewise.
17472 (fmin): Likewise.
17473
17474 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17475 * math/math_private.h: Remove libc_fegetround* and
17476 libc_fesetround*.
17477 * sysdeps/i386/configure.in: Check for -msse2avx.
17478 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17479 also if SSE2AVX is defined.
17480 Remove libc_fegetround* and libc_fesetround*.
17481 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17482 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17483 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17484 of HAS_YMM_USABLE.
17485 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17486 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17487 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17488 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17489 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17490
17491 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17492
17493 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17494
17495 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17496 size is not set.
17497 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17498
17499 2012-01-27 Ulrich Drepper <drepper@gmail.com>
17500
17501 [BZ #13618]
17502 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17503 relocation.
17504 * Makeconfig (libm): Define.
17505 * elf/Makefile: Add rules to build and run tst-relsort1.
17506 * elf/tst-relsort1.c: New file.
17507 * elf/tst-relsort1mod1.c: New file.
17508 * elf/tst-relsort1mod2.c: New file.
17509
17510 2012-01-27 Joseph Myers <joseph@codesourcery.com>
17511
17512 * math/s_ldexp.c: Remove __STDC__ conditionals.
17513 * math/s_ldexpf.c: Likewise.
17514 * math/s_ldexpl.c: Likewise.
17515 * math/s_nextafter.c: Likewise.
17516 * math/s_nexttowardf.c: Likewise.
17517 * math/s_significand.c: Likewise.
17518 * math/s_significandf.c: Likewise.
17519 * math/s_significandl.c: Likewise.
17520 * math/w_jnl.c: Likewise.
17521 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17522 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17523 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17524 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17525 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17526 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17530 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17531 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17532 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17533 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17534 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17535 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17536 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17537 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17538 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17539 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17540 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17541 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17542 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17543 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17544 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17545 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17546 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17547 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17548 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17549 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17550 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17551 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17552 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17553 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17554 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17555 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17556 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17557 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17558 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17559 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17560 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17561 * sysdeps/ieee754/k_standard.c: Likewise.
17562 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17563 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17564 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17565 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17566 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17567 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17568 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17571 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17572 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17573 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17574 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17575 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17576 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17577 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17580 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17581 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17582 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17583 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17584 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17585 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17586 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17591 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17592 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17593 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17594 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17595 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17596 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17597 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17598 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17599 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17600 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17601 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17602 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17603 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17604 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17605 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17606 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17607 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17608 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17609 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17610 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17611 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17612 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17613 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17614 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17615 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17616 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17617 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17618 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17619 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17620 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17622 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17623 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17625 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17627 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17628 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17629 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17630 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17631 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17632 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17633 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17634 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17635 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17636 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17637 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17638 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17639 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17640 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17641 * sysdeps/ieee754/s_matherr.c: Likewise.
17642 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17643 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17644 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17645 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17646
17647 2012-01-26 Joseph Myers <joseph@codesourcery.com>
17648
17649 * crypt/md5.h: Remove __STDC__ conditionals.
17650 * libio/libioP.h: Likewise.
17651 * locale/programs/config.h: Likewise.
17652 * sysdeps/generic/sysdep.h: Likewise.
17653 * sysdeps/i386/asm-syntax.h: Likewise.
17654 * sysdeps/s390/asm-syntax.h: Likewise.
17655 * sysdeps/unix/sysdep.h: Likewise.
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17658
17659 2012-01-26 Joseph Myers <joseph@codesourcery.com>
17660
17661 * libio/libio.h: Remove __STDC__ conditionals.
17662 * malloc/obstack.h: Likewise.
17663 * math/complex.h: Likewise.
17664 * math/math.h: Likewise.
17665 * sysdeps/generic/_G_config.h: Likewise.
17666 * sysdeps/gnu/_G_config.h: Likewise.
17667 * sysdeps/mach/hurd/_G_config.h: Likewise.
17668 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17669 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17670 * sysdeps/sparc/bits/mathdef.h: Likewise.
17671
17672 2012-01-26 Ulrich Drepper <drepper@gmail.com>
17673
17674 [BZ #13583]
17675 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
17676 Clean up HAS_* macros.
17677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
17678 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17679 possible.
17680 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17681 HAS_AVX.
17682 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17683 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17684 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17685 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17686 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17687
17688 2012-01-25 Joseph Myers <joseph@codesourcery.com>
17689
17690 * elf/tst-unique3.cc (gets): Remove declaration.
17691 * elf/tst-unique3lib.cc (gets): Likewise.
17692 * elf/tst-unique3lib2.cc (gets): Likewise.
17693 * elf/tst-unique4.cc (gets): Likewise.
17694
17695 2012-01-24 Ulrich Drepper <drepper@gmail.com>
17696
17697 * include/stdio.h: Add C++ protection. Add gets declarations and
17698 definitions.
17699 * debug/tst-chk1.c: Don't declare gets here.
17700 * stdio-common/tst-gets.c: Likewise.
17701
17702 2012-01-24 Joseph Myers <joseph@codesourcery.com>
17703
17704 * posix/glob: Remove directory.
17705
17706 2012-01-24 Joseph Myers <joseph@codesourcery.com>
17707
17708 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17709
17710 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17711
17712 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17713 of the non-standard EPFNOSUPPORT.
17714
17715 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17716
17717 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17718 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17719 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17720
17721 2012-01-21 Ulrich Drepper <drepper@gmail.com>
17722
17723 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17724
17725 2012-01-20 Ulrich Drepper <drepper@gmail.com>
17726
17727 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17728 transient errors.
17729 * nscd/grpcache.c (cache_addgr): Likewise.
17730 * nscd/hstcache.c (cache_addhst): Likewise.
17731 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17732 * nscd/pwdcache.c (cache_addpw): Likewise.
17733 * nscd/servicescache.c (cache_addserv): Likewise.
17734
17735 2012-01-16 Ulrich Drepper <drepper@gmail.com>
17736
17737 * malloc/malloc.c: Various cleanups.
17738 * malloc/hooks.c: Likewise.
17739
17740 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17741 * stdlib/bug-fmtmsg1.c: New file.
17742
17743 * stdlib/fmtmsg.c (init): Add missing unlock.
17744 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17745
17746 2012-01-12 Marek Polacek <polacek@redhat.com>
17747
17748 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17749 and _GNU_SOURCE.
17750
17751 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17752
17753 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17754 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17755 macro to ensure uniqueness of label name.
17756 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17757 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17758
17759 2012-01-11 Ulrich Drepper <drepper@gmail.com>
17760
17761 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17762
17763 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17764 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17765 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17767
17768 2012-01-10 Ulrich Drepper <drepper@gmail.com>
17769
17770 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17771
17772 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17773 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17774 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17775
17776 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17777
17778 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
17779 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17780 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17781 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
17782
17783 * math/bits/math-finite.h: Add ldexp support.
17784
17785 2012-01-10 Marek Polacek <polacek@redhat.com>
17786
17787 * locale/programs/localedef.h (show_archive_content): Add noreturn
17788 attribute.
17789
17790 2012-01-09 Ulrich Drepper <drepper@gmail.com>
17791
17792 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17793
17794 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17795
17796 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17797
17798 * io/Makefile (headers): Add bits/poll2.h.
17799
17800 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17801
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17803 typo #include statement.
17804
17805 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17806
17807 * include/sys/cdefs.h: Define __attribute_alloc_size.
17808 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17809 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17810 * elf/pldd.c: Likewise.
17811 * iconv/iconv_charmap.c: Likewise.
17812 * iconv/iconvconfig.c: Likewise.
17813 * iconv/strtab.c: Likewise.
17814 * locale/programs/locale.c: Likewise.
17815 * locale/programs/localedef.h: Likewise.
17816 * locale/programs/simple-hash.c: Likewise.
17817 * nscd/nscd.h: Likewise.
17818 * nss/makedb.c: Likewise.
17819 * sysdeps/generic/ldconfig.h: Likewise.
17820 * locale/programs/localedef.c: Remove xmalloc prototype.
17821 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17822
17823 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17824
17825 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17826 appropriate.
17827
17828 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17829
17830 * math/Makefile (tests): Add tst-CMPLX.
17831 * math/tst-CMPLX.c: New file.
17832
17833 * math/complex.h (CMPLXL): Fix typo.
17834
17835 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17836 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17837 GLIBC_2.16.
17838 * debug/tst-chk1.c: Add poll and ppoll tests.
17839 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17840 * include/sys/poll.h: Add hidden proto for ppoll.
17841 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17842 * sysdeps/mach/hurd/ppoll.c: Likewise.
17843 * io/ppoll.c: Likewise.
17844 * debug/poll_chk.c: New file.
17845 * debug/ppoll_chk.c: New file.
17846 * include/bits/poll2.h: New file.
17847 * io/bits/poll2.h: New file.
17848
17849 [BZ #1350]
17850 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17851
17852 * configure.in: static is always set to yes. Remove.
17853 * config.make.in: Don't set build-static.
17854 * Makeconfig: Remove use of build-static.
17855 * dlfcn/Makefile: Likewise.
17856 * elf/Makefile: Likewise.
17857 * math/Makefile: Likewise.
17858 * misc/Makefile: Likewise.
17859 * nptl/Makefile: Likewise.
17860 * sysdeps/mach/hurd/Makefile: Likewise.
17861
17862 * configure.in: PWD_P is not used anymore.
17863 * config.make.in: Remove PWD_P entry.
17864
17865 * configure.in: Remove last remnants of RANLIB.
17866 No need to check for signed size_t anymore.
17867 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17868 and IA-64.
17869 Remove __builtin_expect test because we require at least gcc 3.4.
17870 * aclocal.m4: Likewise.
17871
17872 * wcsmbs/mbrtoc16.c: Implement using towc function.
17873 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17874 * wcsmbs/wcsmbsload.c: Likewise.
17875 * iconv/gconv_simple.c: Likewise.
17876 * iconv/gconv_int.h: Likewise.
17877 * iconv/gconv_builtin.h: Likewise.
17878 * iconv/iconv_prog.c: Remove CHAR16 handling.
17879
17880 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17881
17882 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17883
17884 * configure.in: Remove --with-elf and --enable-bounded options.
17885 Dont set base_machine for ia64. More non-ELF conditions removed.
17886 Remove testing and setting of leading underscore information.
17887 * config.make.in (build-bounded): Set to no.
17888 * config.h.in: Remove NO_UNDERSCORES entry.
17889 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17890 them.
17891 * csu/start.c: Remove !NO_UNDERSCORE code.
17892 * locale/localeinfo.h: Likewise.
17893 * sysdeps/generic/machine-gmon.h: Likewise.
17894 * sysdeps/generic/sysdep.h: Likewise.
17895 * sysdeps/i386/sysdep.h: Likewise.
17896 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17897 * sysdeps/mach/sysdep.h: Likewise.
17898 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17899 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17900 * sysdeps/sh/sysdep.h: Likewise.
17901 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17902 * sysdeps/unix/i386/sysdep.S: Likewise.
17903 * sysdeps/unix/sparc/start.c: Likewise.
17904 * sysdeps/unix/sparc/sysdep.S: Likewise.
17905 * sysdeps/unix/sparc/sysdep.h: Likewise.
17906 * sysdeps/unix/start.c: Likewise.
17907 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17908 * sysdeps/x86_64/sysdep.h: Likewise.
17909
17910 2012-01-07 Ulrich Drepper <drepper@gmail.com>
17911
17912 [BZ #13553]
17913 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17914 for non-gcc.
17915 * argp/argp-fmtstream.h: Use const instead __const.
17916 * argp/argp.h: Likewise.
17917 * assert/assert.h: Likewise.
17918 * bits/fenv.h: Likewise.
17919 * bits/sched.h: Likewise.
17920 * bits/sigset.h: Likewise.
17921 * bits/sigthread.h: Likewise.
17922 * catgets/nl_types.h: Likewise.
17923 * conform/data/pthread.h-data: Likewise.
17924 * crypt/crypt-private.h: Likewise.
17925 * crypt/crypt.h: Likewise.
17926 * crypt/crypt_util.c: Likewise.
17927 * ctype/ctype.h: Likewise.
17928 * debug/execinfo.h: Likewise.
17929 * debug/mbsnrtowcs_chk.c: Likewise.
17930 * debug/mbsrtowcs_chk.c: Likewise.
17931 * debug/wcsnrtombs_chk.c: Likewise.
17932 * debug/wcsrtombs_chk.c: Likewise.
17933 * debug/wcstombs_chk.c: Likewise.
17934 * dirent/dirent.h: Likewise.
17935 * dlfcn/dlfcn.h: Likewise.
17936 * elf/neededtest4.c: Likewise.
17937 * grp/grp.h: Likewise.
17938 * gshadow/gshadow.h: Likewise.
17939 * iconv/gconv.h: Likewise.
17940 * iconv/gconv_int.h: Likewise.
17941 * iconv/gconv_simple.c: Likewise.
17942 * iconv/iconv.h: Likewise.
17943 * iconv/loop.c: Likewise.
17944 * iconv/skeleton.c: Likewise.
17945 * include/aio.h: Likewise.
17946 * include/aliases.h: Likewise.
17947 * include/argz.h: Likewise.
17948 * include/arpa/inet.h: Likewise.
17949 * include/assert.h: Likewise.
17950 * include/dirent.h: Likewise.
17951 * include/dlfcn.h: Likewise.
17952 * include/execinfo.h: Likewise.
17953 * include/fcntl.h: Likewise.
17954 * include/fenv.h: Likewise.
17955 * include/glob.h: Likewise.
17956 * include/grp.h: Likewise.
17957 * include/libintl.h: Likewise.
17958 * include/mntent.h: Likewise.
17959 * include/netdb.h: Likewise.
17960 * include/pwd.h: Likewise.
17961 * include/rpc/netdb.h: Likewise.
17962 * include/sched.h: Likewise.
17963 * include/search.h: Likewise.
17964 * include/shadow.h: Likewise.
17965 * include/signal.h: Likewise.
17966 * include/stdio.h: Likewise.
17967 * include/stdlib.h: Likewise.
17968 * include/string.h: Likewise.
17969 * include/sys/socket.h: Likewise.
17970 * include/sys/stat.h: Likewise.
17971 * include/sys/statfs.h: Likewise.
17972 * include/sys/statvfs.h: Likewise.
17973 * include/sys/syslog.h: Likewise.
17974 * include/sys/time.h: Likewise.
17975 * include/sys/uio.h: Likewise.
17976 * include/time.h: Likewise.
17977 * include/unistd.h: Likewise.
17978 * include/utmp.h: Likewise.
17979 * include/wchar.h: Likewise.
17980 * include/wctype.h: Likewise.
17981 * inet/aliases.h: Likewise.
17982 * inet/arpa/inet.h: Likewise.
17983 * inet/netinet/ether.h: Likewise.
17984 * inet/netinet/in.h: Likewise.
17985 * intl/libintl.h: Likewise.
17986 * io/bits/fcntl2.h: Likewise.
17987 * io/fcntl.h: Likewise.
17988 * io/ftw.h: Likewise.
17989 * io/sys/poll.h: Likewise.
17990 * io/sys/stat.h: Likewise.
17991 * io/sys/statfs.h: Likewise.
17992 * io/sys/statvfs.h: Likewise.
17993 * io/utime.h: Likewise.
17994 * libio/bits/stdio.h: Likewise.
17995 * libio/bits/stdio2.h: Likewise.
17996 * libio/libio.h: Likewise.
17997 * libio/libioP.h: Likewise.
17998 * libio/stdio.h: Likewise.
17999 * locale/lc-ctype.c: Likewise.
18000 * locale/locale.h: Likewise.
18001 * login/utmp.h: Likewise.
18002 * malloc/arena.c: Likewise.
18003 * malloc/malloc.c: Likewise.
18004 * malloc/malloc.h: Likewise.
18005 * malloc/mcheck.c: Likewise.
18006 * malloc/mtrace.c: Likewise.
18007 * math/bits/mathcalls.h: Likewise.
18008 * math/fenv.h: Likewise.
18009 * math/math_private.h: Likewise.
18010 * misc/bits/error.h: Likewise.
18011 * misc/bits/syslog.h: Likewise.
18012 * misc/err.h: Likewise.
18013 * misc/error.h: Likewise.
18014 * misc/fstab.h: Likewise.
18015 * misc/mntent.h: Likewise.
18016 * misc/regexp.h: Likewise.
18017 * misc/search.h: Likewise.
18018 * misc/sgtty.h: Likewise.
18019 * misc/sys/mman.h: Likewise.
18020 * misc/sys/syslog.h: Likewise.
18021 * misc/sys/uio.h: Likewise.
18022 * misc/sys/xattr.h: Likewise.
18023 * misc/ttyent.h: Likewise.
18024 * nis/rpcsvc/ypclnt.h: Likewise.
18025 * nss/nss.h: Likewise.
18026 * posix/bits/unistd.h: Likewise.
18027 * posix/fnmatch.h: Likewise.
18028 * posix/glob.h: Likewise.
18029 * posix/sched.h: Likewise.
18030 * posix/spawn.h: Likewise.
18031 * posix/sys/wait.h: Likewise.
18032 * posix/unistd.h: Likewise.
18033 * posix/wordexp.h: Likewise.
18034 * pwd/pwd.h: Likewise.
18035 * resolv/netdb.h: Likewise.
18036 * resource/sys/resource.h: Likewise.
18037 * rt/aio.h: Likewise.
18038 * rt/bits/mqueue2.h: Likewise.
18039 * rt/mqueue.h: Likewise.
18040 * shadow/shadow.h: Likewise.
18041 * signal/signal.h: Likewise.
18042 * socket/send.c: Likewise.
18043 * socket/sendto.c: Likewise.
18044 * socket/sys/socket.h: Likewise.
18045 * stdio-common/printf.h: Likewise.
18046 * stdlib/bits/stdlib.h: Likewise.
18047 * stdlib/fmtmsg.h: Likewise.
18048 * stdlib/monetary.h: Likewise.
18049 * stdlib/stdlib.h: Likewise.
18050 * stdlib/ucontext.h: Likewise.
18051 * streams/stropts.h: Likewise.
18052 * string/argz.h: Likewise.
18053 * string/bits/string2.h: Likewise.
18054 * string/string.h: Likewise.
18055 * string/strings.h: Likewise.
18056 * sunrpc/rpc/auth.h: Likewise.
18057 * sunrpc/rpc/auth_des.h: Likewise.
18058 * sunrpc/rpc/clnt.h: Likewise.
18059 * sunrpc/rpc/netdb.h: Likewise.
18060 * sunrpc/rpc/pmap_clnt.h: Likewise.
18061 * sunrpc/rpc/xdr.h: Likewise.
18062 * sysdeps/generic/inttypes.h: Likewise.
18063 * sysdeps/generic/net/if.h: Likewise.
18064 * sysdeps/generic/sys/swap.h: Likewise.
18065 * sysdeps/gnu/net/if.h: Likewise.
18066 * sysdeps/gnu/utmpx.h: Likewise.
18067 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18068 * sysdeps/i386/i486/bits/string.h: Likewise.
18069 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18070 * sysdeps/s390/bits/string.h: Likewise.
18071 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18072 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18073 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18074 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18075 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18076 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18077 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18078 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18079 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18080 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18081 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18082 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18083 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18084 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18085 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18086 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18087 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18088 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18089 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18090 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18091 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18092 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18093 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18094 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18095 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18096 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18097 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18098 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18099 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18100 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18101 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18102 * sysvipc/sys/ipc.h: Likewise.
18103 * sysvipc/sys/msg.h: Likewise.
18104 * sysvipc/sys/sem.h: Likewise.
18105 * sysvipc/sys/shm.h: Likewise.
18106 * termios/termios.h: Likewise.
18107 * time/sys/time.h: Likewise.
18108 * time/time.h: Likewise.
18109 * wcsmbs/bits/wchar2.h: Likewise.
18110 * wcsmbs/uchar.h: Likewise.
18111 * wcsmbs/wchar.h: Likewise.
18112 * wctype/wctype.h: Likewise.
18113
18114 [BZ #13551]
18115 * Makeconfig: Remove all but ELF support including AIX support.
18116 * Makerules: Likewise.
18117 * config.h.in: Likewise.
18118 * config.make.in: Likewise.
18119 * configure: Likewise.
18120 * configure.in: Likewise.
18121 * csu/Makefile: Likewise.
18122 * csu/version.c: Likewise.
18123 * debug/Makefile: Likewise.
18124 * dlfcn/Makefile: Likewise.
18125 * elf/Makefile: Likewise.
18126 * extra-lib.mk: Likewise.
18127 * iconv/Makefile: Likewise.
18128 * include/libc-symbols.h: Likewise.
18129 * include/shlib-compat.h: Likewise.
18130 * resolv/Makefile: Likewise.
18131 * resolv/res_libc.c: Likewise.
18132 * rt/Makefile: Likewise.
18133 * sysdeps/i386/asm-syntax.h: Likewise.
18134 * sysdeps/i386/sysdep.h: Likewise.
18135 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18136 * sysdeps/mach/sysdep.h: Likewise.
18137 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18138 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18139 * sysdeps/s390/asm-syntax.h: Likewise.
18140 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18141 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18142 * sysdeps/sh/sysdep.h: Likewise.
18143 * sysdeps/unix/sparc/sysdep.h: Likewise.
18144 * sysdeps/wordsize-32/divdi3.c: Likewise.
18145 * sysdeps/x86_64/sysdep.h: Likewise.
18146
18147 * argp/Versions: Remove _argp_unlock_xxx.
18148
18149 [BZ #13559]
18150 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18151 * abilist/libBrokenLocale.abilist: Likewise.
18152 * abilist/libanl.abilist: Likewise.
18153 * abilist/libc.abilist: Likewise.
18154 * abilist/libcrypt.abilist: Likewise.
18155 * abilist/libdl.abilist: Likewise.
18156 * abilist/libm.abilist: Likewise.
18157 * abilist/libnsl.abilist: Likewise.
18158 * abilist/libpthread.abilist: Likewise.
18159 * abilist/libresolv.abilist: Likewise.
18160 * abilist/librt.abilist: Likewise.
18161 * abilist/libthread_db.abilist: Likewise.
18162 * abilist/libutil.abilist: Likewise.
18163 * abilist/libnss_db.abilist: New file.
18164
18165 * scripts/abilist.awk: Add support for indirect functions.
18166
18167 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18168
18169 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18170
18171 * shlib-versions: Remove entries for ports architectures.
18172
18173 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18174 files in ports.
18175 * elf/stackguard-macros.h: Remove support for IA-64.
18176 * elf/tst-auditmod1.c: Likewise.
18177 * sysdeps/generic/ldsodefs.h: Likewise.
18178
18179 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18180 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18181 configure files.
18182
18183 [BZ #13552]
18184 * configure.in: Remove --enable-omitfp support.
18185 * FAQ.in: Adjust.
18186 * config.make.in: Likewise.
18187 * Makeconfig: Likewise.
18188 * manual/install.texi: Likewise.
18189
18190 In case anyone cares, the IA-64 architecture could move to ports.
18191 * sysdeps/ia64/*: Removed.
18192 * sysdeps/unix/sysv/linux/ia64/*: Removed.
18193 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18194
18195 [BZ #13555]
18196 * configure.in: Remove entries for unsupported architectures.
18197
18198 [BZ #13533]
18199 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18200 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18201 routines.
18202 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18203 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18204 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18205 fall back to using wcrtomb.
18206 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18207 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18208 renaming.
18209 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18210 * wcsmbs/tst-c16c32-1.c: New file.
18211
18212 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18213 local variable.
18214
18215 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18216
18217 * elf/tst-unique3.cc: Add explicit declaration of gets.
18218 * elf/tst-unique3lib.cc: Likewise.
18219 * elf/tst-unique3lib2.cc: Likewise.
18220 * elf/tst-unique4.cc: Likewise.
18221
18222 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18223
18224 2012-01-06 Joseph Myers <joseph@codesourcery.com>
18225
18226 [BZ #13566]
18227 * assert/assert.h (static_assert): Don't define for C++.
18228 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18229 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18230
18231 2012-01-03 Ulrich Drepper <drepper@gmail.com>
18232
18233 * iconv/loop.c (single loop): Fix assertion in storing of
18234 remaining bytes.
18235
18236 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18237
18238 2012-01-01 Ulrich Drepper <drepper@gmail.com>
18239
18240 * posix/getconf.c: Update copyright year.
18241 * nss/getent.c: Likewise.
18242 * nss/makedb.c: Likewise.
18243 * iconv/iconvconfig.c: Likewise.
18244 * iconv/iconv_prog.c: Likewise.
18245 * elf/ldconfig.c: Likewise.
18246 * elf/pldd.c: Likewise.
18247 * elf/sotruss.ksh: Likewise.
18248 * catgets/gencat.c: Likewise.
18249 * csu/version.c: Likewise.
18250 * elf/ldd.bash.in: Likewise.
18251 * elf/sprof.c (print_version): Likewise.
18252 * locale/programs/locale.c: Likewise.
18253 * locale/programs/localedef.c: Likewise.
18254 * login/programs/pt_chown.c: Likewise.
18255 * nscd/nscd.c (print_version): Likewise.
18256 * debug/xtrace.sh: Likewise.
18257 * malloc/memusage.sh: Likewise.
18258 * malloc/mtrace.pl: Likewise.
18259 * debug/catchsegv.sh: Likewise.
18260
18261 2011-12-30 Jakub Jelinek <jakub@redhat.com>
18262
18263 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18264 pure attribute.
18265
18266 2011-12-24 Ulrich Drepper <drepper@gmail.com>
18267
18268 [BZ #13533]
18269 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18270 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18271 transformations.
18272 * iconv/gconv_int.h: Likewise.
18273 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18274 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18275 from libc for GLIBC_2.16.
18276 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18277 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18278 * wcsmbs/uchar.h: Really define mbstate_t.
18279 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18280 * wcsmbs/c16rtomb.c: New file.
18281 * wcsmbs/mbrtoc16.c: New file.
18282 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18283 for C/POSIX locale.
18284 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18285 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18286
18287 * wcsmbs/wchar.h: Add missing __restrict.
18288
18289 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18290
18291 [BZ #13532]
18292 * time/Makefile (routines): Add timespec_get.
18293 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18294 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18295 timespec for ISO C11.
18296 * time/timespec_get.c: New file.
18297 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18298 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18299
18300 [BZ #13531]
18301 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18302 * stdlib/stdlib.h: Declare aligned_alloc.
18303 * Versions.def: Add GLIBC_2.16 for libc.
18304 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18305
18306 [BZ 13527]
18307 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18308 ISO C11.
18309
18310 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
18311 code.
18312
18313 [BZ #13528]
18314 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18315
18316 [BZ #13529]
18317 * assert/assert.h (static_assert): Define.
18318
18319 * version.h: Update for 2.16 development version.
18320
18321 [BZ #13526]
18322 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18323 _ISOC11_SOURCE.
18324
18325 * version.h (RELEASE): Bump for 2.15 release.
18326 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18327
18328 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18329 Patch by Marek Polacek <mpolacek@redhat.com>.
18330
18331 * bits/byteswap.h: Protect long long constants with __extension__.
18332 * sysdeps/i386/bits/byteswap.h: Likewise.
18333 * sysdeps/ia64/bits/byteswap.h: Likewise.
18334 * sysdeps/s390/bits/byteswap.h: Likewise.
18335 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18336
18337 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18338
18339 [BZ #13540]
18340 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18341 destination buffer.
18342 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18343
18344 2011-12-23 Marek Polacek <polacek@redhat.com>
18345
18346 * elf/dl-addr.c (determine_info): Add inline keyword.
18347 * elf/tst-auditmod4b.c (check_avx): Likewise.
18348 * elf/tst-auditmod6b.c (check_avx): Likewise.
18349 * elf/tst-auditmod6c.c (check_avx): Likewise.
18350 * elf/tst-auditmod7b.c (check_avx): Likewise.
18351
18352 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18353
18354 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18355 !__SSE_MATH__.
18356
18357 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18358
18359 [BZ #13540]
18360 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18361 processing for last bytes.
18362
18363 2011-08-06 Bruno Haible <bruno@clisp.org>
18364
18365 [BZ #13061]
18366 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18367 U+0385, not to U+1FEE.
18368
18369 [BZ #13062]
18370 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18371 entry for U+00A5 U+0301.
18372
18373 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18374
18375 [BZ #13166]
18376 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18377 buffer for the output is too small.
18378
18379 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18380 optimization.
18381
18382 [BZ #13185]
18383 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18384 SSE flags if possible.
18385
18386 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18387
18388 [BZ #13540]
18389 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18390 processing for last bytes.
18391
18392 2011-12-22 Joseph Myers <joseph@codesourcery.com>
18393
18394 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18395 (syscall-list-default-options, syscall-list-default-condition)
18396 (syscall-list-includes): Define.
18397 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18398 list of ABIs and options and #if conditions for each ABI. Do not
18399 handle common syscalls between ABIs specially.
18400 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18401 Remove.
18402 (syscall-list-variants, syscall-list-32bit-options)
18403 (syscall-list-32bit-condition, syscall-list-64bit-options)
18404 (syscall-list-64bit-condition): Define.
18405 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18406 (syscall-list-variants, syscall-list-32bit-options)
18407 (syscall-list-32bit-condition, syscall-list-64bit-options)
18408 (syscall-list-64bit-condition): Define.
18409 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18410 Remove.
18411 (syscall-list-variants, syscall-list-32bit-options)
18412 (syscall-list-32bit-condition, syscall-list-64bit-options)
18413 (syscall-list-64bit-condition): Define.
18414 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18415 Remove.
18416 (syscall-list-variants, syscall-list-32bit-options)
18417 (syscall-list-32bit-condition, syscall-list-64bit-options)
18418 (syscall-list-64bit-condition): Define.
18419
18420 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18421
18422 * locale/iso-639.def: Add brx entry.
18423
18424 [BZ #13328]
18425 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18426 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18427
18428 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18429 __feraiseexcept_renamed.
18430
18431 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18432
18433 [BZ #13538]
18434 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18435 EPOLLET with unsigned values.
18436 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18438
18439 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18440 to large cancellation.
18441 * math/s_cacoshf.c: Likewise.
18442 * math/s_cacoshl.c: Likewise.
18443
18444 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18445
18446 [BZ #13305]
18447 [BZ #12786]
18448 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18449 * math/s_cacoshf.c: Likewise.
18450 * math/s_cacoshl.c: Likewise.
18451
18452 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18453
18454 [BZ #13439]
18455 * iconv/gconv.h: Define __GCONV_SWAP.
18456 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18457 * iconvdata/utf-16.c: Likewise.
18458 * iconvdata/utf-32.c: Likewise.
18459
18460 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18461
18462 [BZ #13524]
18463 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18464 numerator after shifting it by one limb.
18465
18466 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18467
18468 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18469 under [__USE_EXTERN_INLINES].
18470
18471 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18472
18473 [BZ #13446]
18474 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18475
18476 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18477
18478 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18479 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18480 optimized code.
18481 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18482 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18483 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18484 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18485 for strncasecmp/strncasecmp_l compilation.
18486 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18487 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18488
18489 2011-12-08 Marek Polacek <mpolacek@redhat.com>
18490
18491 [BZ #13484]
18492 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18493 of __asm__.
18494
18495 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18496
18497 [BZ #13506]
18498 * time/tzfile.c (__tzfile_read): Check values from file header.
18499
18500 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18501
18502 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18503 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18504 * powerpc/powerpc32/dl-start.S: Likewise.
18505 * powerpc/powerpc32/elf/start.S: Likewise.
18506 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18507 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18508 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18509 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18510 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18511 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18512 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18513 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18514 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18515 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18516 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18517 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18518 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18519 * powerpc/powerpc32/memset.S: Likewise.
18520 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18521 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18522 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18523 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18524 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18525 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18526 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18527 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18528 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18529 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18530 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18531 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18532 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18533
18534 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18535
18536 * math/libm-test.inc: Added more nearbyint tests.
18537 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18538 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18539 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18541
18542 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18543
18544 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18545 FD_CLOEXEC.
18546
18547 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18548
18549 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18550 Add wcscpy-ssse3 wcscpy-c.
18551 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18552 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18553 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18554 * sysdeps/x86_64/wcschr.S: New file.
18555 * sysdeps/x86_64/wcsrchr.S: New file.
18556 * string/test-strcmp.c: Remove checking of wcscmp function for
18557 wrong alignments.
18558 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18559 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18560 wcsrchr-sse2 wcsrchr-c.
18561 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18562 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18563 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18564 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18565 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18566 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18567 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18568 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18569 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18570 * wcsmbc/wcschr.c (WCSCHR): New macro.
18571
18572 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18573
18574 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18575 * wcsmbs/test-wcsrchr.c: New file.
18576 * string/test-strrchr.c: Add wcsrchr support.
18577 (WIDE): New macro.
18578 * wcsmbs/test-wcscpy.c: New file.
18579 * string/test-strcpy.c: Add wcscpy support.
18580 (WIDE): New macro.
18581
18582 2011-12-10 Ulrich Drepper <drepper@gmail.com>
18583
18584 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18585 the inner loop.
18586
18587 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18588
18589 [BZ #13472]
18590 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18591
18592 2011-12-04 Ulrich Drepper <drepper@gmail.com>
18593
18594 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
18595 Minor optimizations.
18596
18597 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18598 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18599 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18600
18601 2011-12-03 Ulrich Drepper <drepper@gmail.com>
18602
18603 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18604 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18605 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18606 for gcc to avoid warnings.
18607 * inet/Makefile (tests): Add tst-checks.
18608 * inet/tst-checks.c: New file.
18609
18610 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18611 warning.
18612
18613 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18614 __wmemcmp_sse2.
18615
18616 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18617 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18618
18619 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18620
18621 2011-12-02 Ulrich Drepper <drepper@gmail.com>
18622
18623 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18624 problem.
18625
18626 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18627
18628 2011-11-29 Joseph Myers <joseph@codesourcery.com>
18629
18630 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18631 conditional on GCC version.
18632 (__arch_compare_and_exchange_val_8_acq)
18633 (__arch_compare_and_exchange_val_16_acq)
18634 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18635 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18636 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18637
18638 2011-12-02 Joseph Myers <joseph@codesourcery.com>
18639
18640 * sysdeps/sh/backtrace.c: New file.
18641
18642 2011-12-02 Andreas Schwab <schwab@redhat.com>
18643
18644 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18645 parenthesis.
18646
18647 2011-12-01 Andreas Schwab <schwab@redhat.com>
18648
18649 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18650 falling back to utime.
18651
18652 2011-11-30 Andreas Schwab <schwab@redhat.com>
18653
18654 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18655 expectations for float.
18656
18657 2011-11-29 Andreas Schwab <schwab@redhat.com>
18658
18659 * locale/weight.h (findidx): Add parameter len.
18660 * locale/weightwc.h (findidx): Likewise.
18661 * posix/fnmatch_loop.c (FCT): Adjust caller.
18662 * posix/regcomp.c (build_equiv_class): Likewise.
18663 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18664 * posix/regexec.c (check_node_accept_bytes): Likewise.
18665 * string/strcoll_l.c (STRCOLL): Likewise.
18666 * string/strxfrm_l.c (STRXFRM): Likewise.
18667
18668 2011-11-17 Ulrich Drepper <drepper@gmail.com>
18669
18670 * Makefile.in: Remove CVSOPT handling.
18671 * configure.in: Remove use of AC_REVISION.
18672 * iconvdata/Makefile (distribute): No need to filter out CVS.
18673 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18674 handling.
18675
18676 2011-11-16 Andreas Schwab <schwab@redhat.com>
18677
18678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18679 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18680 [USE_AS_STRNCASECMP_L]: Likewise.
18681 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18682 NO_TLS_DIRECT_SEG_REFS.
18683 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18684 Fix argument offsets for non-PIC.
18685 [USE_AS_STRNCASECMP_L]: Likewise.
18686 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18687 NO_TLS_DIRECT_SEG_REFS.
18688
18689 2011-11-15 Ulrich Drepper <drepper@gmail.com>
18690
18691 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
18692 O_CLOEXEC.
18693 * locale/loadlocale.c (_nl_load_locale): Likewise.
18694
18695 2011-11-15 Andreas Schwab <schwab@redhat.com>
18696
18697 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18698 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18699 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18700 (SYSCALL_GETTIME): Set errno on error.
18701
18702 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18703 count references to noai6ai_cached.
18704
18705 2011-11-15 Ulrich Drepper <drepper@gmail.com>
18706
18707 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18708
18709 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18710 FD_CLOEXEC for /proc/self/maps.
18711
18712 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18713 FD_CLOEXEC for /proc/meminfo.
18714
18715 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18716 gai.conf.
18717
18718 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18719 FD_CLOEXEC for given file.
18720
18721 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18722
18723 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18724 FD_CLOEXEC for /etc/hosts.
18725 (_gethtent): Likewise.
18726
18727 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18728
18729 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18730 cancellation and set FD_CLOEXEC for /etc/netgroup.
18731
18732 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18733 reading /etc/publickey.
18734
18735 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18736 allow cancellation when reading /etc/group.
18737
18738 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18739 cancellation.
18740 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18741
18742 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18743 when using data file.
18744
18745 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18746
18747 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18748 (write_nis_obj): Use "c" and "e" in fopen.
18749
18750 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18751
18752 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18753
18754 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18755
18756 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18757
18758 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18759 locale.alias.
18760
18761 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18762
18763 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18764
18765 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18766
18767 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18768 file parsing and set FD_CLOEXEC.
18769
18770 2011-11-14 Ulrich Drepper <drepper@gmail.com>
18771
18772 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18773
18774 2011-11-14 Andreas Schwab <schwab@redhat.com>
18775
18776 * malloc/arena.c (arena_get2): Don't call reused_arena when
18777 _int_new_arena failed.
18778
18779 2011-11-14 Ulrich Drepper <drepper@gmail.com>
18780
18781 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18782 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18783 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18784 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18785 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18786 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18787 to compile strcasecmp and strncasecmp.
18788 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18789 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18790
18791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18792
18793 2011-11-13 Ulrich Drepper <drepper@gmail.com>
18794
18795 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18796 locale-defines.sym to gen-as-const-headers.
18797 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18798 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18800 to compile strcasecmp and strncasecmp.
18801 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18802 strcasecmp_l and strncasecmp_l.
18803 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18804 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18805 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18806 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18807 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18808 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18809 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18810 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18811 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18812 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18813 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18814
18815 2011-11-12 Ulrich Drepper <drepper@gmail.com>
18816
18817 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18818 result of SYSDEP_GETTIME_CPU to retval.
18819 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18820 parameter list to macro. Remove trailing semicolon. Adjust users.
18821
18822 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18823 variable.
18824
18825 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18826 mantissa words.
18827 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18828
18829 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18830 from unused variable.
18831
18832 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18833 DWARF definitions.
18834 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18835 for assembling.
18836
18837 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18838 over namespaces.
18839
18840 * sunrpc/rpc_prot.c (rejected): Fix case value.
18841
18842 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18843 unsigned long long int to avoid warnings in shift.
18844
18845 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18846 of use of trans.
18847 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18848 variable tmp.
18849
18850 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18851 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18852 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18853
18854 * nis/nis_table.c (nis_list): Use variable of correct type for
18855 result of __follow_path call.
18856
18857 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18858
18859 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18860 of math functions ceil, trunc, floor, round, and sqrt, when
18861 avaliable on the platform.
18862 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18863 name clash.
18864 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18865 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18866 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18867
18868 2011-10-30 Marek Polacek <mpolacek@redhat.com>
18869
18870 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18871 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18872
18873 2011-11-11 Roland McGrath <roland@hack.frob.com>
18874
18875 * include/unistd.h: Fix __readlink return type.
18876 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18877
18878 2011-11-11 Ulrich Drepper <drepper@gmail.com>
18879
18880 * stdlib/ucontext.h: Undo last change for makecontext.
18881
18882 2011-11-11 Andreas Schwab <schwab@redhat.com>
18883
18884 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18885
18886 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18887 * setjmp/setjmp.h: Mark functions as non-leaf.
18888 * setjmp/bits/setjmp2.h: Likewise.
18889 * stdlib/ucontext.h: Likewise.
18890
18891 2011-11-10 Andreas Schwab <schwab@redhat.com>
18892
18893 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18894 (reused_arena): Don't check arena limit.
18895 (arena_get2): Atomically check arena limit.
18896
18897 2011-11-08 Ulrich Drepper <drepper@gmail.com>
18898
18899 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18900 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18901
18902 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18903 instructions.
18904
18905 2011-11-07 Andreas Schwab <schwab@redhat.com>
18906
18907 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18908 handler when locking.
18909
18910 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18911 Fix size of allocated buffer.
18912
18913 2011-11-04 Andreas Schwab <schwab@redhat.com>
18914
18915 [BZ #10103]
18916 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18917 declarations for long double functions.
18918 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18919
18920 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18921
18922 2011-11-03 Andreas Schwab <schwab@redhat.com>
18923
18924 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18925 installed.
18926
18927 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18928 is disabled.
18929
18930 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18931
18932 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18933
18934 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18935
18936 * include/alloca.h (stackinfo_alloca_round): Define.
18937 (extend_alloca): Use it.
18938 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18939 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18940 here.
18941
18942 * scripts/check-local-headers.sh: Ignore libaudit.h.
18943
18944 * nscd/Makefile (extra-objs): Make recursively expanded.
18945
18946 2011-11-01 Ulrich Drepper <drepper@gmail.com>
18947
18948 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18950
18951 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18952 * posix/tst-rfc3484-2.c: Likewise.
18953 * posix/tst-rfc3484-3.c: Likewise.
18954
18955 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18956 process_vm_writev.
18957 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18958 process_vm_writev.
18959 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18960 process_vm_writev from libc using GLIBC_2.15 version.
18961
18962 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18963
18964 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18965
18966 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18967 stack usage.
18968
18969 2011-10-31 Ulrich Drepper <drepper@gmail.com>
18970
18971 [BZ #13367]
18972 * nss/getent.c (initgroups_keys): Show error message in case no group
18973 names are given.
18974
18975 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18976 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18977 __bump_nl_timestamp.
18978 * nscd/connections (nscd_init): When host database is served open
18979 netlink socket and request notification about configuration changes.
18980 (main_loop_poll): Track netlink file descriptor and bump timestamp
18981 in case data becomes available.
18982 (main_loop_epoll): Likewise.
18983 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18984 (database_pers_head): Add extra_data fileds.
18985 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18986 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18987 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18988 Adjust caller.
18989 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18990 in6ai data, call __free_in6ai.
18991 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18992 Add -DHAVE_NETLINK.
18993 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18994 interface information. Reuse previous data if netlink timestamp
18995 is not changed.
18996 (__bump_nl_timestamp): New function.
18997 (__free_in6ai): New function.
18998
18999 2011-10-30 Ulrich Drepper <drepper@gmail.com>
19000
19001 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19002 close_not_cancel_no_status here.
19003 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19004
19005 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19006
19007 [BZ #13276]
19008 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19009 return value.
19010
19011 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
19012 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19013 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19014
19015 2011-07-03 Andreas Jaeger <aj@suse.de>
19016
19017 [BZ #10709]
19018 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19019 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19020 * math/libm-test.inc (sin_test): Add test case.
19021
19022 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19023
19024 [BZ #13337]
19025 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19026 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19027
19028 * elf/chroot_canon.c (chroot_canon): Cleanups.
19029
19030 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19031
19032 [BZ #13335]
19033 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19034 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19035
19036 * string/test-strchr.c: Make usable for strchrnul testing.
19037 * string/test-strchrnul.c: New file.
19038 * string/Makefile (strop-tests): Add strchrnul.
19039
19040 * po/it.po: Update from translation team.
19041 * po/es.po: Likewise.
19042
19043 2011-10-28 Ulrich Drepper <drepper@gmail.com>
19044
19045 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19046 the three constants needed as parameters. Drop the others.
19047 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19048 __m128i_strloadu_tolower.
19049 Create and initialize variable zero and use it in all the places
19050 where _mm_setzero_si128 was used.
19051
19052 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19053 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19054 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19055 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19056 anymore.
19057 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19058 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19059 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19060 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19061 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19062 __mpranred, __mptan.
19063 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19064 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19065 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19066 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19067 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19068 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19069 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19070 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19071 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19072
19073 2011-10-28 Andreas Schwab <schwab@redhat.com>
19074
19075 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19076 redefine if SHARED.
19077 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19078
19079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19080 wide char related routines to wcsmbs subdir.
19081
19082 2011-10-27 Andreas Schwab <schwab@redhat.com>
19083
19084 [BZ #13344]
19085 * misc/sys/cdefs.h (__THROWNL): Define.
19086 * posix/unistd.h: Use __THREADNL instead of __THREAD
19087 for memory synchronization functions.
19088
19089 2011-10-26 Roland McGrath <roland@hack.frob.com>
19090
19091 [BZ #13349]
19092 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19093 doesn't exist.
19094 * manual/stdio.texi (Obstack Streams): Node removed.
19095
19096 2011-10-26 Andreas Schwab <schwab@redhat.com>
19097
19098 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19099 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19100 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19101
19102 * math/math_private.h (math_force_eval): Allow non-addressable
19103 arguments.
19104 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19105
19106 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19107
19108 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19109 file is not needed.
19110
19111 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19112 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19113 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19114 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19115 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19116 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19117 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19118 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19119 Add AVX variants.
19120 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19121 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19122 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19123 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19124 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19125 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19126 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19127 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19128 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19129 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19130 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19131 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19132 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19133 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19134 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19135 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19136 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19137 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19138 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19139
19140 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19141 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19142
19143 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19144 place. Use VEX encoding when compiling for AVX.
19145
19146 2011-10-25 Andreas Schwab <schwab@redhat.com>
19147
19148 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19149 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19150
19151 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19152
19153 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19154
19155 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19156 useless if() expression.
19157 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19158 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19159 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19160 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19161 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19162 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19163 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19164 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19165 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19166 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19167 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19168 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19169 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19170 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19171 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19172 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19173 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19174 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19175 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19176
19177 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19178
19179 2011-10-25 Andreas Schwab <schwab@redhat.com>
19180
19181 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19182 condition.
19183 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19184
19185 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19186
19187 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19188 .text section. Avoid duplicate constants.
19189 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19197 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19199 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19201 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19202 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19204 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19206 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19208 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19209 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19210 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19211 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19212 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19213 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19214 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19215 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19216 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19217 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19218 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19219 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19220 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19221 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19222 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19223 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19224 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19225 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19226 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19227 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19228 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19229 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19230 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19231 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19232 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19233 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19234
19235 2011-10-24 Ulrich Drepper <drepper@gmail.com>
19236
19237 * sysdeps/x86_64/dla.h: Move to ...
19238 * sysdeps/x86_64/fpu/dla.h: ...here.
19239 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19240 situations. Use __builtin_fma only for gcc 4.6 and up.
19241
19242 * config.make.in: Add have-mfma4 entry.
19243 * configure.in: Substitute libc_cv_cc_fma4.
19244 * math/Makefile (dbl-only-routines): Add sincostab.
19245 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19246 Use __sincostab not sincos.
19247 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19248 name is a macro.
19249 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19250 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19253 using __copysign.
19254 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19255 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19256 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19257 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19258 and __inv.
19259 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19260 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19261 __copysign.
19262 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19263 define aliases when function name is a macro.
19264 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19265 sysdeps/ieee754/dbl-64/sincos.tbl.
19266 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19267 fma4-enabled routines.
19268 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19269 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19270 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19271 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19272 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19273 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19274 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19275 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19276 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19277 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19278 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19279 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19280 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19281 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19283 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19284 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19285 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19286 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19288 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19289 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19290 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19291 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19292 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19293 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19295 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19296 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19297 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19298
19299 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19300 rename.
19301 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19303 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19307 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19308 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19309
19310 2011-10-24 Andreas Schwab <schwab@redhat.com>
19311
19312 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19313
19314 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19315
19316 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19317
19318 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19319 prediction.
19320 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19321
19322 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19323 Remove unused variable magic_bits.
19324 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19325
19326 * string/strnlen.c: Define and use STRNLEN macro.
19327 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19328 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19329 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19330 * wcsmbs/wcslen.c: Define and use WCSLEN.
19331 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19332 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19333 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19334 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19335 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19336 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19337 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19338
19339 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19340
19341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19342 strnlen-sse2-no-bsf.
19343 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19344 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19345 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19346 Add strnlen support.
19347 (USE_AS_STRNLEN): New macro.
19348 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19349 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19350 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19351 * sysdeps/x86_64/wcslen.S: New file.
19352
19353 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19354
19355 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19356 XMM-moves are used for copying on small sizes.
19357
19358 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19359
19360 * wcsmbs/Makefile (strop-tests): Add wcschr.
19361 * wcsmbs/test-wcschr.c: New file.
19362 * string/test-strchr.c: Update.
19363 Add wcschr support.
19364 (WIDE): New macro.
19365
19366 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19367
19368 * wcsmbs/Makefile (strop-tests): Add wcslen.
19369 * wcsmbs/test-wcslen.c: New file.
19370 * string/test-strlen.c: Update.
19371 Add wcslen support.
19372 (WIDE): New macro.
19373
19374 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19375
19376 * po/it.po: Update from translation team.
19377
19378 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19379
19380 * sysdeps/x86_64/wcscmp.S: Update.
19381 Fix wrong comparison semantics.
19382 wcscmp shall use signed comparison not unsigned.
19383 Don't use substraction to avoid overflow bug.
19384 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19385 * wcsmbc/wcscmp.c: Likewise.
19386 * string/test-strcmp.c: Likewise.
19387 Add new tests to check cases with negative values.
19388
19389 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19390
19391 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19392 * sysdeps/x86_64/dla.h: ...here. New file.
19393 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19402
19403 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19404
19405 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19406 __ynl_finite aliases.
19407
19408 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19409
19410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19411
19412 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19413 define DLA_FMA.
19414 [DLA_FMA] (EMULV): Use DLA_FMA.
19415 [DLA_FMA] (MUL12): Use EMULV.
19416 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19417 that are not needed.
19418 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19425
19426 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19427
19428 * math/s_nan.c: Undef __nan.
19429 * math/s_nanf.c: Undef __nanf.
19430 * math/s_nanl.c: Undef __nanl.
19431 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19432 "math_private.h".
19433
19434 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19435
19436 * math/s_catan.c: Add branch predictions.
19437 * math/s_catanf.c: Likewise.
19438 * math/s_catanh.c: Likewise.
19439 * math/s_catanhf.c: Likewise.
19440 * math/s_catanhl.c: Likewise.
19441 * math/s_catanl.c: Likewise.
19442 * math/s_cexp.c: Likewise.
19443 * math/s_cexpf.c: Likewise.
19444 * math/s_cexpl.c: Likewise.
19445 * math/s_clog.c: Likewise.
19446 * math/s_clog10.c: Likewise.
19447 * math/s_clog10f.c: Likewise.
19448 * math/s_clog10l.c: Likewise.
19449 * math/s_clogf.c: Likewise.
19450 * math/s_clogl.c: Likewise.
19451 * math/s_csqrt.c: Likewise.
19452 * math/s_csqrtf.c: Likewise.
19453 * math/s_csqrtl.c: Likewise.
19454 * math/s_ctanf.c: Likewise.
19455 * math/s_ctanh.c: Likewise.
19456 * math/s_ctanhf.c: Likewise.
19457 * math/s_ctanhl.c: Likewise.
19458 * math/s_ctanl.c: Likewise.
19459
19460 * math/math_private.h: Define __nan, __nanf, __nanl.
19461 * math/s_cacosh.c: Include <math_private.h>.
19462 * math/s_cacoshl.c: Likewise.
19463 * math/s_casinh.c: Likewise.
19464 * math/s_casinhf.c: Likewise.
19465 * math/s_casinhl.c: Likewise.
19466 * math/s_ccos.c: Rely entire on ccosh.
19467 * math/s_ccosf.c: Rely entire on ccoshf.
19468 * math/s_ccosl.c: Rely entirely on ccoshl.
19469 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19470 Remove tests for FE_INVALID.
19471 * math/s_ccoshf.c: Likewise.
19472 * math/s_ccoshl.c: Likewise.
19473 * math/s_csin.c: Likewise.
19474 * math/s_csinf.c: Likewise.
19475 * math/s_csinh.c Likewise.
19476 * math/s_csinhf.c: Likewise.
19477 * math/s_csinhl.c: Likewise.
19478 * math/s_csinl.c: Likewise.
19479 * math/s_ctan.c: Likewise.
19480 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19481 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19482 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19483
19484 2011-10-21 Ulrich Drepper <drepper@gmail.com>
19485
19486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19487 compilation problems.
19488
19489 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19490 __builtin_expect.
19491
19492 2011-10-20 Ulrich Drepper <drepper@gmail.com>
19493
19494 * sysdeps/i386/configure.in: Test for -mfma4 option.
19495 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19496 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19497 COMMON_CPUID_INDEX_80000001.
19498 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19499 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19500 use it if FMA3 is not supported.
19501 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19502
19503 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19504 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19505
19506 2011-10-20 Andreas Schwab <schwab@redhat.com>
19507
19508 [BZ #12892]
19509 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19510 it would create a cycle with a link time dependency.
19511
19512 2011-10-19 Ulrich Drepper <drepper@gmail.com>
19513
19514 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19515 instruction.
19516 * string/Makefile (strop-tests): Add rawmemchr.
19517 * string/test-rawmemchr.c: New file.
19518
19519 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19520 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19521 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19522 when compiling str{,n}casecmp and when AVX is available. Hook up
19523 new optimized code in initializers.
19524
19525 2011-10-19 Andreas Schwab <schwab@redhat.com>
19526
19527 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19528 __feraiseexcept instead of feraiseexcept.
19529
19530 2011-10-18 Ulrich Drepper <drepper@gmail.com>
19531
19532 * math/math_private.h: Define defaults for libc_fetestexcept and
19533 libc_feupdateenv.
19534 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19535 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19536 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19537 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19538 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19539 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19540 libc_fetestexcept and libc_feupdateenv.
19541
19542 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19543 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19544 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19545 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19546 libc_feholdexcept_setround.
19547
19548 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19549 Add s_nearbyint-c and s_nearbyintf-c.
19550 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19551 nearbyintf inlines.
19552 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19553 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19554 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19555 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19556
19557 * math/math_private.h: Define defaults for libc_fegetround,
19558 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19559 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19560 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19561 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19562 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19563 standard functions.
19564 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19565 Remove comments and hacks for old compiler versions.
19566 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19567 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19568 libc_feholdexceptl.
19569
19570 2011-10-18 Andreas Schwab <schwab@redhat.com>
19571
19572 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
19573 (__feraiseexcept_renamed): Add __NTH.
19574 (feraiseexcept): Add __NTH. Rename local variables to fix
19575 namespace violations.
19576
19577 2011-10-17 Ulrich Drepper <drepper@gmail.com>
19578
19579 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19580
19581 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19582
19583 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19584 recently added interfaces.
19585 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19586
19587 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19588 about macro parameter expansion.
19589
19590 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19591 __NO_MATH_INLINES is defined. Cleanups.
19592
19593 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19594 and __floorf is target has SSE4.1.
19595 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19596 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19597 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19598 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19599
19600 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19601 name.
19602 (floorf): Likewise.
19603
19604 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19605
19606 2011-10-17 Andreas Schwab <schwab@redhat.com>
19607
19608 * misc/sys/cdefs.h: Fix last change.
19609
19610 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19611 database lookup.
19612
19613 2011-10-16 Ulrich Drepper <drepper@gmail.com>
19614
19615 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19616
19617 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19618 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19619 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19620 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19621 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19622 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19623 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19624 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19625 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19626 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19627 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19628 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19629 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19630 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19631 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19632 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19633 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19634 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19635 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19636 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19637 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19638 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19639
19640 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19641 ceil, ceilf, floor, floorf.
19642
19643 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19644 Perform IRELATIVE relocations last.
19645
19646 * elf/do-rel.h: Add another parameter nrelative, replacing the
19647 local variable with the same name. Change name of the function
19648 to end in Rel or Rela (uppercase).
19649 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19650 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19651 elf_dynamic_do_##reloc function.
19652
19653 2011-10-15 Ulrich Drepper <drepper@gmail.com>
19654
19655 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19656 is sufficient, at least on modern CPUs.
19657
19658 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19659
19660 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19661 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19662
19663 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19664 __expl_finite.
19665 * math/bits/math-finite.h: Add entries for exp.
19666 * math/e_expl.c: Add __*_finite alias.
19667 * sysdeps/i386/fpu/e_exp.S: Likewise.
19668 * sysdeps/i386/fpu/e_expf.S: Likewise.
19669 * sysdeps/i386/fpu/e_expl.c: Likewise.
19670 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19671 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19672 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19673 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19674 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19675 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19676 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19677
19678 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19679 is sufficient, at least on modern CPUs.
19680
19681 * ctype/ctype-info.c (__ctype_init): Define.
19682 * include/ctype.h (__ctype_init): Declare.
19683 (__ctype_b_loc): The variable is always initialized.
19684 (__ctype_toupper_loc): Likewise.
19685 (__ctype_tolower_loc): Likewise.
19686 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19687 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19688
19689 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19690
19691 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19692
19693 * configure.in: Also look in $cxxmachine/include for C++ system
19694 headers.
19695
19696 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19697
19698 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19699 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19700 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19701 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19702 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19703 (USE_AS_WMEMCMP): New macro.
19704 Fixing indents.
19705 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19706 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19707 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19708 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19709 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19710 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19711 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19712 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19713 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19714 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19715 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19716 (USE_AS_WMEMCMP): New macro.
19717 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19718 * sysdeps/string/test-memcmp.c: Update.
19719 Fix simple_wmemcmp.
19720 Add new tests.
19721 * wcsmbs/wmemcmp.c: Update.
19722 (WMEMCMP): New macro.
19723 Fix overflow bug.
19724
19725 2011-10-12 Andreas Jaeger <aj@suse.de>
19726
19727 [BZ #13268]
19728 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19729
19730 2011-10-15 Ulrich Drepper <drepper@gmail.com>
19731
19732 * libio/iofwide.c (do_length): Avoid warning.
19733
19734 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19735
19736 2011-10-14 Ulrich Drepper <drepper@gmail.com>
19737
19738 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19739
19740 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19741 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19742 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19743 * sysdeps/i386/i686/fpu/e_log.S: New file.
19744 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19745 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19746
19747 * ctype/ctype.h: Add support for inlined isXXX functions when
19748 compiling C++ code.
19749
19750 2011-10-14 Andreas Schwab <schwab@redhat.com>
19751
19752 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19753
19754 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19755
19756 2011-10-13 Roland McGrath <roland@hack.frob.com>
19757
19758 [BZ #13291]
19759 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19760
19761 2011-10-13 Andreas Schwab <schwab@redhat.com>
19762
19763 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19764 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19765 feraiseexcept.
19766
19767 * sysdeps/x86_64/memrchr.S: Check for zero size.
19768
19769 * string/stratcliff.c: Add memrchr tests.
19770
19771 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19772
19773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19774 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19775 rawmemchr-sse2 rawmemchr-sse2-bsf.
19776 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19777 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19778 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19779 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19780 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19781 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19782 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19783 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19784 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19785 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19786 * string/memrchr.c (MEMRCHR): New macro.
19787
19788 2011-10-12 Ulrich Drepper <drepper@gmail.com>
19789
19790 Add integration with gcc's -ffinite-math-only and optimize wrapper
19791 functions in libm.
19792 * Versions.def: Define GLIBC_2.15 version for libm.
19793 * math/Makefile (headers): Add bits/math-finite.h.
19794 * math/bits/math-finite.h: New file.
19795 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19796 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19797 * math/e_acoshl.c: Add __*_finite alias.
19798 * math/e_acosl.c: Likewise.
19799 * math/e_asinl.c: Likewise.
19800 * math/e_atan2l.c: Likewise.
19801 * math/e_atanhl.c: Likewise.
19802 * math/e_coshl.c: Likewise.
19803 * math/e_exp10.c: Likewise.
19804 * math/e_exp10f.c: Likewise.
19805 * math/e_exp10l.c: Likewise.
19806 * math/e_exp2l.c: Likewise.
19807 * math/e_fmodl.c: Likewise.
19808 * math/e_gammal_r.c: Likewise.
19809 * math/e_hypotl.c: Likewise.
19810 * math/e_j0l.c: Likewise.
19811 * math/e_j1l.c: Likewise.
19812 * math/e_jnl.c: Likewise.
19813 * math/e_lgammal_r.c: Likewise.
19814 * math/e_log10l.c: Likewise.
19815 * math/e_log2l.c: Likewise.
19816 * math/e_logl.c: Likewise.
19817 * math/e_powl.c: Likewise.
19818 * math/e_sinhl.c: Likewise.
19819 * math/e_sqrtl.c: Likewise.
19820 * math/e_scalb.c: Completely rewritten and optimized.
19821 * math/e_scalbf.c: Likewise.
19822 * math/e_scalbl.c: Likewise.
19823 * math/w_acos.c: Likewise.
19824 * math/w_acosf.c: Likewise.
19825 * math/w_acosl.c: Likewise.
19826 * math/w_acosh.c: Likewise.
19827 * math/w_acoshf.c: Likewise.
19828 * math/w_acoshl.c: Likewise.
19829 * math/w_asin.c: Likewise.
19830 * math/w_asinf.c: Likewise.
19831 * math/w_asinl.c: Likewise.
19832 * math/w_atan2.c: Likewise.
19833 * math/w_atan2f.c: Likewise.
19834 * math/w_atan2l.c: Likewise.
19835 * math/w_atanh.c: Likewise.
19836 * math/w_atanhf.c: Likewise.
19837 * math/w_atanhl.c: Likewise.
19838 * math/w_exp10.c: Likewise.
19839 * math/w_exp10f.c: Likewise.
19840 * math/w_exp10l.c: Likewise.
19841 * math/w_fmod.c: Likewise.
19842 * math/w_fmodf.c: Likewise.
19843 * math/w_fmodl.c: Likewise.
19844 * math/w_j0.c: Likewise.
19845 * math/w_j0f.c: Likewise.
19846 * math/w_j0l.c: Likewise.
19847 * math/w_j1.c: Likewise.
19848 * math/w_j1f.c: Likewise.
19849 * math/w_j1l.c: Likewise.
19850 * math/w_jn.c: Likewise.
19851 * math/w_jnf.c: Likewise.
19852 * math/w_log.c: Likewise.
19853 * math/w_logf.c: Likewise.
19854 * math/w_logl.c: Likewise.
19855 * math/w_log10.c: Likewise.
19856 * math/w_log10f.c: Likewise.
19857 * math/w_log10l.c: Likewise.
19858 * math/w_log2.c: Likewise.
19859 * math/w_log2f.c: Likewise.
19860 * math/w_log2l.c: Likewise.
19861 * math/w_pow.c: Likewise.
19862 * math/w_powf.c: Likewise.
19863 * math/w_powl.c: Likewise.
19864 * math/w_remainder.c: Likewise.
19865 * math/w_remainderf.c: Likewise.
19866 * math/w_remainderl.c: Likewise.
19867 * math/w_scalb.c: Likewise.
19868 * math/w_scalbf.c: Likewise.
19869 * math/w_scalbl.c: Likewise.
19870 * math/w_sqrt.c: Likewise.
19871 * math/w_sqrtf.c: Likewise.
19872 * math/w_sqrtl.c: Likewise.
19873 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19874 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19875 used.
19876 * math/math_private.h: Declare __kernel_standard_f.
19877 * math/w_cosh.c: Remove cruft and optimize a bit.
19878 * math/w_coshf.c: Likewise.
19879 * math/w_coshl.c: Likewise.
19880 * math/w_exp2.c: Likewise.
19881 * math/w_exp2f.c: Likewise.
19882 * math/w_exp2l.c: Likewise.
19883 * math/w_hypot.c: Likewise.
19884 * math/w_hypotf.c: Likewise.
19885 * math/w_hypotl.c: Likewise.
19886 * math/w_lgamma.c: Likewise.
19887 * math/w_lgamma_r.c: Likewise.
19888 * math/w_lgammaf.c: Likewise.
19889 * math/w_lgammaf_r.c: Likewise.
19890 * math/w_lgammal.c: Likewise.
19891 * math/w_lgammal_r.c: Likewise.
19892 * math/w_sinh.c: Likewise.
19893 * math/w_sinhf.c: Likewise.
19894 * math/w_sinhl.c: Likewise.
19895 * math/w_tgamma.c: Likewise.
19896 * math/w_tgammaf.c: Likewise.
19897 * math/w_tgammal.c: Likewise.
19898 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19899 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19900 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19901 Minor optimizations. Pretty printing. Remove cruft.
19902 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19903 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19904 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19905 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19906 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19907 * sysdeps/i386/fpu/e_asin.S: Likewise.
19908 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19909 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19910 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19911 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19912 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19913 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19914 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19915 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19916 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19917 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19918 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19919 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19920 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19921 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19922 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19923 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19924 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19925 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19926 * sysdeps/i386/fpu/e_log.S: Likewise.
19927 * sysdeps/i386/fpu/e_log10.S: Likewise.
19928 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19929 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19930 * sysdeps/i386/fpu/e_log2.S: Likewise.
19931 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19932 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19933 * sysdeps/i386/fpu/e_logf.S: Likewise.
19934 * sysdeps/i386/fpu/e_logl.S: Likewise.
19935 * sysdeps/i386/fpu/e_pow.S: Likewise.
19936 * sysdeps/i386/fpu/e_powf.S: Likewise.
19937 * sysdeps/i386/fpu/e_powl.S: Likewise.
19938 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19939 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19940 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19941 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19942 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19943 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19944 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19945 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19946 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19947 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19948 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19950 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19951 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19952 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19953 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19954 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19955 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19956 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19957 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19958 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19959 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19960 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19961 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19963 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19964 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19965 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19967 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19968 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19969 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19970 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19971 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19972 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19973 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19974 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19975 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19976 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19977 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19978 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19979 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19980 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19981 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19982 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19983 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19984 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19985 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19986 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19987 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19988 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19989 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19990 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19992 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19993 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19994 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19995 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19996 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19997 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19998 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19999 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20000 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20001 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20002 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20003 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20004 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20005 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20006 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20007 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20008 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20009 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20010 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20011 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20012 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20013 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20014 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20015 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20016 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20017 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20018 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20019 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20020 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20021 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20023 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20024 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20025 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20026 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20027 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20028 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20029 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20030 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20031 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20032 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20033 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20034 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20035 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20036 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20037 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20038 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20039 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20040 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20041 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20042 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20043 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20044 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20045 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20046 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20047 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20048 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20049 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20050 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20051 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20052 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20053 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20054 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20055 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20056 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20057 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20058 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20059 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20060 (__isnanf): Likewise.
20061 (__isinf_ns): Likewise.
20062 (__isinf_nsf): Likewise.
20063 (__finite): Likewise.
20064 (__finitef): Likewise.
20065 (__ieee754_sqrt): Define as macro.
20066 (__ieee754_sqrtf): Define as macro.
20067 (__ieee754_sqrtl): Define as macro.
20068 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20069 inlined copy.
20070 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20071 __FINITE_MATH_ONLY__ consistent.
20072 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20073
20074 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20075
20076 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20077 of rawmemchr.
20078
20079 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20080
20081 2011-10-09 Ulrich Drepper <drepper@gmail.com>
20082
20083 * po/ja.po: Update from translation team.
20084
20085 2011-10-08 Roland McGrath <roland@hack.frob.com>
20086
20087 * locale/programs/locarchive.c (prepare_address_space): New function.
20088 (create_archive, enlarge_archive, open_archive): Use it.
20089
20090 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20091 inside [SHARED], where it is used.
20092
20093 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20094
20095 * nss/getent.c (netgroup_keys): Remove unused variable.
20096 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20097
20098 2011-10-08 Ulrich Drepper <drepper@gmail.com>
20099
20100 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20101 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20102 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20103 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20104 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20105 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20106 * math/Makefile (libm-calls): Add s_isinf_ns.
20107 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20108 * math/multc3.c: Likewise.
20109 * math/s_casin.c: Likewise.
20110 * math/s_casinf.c: Likewise.
20111 * math/s_casinl.c: Likewise.
20112 * math/s_ccos.c: Likewise.
20113 * math/s_ccosf.c: Likewise.
20114 * math/s_ccosl.c: Likewise.
20115 * math/s_ctan.c: Likewise.
20116 * math/s_ctanf.c: Likewise.
20117 * math/s_ctanh.c: Likewise.
20118 * math/s_ctanhf.c: Likewise.
20119 * math/s_ctanhl.c: Likewise.
20120 * math/s_ctanl.c: Likewise.
20121 * math/w_fmod.c: Likewise.
20122 * math/w_fmodf.c: Likewise.
20123 * math/w_fmodl.c: Likewise.
20124 * math/w_remainder.c: Likewise.
20125 * math/w_remainderf.c: Likewise.
20126 * math/w_remainderl.c: Likewise.
20127 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20128 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20129 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20130 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20131 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20132 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20133 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20134 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20135
20136 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20137 of the number.
20138 * stdio-common/printf_fphex.c: Likewise.
20139 * stdio-common/printf_size.c: Likewise.
20140
20141 * math/e_exp10.c: Include math_private.h using <...> not "...".
20142 * math/e_exp10f.c: Likewise.
20143 * math/e_exp10l.c: Likewise.
20144 * math/e_exp2l.c: Likewise.
20145 * math/e_j0l.c: Likewise.
20146 * math/e_j1l.c: Likewise.
20147 * math/e_jnl.c: Likewise.
20148 * math/e_lgammal_r.c: Likewise.
20149 * math/e_rem_pio2l.c: Likewise.
20150 * math/e_scalb.c: Likewise.
20151 * math/e_scalbf.c: Likewise.
20152 * math/e_scalbl.c: Likewise.
20153 * math/k_cosl.c: Likewise.
20154 * math/k_sinl.c: Likewise.
20155 * math/k_tanl.c: Likewise.
20156 * math/s_cacoshf.c: Likewise.
20157 * math/s_catan.c: Likewise.
20158 * math/s_catanf.c: Likewise.
20159 * math/s_catanh.c: Likewise.
20160 * math/s_catanhf.c: Likewise.
20161 * math/s_catanhl.c: Likewise.
20162 * math/s_catanl.c: Likewise.
20163 * math/s_ccosh.c: Likewise.
20164 * math/s_ccoshf.c: Likewise.
20165 * math/s_ccoshl.c: Likewise.
20166 * math/s_cexp.c: Likewise.
20167 * math/s_cexpf.c: Likewise.
20168 * math/s_cexpl.c: Likewise.
20169 * math/s_clog.c: Likewise.
20170 * math/s_clog10.c: Likewise.
20171 * math/s_clog10f.c: Likewise.
20172 * math/s_clog10l.c: Likewise.
20173 * math/s_clogf.c: Likewise.
20174 * math/s_clogl.c: Likewise.
20175 * math/s_csin.c: Likewise.
20176 * math/s_csinf.c: Likewise.
20177 * math/s_csinh.c: Likewise.
20178 * math/s_csinhf.c: Likewise.
20179 * math/s_csinhl.c: Likewise.
20180 * math/s_csinl.c: Likewise.
20181 * math/s_csqrt.c: Likewise.
20182 * math/s_csqrtf.c: Likewise.
20183 * math/s_csqrtl.c: Likewise.
20184 * math/s_ctan.c: Likewise.
20185 * math/s_ctanf.c: Likewise.
20186 * math/s_ctanh.c: Likewise.
20187 * math/s_ctanhf.c: Likewise.
20188 * math/s_ctanhl.c: Likewise.
20189 * math/s_ctanl.c: Likewise.
20190 * math/s_ldexp.c: Likewise.
20191 * math/s_ldexpf.c: Likewise.
20192 * math/s_ldexpl.c: Likewise.
20193 * math/s_significand.c: Likewise.
20194 * math/s_significandf.c: Likewise.
20195 * math/s_significandl.c: Likewise.
20196 * math/w_acos.c: Likewise.
20197 * math/w_acosf.c: Likewise.
20198 * math/w_acosh.c: Likewise.
20199 * math/w_acoshf.c: Likewise.
20200 * math/w_acoshl.c: Likewise.
20201 * math/w_acosl.c: Likewise.
20202 * math/w_asin.c: Likewise.
20203 * math/w_asinf.c: Likewise.
20204 * math/w_asinl.c: Likewise.
20205 * math/w_atan2.c: Likewise.
20206 * math/w_atan2f.c: Likewise.
20207 * math/w_atan2l.c: Likewise.
20208 * math/w_atanh.c: Likewise.
20209 * math/w_atanhf.c: Likewise.
20210 * math/w_atanhl.c: Likewise.
20211 * math/w_cosh.c: Likewise.
20212 * math/w_coshf.c: Likewise.
20213 * math/w_coshl.c: Likewise.
20214 * math/w_dremf.c: Likewise.
20215 * math/w_exp10.c: Likewise.
20216 * math/w_exp10f.c: Likewise.
20217 * math/w_exp10l.c: Likewise.
20218 * math/w_exp2.c: Likewise.
20219 * math/w_exp2f.c: Likewise.
20220 * math/w_fmod.c: Likewise.
20221 * math/w_fmodf.c: Likewise.
20222 * math/w_fmodl.c: Likewise.
20223 * math/w_hypot.c: Likewise.
20224 * math/w_hypotf.c: Likewise.
20225 * math/w_hypotl.c: Likewise.
20226 * math/w_j0.c: Likewise.
20227 * math/w_j0f.c: Likewise.
20228 * math/w_j0l.c: Likewise.
20229 * math/w_j1.c: Likewise.
20230 * math/w_j1f.c: Likewise.
20231 * math/w_j1l.c: Likewise.
20232 * math/w_jn.c: Likewise.
20233 * math/w_jnf.c: Likewise.
20234 * math/w_jnl.c: Likewise.
20235 * math/w_lgamma.c: Likewise.
20236 * math/w_lgamma_r.c: Likewise.
20237 * math/w_lgammaf.c: Likewise.
20238 * math/w_lgammaf_r.c: Likewise.
20239 * math/w_lgammal.c: Likewise.
20240 * math/w_lgammal_r.c: Likewise.
20241 * math/w_log.c: Likewise.
20242 * math/w_log10.c: Likewise.
20243 * math/w_log10f.c: Likewise.
20244 * math/w_log10l.c: Likewise.
20245 * math/w_log2.c: Likewise.
20246 * math/w_log2f.c: Likewise.
20247 * math/w_log2l.c: Likewise.
20248 * math/w_logf.c: Likewise.
20249 * math/w_logl.c: Likewise.
20250 * math/w_pow.c: Likewise.
20251 * math/w_powf.c: Likewise.
20252 * math/w_powl.c: Likewise.
20253 * math/w_remainder.c: Likewise.
20254 * math/w_remainderf.c: Likewise.
20255 * math/w_remainderl.c: Likewise.
20256 * math/w_scalb.c: Likewise.
20257 * math/w_scalbf.c: Likewise.
20258 * math/w_scalbl.c: Likewise.
20259 * math/w_sinh.c: Likewise.
20260 * math/w_sinhf.c: Likewise.
20261 * math/w_sinhl.c: Likewise.
20262 * math/w_sqrt.c: Likewise.
20263 * math/w_sqrtf.c: Likewise.
20264 * math/w_sqrtl.c: Likewise.
20265 * math/w_tgamma.c: Likewise.
20266 * math/w_tgammaf.c: Likewise.
20267 * math/w_tgammal.c: Likewise.
20268
20269 * po/ja.po: Update from translation team.
20270
20271 2011-09-29 Andreas Jaeger <aj@suse.de>
20272
20273 [BZ #13179]
20274 * sunrpc/netname.c (netname2host): Fix logic.
20275
20276 [BZ #6779]
20277 [BZ #6783]
20278 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20279 correctly.
20280 * math/w_remainder.c (__remainder): Likewise.
20281 * math/w_remainderf.c (__remainderf): Likewise.
20282 * math/libm-test.inc (remainder_test): Add test cases.
20283
20284 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20285
20286 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20287 sdiv_qrnnd.
20288
20289 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20290
20291 * string/test-memcmp.c: Avoid unncessary #defines.
20292 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20293
20294 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20295
20296 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20297 Use new sse2 version for core i3 - i7 as it's faster
20298 than sse42 version.
20299 (bit_Prefer_PMINUB_for_stringop): New.
20300 * sysdeps/x86_64/rawmemchr.S: Update.
20301 Replace with faster SSE2 version.
20302 * sysdeps/x86_64/memrchr.S: New file.
20303 * sysdeps/x86_64/memchr.S: Update.
20304 Replace with faster SSE2 version.
20305
20306 2011-09-12 Marek Polacek <mpolacek@redhat.com>
20307
20308 * elf/dl-load.c (lose): Add cast to avoid warning.
20309
20310 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20311
20312 * po/ca.po: Update from translation team.
20313
20314 * inet/getnetgrent_r.c: Hook up nscd.
20315 * nscd/Makefile (routines): Add nscd_netgroup.
20316 (nscd-modules): Add netgroupcache.
20317 (CFLAGS-netgroupcache.c): Define.
20318 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20319 (cache_search): Add const to second parameter.
20320 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20321 INNETGR.
20322 (dbs): Add netgrdb entry.
20323 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20324 (verify_persistent_db): Handle netgrdb.
20325 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20326 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20327 GETFDNETGR.
20328 (netgroup_response_header): Define.
20329 (innetgroup_response_header): Define.
20330 (datahead): Add netgroup_response_header and innetgroup_response_header
20331 elements.
20332 * nscd/nscd.conf: Add entries for netgroup cache.
20333 * nscd/nscd.h (dbtype): Add netgrdb.
20334 (_PATH_NSCD_NETGROUP_DB): Define.
20335 (netgroup_iov_disabled): Declare.
20336 (xmalloc, xcalloc, xrealloc): Move declarations here.
20337 (cache_search): Adjust prototype.
20338 Add netgroup-related prototypes.
20339 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20340 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20341 (__nscd_innetgr): Declare.
20342 * nscd/selinux.c (perms): Use access_vector_t as element type and
20343 add netgroup-related initializers.
20344 * nscd/netgroupcache.c: New file.
20345 * nscd/nscd_netgroup.c: New file.
20346 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20347 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20348 For four parameters use innetgr.
20349 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20350 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20351 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20352 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20353
20354 * nscd/connections.c (register_traced_file): Don't register file
20355 for disabled databases.
20356
20357 2011-10-06 Ulrich Drepper <drepper@gmail.com>
20358
20359 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20360
20361 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20362 from tree and freeing node.
20363
20364 2011-09-25 Jiri Olsa <jolsa@redhat.com>
20365
20366 * nss/nsswitch.c (__nss_database_lookup): Handle
20367 nss_parse_service_list out of memory case.
20368
20369 2011-09-15 Jiri Olsa <jolsa@redhat.com>
20370
20371 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20372 out of memory case.
20373
20374 2011-10-04 Andreas Schwab <schwab@redhat.com>
20375
20376 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20377 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20378 pass it down.
20379 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20380 elf_machine_rela, elf_machine_lazy_rel.
20381 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20382 (ELF_DYNAMIC_DO_REL): Likewise.
20383 (ELF_DYNAMIC_DO_RELA): Likewise.
20384 (ELF_DYNAMIC_RELOCATE): Likewise.
20385 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20386 to ELF_DYNAMIC_DO_REL.
20387 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20388 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20389 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20390 elf_machine_rela.
20391 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20392 skip_ifunc, don't call ifunc function if non-zero.
20393 (elf_machine_rela): Likewise.
20394 (elf_machine_lazy_rel): Likewise.
20395 (elf_machine_lazy_rela): Likewise.
20396 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20397 (elf_machine_lazy_rel): Likewise.
20398 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20399 Likewise.
20400 (elf_machine_lazy_rel): Likewise.
20401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20402 Likewise.
20403 (elf_machine_lazy_rel): Likewise.
20404 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20405 (elf_machine_lazy_rel): Likewise.
20406 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20407 (elf_machine_lazy_rel): Likewise.
20408 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20409 (elf_machine_lazy_rel): Likewise.
20410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20411 (elf_machine_lazy_rel): Likewise.
20412 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20413 (elf_machine_lazy_rel): Likewise.
20414 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20415 (elf_machine_lazy_rel): Likewise.
20416
20417 2011-09-28 Ulrich Drepper <drepper@gmail.com>
20418
20419 * nss/nss_files/files-init.c (_nss_files_init): Use static
20420 initialization for all the *_traced_file variables.
20421
20422 2011-09-28 Andreas Schwab <schwab@redhat.com>
20423
20424 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20425
20426 2011-09-27 Roland McGrath <roland@hack.frob.com>
20427
20428 [BZ #13226]
20429 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20430
20431 2011-09-27 Andreas Schwab <schwab@redhat.com>
20432
20433 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20434 Reread the line before reparsing it.
20435
20436 2011-09-26 Andreas Schwab <schwab@redhat.com>
20437
20438 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20439
20440 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20441 Maxim Kuvyrkov <maxim@codesourcery.com>
20442 Joseph Myers <joseph@codesourcery.com>
20443
20444 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20445 if needed for __stack_chk_guard.
20446
20447 2011-09-19 Roland McGrath <roland@hack.frob.com>
20448
20449 * sysdeps/posix/spawni.c (script_execute): Always define it.
20450 It will be optimized away if unused.
20451 (maybe_script_execute): New function.
20452 (__spawni): Call it.
20453
20454 * Makerules: Don't include tls.make.
20455 (config-tls): Always set to thread.
20456 * tls.make.c: File removed.
20457
20458 2011-09-19 Mike Frysinger <vapier@gentoo.org>
20459
20460 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20461 * config.make.in (CPPFLAGS-config): New substituted variable.
20462
20463 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20464
20465 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20466
20467 [BZ #13192]
20468 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20469 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20470
20471 2011-09-15 Roland McGrath <roland@hack.frob.com>
20472
20473 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20474 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20475 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20476 (CALL_FAIL): Likewise.
20477 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20478 (CALL_FAIL): Macro removed.
20479 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20480
20481 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20482
20483 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20484 for __FINITE_MATH_ONLY__ == 1.
20485
20486 2011-09-15 Andreas Schwab <schwab@redhat.com>
20487
20488 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20489 __ieee754_sqrt instead of sqrt.
20490 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20491 __ieee754_sqrtf instead of sqrtf.
20492 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20493 __floorf instead of floorf.
20494 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20495 __floorf, __truncf instead of floorf, truncf.
20496
20497 2011-09-14 Ulrich Drepper <drepper@gmail.com>
20498
20499 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20500
20501 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20502 __extern_always_inline.
20503 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20504 32-bit.
20505
20506 2011-09-14 Andreas Schwab <schwab@redhat.com>
20507
20508 * elf/rtld.c (dl_main): Also relocate in dependency order when
20509 doing symbol dependency testing.
20510
20511 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20512
20513 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20514 Always define `refsym'.
20515
20516 2011-09-13 Andreas Schwab <schwab@redhat.com>
20517
20518 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20519 (__FD_ELT): Renamed from __FDELT.
20520 * misc/bits/select2.h (__FD_ELT): Likewise.
20521 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20522 __FD_MASK instead of __FDELT, __FDMASK.
20523 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20524 Likewise.
20525 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20526 Likewise.
20527
20528 * elf/Makefile (gen-ldd): Fix pattern.
20529
20530 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20531 (init_tls): Likewise.
20532
20533 2011-09-12 Ulrich Drepper <drepper@gmail.com>
20534
20535 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20536
20537 2011-09-12 Andreas Schwab <schwab@redhat.com>
20538
20539 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20540 `struct cmsghdr *' instead of `void *'.
20541 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20542 Likewise.
20543
20544 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20545
20546 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20547 if non-absolute.
20548 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20549 ldd_rewrite_script.
20550
20551 2011-09-11 Ulrich Drepper <drepper@gmail.com>
20552
20553 * configure.in: Remove --with-tls option.
20554 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20555 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20556 out in case it is missing.
20557 * sysdeps/ia64/elf/configure.in: Likewise.
20558 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20559 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20560 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20561 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20562 * sysdeps/sh/elf/configure.in: Likewise.
20563 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20564 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20565 * sysdeps/x86_64/elf/configure.in: Likewise.
20566 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20567 * sysdeps/mach/hurd/tls.h: Likewise.
20568
20569 [BZ #13067]
20570 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20571
20572 [BZ #13090]
20573 * configure.in: Fix use of AC_INIT.
20574
20575 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20576
20577 2011-09-10 Ulrich Drepper <drepper@gmail.com>
20578
20579 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20580 __set_errno.
20581 * malloc/hooks.c: Likewise.
20582
20583 [BZ #11929]
20584 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20585 variables statically.
20586 (narenas): Initialize.
20587 (list_lock): Initialize.
20588 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20589 initializtion of main_arena and list_lock. Small cleanups.
20590 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20591 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20592 Add initializers to main_arena and mp_.
20593 (malloc_state): Remove pagesize member. Change all users to use
20594 GLRO(dl_pagesize).
20595
20596 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20597 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20598 is always initialized.
20599
20600 * malloc/malloc.c: Removed unused configurations and dead code.
20601 * malloc/arena.c: Likewise.
20602 * malloc/hooks.c: Likewise.
20603 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
20604
20605 * include/tls.h: Removed. USE___THREAD must always be defined.
20606 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20607 * elf/dl-libc.c: Likewise.
20608 * elf/dl-tsd.c: Likewise.
20609 * include/errno.h: Likewise.
20610 * include/netdb.h: Likewise.
20611 * include/resolv.h: Likewise.
20612 * inet/herrno-loc.c: Likewise.
20613 * inet/herrno.c: Likewise.
20614 * malloc/arena.c: Likewise.
20615 * malloc/hooks.c: Likewise.
20616 * malloc/malloc.c: Likewise.
20617 * resolv/res-state.c: Likewise.
20618 * resolv/res_libc.c: Likewise.
20619 * sysdeps/i386/dl-machine.h: Likewise.
20620 * sysdeps/ia64/dl-machine.h: Likewise.
20621 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20622 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20623 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20624 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20625 * sysdeps/sh/dl-machine.h: Likewise.
20626 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20627 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20628 * sysdeps/unix/i386/sysdep.S: Likewise.
20629 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20630 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20633 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20634 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20635 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20636 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20637 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20639 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20640 * sysdeps/x86_64/dl-machine.h: Likewise.
20641 * tls.make.c: Likewise.
20642
20643 * configure.in: Remove --with-__thread option. Make tests for
20644 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20645 tls_model attribute fail if no support is available. Remove
20646 USE_IN_LIBIO.
20647 * Makeconfig: Adjust for dropped configure option. All features are
20648 now mandatory.
20649 * Makerules: Likewise.
20650 * Versions.def: Likewise.
20651 * argp/argp-fmtstream.c: Likewise.
20652 * argp/argp-fmtstream.h: Likewise.
20653 * argp/argp-help.c: Likewise.
20654 * assert/assert.c: Likewise.
20655 * config.h.in: Likewise.
20656 * config.make.in: Likewise.
20657 * configure: Likewise.
20658 * configure.in: Likewise.
20659 * csu/Versions: Likewise.
20660 * csu/init.c: Likewise.
20661 * elf/tst-audit2.c: Likewise.
20662 * elf/tst-tls10.c: Likewise.
20663 * elf/tst-tls10.h: Likewise.
20664 * elf/tst-tls11.c: Likewise.
20665 * elf/tst-tls12.c: Likewise.
20666 * elf/tst-tls14.c: Likewise.
20667 * elf/tst-tlsmod11.c: Likewise.
20668 * elf/tst-tlsmod12.c: Likewise.
20669 * elf/tst-tlsmod13.c: Likewise.
20670 * elf/tst-tlsmod13a.c: Likewise.
20671 * elf/tst-tlsmod14a.c: Likewise.
20672 * elf/tst-tlsmod15b.c: Likewise.
20673 * elf/tst-tlsmod16a.c: Likewise.
20674 * elf/tst-tlsmod16b.c: Likewise.
20675 * elf/tst-tlsmod7.c: Likewise.
20676 * elf/tst-tlsmod8.c: Likewise.
20677 * elf/tst-tlsmod9.c: Likewise.
20678 * gmon/gmon.c: Likewise.
20679 * grp/fgetgrent_r.c: Likewise.
20680 * grp/putgrent.c: Likewise.
20681 * hurd/fopenport.c: Likewise.
20682 * include/libc-symbols.h: Likewise.
20683 * include/tls.h: Likewise.
20684 * intl/gettextP.h: Likewise.
20685 * intl/loadinfo.h: Likewise.
20686 * locale/global-locale.c: Likewise.
20687 * locale/localeinfo.h: Likewise.
20688 * mach/devstream.c: Likewise.
20689 * malloc/arena.c: Likewise.
20690 * malloc/set-freeres.c: Likewise.
20691 * misc/err.c: Likewise.
20692 * misc/getttyent.c: Likewise.
20693 * misc/mntent_r.c: Likewise.
20694 * posix/getopt.c: Likewise.
20695 * posix/wordexp.c: Likewise.
20696 * pwd/fgetpwent_r.c: Likewise.
20697 * resolv/Versions: Likewise.
20698 * resolv/res_hconf.c: Likewise.
20699 * shadow/fgetspent_r.c: Likewise.
20700 * shadow/putspent.c: Likewise.
20701 * stdio-common/printf_fphex.c: Likewise.
20702 * stdio-common/tmpfile.c: Likewise.
20703 * stdlib/abort.c: Likewise.
20704 * stdlib/fmtmsg.c: Likewise.
20705 * sunrpc/auth_unix.c: Likewise.
20706 * sunrpc/clnt_perr.c: Likewise.
20707 * sunrpc/clnt_tcp.c: Likewise.
20708 * sunrpc/clnt_udp.c: Likewise.
20709 * sunrpc/clnt_unix.c: Likewise.
20710 * sunrpc/openchild.c: Likewise.
20711 * sunrpc/svc_simple.c: Likewise.
20712 * sunrpc/svc_tcp.c: Likewise.
20713 * sunrpc/svc_udp.c: Likewise.
20714 * sunrpc/svc_unix.c: Likewise.
20715 * sunrpc/xdr.c: Likewise.
20716 * sunrpc/xdr_array.c: Likewise.
20717 * sunrpc/xdr_rec.c: Likewise.
20718 * sunrpc/xdr_ref.c: Likewise.
20719 * sunrpc/xdr_stdio.c: Likewise.
20720
20721 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20722
20723 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20724
20725 2011-07-03 Andreas Jaeger <aj@suse.de>
20726
20727 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20728 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20729 regenerate with gen-libm-tests.pl.
20730
20731 2010-05-12 Petr Baudis <pasky@suse.cz>
20732
20733 [BZ #11589]
20734 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20735 around j0() zero points by switching to j1().
20736 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20737 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20739 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20740
20741 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20742
20743 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20744 instead of 0.
20745 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
20746 instead of 0.
20747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20748 Patch in part by Pavel Roskin <proski@gnu.org>.
20749
20750 [BZ #13138]
20751 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20752 realloc.
20753 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20754 Free memory block if necessary.
20755
20756 [BZ #12847]
20757 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20758 be NULL. Don't lock in this case.
20759
20760 2011-09-09 Roland McGrath <roland@hack.frob.com>
20761
20762 * elf/elf.h (ELFOSABI_GNU): New macro.
20763 (ELFOSABI_LINUX): Define to that.
20764
20765 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20766
20767 * string/strncat.c (strncat): Undef the symbol in case it has been
20768 defined in bits/string.h.
20769
20770 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20771
20772 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20773
20774 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
20775 link map.
20776
20777 2011-08-17 Andreas Jaeger <aj@suse.de>
20778
20779 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20780
20781 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20782 Ian Lance Taylor <iant@google.com>
20783
20784 * math/libm-test.inc (lround_test): New testcase.
20785 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20786
20787 2011-09-08 Ulrich Drepper <drepper@gmail.com>
20788
20789 * Makefile: Remove support for automatic cvs check-ins.
20790 * Makerules: Likewise.
20791 * config.make.in: Likewise.
20792 * configure.in: Likewise.
20793 * intl/Makefile: Likewise.
20794 * locale/Makefile: Likewise.
20795 * po/Makefile: Likewise.
20796 * posix/Makefile: Likewise.
20797 * sysdeps/gnu/Makefile: Likewise.
20798 * sysdeps/mach/hurd/Makefile: Likewise.
20799 * sysdeps/sparc/sparc32/Makefile: Likewise.
20800
20801 [BZ #13118]
20802 * posix/Makefile (bug-regex32-ENV): Define.
20803 Patch by John Stanley <jpsinthemix@verizon.net>.
20804
20805 * misc/Makefile (headers): Add bits/select2.h.
20806 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20807 * misc/bits/select2.h: New file.
20808 * include/bits/select2.h: New file.
20809 * debug/Makefile (routines): Add fdelt_chk.
20810 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20811 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20812 FD_ISSET.
20813 * debug/fdelt_chk.c: New file.
20814
20815 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20816 * wcsmbs/test-wmemcmp.c: Likewise.
20817 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
20818 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
20819
20820 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20821
20822 * string/Makefile (strop-tests): Add memcmp.
20823 * string/test-wmemcmp.c: New file.
20824 * string/test-memcmp.c: Add wmemcmp support.
20825
20826 2011-09-08 Roland McGrath <roland@hack.frob.com>
20827
20828 [BZ #13153]
20829 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20830 2011-07-19 change.
20831
20832 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20833 garbage value in a __mach_port_mod_refs call in the cases of the
20834 task-self and thread-self ports.
20835
20836 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20837
20838 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20839
20840 2011-09-08 Andreas Schwab <schwab@redhat.com>
20841
20842 * elf/dl-load.c (lose): Check for non-null L.
20843
20844 2011-09-07 Ulrich Drepper <drepper@gmail.com>
20845
20846 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20847
20848 * elf/dl-libc.c (dlerror_run): Pass back error code from
20849 dl_catch_error.
20850
20851 [BZ #13123]
20852 * elf/dl-load.c (lose): Free l_origin if it is valid.
20853
20854 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20855 names.
20856 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20857 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20858 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20859 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20860 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20861 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20862
20863 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20864
20865 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20866 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20867 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20868 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20869 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20870 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20871 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20872 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20873 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20874 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20875
20876 2011-08-15 Alan Modra <amodra@gmail.com>
20877
20878 [BZ #13092]
20879 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20880 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20881 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20882 ppc_mcount to static-only-routines.
20883 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20884 __mcount_internal.
20885 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20886 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20887
20888 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20889
20890 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20891 for finite and infinity parameters.
20892
20893 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20894
20895 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20896 and add nop instructions for throughput optimization.
20897 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20898
20899 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20900
20901 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20902 aligned copy for power7 with vector-scalar instructions.
20903 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20904
20905 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20906
20907 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20908 AVX check.
20909
20910 2011-09-07 Andreas Schwab <schwab@redhat.com>
20911
20912 [BZ #13144]
20913 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20914 last change.
20915
20916 2011-09-07 Ulrich Drepper <drepper@gmail.com>
20917
20918 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20919 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20920 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20921 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20922 clock_gettime.
20923
20924 2011-09-06 Ulrich Drepper <drepper@gmail.com>
20925
20926 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20927 Forgot to demangle the pointer.
20928
20929 * sysdeps/i386/sysdep.h: Define atom_text_section.
20930 * sysdeps/x86_64/sysdep.h: Likewise.
20931 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20932 section with atom_text_section.
20933 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20934 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20935 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20937 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20938
20939 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20940 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20941 already be defined. Change to take two parameters and don't assign
20942 result to variable. Adjust all users.
20943 Define INTERNAL_GETTIME if not already defined.
20944 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20945 call.
20946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20947 HAVE_CLOCK_GETTIME_VSYSCALL.
20948 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20949
20950 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20951 gettimeofday vsyscall, just use time.
20952
20953 2011-09-06 Andreas Schwab <schwab@redhat.com>
20954
20955 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20956 <errno.h>.
20957
20958 2011-09-06 Ulrich Drepper <drepper@gmail.com>
20959
20960 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20961 syscall on x86-64.
20962 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20963 syscall.
20964 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20965 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20966 syscall if possible.
20967
20968 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20969
20970 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20971 e_ident. Don't pass to find_mapsXX.
20972 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20973
20974 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20975
20976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20977 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20978 * sysdeps/x86_64/multiarch/strchr.S: Update.
20979 Check bit_slow_BSF bit.
20980 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20981 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20982 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20983
20984 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20985
20986 [BZ #13134]
20987 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20988 before glibc 2.15.
20989 (tryshell): Define.
20990 (__spawni): Change last parameter to be flag. Test
20991 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20992 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20993 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20994 * posix/spawni.c: Likewise.
20995 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20996 * posix/spawnp.c: Likewise. Change normal version to use
20997 SPAWN_XFLAGS_USE_PATH.
20998 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20999 SPAWN_XFLAGS_TRY_SHELL.
21000
21001 [BZ #13150]
21002 * posix/glob.h: Remove gcc 1.x support.
21003
21004 [BZ #13068]
21005 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21006
21007 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21008
21009 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21010 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21011 strrchr-sse2-bsf
21012 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21013 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21014 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21015 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21016 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21017 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21018
21019 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21020
21021 * sysdeps/x86_64/wcscmp.S: New file.
21022
21023 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21024 wcscmp-c wcscmp-sse2
21025 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21026 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21027 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21028 * wcsmbs/wcscmp.c: Allow renaming.
21029
21030 2011-09-05 David S. Miller <davem@davemloft.net>
21031
21032 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21033 stack slot, rather than the struct return pointer slot.
21034 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21035 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21037 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21038
21039 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21040
21041 * po/ja.po: Update from translation team.
21042
21043 [BZ #13144]
21044 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21045 kernel in 64-bit binaries.
21046
21047 2011-09-01 David S. Miller <davem@davemloft.net>
21048
21049 * elf/elf.h (HWCAP_SPARC_*): Move to..
21050 * sysdeps/sparc/sysdep.h: this new file and add new values.
21051 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21052 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21053 _DL_HWCAP_COUNT to 24.
21054 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21055 entries.
21056 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21057 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21058 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21059 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21060 instead of magic constants.
21061 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21062
21063 2011-08-31 David S. Miller <davem@davemloft.net>
21064
21065 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21066 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21067 Reimplement to do errno handling inline.
21068 (SYSCALL_ERROR_HANDLER): New macro.
21069 (__SYSCALL_STRING): Do not do errno handling in asm.
21070 (__CLONE_SYSCALL_STRING): Delete.
21071 (__INTERNAL_SYSCALL_STRING): Delete.
21072 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21073 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21074 (PSEUDO): Reimplement to do errno handling inline.
21075 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21076 (SYSCALL_ERROR_HANDLER): New macro.
21077 (__SYSCALL_STRING): Do not do errno handling in asm.
21078 (__CLONE_SYSCALL_STRING): Delete.
21079 (__INTERNAL_SYSCALL_STRING): Delete.
21080 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21081 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21082 i386.
21083 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21084 (inline_syscall*): Add 'err' argument.
21085 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21086 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21087 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21088 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21089
21090 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21091 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21092
21093 2011-08-30 Andreas Schwab <schwab@redhat.com>
21094
21095 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21096
21097 2011-08-29 Jiri Olsa <jolsa@redhat.com>
21098
21099 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21100 directive.
21101
21102 2011-08-24 David S. Miller <davem@davemloft.net>
21103
21104 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21105
21106 2011-08-24 Andreas Schwab <schwab@redhat.com>
21107
21108 * elf/Makefile: Add rules to build and run unload8 test.
21109 * elf/unload8.c: New file.
21110 * elf/unload8mod1.c: New file.
21111 * elf/unload8mod1x.c: New file.
21112 * elf/unload8mod2.c: New file.
21113 * elf/unload8mod3.c: New file.
21114
21115 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21116 it wasn't used.
21117
21118 2011-08-23 David S. Miller <davem@davemloft.net>
21119
21120 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21121 subtract stack bias.
21122 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21123 %sp not %fp in calculations.
21124 (_JMPBUF_UNWINDS_ADJ): Likewise.
21125
21126 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21127 (aio_suspend): Call it to force an exception region around the
21128 AIO_MISC_WAIT() invocation.
21129
21130 2011-08-23 Andreas Schwab <schwab@redhat.com>
21131
21132 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21133 backslash.
21134
21135 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21136
21137 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21138 protection macro.
21139 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21140 and <dl-machine.h>.
21141 (Elf64_FuncDesc): Remove.
21142
21143 2011-08-22 David S. Miller <davem@davemloft.net>
21144
21145 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21146 sigaltstack check, add missing cfi directives.
21147 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21148 missing cfi directives, and sigaltstack handling.
21149
21150 2011-08-16 Andreas Schwab <schwab@redhat.com>
21151
21152 [BZ #11724]
21153 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21154 object is seen twice.
21155 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21156
21157 * elf/Makefile (distribute): Add tst-initorder2.c.
21158 (tests): Add tst-initorder2.
21159 (modules-names): Add tst-initorder2a tst-initorder2b
21160 tst-initorder2c tst-initorder2d. Add rules to build them.
21161 ($(objpfx)tst-initorder2.out): New rule.
21162 * elf/tst-initorder2.c: New file.
21163 * elf/tst-initorder2.exp: New file.
21164
21165 2011-08-22 Andreas Schwab <schwab@redhat.com>
21166
21167 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21168
21169 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21170 dependencies back to end of function.
21171
21172 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21173 $(elfobjdir)/ld.so.
21174
21175 2011-08-21 Ulrich Drepper <drepper@gmail.com>
21176
21177 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21178 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21179 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21180 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21181 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21182 of __vdso_gettimeofday.
21183 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21184 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21185 attribute_hidden.
21186 (_libc_vdso_platform_setup): Remove initialization of
21187 __vdso_gettimeofday and __vdso_time.
21188
21189 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21190
21191 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21192 and fgetc_unlocked.
21193 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21194 getc_unlocked.
21195
21196 * elf/dl-open.c (add_to_global): Report additions to the global scope
21197 for LD_DEBUG=scopes.
21198 (dl_open_worker): Also print scope of newly loaded dependencies.
21199 (_dl_show_scope): Indicate if there is no scope.
21200
21201 [BZ #13114]
21202 * stdio-common/Makefile (tests): Add bug24.
21203 * stdio-common/bug24.c: New file.
21204
21205 2011-08-19 Andreas Jaeger <aj@suse.de>
21206
21207 [BZ #13114]
21208 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21209 non-existant file when using close-on-exec mode.
21210
21211 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21212
21213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21214 the very first instruction.
21215
21216 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21217 the CFI state in the end.
21218 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21219 inclusion of dl-trampoline.h.
21220 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21221
21222 2011-08-19 Andreas Schwab <schwab@redhat.com>
21223
21224 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21225 expectations for long double.
21226
21227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21228 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21229
21230 2011-08-14 David S. Miller <davem@davemloft.net>
21231
21232 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21233 artificual limit depends upon the system page size.
21234
21235 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21236
21237 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21238 * resolv/Makefile: Define CFLAGS-libresolv.
21239
21240 2011-08-17 Andreas Schwab <schwab@redhat.com>
21241
21242 * nss/makedb.c (compute_tables): Make variables used in nested
21243 function static.
21244
21245 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21246
21247 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21248 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21249 if buffer was too small.
21250
21251 * elf/pldd.c (main): Attach to all threads in the process.
21252 Rewrite /proc handling to use *at functions.
21253
21254 2011-08-16 Ulrich Drepper <drepper@gmail.com>
21255
21256 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21257 specifies first scope to show.
21258 (dl_open_worker): Update callers. Move printing scope of new
21259 object to before the relocation.
21260 * elf/rtld.c (dl_main): Update _dl_show_scope call.
21261 * sysdeps/generic/ldsodefs.h: Update declaration.
21262
21263 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21264 string for the scope number.
21265
21266 2011-08-14 Ulrich Drepper <drepper@gmail.com>
21267
21268 * nscd/servicescache.c (cache_addserv): Make sure written is always
21269 initialized.
21270
21271 2011-08-14 Roland McGrath <roland@hack.frob.com>
21272
21273 * sysdeps/i386/i486/bits/atomic.h
21274 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21275 statement expression, so as to suppress "set but not used" warning.
21276 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21277
21278 * string/strncat.c (STRNCAT): Use prototype definition.
21279
21280 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21281 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21282 -Iprograms here.
21283 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21284 (localedef-modules): Add localedef.
21285 (locale-modules): Add locale.
21286
21287 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21288 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21289 to avoid a warning.
21290
21291 2011-08-14 David S. Miller <davem@davemloft.net>
21292
21293 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21294 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21295
21296 2011-08-13 Ulrich Drepper <drepper@gmail.com>
21297
21298 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
21299 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21300 * elf/rtld.c (dl_main): Set l_name of vDSO.
21301 Call _dl_show_scope when DL_DEBUG_SCOPES.
21302 (process_dl_debug): Recognize scopes flag and also set it for all.
21303 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21304 Declare _dl_show_scope.
21305
21306 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21307 (do_dlopen): Pass caller_dlopen to dl_open.
21308 (__libc_dlopen_mode): Initialize caller_dlopen.
21309
21310 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21311 of libc. Make tolower call locale-independent. Optimize a bit by
21312 using isdigit instead of isalnum.
21313 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21314
21315 2011-08-12 Ulrich Drepper <drepper@gmail.com>
21316
21317 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21318 was a dependency or dynamically loaded.
21319
21320 2011-08-11 Ulrich Drepper <drepper@gmail.com>
21321
21322 * intl/l10nflist.c: Allow architecture-specific pop function.
21323 * sysdeps/x86_64/l10nflist.c: New file.
21324
21325 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21326 classification.
21327
21328 2011-08-10 Andreas Schwab <schwab@redhat.com>
21329
21330 * include/dirent.h: Add libc_hidden_proto for scandirat and
21331 scandirat64. Don't declare __scandirat64.
21332 * dirent/scandirat.c: Add libc_hidden_def.
21333 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21334 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21335
21336 2011-08-10 David S. Miller <davem@davemloft.net>
21337
21338 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21339 enum.
21340 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21342 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21343
21344 2011-08-09 Ulrich Drepper <drepper@gmail.com>
21345
21346 * Versions.def [libc]: Add GLIBC_2.15.
21347 * dirent/Makefile (routines): Add scandirat and scandirat64.
21348 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21349 GLIBC_2.15.
21350 * dirent/dirent.h: Declare scandirat and scandirat64.
21351 * dirent/scandirat.c: New file.
21352 * dirent/scandirat64.c: New file.
21353 * sysdeps/wordsize-64/scandirat.c: New file.
21354 * sysdeps/wordsize-64/scandirat64.c: New file.
21355 * dirent/opendir.c: Define opendirat.
21356 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21357 using scandirat.
21358 * dirent/scandir64.c: Adjust for scandir.c change.
21359 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21360 __scandirat64, and __scandir_cancel_handler.
21361 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21362 additional parameter and use openat instead of open (outside of ld.so).
21363 Add new __opendir as wrapper around __opendirat.
21364 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21365 here without requiring old scandirat implementation.
21366
21367 2011-08-08 Ulrich Drepper <drepper@gmail.com>
21368
21369 * dirent/scandir.c (cancel_handler): Renamed to
21370 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21371 defined. Adjust users.
21372 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21373 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21374
21375 2011-08-04 Ulrich Drepper <drepper@gmail.com>
21376
21377 * string/test-string.h (IMPL): Use __STRING to expand name and then
21378 stringify it.
21379
21380 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21381 of cleanups.
21382
21383 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21384
21385 * string/Makefile: Update.
21386 (strop-tests): Append strncat.
21387 * string/test-wcscmp.c: New file.
21388 New comprehensive test for wcscmp.
21389 * string/test-strcmp.c: Update.
21390 (WIDE): New define.
21391
21392 2011-07-22 Andreas Schwab <schwab@redhat.com>
21393
21394 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21395 line.
21396
21397 2011-07-26 Andreas Schwab <schwab@redhat.com>
21398
21399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21400 encoding to ACE if AI_IDN.
21401
21402 2011-08-01 Jakub Jelinek <jakub@redhat.com>
21403
21404 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21405 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21406
21407 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21408
21409 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21410 Fix overflow bug in strncat.
21411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21412
21413 * string/test-strncat.c: Update.
21414 Add new tests for checking overflow bugs.
21415
21416 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21417
21418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21419 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21420 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21421 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21422 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21423 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21424 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21425 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21426 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21427
21428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21429 (USE_AS_STRCAT): Define.
21430 Add strcat and strncat support.
21431 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21432
21433 2011-07-25 Andreas Schwab <schwab@redhat.com>
21434
21435 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21436 __n bigger than INT_MAX+1.
21437 (__strncmp_g): Likewise.
21438
21439 2011-07-23 Ulrich Drepper <drepper@gmail.com>
21440
21441 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21442 * libio/stido.h: Likewise.
21443
21444 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21445 (AF_NFC): Define.
21446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21447 (AF_NFC): Define.
21448
21449 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21450 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21451 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21452 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21453 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21454
21455 [BZ #13021]
21456 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21457 installed.
21458
21459 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21460 typo.
21461 (_dl_x86_64_save_sse): Likewise.
21462
21463 2011-07-22 Ulrich Drepper <drepper@gmail.com>
21464
21465 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21466 OSXSAVE.
21467 (_dl_x86_64_save_sse): Likewise.
21468
21469 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21470
21471 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21472
21473 2011-07-21 Andreas Schwab <schwab@redhat.com>
21474
21475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21476 change.
21477 (_dl_x86_64_save_sse): Use correct AVX check.
21478
21479 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21480
21481 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21482 bug in strncpy/strncat.
21483 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21484
21485 2011-07-21 Ulrich Drepper <drepper@gmail.com>
21486
21487 * string/tester.c (test_strcat): Add tests for different alignments
21488 of source and destination.
21489 (test_strncat): Likewise.
21490
21491 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21492
21493 [BZ #12852]
21494 * posix/glob.c (glob): Check passed in values before using them in
21495 expressions to avoid some overflows.
21496 (glob_in_dir): Likewise.
21497
21498 [BZ #13007]
21499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21500 check for AVX enablement so that we don't crash with old kernels and
21501 new hardware.
21502 * elf/tst-audit4.c: Add same checks here.
21503 * elf/tst-audit6.c: Likewise.
21504
21505 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
21506
21507 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21508
21509 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21510
21511 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21512
21513 * po/cs.po: Update from translation team.
21514 * po/bg.po: Likewise.
21515
21516 2011-07-12 Marek Polacek <mpolacek@redhat.com>
21517
21518 * misc/sys/cdefs.h: Add support for const attribute.
21519 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21520 to gnu_dev_{major,minor,makedev} functions.
21521
21522 2011-07-20 Marek Polacek <mpolacek@redhat.com>
21523
21524 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21525
21526 2011-07-20 Andreas Schwab <schwab@redhat.com>
21527
21528 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21529 strlen results.
21530
21531 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21532
21533 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21534 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21535 register in order to avoid conflicts with the soft frame pointer
21536 being held in r11 when necessary.
21537 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21538 (INTERNAL_VSYSCALL_NCS): Likewise.
21539
21540 2011-07-14 Marek Polacek <mpolacek@redhat.com>
21541
21542 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21543 * elf/dl-fini.c (_dl_fini): Adjust caller.
21544 * elf/dl-close.c (_dl_close_worker): Likewise.
21545 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21546
21547 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21548
21549 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21550 "aux_cache->nlibs < 0".
21551
21552 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21553 in the reload-count case.
21554
21555 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21556
21557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21558 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21559 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21560 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21561 * sysdeps/x86_64/multiarch/strcat.S: New file.
21562 * sysdeps/x86_64/multiarch/strncat.S: New file.
21563 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21564 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21565 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21566 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21567 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21568 (USE_AS_STRCAT): Define.
21569 Add strcat and strncat support.
21570 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21571 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21572 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21573 * string/strncat.c: Update.
21574 (USE_AS_STRNCAT): Define.
21575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21576 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21577 and i7.
21578 * sysdeps/x86_64/multiarch/init-arch.h
21579 (bit_Prefer_PMINUB_for_stringop): New.
21580 (index_Prefer_PMINUB_for_stringop): Likewise.
21581 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21582 bit_Prefer_PMINUB_for_stringop.
21583
21584 2011-07-19 Ulrich Drepper <drepper@gmail.com>
21585
21586 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21587 buffer64.
21588 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21589 of casting of buffer.
21590 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21591 buffer32 and buffer64.
21592 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21593 writes instead of casting of buffer.
21594 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21595 buffer32.
21596 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21597 casting of buffer.
21598
21599 2011-07-19 Andreas Schwab <schwab@redhat.com>
21600
21601 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21602
21603 2011-07-19 Ulrich Drepper <drepper@gmail.com>
21604
21605 * nscd/nscd.c (termination_handler): Don't do anything for a database
21606 if it has not yet been initialized.
21607
21608 2011-07-18 Ulrich Drepper <drepper@gmail.com>
21609
21610 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21611
21612 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21613
21614 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21615
21616 2011-07-18 Ulrich Drepper <drepper@gmail.com>
21617
21618 * po/nl.po: Update from translation team.
21619 * po/sv.po: Likewise.
21620
21621 2011-07-16 Roland McGrath <roland@hack.frob.com>
21622
21623 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21624 now disallowed by GCC.
21625
21626 * configure.in (use-default-link): Default to yes if a test -shared
21627 link meets our qualifications.
21628 * configure: Regenerated.
21629
21630 * config.make.in (output-format): New variable.
21631 * configure.in: Check for ld --print-output-format support.
21632 * configure: Regenerated.
21633 * Makerules ($(common-objpfx)format.lds)
21634 [$(output-format) != unknown]: Just use $(output-format),
21635 instead of the linker-script munging.
21636
21637 2011-07-14 Roland McGrath <roland@hack.frob.com>
21638
21639 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21640 of $(common-objpfx)shlib.lds.
21641 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21642
21643 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21644 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21645
21646 * configure.in (-z relro check): Adjust test code to add a large
21647 writable data section after it.
21648 * configure: Regenerated.
21649
21650 2011-07-11 Roland McGrath <roland@hack.frob.com>
21651
21652 * configure.in (-z relro check): Fix test code to make the variable
21653 truly const.
21654 * configure: Regenerated.
21655
21656 2011-07-11 Ulrich Drepper <drepper@gmail.com>
21657
21658 * nscd/nscd.h (struct traced_file): Define.
21659 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21660 elements. Add traced_files.
21661 (inotify_fd): Declare.
21662 (register_traced_file): Declare.
21663 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21664 (inotify_fd): Export.
21665 (resolv_conf_descr): Remove.
21666 (nscd_init): Move inotify descriptor creation to main.
21667 Don't register files for notification here.
21668 (register_traced_file): New function.
21669 (invalidate_cache): Don't use reset_res to determine whether to call
21670 res_init, go through the list of registered files.
21671 (main_loop_poll): The inotify descriptors are now stored in the
21672 structures for the traced files.
21673 (main_loop_epoll): Likewise
21674 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21675 to __nss_disable_nscd.
21676 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21677 for a database anymore. Check the records for all the registered
21678 files instead.
21679 * nss/Makefile (libnss_files-routines): Add files-init.
21680 (libnss_db-routines): Add db-init.
21681 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21682 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21683 * nss/nss_db/db-init.c: New file.
21684 * nss/nss_files/files-init.c: New file.
21685 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21686 __nss_lookup_function.
21687 (__nss_lookup_function): Call nss_load_library.
21688 (nss_load_all_libraries): New function.
21689 (__nss_disable_nscd): Take parameter with callback function for files
21690 to register. Set is_nscd. Load all the DSOs for the NSS modules
21691 used for the cached services.
21692 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21693 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21694 options for features to all the files in nscd.
21695
21696 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21697
21698 2011-07-10 Roland McGrath <roland@hack.frob.com>
21699
21700 * csu/elf-init.c (__libc_csu_init): Comment typo.
21701
21702 2011-07-09 Ulrich Drepper <drepper@gmail.com>
21703
21704 * po/pl.po: Update from translation team.
21705 * po/ja.po: Likewise.
21706 * po/ru.po: Likewise.
21707 * po/ko.po: Likewise.
21708 * po/fr.po: Likewise.
21709
21710 2011-07-09 Roland McGrath <roland@hack.frob.com>
21711
21712 * configure.in (.ctors/.dtors header and trailer check):
21713 Use an empirical test on a built program.
21714 * configure: Regenerated.
21715
21716 * configure.in (-z relro check): Use an empirical test on a built DSO.
21717 Detect, but do not require, on ia64.
21718 * configure: Regenerated.
21719
21720 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21721 Update tests that use readelf to use $READELF instead.
21722 * configure: Regenerated.
21723
21724 2011-07-08 Ulrich Drepper <drepper@gmail.com>
21725
21726 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21727 if the result is not used.
21728
21729 2011-07-05 Andreas Jaeger <aj@suse.de>
21730
21731 [BZ#9696]
21732 * stdlib/tst-strtod.c: Add testcase.
21733
21734 2011-07-07 Ulrich Drepper <drepper@gmail.com>
21735
21736 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
21737 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
21738 The latter has a higher limit. Take additional parameter to pass to
21739 the new function.
21740 (__pathconf): Pass file to __statfs_link_max.
21741 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21742 __statfs_link_max.
21743 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21744 __statfs_link_max.
21745
21746 [BZ #12868]
21747 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21748 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21749 Handle Lustre.
21750 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21751 (__statfs_filesize_max): Likewise.
21752 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21753
21754 2011-07-05 Andreas Jaeger <aj@suse.de>
21755
21756 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21757
21758 2011-07-06 Marek Polacek <mpolacek@redhat.com>
21759
21760 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21761 `status' variable.
21762 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21763 Likewise.
21764
21765 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21766
21767 * Makefile (strop-tests): Add strncat.
21768 * string/test-strncat.c: New file.
21769
21770 2011-06-30 Marek Polacek <mpolacek@redhat.com>
21771
21772 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21773
21774 2011-06-21 Andreas Jaeger <aj@suse.de>
21775
21776 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21777 Copy rule from iconvdata/Makefile.
21778
21779 2011-07-06 Ulrich Drepper <drepper@gmail.com>
21780
21781 [BZ #12922]
21782 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21783 but no long options are defined, just return 'W'.
21784
21785 2011-06-22 Marek Polacek <mpolacek@redhat.com>
21786
21787 [BZ #9696]
21788 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21789
21790 2011-07-06 Ulrich Drepper <drepper@gmail.com>
21791
21792 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21793 netgroups to read.
21794 (innetgr): Likewise.
21795
21796 2011-07-05 Roland McGrath <roland@hack.frob.com>
21797
21798 * config.make.in (install_root): Default to $(DESTDIR).
21799
21800 2011-07-05 Ulrich Drepper <drepper@gmail.com>
21801
21802 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21803
21804 2011-07-02 Roland McGrath <roland@hack.frob.com>
21805
21806 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21807
21808 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21809 containing directory rather than embedding absolute directory names.
21810
21811 * scripts/check-local-headers.sh: Rewritten using awk.
21812 Match by word, not by line. Print error messages for matches.
21813 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21814
21815 * Makerules [shlib-lds-flags empty]:
21816 ($(common-objpfx)libc_pic.opts): New target.
21817 ($(common-objpfx)libc_pic.os.clean): New target.
21818 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21819
21820 * config.make.in (OBJCOPY): New variable.
21821 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21822 * configure: Regenerated.
21823
21824 * config.make.in (use-default-link): New variable.
21825 * configure.in (use_default_link): Grok --with-default-link to set it.
21826 * configure: Regenerated.
21827 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21828 (shlib-lds, shlib-lds-flags): Define to empty.
21829
21830 * Makerules (shlib-lds): New variable.
21831 (shlib-lds-flags): New variable.
21832 (build-shlib, build-moduile, build-module-asneeded): Use it.
21833 ($(common-objpfx)libc.so): Use $(shlib-lds).
21834 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21835 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21836
21837 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21838 DT_FLAGS/DT_FLAGS_1 with zero flags.
21839
21840 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21841 linker script munging.
21842
21843 2011-07-02 Ulrich Drepper <drepper@gmail.com>
21844
21845 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21846 as 128-bit value.
21847 * crypt/sha512.c (sha512_process_block): Perform total addition using
21848 128-bit if possible.
21849 (__sha512_finish_ctx): Likewise.
21850 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21851 as 64-bit value.
21852 * crypt/sha256.c (SWAP64): Define.
21853 (sha256_process_block): Perform total addition using 64-bit if
21854 possible.
21855 (__sha256_finish_ctx): Likewise.
21856
21857 2011-07-01 Ulrich Drepper <drepper@gmail.com>
21858
21859 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21860 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21861 * nscd/hstcache.c (cache_addhst): Likewise.
21862 * nscd/grpcache.c (cache_addgr): Likewise.
21863 * nscd/aicache.c (addhstaiX): Likewise
21864 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21865
21866 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
21867
21868 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21869 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21870 * nscd/hstcache.c (cache_addhst): Likewise.
21871 * nscd/grpcache.c (cache_addgr): Likewise.
21872 * nscd/aicache.c (addhstaiX): Likewise
21873
21874 2011-07-01 Andreas Schwab <schwab@redhat.com>
21875
21876 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21877 domain only when needed.
21878
21879 2011-06-30 Andreas Schwab <schwab@redhat.com>
21880
21881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21882 is always restored.
21883
21884 2011-06-29 Ulrich Drepper <drepper@gmail.com>
21885
21886 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21887 are re-adding the entry.
21888 * nscd/servicescache.c (cache_addserv): Likewise.
21889
21890 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21891
21892 * sysdeps/generic/dl-irel.h: fix protection against multiple
21893 inclusions.
21894 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21895
21896 2011-06-28 Ulrich Drepper <drepper@gmail.com>
21897
21898 [BZ #12935]
21899 * malloc/memusage.sh: Fix quoting in message.
21900 * debug/xtrace.sh: Likewise.
21901
21902 * configure.in: Remove support for --experimental-malloc option, make
21903 it the default.
21904 * config.make.in: Likewise.
21905 * malloc/Makefile: Likewise.
21906
21907 2011-06-27 Andreas Schwab <schwab@redhat.com>
21908
21909 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21910 two-byte characters.
21911
21912 2011-06-27 Roland McGrath <roland@hack.frob.com>
21913
21914 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21915 AC_CACHE_CHECK invocation.
21916 * configure: Regenerated.
21917
21918 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21919
21920 2011-06-27 Ulrich Drepper <drepper@gmail.com>
21921
21922 [BZ #12350]
21923 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21924 bit from old_res_options.
21925
21926 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21927
21928 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21929 value type for setfct.
21930
21931 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21932
21933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21934 __gettimeofday instead of gettimeofday.
21935
21936 2011-06-26 Ulrich Drepper <drepper@gmail.com>
21937
21938 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21939
21940 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21941
21942 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21943
21944 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21945 info.
21946
21947 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21948
21949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21950 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21951 strcpy-sse2-unaligned strncpy-sse2-unaligned
21952 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21953 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21954 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21955 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21956 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21957 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21958 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21959 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21960 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21961 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21962 (STRCPY): Support SSE2 and SSSE3 versions.
21963
21964 2011-06-24 Ulrich Drepper <drepper@gmail.com>
21965
21966 [BZ #12874]
21967 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21968 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21969 kernels which artificially limit size of requests.
21970
21971 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21972
21973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21974 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21975 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21976 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21977 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21978 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21979 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21980 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21981 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21982 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21983 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21984 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21985 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21986 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21987 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21989 Enable unaligned load optimization for Intel Core i3, i5 and i7
21990 processors.
21991 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21992 Define.
21993 (index_Fast_Unaligned_Load): Define.
21994 (HAS_FAST_UNALIGNED_LOAD): Define.
21995
21996 2011-06-23 Marek Polacek <mpolacek@redhat.com>
21997
21998 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21999
22000 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22001
22002 [BZ #12907]
22003 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22004 until it is clear that the information is realy needed.
22005 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22006
22007 2011-06-22 Andreas Schwab <schwab@redhat.com>
22008
22009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22010
22011 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22012
22013 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22014 /sys/devices/system/cpu/online if it is usable.
22015
22016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22017 reading the information from the /proc filesystem to once a second.
22018
22019 2011-06-21 Andreas Jaeger <aj@suse.de>
22020
22021 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22022 NULL after inclusion of kernel headers.
22023
22024 2011-06-21 Ulrich Drepper <drepper@gmail.com>
22025
22026 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22027 calls to internal_setent.
22028
22029 [BZ #12885]
22030 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22031 addresses using gethostbyname4_r ignore IPv4 addresses.
22032
22033 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22034 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22035
22036 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22037
22038 2011-06-20 David S. Miller <davem@davemloft.net>
22039
22040 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22041 inclusions.
22042 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22043
22044 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22045 (elf_irel): Use it.
22046 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22047 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22048 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22049 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22050 * sysdeps/x86_64/dl-irel.h: Likewise.
22051
22052 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22053 * elf/dl-sym.c: Likewise.
22054
22055 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22056
22057 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22058 need to dereference resplen2.
22059
22060 2011-06-14 Andreas Schwab <schwab@redhat.com>
22061
22062 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22063
22064 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22065
22066 * Makeconfig: Define vardbdir and inst_vardbdir.
22067 * nss/Makefile: Add rules to install db-Makefile.
22068
22069 * nss/nss_db/db-XXX.c: Cleanup.
22070
22071 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22072 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22073 GLIBC_PRIVATE.
22074 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22075 * nss/makedb.c: Implement -g option to specify that value strings
22076 are generated and should not be added to table iterated over for
22077 get*ent calls.
22078 * nss/nss_db/db-initgroups.c: New file.
22079
22080 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22081 interface.
22082
22083 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22084 (internal_getgrouplist): Adjust to name change.
22085 Update use_initgroups_entry if this is not the first call.
22086 * nss/databases.def: Add initgroups entry.
22087
22088 * nss/makedb.c (compute_tables): Check result of multiple hash table
22089 sizes to minimize maximum chain length.
22090
22091 2011-06-14 Ulrich Drepper <drepper@gmail.com>
22092
22093 * Versions.def: Add entry for libnss_db.
22094 * shlib-versions: Likewise.
22095 * nss/Makefile: Add rules to build libnss_db.
22096 * nss/Versions: Add libnss_db information. Organize libnss_files
22097 entries better.
22098 * nss/db-Makefile: Add gshadow support. Change rules for the new
22099 makedb progra. Some minor improvements to generate smaller files.
22100 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22101 here from...
22102 * nss/makedb.c: ...here.
22103 Improve database format to be smaller and require less memory at
22104 runtime.
22105 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22106 db anymore.
22107 * nss/nss_db/db-netgrp.c: Likewise.
22108 * nss/nss_db/db-open.c: Likewise.
22109 * nss/nss_files/flies-XXX.x: Adjust comments.
22110 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22111 * nss/nss_files/files-grp.c: Likewise.
22112 * nss/nss_files/files-hosts.c: Likewise.
22113 * nss/nss_files/files-network.c: Likewise.
22114 * nss/nss_files/files-proto.c: Likewise.
22115 * nss/nss_files/files-pwd.c: Likewise.
22116 * nss/nss_files/files-rpc.c: Likewise.
22117 * nss/nss_files/files-service.c: Likewise.
22118 * nss/nss_files/files-sgrp.c: Likewise.
22119 * nss/nss_files/files-spwd.c: Likewise.
22120 * nss/nss_db/db-alias.c: Removed.
22121 * nss/nss_db/dummy-db.h: Removed.
22122
22123 2011-06-02 Ulrich Drepper <drepper@gmail.com>
22124
22125 * nss/makedb.c: Rewritten to not use database library.
22126 * nss/Makefile: Update to build new makedb program.
22127
22128 2011-06-14 Andreas Jaeger <aj@suse.de>
22129
22130 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22131 memset declaration.
22132
22133 2011-06-10 Andreas Schwab <schwab@redhat.com>
22134
22135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22136 tmpbuf.
22137
22138 2011-06-10 Roland McGrath <roland@hack.frob.com>
22139
22140 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22141 * elf/Makefile ($(objpfx)ld.so): Likewise.
22142
22143 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22144 Don't list ld.so twice in dependencies.
22145
22146 * posix/bug-regex31.c: Include <stdlib.h>.
22147
22148 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22149
22150 * nis/nss_compat/compat-spwd.c
22151 (getspent_next_nss_netgr): Remove unused variable.
22152 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22153
22154 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22155 nonmembers" output to use the right array.
22156
22157 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22158
22159 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22160
22161 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22162 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22163 * catgets/gencat.c (read_input_file): Likewise.
22164 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22165
22166 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22167 variable definition inside #if's controlling its use.
22168
22169 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22170
22171 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22172
22173 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22174
22175 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22176 unreachable code.
22177
22178 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22179
22180 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22181 * configure: Regenerated.
22182
22183 * Makerules: Revert last change.
22184 * elf/Makefile: Likewise.
22185
22186 2011-06-09 Roland McGrath <roland@hack.frob.com>
22187
22188 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22189 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22190 (reloc-link): Likewise.
22191
22192 2011-06-09 Ulrich Drepper <drepper@gmail.com>
22193
22194 * elf/Makefile: Add rules to build pldd.
22195 * elf/pldd.c: New file.
22196 * elf/pldd-xx.c: New file.
22197
22198 2011-06-07 Ulrich Drepper <drepper@gmail.com>
22199
22200 * version.h: Update for 2.15 development version.
22201
22202 2011-06-07 David S. Miller <davem@davemloft.net>
22203
22204 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22205 ifuncs.
22206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22207 elf_machine_lazy_rel): Likewise.
22208 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22210 elf_machine_lazy_rel): Likewise.
22211 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22212 dl_hwcap via passed in argument.
22213 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22214 Likewise.
22215
22216 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22217
22218 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22219
22220 2011-06-06 Roland McGrath <roland@hack.frob.com>
22221
22222 [BZ #12849]
22223 * manual/fdl-1.1.texi: New file, verbatim from:
22224 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22225 * manual/lgpl-2.1.texi: New file, verbatim from:
22226 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22227 * manual/Makefile (licenses): New variable, list those new file names.
22228 (texis): Use it.
22229 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22230
22231 * manual/fdl.texi: File removed.
22232 * manual/lesser.texi: File removed.
22233 * manual/libc.texinfo (Copying, Documentation License):
22234 Use new @include file names, put @appendix directive before @include.
22235
22236 2011-06-04 Jakub Jelinek <jakub@redhat.com>
22237
22238 [BZ #12841]
22239 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22240 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22241 (mq_open): Add __NTH.
22242
22243 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22244
22245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22246 Assume Intel Core i3/i5/i7 processor if AVX is available.
22247
22248 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22249
22250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22251 typo.
22252
22253 2011-05-31 Andreas Schwab <schwab@redhat.com>
22254
22255 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22256 memory. Use alloca_account. Fix memory leak when retrying.
22257
22258 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22259
22260 * version.h (RELEASE): Bump for 2.14 release.
22261 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22262
22263 * config.make.in (RANLIB): Remove entry.
22264
22265 2011-05-30 Ulrich Drepper <drepper@gmail.com>
22266
22267 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22268 (libc.pot): Work around missing support for .ksh extension in xgettext.
22269
22270 [BZ #12684]
22271 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22272 if both request failed.
22273 (send_dg): In case of server errors clear resplen or *resplen2.
22274
22275 [BZ #12454]
22276 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22277 when there are multiple maps.
22278 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22279 (_dl_fini): Remove test here.
22280
22281 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22282
22283 2011-05-29 Ulrich Drepper <drepper@gmail.com>
22284
22285 [BZ #12350]
22286 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22287 bit from old_res_options.
22288 (gaih_inet): Likewise.
22289
22290 [BZ #11099]
22291 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
22292 as signed.
22293
22294 * resolv/res_init.c (res_setoptions): Make the code more compact.
22295
22296 [BZ #11558]
22297 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22298 set RES_USEVC.
22299
22300 [BZ #11634]
22301 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22302
22303 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22304
22305 [BZ #11781]
22306 * malloc/malloc.h: Declare malloc hook variables as volatile.
22307
22308 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22309 in last patch.
22310
22311 [BZ #11799]
22312 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
22313 raise in the comment.
22314 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22315 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22316 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
22317
22318 2011-05-28 Ulrich Drepper <drepper@gmail.com>
22319
22320 [BZ #12811]
22321 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22322 grow the buffers more if it already has to be sufficient.
22323 (build_wcs_upper_buffer): Likewise.
22324 * posix/regexec.c (check_matching): Likewise.
22325 (clean_state_log_if_needed): Likewise.
22326 (extend_buffers): Don't enlarge buffers beyond size of the input
22327 buffer.
22328 Patches mostly by Emil Wojak <emil@wojak.eu>.
22329 * posix/bug-regex32.c: New file.
22330 * posix/Makefile (tests): Add bug-regex32.
22331
22332 * locale/findlocale.c (_nl_find_locale): Return right away if
22333 _nl_explode_name failed.
22334 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22335
22336 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22337
22338 * debug/xtrace.sh: Unify messages.
22339 * malloc/memusage.sh: Likewise.
22340
22341 [BZ #12813]
22342 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22343 time symbol from vDSO. Substitute with vsyscall if not available.
22344 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22345 __vdso_time.
22346
22347 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22348 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22349 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22350 Add sendmmsg and internal_sendmmsg.
22351 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22352 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22353 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22354
22355 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22356 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22357 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22358
22359 2011-05-27 Ulrich Drepper <drepper@gmail.com>
22360
22361 [BZ #12813]
22362 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22363 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22364 available.
22365 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22366 __vdso_getcpu.
22367
22368 [BZ #12814]
22369 * iconvdata/Makefile (tests): Add bug-iconv9.
22370 * iconvdata/bug-iconv9.c: New file.
22371
22372 2011-05-27 Andreas Schwab <schwab@redhat.com>
22373
22374 [BZ #12814]
22375 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22376
22377 2011-05-25 Jakub Jelinek <jakub@redhat.com>
22378
22379 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22380 (struct user_regs_struct): Change intcs field back to cs.
22381
22382 2011-05-25 Ulrich Drepper <drepper@gmail.com>
22383
22384 * po/ja.po: Update from translation team.
22385
22386 2011-05-23 Ulrich Drepper <drepper@gmail.com>
22387
22388 [BZ #12795]
22389 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22390 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22391
22392 2011-05-20 Andreas Schwab <schwab@redhat.com>
22393
22394 * stdlib/longlong.h: Update from GCC.
22395
22396 2011-05-23 Andreas Schwab <schwab@redhat.com>
22397
22398 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22399 parameter name.
22400 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22401 Add parameter name.
22402 (__sysconf): Pass it down.
22403
22404 2011-05-22 Ulrich Drepper <drepper@gmail.com>
22405
22406 [BZ #12671]
22407 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22408 some situations.
22409 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22410 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22411 add in in __libc_use_alloca calls. Adjust callers.
22412 (glob): Use malloc in some situations.
22413
22414 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22415 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22416 pltexit.
22417
22418 2011-05-21 Ulrich Drepper <drepper@gmail.com>
22419
22420 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22421 and CLOCK_BOOTTIME_ALARM.
22422
22423 [BZ #12782]
22424 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22425 is returned.
22426
22427 * string/_strerror.c (__strerror_r): Print negative errors as signed
22428 numbers.
22429
22430 [BZ #12777]
22431 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22432 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22433 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22434
22435 * configure.in: Fix typo in redirection and correct removal of test
22436 files in two cases.
22437
22438 [BZ #12788]
22439 * locale/setlocale.c (new_composite_name): Fix test to check for
22440 identical name of all categories.
22441
22442 [BZ #12792]
22443 * libio/filedoalloc.c (local_isatty): New function.
22444 (_IO_file_doallocate): Use local_isatty.
22445 * stdio-common/perror.c (perror): In case a new stream is used
22446 forward the stream error.
22447 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22448 error flag.
22449
22450 2011-05-20 Ulrich Drepper <drepper@gmail.com>
22451
22452 [BZ #11869]
22453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22454 alloca.
22455 * include/alloca.h (extend_alloca_account): Define.
22456
22457 [BZ #11857]
22458 * posix/regex.h: Fix comments with documentation of user-accessible
22459 fields after compilation and describe correct free'ing of pattern
22460 after re_compile_pattern.
22461 Patch by Reuben Thomas <rrt@sc3d.org>.
22462
22463 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22464
22465 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22466 and -mno-altivec to prevent the compiler from using Altivec and/or
22467 VSX instructions when the corresponding registers are not available.
22468
22469 2011-05-19 Andreas Schwab <schwab@redhat.com>
22470
22471 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22472
22473 2011-05-19 Ulrich Drepper <drepper@gmail.com>
22474
22475 * libio/freopen.c (freopen): Use __dup2, not dup2.
22476 * libio/freopen64.c (freopen64): Likewise.
22477
22478 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22479
22480 [BZ #12775]
22481 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22482 * math/Makefile (tests): Add test-powl.
22483 (CFLAGS-test-powl.c): Define.
22484 * math/test-powl.c: New file.
22485
22486 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22487
22488 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22489
22490 2011-05-17 Ulrich Drepper <drepper@gmail.com>
22491
22492 [BZ #11837]
22493 * iconvdata/gb18030.c: Update to GB18020-2005.
22494
22495 2011-05-16 Ulrich Drepper <drepper@gmail.com>
22496
22497 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22498 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22499 Patch by Aharon Robbins <arnold@skeeve.com>.
22500
22501 [BZ #11892]
22502 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22503 on the stack.
22504
22505 [BZ #11895]
22506 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22507 through underflows.
22508
22509 [BZ #12766]
22510 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22511 point to strings before performing equality test for error_one_per_line
22512 mode.
22513
22514 [BZ #11697]
22515 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22516
22517 [BZ #11820]
22518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22519 (struct user_fpregs_struct): Avoid __uint*_t types.
22520
22521 [BZ #6420]
22522 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22523 symbol info. Use it instead of calling _dl_addr locally.
22524 (lock_and_info): New function.
22525 (tr_freehook): Call lock_and_info and pass symbol info as additional
22526 parameter to tr_where.
22527 (tr_mallochook): Likewise.
22528 (tr_reallochook): Likewise.
22529 (tr_memalignhook): Likewise.
22530
22531 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22532 used and couldn't be at all thread-safe.
22533
22534 2011-05-15 Ulrich Drepper <drepper@gmail.com>
22535
22536 * libio/freopen.c (freopen): Don't close old file descriptor
22537 before the new one is opened. Instead dup the new file descriptor
22538 to the old one after the new stream is created.
22539 * libio/freopen64.c (freopen64): Likewise.
22540 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22541 * libio/fileops.c (_IO_new_file_close_it): Handle new
22542 _IO_FLAGS2_NOCLOSE flag.
22543 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22544 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22545 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22546 _IO_FLAGS2_NOCLOSE flag.
22547 * include/unistd.h: Add hidden_proto for dup3.
22548 Define __have_dup3.
22549 * io/dup3.c: Define hidden symbol.
22550 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22551
22552 [BZ #7101]
22553 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22554 when an incomplete long option is used.
22555 * posix/tst-getopt_long1.c: New file.
22556 * posix/Makefile (tests): Add tst-getopt_long1.
22557
22558 [BZ #10138]
22559 * scripts/config.guess: Update from autoconf-2.68.
22560 * scripts/config.sub: Likewise.
22561
22562 [BZ #10157]
22563 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22564 tests into ...
22565 (has_cpuclock): ...this. New function.
22566 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22567 macro here based on has_cpuclock code.
22568
22569 [BZ #10149]
22570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22571 First byte (not low byte) is now always NUL.
22572 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22573
22574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22575 Use non-cancelable interfaces.
22576
22577 [BZ #9809]
22578 * locale/iso-639.def: Add entry for Sorani.
22579
22580 [BZ #11901]
22581 * include/stdlib.h: Move include protection to the right place.
22582 Define abort_msg_s. Declare __abort_msg with it.
22583 * stdlib/abort.c (__abort_msg): Adjust type.
22584 * assert/assert.c (__assert_fail_base): New function. Majority
22585 of code from __assert_fail. Allocate memory for __abort_msg with
22586 mmap.
22587 (__assert_fail): Now call __assert_fail_base.
22588 * assert/assert-perr.c: Remove bulk of implementation. Use
22589 __assert_fail_base.
22590 * include/assert.hL Declare __assert_fail_base.
22591 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22592 mmap.
22593 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22594
22595 2011-05-14 Ulrich Drepper <drepper@gmail.com>
22596
22597 [BZ #11952]
22598 [BZ #12453]
22599 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22600 until all modules are registered in the DTV.
22601 * elf/Makefile: Add rules to build and run tst-tls19.
22602 * elf/tst-tls19.c: New file.
22603 * elf/tst-tls19mod1.c: New file.
22604 * elf/tst-tls19mod2.c: New file.
22605 * elf/tst-tls19mod3.c: New file.
22606 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22607
22608 [BZ #12083]
22609 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22610 correctly.
22611
22612 [BZ #12601]
22613 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22614 two-byte sequence errors.
22615 * iconvdata/Makefile (tests): Add bug-iconv8.
22616 * iconvdata/bug-iconv8.c: New file.
22617
22618 [BZ #12626]
22619 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22620 buf2 definition.
22621
22622 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22623
22624 [BZ #12432]
22625 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22626 (dummy_getcfa): New function.
22627 (init): Get _Unwind_GetCFA address, use dummy if not found.
22628 (backtrace_helper): In recursion check, also check whether CFA changes.
22629 (__backtrace): Completely initialize arg.
22630
22631 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
22632 storing incomplete byte sequence in state object. Avoid testing for
22633 guaranteed too small input if we know there is enough data available.
22634
22635 2011-05-11 Andreas Schwab <schwab@redhat.com>
22636
22637 * Makeconfig (+link-pie): Indent.
22638 * Rules (binaries-pie): Define if $(have-fpie) and
22639 $(build-shared).
22640 (binaries-shared): Also filter out $(binaries-pie).
22641 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22642 * nscd/Makefile (others-pie): Add nscd.
22643 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22644 ($(objpfx)nscd): Remove command override.
22645 * login/Makefile (others-pie): Add pt_chown.
22646 ($(objpfx)pt_chown): Remove command override.
22647 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22648 remove command overrides.
22649
22650 2011-05-13 Ulrich Drepper <drepper@gmail.com>
22651
22652 * libio/tst_putwc.c: Fix error messages.
22653
22654 [BZ #12724]
22655 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22656 currently writing and seek to current position when not.
22657 * libio/Makefile (tests): Add bug-fclose1.
22658 * libio/bug-fclose1.c: New file.
22659
22660 2011-05-12 Ulrich Drepper <drepper@gmail.com>
22661
22662 [BZ #12511]
22663 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22664 don't set DF_1_NODELETE here.
22665 (do_lookup_x): When entering new entry test for copy relocation
22666 and if necessary set DF_1_NODELETE flag.
22667 * elf/tst-unique4.cc: New file.
22668 * elf/tst-unique4.h: New file.
22669 * elf/tst-unique4lib.cc: New file.
22670 * elf/Makefile: Add rules to build and run tst-unique4.
22671 Patch by Piotr Bury <pbury@goahead.com>.
22672
22673 2011-05-11 Ulrich Drepper <drepper@gmail.com>
22674
22675 [BZ #12052]
22676 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22677
22678 [BZ #12625]
22679 * misc/mntent_r.c (addmntent): Flush the stream after the output
22680
22681 [BZ #12393]
22682 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22683 (is_trusted_path_normalize): Skip initial colon. Append slash
22684 to empty buffer. Duplicate is_trusted_path code but allow
22685 constructed patch to be prefix.
22686 (is_dst): Allow $ORIGIN followed by /.
22687 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22688 Correct testing of result of is_trusted_path_normalize
22689 (decompose_rpath): Fix warning.
22690
22691 2011-05-10 Ulrich Drepper <drepper@gmail.com>
22692
22693 [BZ #11257]
22694 * grp/initgroups.c (internal_getgrouplist): When we found the service
22695 list through the initgroups entry in nsswitch.conf do not always
22696 continue on a successful lookup. Don't always use the
22697 __nss_group_database value if it is set.
22698 * nss/nsswitch.conf (initgroups): Change action for successful db
22699 lookup to continue for compatibility.
22700
22701 2011-05-09 Ulrich Drepper <drepper@gmail.com>
22702
22703 [BZ #11532]
22704 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22705 and CP774 modules.
22706 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22707 and CP774 modules.
22708 * iconvdata/tst-tables.sh: Likewise.
22709 * iconvdata/cp770.c: New file.
22710 * iconvdata/cp771.c: New file.
22711 * iconvdata/cp772.c: New file.
22712 * iconvdata/cp773.c: New file.
22713 * iconvdata/cp774.c: New file.
22714 * iconvdata/testdata/CP770: New file.
22715 * iconvdata/testdata/CP770..UTF8: New file.
22716 * iconvdata/testdata/CP771: New file.
22717 * iconvdata/testdata/CP771..UTF8: New file.
22718 * iconvdata/testdata/CP772: New file.
22719 * iconvdata/testdata/CP772..UTF8: New file.
22720 * iconvdata/testdata/CP773: New file.
22721 * iconvdata/testdata/CP773..UTF8: New file.
22722 * iconvdata/testdata/CP774: New file.
22723 * iconvdata/testdata/CP774..UTF8: New file.
22724
22725 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22726 END CHARMAP line.
22727 * iconvdata/gen-8bit-gap.sh: Likewise.
22728 * iconvdata/gen-8bit.sh: Likewise.
22729
22730 * locale/iso-639.def: Add ary entry.
22731
22732 [BZ #11258]
22733 * locale/C-translit.h.in: Add U20A1 transliteration.
22734
22735 [BZ #12178]
22736 * locale/iso-639.def: Add wae entry.
22737 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22738
22739 [BZ #12545]
22740 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22741 for n.
22742
22743 [BZ #12711]
22744 * locale/C-translit.h.in: Add entry for U20B9.
22745 Patch by pravin.d.s@gmail.com.
22746
22747 2011-05-08 Ulrich Drepper <drepper@gmail.com>
22748
22749 [BZ #12713]
22750 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22751 ENAMETOOLONG use generic getcwd.
22752 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22753 in rtld. Use *stat64.
22754 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
22755 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
22756 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
22757 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22758 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22759 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22760 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22761 __fstatat64 macros.
22762 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22763 * dirent/rewinddir.c: Add libc_hidden_def.
22764 * sysdeps/mach/hurd/rewinddir.c: Likewise.
22765 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
22766
22767 * include/dirent.h (__alloc_dir): Add flags parameter.
22768 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22769 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22770 __alloc_dir.
22771 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22772 from fdopendir if O_CLOEXEC is already set.
22773
22774 2011-03-15 Alan Modra <amodra@gmail.com>
22775
22776 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22777 l_tls_firstbyte_offset non-zero. Save padding offset in
22778 l_tls_firstbyte_offset for later use.
22779 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22780 freeing static tls block.
22781
22782 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22783
22784 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22785 where #ifdef was intended. The intent is to prevent ARG_MAX from
22786 being defined by the kernel headers.
22787
22788 2011-05-07 Ulrich Drepper <drepper@gmail.com>
22789
22790 [BZ #12734]
22791 * resolv/resolv.h: Define RES_NOTLDQUERY.
22792 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22793 no-tld-query and set RES_NOTLDQUERY.
22794 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22795 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22796 modern BIND to search name as TLD unless forbidden.
22797
22798 2011-05-07 Petr Baudis <pasky@suse.cz>
22799 Ulrich Drepper <drepper@gmail.com>
22800
22801 [BZ #12393]
22802 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22803 (is_trusted_path): ...to here.
22804 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
22805 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
22806 using is_trusted_path_normalize() in setuid scripts.
22807
22808 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22809
22810 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22811 __BEGIN/__END_DECLS.
22812
22813 2011-05-06 Ulrich Drepper <drepper@gmail.com>
22814
22815 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22816 NSS_STATUS_NOTFOUND if no record was found.
22817
22818 2011-05-05 Andreas Schwab <schwab@redhat.com>
22819
22820 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22821 (headers-not-in-tirpc): Remove rpc/netdb.h
22822 * resolv/netdb.h: Revert last change.
22823
22824 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22825
22826 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22827 circular dependency between libgcc.a and libc.a.
22828
22829 2011-05-05 Andreas Schwab <schwab@redhat.com>
22830
22831 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22832 * nis/Makefile: Don't install rpcsvc/*.
22833 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22834 instead of <rpc/types.h>.
22835 (MAXHOSTNAMELEN): Define.
22836
22837 2011-05-03 Andreas Schwab <schwab@redhat.com>
22838
22839 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22840
22841 2011-04-28 Maciej Babinski <mbabinski@google.com>
22842
22843 [BZ #12714]
22844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22845 gethostbyname4_r when IPv6 results are possible.
22846
22847 2011-05-02 Ulrich Drepper <drepper@gmail.com>
22848
22849 [BZ #12723]
22850 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22851 _PC_PIPE_BUF handling.
22852
22853 2011-04-30 Bruno Haible <bruno@clisp.org>
22854
22855 [BZ #12717]
22856 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22857 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22858 to 'int'.
22859 * inet/getnameinfo.c (getnameinfo): Likewise.
22860
22861 2011-04-29 Ulrich Drepper <drepper@gmail.com>
22862
22863 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22864 to groups setting in database lookup.
22865 * nss/nsswitch.conf: Add initgroups entry.
22866
22867 2011-04-22 Ulrich Drepper <drepper@gmail.com>
22868
22869 [BZ #12685]
22870 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22871 mode string.
22872 Patch by Eric Blake <eblake@redhat.com>.
22873
22874 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22875
22876 * sunrpc/Makefile (need-export-routines): Add svc_run.
22877 (routines): Remove svc_run.
22878 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22879 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22880 * sunrpc/svc_run.c (svc_run): Likewise.
22881 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22882
22883 2011-04-21 Ulrich Drepper <drepper@gmail.com>
22884
22885 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22886 problem in reallocation in last patch.
22887
22888 2011-04-20 Ulrich Drepper <drepper@gmail.com>
22889
22890 * sunrpc/Makefile: Move inclusion of Rules.
22891
22892 2011-04-19 Ulrich Drepper <drepper@gmail.com>
22893
22894 * nss/nss_files/files-initgroups.c: New file.
22895 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22896 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22897 _nss_files_initgroups_dyn.
22898
22899 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22900
22901 * elf/elf.h (R_ARM_IRELATIVE): Define.
22902
22903 2011-04-19 Ulrich Drepper <drepper@gmail.com>
22904
22905 * po/ru.po: Update from translation team.
22906
22907 2011-04-17 Ulrich Drepper <drepper@gmail.com>
22908
22909 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22910 dependencies.
22911
22912 2011-02-06 Mike Frysinger <vapier@gentoo.org>
22913
22914 [BZ #12653]
22915 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22916 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22917 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22918 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22919 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22920
22921 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22922
22923 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22924 differing bytes.
22925 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22926 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22928
22929 2011-04-17 Ulrich Drepper <drepper@gmail.com>
22930
22931 [BZ #12420]
22932 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22933 storing it.
22934 * stdlib/bug-getcontext.c: New file.
22935 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22936
22937 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22938
22939 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22940 instructions into .machine "z9-109".
22941 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22942 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22943
22944 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22945
22946 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22947 between environment variables and auxiliary vector.
22948
22949 2011-04-16 Ulrich Drepper <drepper@gmail.com>
22950
22951 * Makefile: Add rules to build linkobj/libc.so.
22952 * include/libc-symbols.h: Define libc_hidden_nolink.
22953 * include/rpc/auth.h: Mark functions which are to be hidden.
22954 * include/rpc/auth_des.h: Likewise.
22955 * include/rpc/auth_unix.h: Likewise.
22956 * include/rpc/clnt.h: Likewise.
22957 * include/rpc/des_crypt.h: Likewise.
22958 * include/rpc/key_prot.h: Likewise.
22959 * include/rpc/pmap_clnt.h: Likewise.
22960 * include/rpc/pmap_prot.h: Likewise.
22961 * include/rpc/pmap_rmt.h: Likewise.
22962 * include/rpc/rpc_msg.h: Likewise.
22963 * include/rpc/svc.h: Likewise.
22964 * include/rpc/svc_auth.h: Likewise.
22965 * include/rpc/xdr.h: Likewise.
22966 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22967 * nss/Makefile: Likewise.
22968 * sunrpc/Makefile: Don't install headers. Build library with normal
22969 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22970 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22971 for the compat linking library. Remove use of INTDEF/INTUSE.
22972 * sunrpc/auth_none.c: Likewise.
22973 * sunrpc/auth_unix.c: Likewise.
22974 * sunrpc/authdes_prot.c: Likewise.
22975 * sunrpc/authuxprot.c: Likewise.
22976 * sunrpc/clnt_gen.c: Likewise.
22977 * sunrpc/clnt_perr.c: Likewise.
22978 * sunrpc/clnt_raw.c: Likewise.
22979 * sunrpc/clnt_simp.c: Likewise.
22980 * sunrpc/clnt_tcp.c: Likewise.
22981 * sunrpc/clnt_udp.c: Likewise.
22982 * sunrpc/clnt_unix.c: Likewise.
22983 * sunrpc/des_crypt.c: Likewise.
22984 * sunrpc/des_soft.c: Likewise.
22985 * sunrpc/get_myaddr.c: Likewise.
22986 * sunrpc/key_call.c: Likewise.
22987 * sunrpc/key_prot.c: Likewise.
22988 * sunrpc/netname.c: Likewise.
22989 * sunrpc/pm_getmaps.c: Likewise.
22990 * sunrpc/pm_getport.c: Likewise.
22991 * sunrpc/pmap_clnt.c: Likewise.
22992 * sunrpc/pmap_prot.c: Likewise.
22993 * sunrpc/pmap_prot2.c: Likewise.
22994 * sunrpc/pmap_rmt.c: Likewise.
22995 * sunrpc/publickey.c: Likewise.
22996 * sunrpc/rpc_cmsg.c: Likewise.
22997 * sunrpc/rpc_common.c: Likewise.
22998 * sunrpc/rpc_dtable.c: Likewise.
22999 * sunrpc/rpc_prot.c: Likewise.
23000 * sunrpc/rpc_thread.c: Likewise.
23001 * sunrpc/rtime.c: Likewise.
23002 * sunrpc/svc.c: Likewise.
23003 * sunrpc/svc_auth.c: Likewise.
23004 * sunrpc/svc_authux.c: Likewise.
23005 * sunrpc/svc_raw.c: Likewise.
23006 * sunrpc/svc_run.c: Likewise.
23007 * sunrpc/svc_simple.c: Likewise.
23008 * sunrpc/svc_tcp.c: Likewise.
23009 * sunrpc/svc_udp.c: Likewise.
23010 * sunrpc/svc_unix.c: Likewise.
23011 * sunrpc/svcauth_des.c: Likewise.
23012 * sunrpc/xcrypt.c: Likewise.
23013 * sunrpc/xdr.c: Likewise.
23014 * sunrpc/xdr_array.c: Likewise.
23015 * sunrpc/xdr_float.c: Likewise.
23016 * sunrpc/xdr_intXX_t.c: Likewise.
23017 * sunrpc/xdr_mem.c: Likewise.
23018 * sunrpc/xdr_rec.c: Likewise.
23019 * sunrpc/xdr_ref.c: Likewise.
23020 * sunrpc/xdr_sizeof.c: Likewise.
23021 * sunrpc/xdr_stdio.c: Likewise.
23022
23023 2011-04-10 Ulrich Drepper <drepper@gmail.com>
23024
23025 [BZ #12650]
23026 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23027 * sysdeps/ia64/dl-tls.h: Likewise.
23028 * sysdeps/powerpc/dl-tls.h: Likewise.
23029 * sysdeps/s390/dl-tls.h: Likewise.
23030 * sysdeps/sh/dl-tls.h: Likewise.
23031 * sysdeps/sparc/dl-tls.h: Likewise.
23032 * sysdeps/x86_64/dl-tls.h: Likewise.
23033 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23034
23035 2011-03-14 Andreas Schwab <schwab@redhat.com>
23036
23037 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23038 rpath element also skip the following colon.
23039 (expand_dynamic_string_token): Add is_path parameter and pass
23040 down to DL_DST_REQUIRED and _dl_dst_substitute.
23041 (decompose_rpath): Call expand_dynamic_string_token with
23042 non-zero is_path. Ignore empty rpaths.
23043 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23044 with zero is_path.
23045
23046 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23047
23048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23049 Make cancelable.
23050
23051 2011-04-09 Ulrich Drepper <drepper@gmail.com>
23052
23053 [BZ #12655]
23054 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23055 Patch by Filipe David Manana <fdmanana@apache.org>.
23056
23057 2011-04-07 Andreas Schwab <schwab@redhat.com>
23058
23059 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23060 Maintain aligned stack.
23061 (CHECK_RSP): Remove unused macro.
23062
23063 2011-04-03 Ulrich Drepper <drepper@gmail.com>
23064
23065 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23066 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23067
23068 2011-04-02 Ulrich Drepper <drepper@gmail.com>
23069
23070 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23071
23072 * include/features.h: Mention __USE_XOPEN2K8 in comment.
23073
23074 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23075
23076 [BZ #12518]
23077 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23078 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23079 * sysdeps/x86_64/memmove.c: New file.
23080 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23081 (memcpy): Renamed to ...
23082 (__new_memcpy): This.
23083 (memcpy): Provide GLIBC_2_14 memcpy.
23084 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23085 (memcpy): Provide GLIBC_2_2_5 memcpy.
23086
23087 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23088
23089 [BZ #12631]
23090 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23091
23092 2011-03-30 Andreas Schwab <schwab@redhat.com>
23093
23094 * misc/syncfs.c: New file.
23095 * misc/Makefile (routines): Add syncfs.
23096 * posix/unistd.h: Declare syncfs.
23097 * sysdeps/unix/syscalls.list: Add syncfs.
23098
23099 2011-04-01 Andreas Schwab <schwab@redhat.com>
23100
23101 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23102 open_by_handle_at.
23103 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23104 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23105 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23106 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23108 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23109 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23110
23111 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23112
23113 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23114 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23115 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23117 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23120
23121 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23122 sync_file_range.c with -fexceptions.
23123 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23124 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23125 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23126 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23127 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23128 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23130 sync_file_range as cancellation point
23131 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23132 now a wrapper around __call_sync_file_range with cancellation handling.
23133 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23134 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23135 function name to __call_sync_file_range.
23136 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23137 Add call_sync_file_range.
23138
23139 2011-04-01 Andreas Schwab <schwab@redhat.com>
23140
23141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23142 bits/timex.h.
23143
23144 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23145
23146 * iconv/iconv.h: Fix typo in comment.
23147 * io/fcntl.h: Likewise.
23148 * libio/stdio.h: Likewise.
23149 * posix/spawn.h: Likewise.
23150 * posix/unistd.h: Likewise.
23151 * stdlib/stdlib.h: Likewise.
23152 * time/time.h: Likewise.
23153 * wcsmbs/wchar.h: Likewise.
23154
23155 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23156 open_by_handle): Add.
23157 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23158 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23159 Augment a few comments.
23160 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23162 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23164 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23165 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23166 open_by_handle.
23167
23168 * io/fcntl.h (AT_EMPTY_PATH): Define.
23169
23170 2011-03-30 Ulrich Drepper <drepper@gmail.com>
23171
23172 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23173 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23174 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23175 to...
23176 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
23177 * Versions.def: Add GLIBC_2.14.
23178 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23179 Export.
23180
23181 2011-03-22 Ulrich Drepper <drepper@gmail.com>
23182
23183 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23184 round counter.
23185 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23186
23187 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23188
23189 [BZ #12597]
23190 * string/test-strncmp.c (do_page_test): New function.
23191 (check2): Likewise.
23192 (test_main): Call check2.
23193 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23194
23195 2011-03-20 Ulrich Drepper <drepper@gmail.com>
23196
23197 [BZ #12587]
23198 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23199 Handle cache information in CPU leaf 4.
23200 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23201
23202 2011-03-18 Ulrich Drepper <drepper@gmail.com>
23203
23204 [BZ #12583]
23205 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23206 character representation.
23207 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23208
23209 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23210
23211 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23212 END(__isnan) to END(__isnanf) to match function entry point/label
23213 EALIGN(__isnanf,...).
23214
23215 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23216
23217 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23218
23219 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23220
23221 [BZ #12510]
23222 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23223 copy from the symbol referenced in the relocation to initialize the
23224 used variable.
23225 Patch by Piotr Bury <pbury@goahead.com>.
23226 * elf/Makefile: Add rules to build and tst-unique3.
23227 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23228 * elf/tst-unique3.cc: New file.
23229 * elf/tst-unique3.h: New file.
23230 * elf/tst-unique3lib.cc: New file.
23231 * elf/tst-unique3lib2.cc: New file.
23232
23233 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23234
23235 2011-03-10 Mike Frysinger <vapier@gentoo.org>
23236
23237 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23238 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23239 to _start.
23240
23241 2011-03-06 Ulrich Drepper <drepper@gmail.com>
23242
23243 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23244 to-be-loaded object along a path to loader is ld.so.
23245
23246 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23247 Ulrich Drepper <drepper@gmail.com>
23248
23249 * sysdeps/x86_64/memset.S: After aligning destination, code
23250 branches to different locations depending on the value of
23251 misalignment, when multiarch is enabled. Fix this.
23252
23253 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23254
23255 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23256 Set _x86_64_preferred_memory_instruction for AMD processsors.
23257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23258 Set bit_Prefer_SSE_for_memop for AMD processors.
23259
23260 2011-03-04 Ulrich Drepper <drepper@gmail.com>
23261
23262 * libio/fmemopen.c (fmemopen): Optimize a bit.
23263
23264 2011-03-03 Andreas Schwab <schwab@redhat.com>
23265
23266 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23267
23268 2011-03-03 Roland McGrath <roland@redhat.com>
23269
23270 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23271
23272 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23273
23274 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
23275 __bzero_ultra1 instead of __memset_ultra1.
23276
23277 2011-02-23 Andreas Schwab <schwab@redhat.com>
23278 Ulrich Drepper <drepper@gmail.com>
23279
23280 [BZ #12509]
23281 * include/link.h (struct link_map): Add l_orig_initfini.
23282 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23283 returning unsuccessfully.
23284 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23285 close of a file loaded at startup, restore the original l_initfini
23286 list.
23287 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23288 list, store the pointer.
23289 * elf/Makefile ($(objpfx)noload-mem): New rule.
23290 (noload-ENV): Define.
23291 (tests): Add $(objpfx)noload-mem.
23292 * elf/noload.c: Include <memcheck.h>.
23293 (main): Call mtrace. Close all opened handles.
23294
23295 2011-02-17 Andreas Schwab <schwab@redhat.com>
23296
23297 [BZ #12454]
23298 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23299 dependencies are missing.
23300
23301 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23302
23303 Fix __if_freereq crash: Unlike the generic version which uses free,
23304 Hurd needs munmap.
23305 * sysdeps/mach/hurd/ifreq.h: New file.
23306
23307 2011-01-27 Petr Baudis <pasky@suse.cz>
23308 Ulrich Drepper <drepper@gmail.com>
23309
23310 [BZ 12445]#
23311 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23312 to extend_alloca().
23313 * stdio-common/bug23.c: New file.
23314 * stdio-common/Makefile (tests): Add bug23.
23315
23316 2010-09-28 Andreas Schwab <schwab@redhat.com>
23317 Ulrich Drepper <drepper@gmail.com>
23318
23319 [BZ #12489]
23320 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23321 before performing relro protection. At old place add assertion
23322 to make sure nothing changed.
23323
23324 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23325 Glauber de Oliveira Costa <glommer@gmail.com>
23326
23327 * elf/elf.h: Add new ARM TLS relocs.
23328
23329 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23330
23331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23332 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23333 cast from r3.
23334 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23335 'tests' variable.
23336 * sysdeps/wordsize-64/tst-writev.c: New file.
23337
23338 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23339
23340 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23341 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23342 insns in _dl_start to prevent a TOC reference before relocs are
23343 resolved.
23344
23345 2011-02-15 Ulrich Drepper <drepper@gmail.com>
23346
23347 [BZ #12469]
23348 * Makeconfig: Remove RANLIB definition.
23349 * Makerules: Don't use RANLIB.
23350 * aclocal.m4: Remove ranlib test.
23351 * configure.in: No need to check for ranlib.
23352 * elf/rtld-Rules: Don't use RANLIB.
23353
23354 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23355
23356 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23357 protection macro.
23358 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23359 inclusion protection macro.
23360
23361 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23362 SIGRTMIN and SIGRTMAX and print information in that case only when
23363 SIGRTMIN is defined.
23364
23365 2011-02-11 Jakub Jelinek <jakub@redhat.com>
23366
23367 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23368 arginfo fn returning -1.
23369
23370 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23371 and thousands string is zero terminated.
23372
23373 2011-02-03 Andreas Schwab <schwab@redhat.com>
23374
23375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23376 sysdeps/unix/sysv/linux/bits/socket.h.
23377
23378 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23379
23380 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23381 (__CPU_COUNT): Remove old macros.
23382 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23383 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23384 (__CPU_ALLOC, __CPU_FREE): Add macros.
23385 (__sched_cpualloc, __sched_cpufree): Add declarations.
23386
23387 2011-02-05 Ulrich Drepper <drepper@gmail.com>
23388
23389 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23390 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23391 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23392 (readdhstai): Return value of addhstaiX call.
23393 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23394 (addgrbyX): Return value returned by cache_addgr.
23395 (readdgrbyname): Return value returned by addgrbyX.
23396 (readdgrbygid): Likewise.
23397 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23398 (addpwbyX): Return value returned by cache_addpw.
23399 (readdpwbyname): Return value returned by addhstbyX.
23400 (readdpwbyuid): Likewise.
23401 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23402 (addservbyX): Return value returned by cache_addserv.
23403 (readdservbyname): Return value returned by addservbyX:
23404 (readdservbyport): Likewise.
23405 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23406 (addhstbyX): Return value returned by cache_addhst.
23407 (readdhstbyname): Return value returned by addhstbyX.
23408 (readdhstbyaddr): Likewise.
23409 (readdhstbynamev6): Likewise.
23410 (readdhstbyaddrv6): Likewise.
23411 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23412 (readdinitgroups): Return value returned by addinitgroupsX.
23413 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23414 (prune_cache): Keep track of timeout value of re-added entries.
23415 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23416 * nscd/nscd.h: Adjust prototypes of readd* functions.
23417
23418 2011-02-04 Roland McGrath <roland@redhat.com>
23419
23420 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23421 (nis_stats): Likewise.
23422 * nis/nis_modify.c (nis_modify): Likewise.
23423 * nis/nis_remove.c (nis_remove): Likewise.
23424 * nis/nis_add.c (nis_add): Likewise.
23425
23426 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23427
23428 * posix/fnmatch_loop.c: Add some consts.
23429
23430 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23431
23432 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23433
23434 [BZ #12460]
23435 * config.make.in (config-cflags-novzeroupper): Define.
23436 * configure.in: Substitute libc_cv_cc_novzeroupper.
23437 * elf/Makefile (AVX-CFLAGS): Define.
23438 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23439 (CFLAGS-tst-auditmod4a.c): Likewise.
23440 (CFLAGS-tst-auditmod4b.c): Likewise.
23441 (CFLAGS-tst-auditmod6b.c): Likewise.
23442 (CFLAGS-tst-auditmod6c.c): Likewise.
23443 (CFLAGS-tst-auditmod7b.c): Likewise.
23444 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23445
23446 2011-02-02 Ulrich Drepper <drepper@gmail.com>
23447
23448 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23449 function to the callback.
23450 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23451
23452 2011-02-02 Andreas Schwab <schwab@redhat.com>
23453
23454 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23455 of errno.
23456
23457 2011-01-19 Ulrich Drepper <drepper@gmail.com>
23458
23459 [BZ #11724]
23460 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23461 of constructors.
23462 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23463 of destructors.
23464 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23465
23466 [BZ #11724]
23467 * elf/Makefile: Add rules to build and run new test.
23468 * elf/tst-initorder.c: New file.
23469 * elf/tst-initorder.exp: New file.
23470 * elf/tst-initordera1.c: New file.
23471 * elf/tst-initordera2.c: New file.
23472 * elf/tst-initordera3.c: New file.
23473 * elf/tst-initordera4.c: New file.
23474 * elf/tst-initorderb1.c: New file.
23475 * elf/tst-initorderb2.c: New file.
23476 * elf/tst-order-a1.c: New file.
23477 * elf/tst-order-a2.c: New file.
23478 * elf/tst-order-a3.c: New file.
23479 * elf/tst-order-a4.c: New file.
23480 * elf/tst-order-b1.c: New file.
23481 * elf/tst-order-b2.c: New file.
23482 * elf/tst-order-main.c: New file.
23483 New test case by George Gensure <werkt0@gmail.com>.
23484
23485 2010-10-01 Andreas Schwab <schwab@redhat.com>
23486
23487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23488 decoding ACE if AI_CANONIDN.
23489
23490 2011-01-18 Ulrich Drepper <drepper@gmail.com>
23491
23492 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23493
23494 2011-01-17 Ulrich Drepper <drepper@gmail.com>
23495
23496 * version.h (RELEASE): Bump for 2.13 release.
23497 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23498
23499 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23500
23501 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23502 MADV_NOHUGEPAGE.
23503 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23504 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23505 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23506 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23507 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23508 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23509
23510 * posix/getconf.c: Update copyright year.
23511 * catgets/gencat.c: Likewise.
23512 * csu/version.c: Likewise.
23513 * debug/catchsegv.sh: Likewise.
23514 * debug/xtrace.sh: Likewise.
23515 * elf/ldconfig.c: Likewise.
23516 * elf/ldd.bash.in: Likewise.
23517 * elf/sprof.c (print_version): Likewise.
23518 * iconv/iconv_prog.c: Likewise.
23519 * iconv/iconvconfig.c: Likewise.
23520 * locale/programs/locale.c: Likewise.
23521 * locale/programs/localedef.c: Likewise.
23522 * malloc/memusage.sh: Likewise.
23523 * malloc/mtrace.pl: Likewise.
23524 * nscd/nscd.c (print_version): Likewise.
23525 * nss/getent.c: Likewise.
23526
23527 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23528 PF_CAIF, and PF_ALG.
23529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23530
23531 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23532
23533 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23534 (modules-names): Use them.
23535 (ifunc-test-modules, ifunc-pie-tests): Define.
23536 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23537 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23538 (test-extras): Likewise.
23539 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23540 $(compile-command.c).
23541 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23542 (all-built-dso): Define.
23543 (check-textrel.out, check-execstack.out): Depend on it.
23544
23545 * configure.in: Don't override --enable-multi-arch.
23546
23547 2011-01-15 Ulrich Drepper <drepper@gmail.com>
23548
23549 [BZ #6812]
23550 * nscd/hstcache.c (tryagain): Define.
23551 (cache_addhst): Return tryagain not notfound for temporary errors.
23552 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23553 failed.
23554
23555 2011-01-14 Ulrich Drepper <drepper@gmail.com>
23556
23557 [BZ #10563]
23558 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23559 to make the syscall.
23560 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23561
23562 [BZ #12378]
23563 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23564 and fall back to matching as normal character if the string ends before
23565 the matching ']' is found. This is what POSIX requires.
23566 * posix/testfnm.c: Adjust test result.
23567 * posix/globtest.sh: Adjust test result. Add new test.
23568 * posix/tst-fnmatch.input: Likewise.
23569 * posix/tst-fnmatch2.c: Add new test.
23570
23571 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23572
23573 * elf/Makefile (check-execstack): Revert last change. Depend on
23574 check-execstack.h.
23575 (check-execstack.h): New target.
23576 (generated): Add check-execstack.h.
23577 * elf/check-execstack.c: Include "check-execstack.h".
23578 (main): Revert last change.
23579 (handle_file): Return zero if GNU_STACK is absent and
23580 DEFAULT_STACK_PERMS doesn't include PF_X.
23581
23582 2011-01-13 Ulrich Drepper <drepper@gmail.com>
23583
23584 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23585 in child fails because the descriptor is already closed.
23586 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23587 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23588 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
23589
23590 [BZ #12397]
23591 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23592 syscall.
23593
23594 [BZ #10484]
23595 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23596 temporary buffer used to handle multi lookups locally.
23597 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
23598
23599 2011-01-12 Ulrich Drepper <drepper@gmail.com>
23600
23601 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23602 loader is ld.so.
23603
23604 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23605
23606 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23607 alignment for SSE2.
23608
23609 2011-01-12 Ulrich Drepper <drepper@gmail.com>
23610
23611 [BZ #12394]
23612 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23613 characters. When rounding increased number of integer digits recompute
23614 number of groups.
23615 * stdio-common/tst-grouping.c: New file.
23616 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23617
23618 2011-01-09 Ulrich Drepper <drepper@gmail.com>
23619
23620 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23621 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23622
23623 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23624 void.
23625 * bits/select.h: Likewise.
23626
23627 2011-01-08 Ulrich Drepper <drepper@gmail.com>
23628
23629 * po/ja.po: Update from translation team.
23630
23631 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
23632
23633 [BZ #11155]
23634 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23635 implementation just like for lxstat, fxstatat, et al.
23636
23637 2010-12-27 Jim Meyering <meyering@redhat.com>
23638
23639 [BZ #12348]
23640 * posix/regexec.c (build_trtable): Return failure indication upon
23641 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23642
23643 2010-12-25 Ulrich Drepper <drepper@gmail.com>
23644
23645 [BZ #12201]
23646 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23647 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23648 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23649 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23650
23651 [BZ #12207]
23652 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23653
23654 [BZ #12204]
23655 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23656 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23657
23658 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23659
23660 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23661 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23662 script has SORT_BY_INIT_PRIORITY.
23663 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23664 NO_CTORS_DTORS_SECTIONS is defined.
23665 * elf/soinit.c: Likewise.
23666 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23667 NO_CTORS_DTORS_SECTIONS is defined.
23668 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23669 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23670 * sysdeps/sh/init-first.c: Likewise.
23671 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23672
23673 2010-12-24 Ulrich Drepper <drepper@gmail.com>
23674
23675 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23676 always use the slow path.
23677
23678 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23679
23680 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23681 similar rule which adds the sysdep directories to the header search in
23682 order to pick up the correct platform stackinfo.h.
23683 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23684 perform test if it is, otherwise return successfully without testing.
23685 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23686 DEFAULT_STACK_PERMS define in stackinfo.h.
23687 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23688 defined in stackinfo.h.
23689 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23690 DEFAULT_STACK_PERMS defined in stackinfo.h.
23691 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23692 * sysdeps/ia64/stackinfo.h: Likewise.
23693 * sysdeps/s390/stackinfo.h: Likewise.
23694 * sysdeps/sh/stackinfo.h: Likewise.
23695 * sysdeps/sparc/stackinfo.h: Likewise.
23696 * sysdeps/x86_64/stackinfo.h: Likewise.
23697 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23698 PF_X for powerpc64. Retain PF_X for powerpc32.
23699
23700 2010-12-19 Ulrich Drepper <drepper@gmail.com>
23701
23702 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23703 accurately.
23704 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23705 GETDENTS_64BIT_ALIGNED.
23706
23707 2010-12-14 Ulrich Drepper <dreper@gmail.com>
23708
23709 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
23710
23711 2010-12-10 Andreas Schwab <schwab@redhat.com>
23712
23713 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23714 _GNU_SOURCE.
23715
23716 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23717 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23718 Remove __restrict.
23719 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23720 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23721
23722 2010-12-09 Ulrich Drepper <drepper@gmail.com>
23723
23724 [BZ #11655]
23725 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23726 are initialized.
23727
23728 2010-12-09 Jakub Jelinek <jakub@redhat.com>
23729
23730 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23731
23732 2010-12-03 Ulrich Drepper <drepper@gmail.com>
23733
23734 * po/it.po: Update from translation team.
23735
23736 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23737
23738 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23739 unused codes.
23740
23741 2010-11-30 Ulrich Drepper <drepper@gmail.com>
23742
23743 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23744
23745 2010-11-24 Andreas Schwab <schwab@redhat.com>
23746
23747 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23748 specially.
23749 (gaih_getanswer_slice): Likewise.
23750
23751 2010-10-20 Jakub Jelinek <jakub@redhat.com>
23752
23753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23754
23755 2010-05-31 Petr Baudis <pasky@suse.cz>
23756
23757 [BZ #11149]
23758 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23759 silently even in the chroot mode.
23760
23761 2010-11-22 Ulrich Drepper <drepper@gmail.com>
23762
23763 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23764 last patch a bit. Pretty printing
23765
23766 2010-05-31 Petr Baudis <pasky@suse.cz>
23767
23768 [BZ #10085]
23769 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23770 initialization of skip_initgroups_dyn.
23771
23772 2010-11-19 Ulrich Drepper <drepper@gmail.com>
23773
23774 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23775 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23776
23777 2010-11-16 Ulrich Drepper <drepper@gmail.com>
23778
23779 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23780
23781 2010-11-11 Andreas Schwab <schwab@redhat.com>
23782
23783 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23784 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23785 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23786 ($(objpfx)tst-fnmatch-mem): New rule.
23787 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23788 * posix/tst-fnmatch.c (main): Call mtrace.
23789
23790 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23791
23792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23793 Support Intel processor model 6 and model 0x2c.
23794
23795 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
23796
23797 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23798 signed comparison.
23799
23800 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23801
23802 [BZ #12205]
23803 * string/test-strncasecmp.c (check_result): New function.
23804 (do_one_test): Use it.
23805 (check1): New function.
23806 (test_main): Use it.
23807 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23808 Support strcasecmp and strncasecmp.
23809
23810 2010-11-08 Ulrich Drepper <drepper@gmail.com>
23811
23812 [BZ #12194]
23813 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23814 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23815
23816 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23817
23818 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23819 IFUNC support.
23820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23821 memset-x86-64.
23822 * sysdeps/x86_64/multiarch/bzero.S: New file.
23823 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23824 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23825 * sysdeps/x86_64/multiarch/memset.S: New file.
23826 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23828 Set bit_Prefer_SSE_for_memop for Intel processors.
23829 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23830 Define.
23831 (index_Prefer_SSE_for_memop): Define.
23832 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23833
23834 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
23835
23836 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23837 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23838
23839 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23840
23841 [BZ #12191]
23842 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23843 (__x86_64_raw_data_cache_size_half): Likewise.
23844 (__x86_64_raw_shared_cache_size): Likewise.
23845 (__x86_64_raw_shared_cache_size_half): Likewise.
23846
23847 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23848 (__x86_64_raw_data_cache_size_half): Likewise.
23849 (__x86_64_raw_shared_cache_size): Likewise.
23850 (__x86_64_raw_shared_cache_size_half): Likewise.
23851 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23852 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23853 and __x86_64_raw_shared_cache_size_half. Round
23854 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23855 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23856 to multiple of 256 bytes.
23857
23858 2010-11-03 Ulrich Drepper <drepper@gmail.com>
23859
23860 [BZ #12167]
23861 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23862 of inacessible symlinks. Verify result of symlink before returning it.
23863 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23864 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23865
23866 2010-10-28 Erich Ritz <erichritz@gmail.com>
23867
23868 * math/math.h (isinf): Fix typo in comment.
23869
23870 2010-11-01 Ulrich Drepper <drepper@gmail.com>
23871
23872 * po/da.po: Update from translation team.
23873
23874 2010-10-26 Ulrich Drepper <drepper@gmail.com>
23875
23876 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23877 is added to the list.
23878
23879 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23880 Ulrich Drepper <drepper@gmail.com>
23881
23882 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23883 the global list here. Move code to...
23884 (_dl_add_to_namespace_list): ...here. New function.
23885 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23886 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23887 * elf/dl-load.c (lose): Don't remove the element from the list.
23888 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23889 (_dl_map_object): Likewise.
23890
23891 2010-10-25 Ulrich Drepper <drepper@gmail.com>
23892
23893 [BZ #12159]
23894 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23895 into all bytes of SSE register.
23896 Patch by Richard Li <richardpku@gmail.com>.
23897
23898 2010-10-24 Ulrich Drepper <drepper@gmail.com>
23899
23900 [BZ #12140]
23901 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23902 perturbing.
23903
23904 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23905
23906 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23907 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23908 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23909 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23911 submachine.
23912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23913
23914 2010-10-22 Andreas Schwab <schwab@redhat.com>
23915
23916 * include/dlfcn.h (__RTLD_SECURE): Define.
23917 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23918 mode & __RTLD_SECURE instead.
23919 (open_path): Rename preloaded parameter to secure.
23920 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23921 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23922 * elf/dl-deps.c (openaux): Likewise.
23923 * elf/rtld.c (struct map_args): Remove is_preloaded.
23924 (map_doit): Don't use it.
23925 (dl_main): Likewise.
23926 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23927 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23928
23929 2010-09-09 Andreas Schwab <schwab@redhat.com>
23930
23931 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23932 (sysd-rules-targets): Remove duplicates.
23933 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23934 rtld-%.$o dependency.
23935
23936 2010-10-18 Andreas Schwab <schwab@redhat.com>
23937
23938 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23939 _dl_map_object do it.
23940
23941 2010-10-19 Ulrich Drepper <drepper@gmail.com>
23942
23943 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23944 fast fma builtins, define the macros in the C99 standard.
23945 (FP_FAST_FMAF): Likewise.
23946 (FP_FAST_FMAL): Likewise.
23947 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23948
23949 * bits/mathdef.h: Update copyright year.
23950 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23951
23952 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23953
23954 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23955 builtins, define the macros in the C99 standard.
23956 (FP_FAST_FMAF): Likewise.
23957 (FP_FAST_FMAL): Likewise.
23958 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23959 multiply/add.
23960 (FP_FAST_FMAF): Likewise.
23961
23962 2010-10-15 Jakub Jelinek <jakub@redhat.com>
23963
23964 [BZ #3268]
23965 * math/libm-test.inc (fma_test): Some new testcases.
23966 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23967 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23968 y and infinite z. Do multiplication by C already in long double.
23969 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23971 y and infinite z. Do bitwise or of inexact bit into u.d.
23972 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23973 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23974 * sysdeps/i386/fpu/s_fma.S: Removed.
23975 * sysdeps/i386/fpu/s_fmal.S: Removed.
23976
23977 2010-10-16 Jakub Jelinek <jakub@redhat.com>
23978
23979 [BZ #3268]
23980 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23981 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23982 computation is not scheduled after fetestexcept. Fix value
23983 of minimum denormal long double.
23984
23985 2010-10-14 Jakub Jelinek <jakub@redhat.com>
23986
23987 [BZ #3268]
23988 * math/libm-test.inc (fma_test): Add some more tests.
23989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23990 correctly.
23991
23992 2010-10-15 Andreas Schwab <schwab@redhat.com>
23993
23994 * scripts/data/localplt-s390-linux-gnu.data: New file.
23995 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23996
23997 2010-10-13 Jakub Jelinek <jakub@redhat.com>
23998
23999 [BZ #3268]
24000 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24001 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24002 instead of dbl-64.
24003 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24004 inlines.
24005 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24007 if one of x and y is very large and the other is subnormal.
24008 * sysdeps/s390/fpu/s_fmaf.c: New file.
24009 * sysdeps/s390/fpu/s_fma.c: New file.
24010 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24011 * sysdeps/powerpc/fpu/s_fma.S: New file.
24012 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24013 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24014 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24015
24016 2010-10-12 Jakub Jelinek <jakub@redhat.com>
24017
24018 [BZ #3268]
24019 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24020 fma tests.
24021 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24022 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24023 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24024 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24025 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24026 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24027 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24028
24029 2010-10-12 Ulrich Drepper <drepper@redhat.com>
24030
24031 [BZ #12078]
24032 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24033 * posix/bug-regex31.input: Add test case.
24034
24035 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24036
24037 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24038 * posix/bug-regex31.input: New file.
24039
24040 [BZ #12078]
24041 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24042 (parse_sub_exp): Fix last change, use postorder.
24043
24044 * posix/bug-regex31.c: New file.
24045 * posix/Makefile: Add rules to build and run bug-regex31.
24046
24047 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24048
24049 [BZ #12078]
24050 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24051
24052 [BZ #12108]
24053 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24054 to have entries in sys_siglist.
24055
24056 [BZ #12093]
24057 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24058 be NULL.
24059
24060 2010-10-07 Jakub Jelinek <jakub@redhat.com>
24061
24062 [BZ #3268]
24063 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24064 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24065 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24066 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24067 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24068 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24069 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24070 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24071 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24072 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24073 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24074 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24075 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24076 * math/ftestexcept.c (fetestexcept): Likewise.
24077 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24078 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24079 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24080 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24081 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24082 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24083 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24084
24085 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24086
24087 [BZ #12107]
24088 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24089 newline.
24090
24091 2010-10-06 Ulrich Drepper <drepper@gmail.com>
24092
24093 * string/bug-strstr1.c: New file.
24094 * string/Makefile: Add rules to build and run bug-strstr1.
24095
24096 2010-10-05 Eric Blake <eblake@redhat.com>
24097
24098 [BZ #12092]
24099 * string/str-two-way.h (two_way_long_needle): Always clear memory
24100 when skipping input due to the shift table.
24101
24102 2010-10-03 Ulrich Drepper <drepper@gmail.com>
24103
24104 [BZ #12005]
24105 * malloc/mcheck.c: Handle large requests.
24106
24107 [BZ #12077]
24108 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24109 for strncmp and strncasecmp.
24110 * string/stratcliff.c: Add tests for strcmp and strncmp.
24111 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24112
24113 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24114
24115 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24116 __set_fpscr.
24117
24118 2010-09-30 Andreas Jaeger <aj@suse.de>
24119
24120 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24121 (CGROUP_SUPER_MAGIC): Define.
24122 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24123 Handle btrfs and cgroup file systems.
24124 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24125 Likewise.
24126
24127 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
24128
24129 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24130 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24131
24132 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24133
24134 [BZ #12067]
24135 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24136 trying to locate the ELF header.
24137
24138 2010-09-27 Andreas Schwab <schwab@redhat.com>
24139
24140 [BZ #11611]
24141 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24142 Mask out sign-bit copies when constructing f_fsid.
24143
24144 2010-09-24 Petr Baudis <pasky@suse.cz>
24145
24146 * debug/stack_chk_fail_local.c: Add missing licence exception.
24147 * debug/warning-nop.c: Likewise.
24148
24149 2010-09-15 Joseph Myers <joseph@codesourcery.com>
24150
24151 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24152 implementing getdents64 using getdents syscall, set d_type if
24153 __ASSUME_GETDENTS32_D_TYPE.
24154
24155 2010-09-16 Andreas Schwab <schwab@redhat.com>
24156
24157 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24158 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24159
24160 2010-09-21 Ulrich Drepper <drepper@redhat.com>
24161
24162 [BZ #12037]
24163 * posix/unistd.h: Undo change of feature selection for ftruncate from
24164 2010-01-11.
24165
24166 2010-09-20 Ulrich Drepper <drepper@redhat.com>
24167
24168 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24169 detection.
24170
24171 2010-09-20 Andreas Schwab <schwab@redhat.com>
24172
24173 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24174 fanotify_mark.
24175 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24176
24177 2010-09-14 Andreas Schwab <schwab@redhat.com>
24178
24179 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24180 variables after CHECK_SP call.
24181 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24182
24183 2010-09-13 Andreas Schwab <schwab@redhat.com>
24184 Ulrich Drepper <drepper@redhat.com>
24185
24186 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24187 re-relocationg ld.so.
24188 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24189 _dl_init_paths call.
24190 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24191 here anymore.
24192
24193 2010-09-14 Ulrich Drepper <drepper@redhat.com>
24194
24195 * resolv/res_init.c (__res_vinit): Count the default server we added.
24196
24197 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24198 Ulrich Drepper <drepper@redhat.com>
24199
24200 [BZ #11968]
24201 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24202 (____longjmp_chk): Use %ebx for saving value across system call.
24203 Add unwind info.
24204
24205 2010-09-06 Andreas Schwab <schwab@redhat.com>
24206
24207 * manual/Makefile: Don't mix pattern rules with normal rules.
24208
24209 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24210
24211 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24212 operation.
24213 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24214 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24215 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24216 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24217 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24218 Likewise.
24219
24220 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24221
24222 [BZ #11979]
24223 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24224 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24225
24226 2010-09-02 Ulrich Drepper <drepper@redhat.com>
24227
24228 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24229 * sysdeps/x86_64/addmul_1.S: Likewise.
24230 * sysdeps/x86_64/lshift.S: Likewise.
24231 * sysdeps/x86_64/mul_1.S: Likewise.
24232 * sysdeps/x86_64/rshift.S: Likewise.
24233 * sysdeps/x86_64/sub_n.S: Likewise.
24234 * sysdeps/x86_64/submul_1.S: Likewise.
24235
24236 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24237
24238 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24239 Define __sched_param instead of SCHED_* and sched_param when
24240 <bits/sched.h> is included with __need_schedparam defined.
24241 * bits/sched.h [__need_schedparam]
24242 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24243 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24244 (__defined_schedparam): Define to 1.
24245 (__sched_param): New structure, identical to sched_param.
24246 (__need_schedparam): Undefine.
24247
24248 2010-08-31 Mike Frysinger <vapier@gentoo.org>
24249
24250 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24251 (epoll_create1): Declare.
24252
24253 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24254
24255 2010-08-31 Andreas Schwab <schwab@redhat.com>
24256
24257 [BZ #7066]
24258 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24259 shifting retval into place.
24260
24261 2010-09-01 Ulrich Drepper <drepper@redhat.com>
24262
24263 * nis/rpcsvc/nis.h: Update copyright notice.
24264 * nis/rpcsvc/nis.x: Likewise.
24265 * nis/rpcsvc/nis_callback.h: Likewise.
24266 * nis/rpcsvc/nis_callback.x: Likewise.
24267 * nis/rpcsvc/nis_object.x: Likewise.
24268 * nis/rpcsvc/nis_tags.h: Likewise.
24269 * nis/rpcsvc/yp.h: Likewise.
24270 * nis/rpcsvc/yp.x: Likewise.
24271 * nis/rpcsvc/ypupd.h: Likewise.
24272 * nis/yp_xdr.c: Likewise.
24273 * nis/ypupdate_xdr.c: Likewise.
24274
24275 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24276 mainly the body of pmap_getport. Add parameters to specify timeouts.
24277 (pmap_getport): Use __libc_rpc_getport.
24278 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24279 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24280 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24281
24282 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24283
24284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24285 fanotify_mark.
24286
24287 2010-08-27 Roland McGrath <roland@redhat.com>
24288
24289 * sysdeps/i386/i686/multiarch/Makefile
24290 (CFLAGS-varshift.c): New variable.
24291
24292 2010-08-27 Ulrich Drepper <drepper@redhat.com>
24293
24294 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24295 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24296
24297 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24298
24299 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24300
24301 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24302
24303 * sysdeps/x86_64/strlen.S: Unroll the loop.
24304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24305 strlen-sse2 strlen-sse2-bsf.
24306 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24307 __strlen_no_bsf if bit_Slow_BSF is set.
24308 (__strlen_sse42): Removed.
24309 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24310 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24311
24312 2010-08-25 Roland McGrath <roland@redhat.com>
24313
24314 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24315 * sysdeps/x86_64/multiarch/varshift.c: New file.
24316 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24317 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24318 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24319 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24320
24321 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24322
24323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24324 strlen-sse2 strlen-sse2-bsf.
24325 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24326 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24327 (__strlen_sse2): Removed.
24328 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24329 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24331 bit_Slow_BSF for Atom.
24332 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24333 (index_Slow_BSF): Define.
24334 (HAS_SLOW_BSF): Define.
24335
24336 2010-08-25 Ulrich Drepper <drepper@redhat.com>
24337
24338 [BZ #10851]
24339 * resolv/res_init.c (__res_vinit): When no server address at all
24340 is given default to loopback.
24341
24342 2010-08-24 Roland McGrath <roland@redhat.com>
24343
24344 * configure.in: Remove config-name.h generation.
24345 * configure: Regenerated.
24346 * config-name.in: File removed.
24347 * scripts/config-uname.sh: New file.
24348 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24349 ($(objdir)config-name.h): New target.
24350
24351 * sunrpc/rpc_parse.h: Avoid nested comment.
24352
24353 2010-08-24 Richard Henderson <rth@redhat.com>
24354 Ulrich Drepper <drepper@redhat.com>
24355 H.J. Lu <hongjiu.lu@intel.com>
24356
24357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24359 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24360 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24361 _mm_alignr_epi8 with _mm_loadu_si128.
24362 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24363 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24364 (__m128i_shift_right): Removed.
24365 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24366 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24367 * sysdeps/x86_64/multiarch/varshift.h: New file.
24368 * sysdeps/x86_64/multiarch/varshift.S: New file.
24369
24370 2010-08-21 Mike Frysinger <vapier@gentoo.org>
24371
24372 * configure.in: Move assembler checks to before sysdep dir checking.
24373
24374 2010-08-20 Petr Baudis <pasky@suse.cz>
24375
24376 * LICENSES: Sync the sunrpc license.
24377
24378 2010-08-19 Ulrich Drepper <drepper@redhat.com>
24379
24380 * sunrpc/auth_des.c: Update copyright notice once again.
24381 * sunrpc/auth_none.c: Likewise.
24382 * sunrpc/auth_unix.c: Likewise.
24383 * sunrpc/authdes_prot.c: Likewise.
24384 * sunrpc/authuxprot.c: Likewise.
24385 * sunrpc/bindrsvprt.c: Likewise.
24386 * sunrpc/clnt_gen.c: Likewise.
24387 * sunrpc/clnt_perr.c: Likewise.
24388 * sunrpc/clnt_raw.c: Likewise.
24389 * sunrpc/clnt_simp.c: Likewise.
24390 * sunrpc/clnt_tcp.c: Likewise.
24391 * sunrpc/clnt_udp.c: Likewise.
24392 * sunrpc/clnt_unix.c: Likewise.
24393 * sunrpc/des_crypt.c: Likewise.
24394 * sunrpc/des_soft.c: Likewise.
24395 * sunrpc/get_myaddr.c: Likewise.
24396 * sunrpc/getrpcport.c: Likewise.
24397 * sunrpc/key_call.c: Likewise.
24398 * sunrpc/key_prot.c: Likewise.
24399 * sunrpc/openchild.c: Likewise.
24400 * sunrpc/pm_getmaps.c: Likewise.
24401 * sunrpc/pm_getport.c: Likewise.
24402 * sunrpc/pmap_clnt.c: Likewise.
24403 * sunrpc/pmap_prot.c: Likewise.
24404 * sunrpc/pmap_prot2.c: Likewise.
24405 * sunrpc/pmap_rmt.c: Likewise.
24406 * sunrpc/rpc/auth.h: Likewise.
24407 * sunrpc/rpc/auth_unix.h: Likewise.
24408 * sunrpc/rpc/clnt.h: Likewise.
24409 * sunrpc/rpc/des_crypt.h: Likewise.
24410 * sunrpc/rpc/key_prot.h: Likewise.
24411 * sunrpc/rpc/netdb.h: Likewise.
24412 * sunrpc/rpc/pmap_clnt.h: Likewise.
24413 * sunrpc/rpc/pmap_prot.h: Likewise.
24414 * sunrpc/rpc/pmap_rmt.h: Likewise.
24415 * sunrpc/rpc/rpc.h: Likewise.
24416 * sunrpc/rpc/rpc_des.h: Likewise.
24417 * sunrpc/rpc/rpc_msg.h: Likewise.
24418 * sunrpc/rpc/svc.h: Likewise.
24419 * sunrpc/rpc/svc_auth.h: Likewise.
24420 * sunrpc/rpc/types.h: Likewise.
24421 * sunrpc/rpc/xdr.h: Likewise.
24422 * sunrpc/rpc_clntout.c: Likewise.
24423 * sunrpc/rpc_cmsg.c: Likewise.
24424 * sunrpc/rpc_common.c: Likewise.
24425 * sunrpc/rpc_cout.c: Likewise.
24426 * sunrpc/rpc_dtable.c: Likewise.
24427 * sunrpc/rpc_hout.c: Likewise.
24428 * sunrpc/rpc_main.c: Likewise.
24429 * sunrpc/rpc_parse.c: Likewise.
24430 * sunrpc/rpc_parse.h: Likewise.
24431 * sunrpc/rpc_prot.c: Likewise.
24432 * sunrpc/rpc_sample.c: Likewise.
24433 * sunrpc/rpc_scan.c: Likewise.
24434 * sunrpc/rpc_scan.h: Likewise.
24435 * sunrpc/rpc_svcout.c: Likewise.
24436 * sunrpc/rpc_tblout.c: Likewise.
24437 * sunrpc/rpc_util.c: Likewise.
24438 * sunrpc/rpc_util.h: Likewise.
24439 * sunrpc/rpcinfo.c: Likewise.
24440 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24441 * sunrpc/rpcsvc/key_prot.x: Likewise.
24442 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24443 * sunrpc/rpcsvc/mount.x: Likewise.
24444 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24445 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24446 * sunrpc/rpcsvc/rex.x: Likewise.
24447 * sunrpc/rpcsvc/rstat.x: Likewise.
24448 * sunrpc/rpcsvc/rusers.x: Likewise.
24449 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24450 * sunrpc/rpcsvc/spray.x: Likewise.
24451 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24452 * sunrpc/rtime.c: Likewise.
24453 * sunrpc/svc.c: Likewise.
24454 * sunrpc/svc_auth.c: Likewise.
24455 * sunrpc/svc_authux.c: Likewise.
24456 * sunrpc/svc_raw.c: Likewise.
24457 * sunrpc/svc_run.c: Likewise.
24458 * sunrpc/svc_simple.c: Likewise.
24459 * sunrpc/svc_tcp.c: Likewise.
24460 * sunrpc/svc_udp.c: Likewise.
24461 * sunrpc/svc_unix.c: Likewise.
24462 * sunrpc/svcauth_des.c: Likewise.
24463 * sunrpc/xcrypt.c: Likewise.
24464 * sunrpc/xdr.c: Likewise.
24465 * sunrpc/xdr_array.c: Likewise.
24466 * sunrpc/xdr_float.c: Likewise.
24467 * sunrpc/xdr_mem.c: Likewise.
24468 * sunrpc/xdr_rec.c: Likewise.
24469 * sunrpc/xdr_ref.c: Likewise.
24470 * sunrpc/xdr_sizeof.c: Likewise.
24471 * sunrpc/xdr_stdio.c: Likewise.
24472
24473 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24474 handling.
24475
24476 2010-08-19 Andreas Schwab <schwab@redhat.com>
24477
24478 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24479
24480 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
24481
24482 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24483 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24484 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24485 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24486 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24487 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24488 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24489 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24490 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24491 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24492 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24493 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24494 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24495 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24496
24497 2010-07-26 Anton Blanchard <anton@samba.org>
24498
24499 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24500 * malloc/arena.c (heap_trim): Likewise.
24501
24502 2010-08-16 Ulrich Drepper <drepper@redhat.com>
24503
24504 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24505 here. Not...
24506 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24507 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24508
24509 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24510
24511 * sysdeps/i386/elf/Makefile: New file.
24512
24513 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24514
24515 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24516 from fanotify_init.
24517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24518 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24519
24520 2010-08-15 Ulrich Drepper <drepper@redhat.com>
24521
24522 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24523 of strncasecmp_l.
24524 * sysdeps/multiarch/strcmp.S: Likewise.
24525
24526 2010-08-14 Ulrich Drepper <drepper@redhat.com>
24527
24528 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24529 strncase_l-nonascii.
24530 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24531 Add strncase_l-ssse3.
24532 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24533 * sysdeps/x86_64/strcmp.S: Likewise.
24534 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24535 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24536 * sysdeps/x86_64/strncase.S: New file.
24537 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24538 * sysdeps/x86_64/strncase_l.S: New file.
24539 * string/Makefile (strop-tests): Add strncasecmp.
24540 * string/test-strncasecmp.c: New file.
24541
24542 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24543 warning.
24544
24545 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24546 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24547
24548 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24549
24550 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24551
24552 2010-08-12 Ulrich Drepper <drepper@redhat.com>
24553
24554 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24555 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24556 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24557
24558 2010-05-01 Alan Modra <amodra@gmail.com>
24559
24560 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24561 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24562 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24563 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24564 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24565 tidying. Don't tail-call __sigjmp_save for static lib.
24566 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24567 save location.
24568 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24569 (CALL_MCOUNT): Add eh info, and nop after bl.
24570 (TAIL_CALL_SYSCALL_ERROR): New macro.
24571 (PSEUDO_RET): Use it.
24572 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24573 Correct save location of integer regs and cr.
24574 (_dl_profile_resolve): Correct cr save location. Delete nops
24575 after bl when SHARED. Reduce cfi size a little by better
24576 placement of cfi directives.
24577 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24578 make a stack frame. Instead use parm save area as a temp.
24579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24580 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24582 Don't make a stack frame for parent, use parm save area.
24583 Increase child stack frame to 112 bytes. Don't save unused reg,
24584 and adjust reg usage. Set up cfi on error recovery and
24585 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24587 (__makecontext): Add dummy nop after jump to exit.
24588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24589 Use correct parm save area and cr save, reduce stack frame.
24590 Correct cfi for possible PSEUDO_RET frame setup.
24591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24592 Branch to local label emitted by PSEUDO_RET rather than
24593 __syscall_error.
24594
24595 2010-08-12 Andreas Schwab <schwab@redhat.com>
24596
24597 [BZ #11904]
24598 * locale/programs/locale.c (print_assignment): New function.
24599 (show_locale_vars): Use it.
24600
24601 2010-08-11 Ulrich Drepper <drepper@redhat.com>
24602
24603 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24604 field.
24605 (struct statfs64): Likewise.
24606 (_STATFS_F_FLAGS): Define.
24607 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24608 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24609 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24610 (ST_VALID): Define locally.
24611 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24612 __statvfs_getflags, use the provided value.
24613 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24614 __ASSUME_STATFS_F_FLAGS.
24615
24616 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24617
24618 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24619 Add sys/fanotify.h.
24620 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24621 fanotify_mask for GLIBC_2.13.
24622 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24623 fanotify_init and fanotify_mark.
24624 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24625 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24626
24627 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24628 Add prlimit.
24629 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24630 prlimit64 for GLIBC_2.13.
24631 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24632 prlimit64.
24633 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24634 syscall.
24635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24636 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24637 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24638 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24639 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24640 add prlimit alias.
24641 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24642
24643 [BZ #11903]
24644 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24645 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24646
24647 * nss/Makefile: Add rules to build and run tst-nss-test1.
24648 * shlib-versions: Add entry for libnss_test1.
24649 * nss/nss_test1.c: New file.
24650 * nss/tst-nss-test1.c: New file.
24651
24652 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24653 (__nss_configure_lookup): Set appropriate entry in
24654 __nss_configure_lookup to true.
24655 * nss/nsswitch.h: Define enum with indeces of databases in
24656 databases and __nss_database_custom arrays. Declare
24657 __nss_database_custom.
24658 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24659 to avoid using nscd when custom rules are installed.
24660 * nss/getXXbyYY_r.c: Likewise.
24661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24662
24663 * nss/nss_files/files-parse.c: Whitespace fixes.
24664
24665 2010-08-09 Ulrich Drepper <drepper@redhat.com>
24666
24667 [BZ #11883]
24668 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24669 * posix/fnmatch_loop.c: Likewise.
24670
24671 2010-07-17 Andi Kleen <ak@linux.intel.com>
24672
24673 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24674 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24675 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24676 * Versions.def [GLIBC_2.13]: Add.
24677
24678 2010-08-06 Ulrich Drepper <drepper@redhat.com>
24679
24680 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24681 Also fail if tpwd after pwuid call is NULL.
24682
24683 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24684
24685 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24686 when converting to ms.
24687
24688 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24689
24690 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24691 EOPNOTSUPP errors with ENOTTY.
24692 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24693 EOPNOTSUPP errors with ENOTTY.
24694
24695 2010-07-31 Ulrich Drepper <drepper@redhat.com>
24696
24697 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24698 Add strcasecmp_l-ssse3.
24699 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24700 strcasecmp.
24701 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24702 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24703 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24704
24705 2010-07-30 Ulrich Drepper <drepper@redhat.com>
24706
24707 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24708
24709 * string/Makefile (strop-tests): Add strcasecmp.
24710 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24711 strcasecmp_l-nonascii.
24712 (gen-as-const-headers): Add locale-defines.sym.
24713 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24714 * sysdeps/x86_64/strcasecmp.S: New file.
24715 * sysdeps/x86_64/strcasecmp_l.S: New file.
24716 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24717 * sysdeps/x86_64/locale-defines.sym: New file.
24718 * string/test-strcasecmp.c: New file.
24719
24720 * string/test-strcasestr.c: Test both ends of the range of characters.
24721 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24722
24723 2010-07-29 Roland McGrath <roland@redhat.com>
24724
24725 [BZ #11856]
24726 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24727
24728 2010-07-27 Ulrich Drepper <drepper@redhat.com>
24729
24730 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24731 for ld.so.
24732
24733 2010-07-27 Andreas Schwab <schwab@redhat.com>
24734
24735 * manual/memory.texi (Malloc Tunable Parameters): Document
24736 M_PERTURB.
24737
24738 2010-07-26 Roland McGrath <roland@redhat.com>
24739
24740 [BZ #11840]
24741 * configure.in (-fgnu89-inline check): Set and substitute
24742 gnu89_inline, not libc_cv_gnu89_inline.
24743 * configure: Regenerated.
24744 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24745
24746 2010-07-26 Ulrich Drepper <drepper@redhat.com>
24747
24748 * string/test-strnlen.c: New file.
24749 * string/Makefile (strop-tests): Add strnlen.
24750 * string/tester.c (test_strnlen): Add a few more test cases.
24751 * string/tst-strlen.c: Better error reporting.
24752
24753 * sysdeps/x86_64/strnlen.S: New file.
24754
24755 2010-07-24 Ulrich Drepper <drepper@redhat.com>
24756
24757 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24758 lower-latency instructions.
24759
24760 2010-07-23 Ulrich Drepper <drepper@redhat.com>
24761
24762 * string/test-strcasestr.c: New file.
24763 * string/test-strstr.c: New file.
24764 * string/Makefile (strop-tests): Add strstr and strcasestr.
24765 * string/str-two-way.h: Don't undefine MAX.
24766 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24767
24768 2010-07-21 Andreas Schwab <schwab@redhat.com>
24769
24770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24771 strcasestr-nonascii.
24772 (CFLAGS-strcasestr-nonascii.c): Define.
24773 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24774 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24775 Remove unused attribute.
24776
24777 2010-07-20 Roland McGrath <roland@redhat.com>
24778
24779 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24780 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24781 ld.so.cache was broken. With it, there is no way to disable dsocaps
24782 like LD_HWCAP_MASK can disable hwcaps.
24783
24784 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24785
24786 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24787
24788 2010-07-16 Ulrich Drepper <drepper@redhat.com>
24789
24790 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24791 call in strcasestr.
24792 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24793 __strcasestr_sse42_nonascii.
24794 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24795 strcasestr-nonascii.c.
24796 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24797
24798 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
24799
24800 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24801 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24802 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24803 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24804
24805 2010-07-09 Ulrich Drepper <drepper@redhat.com>
24806
24807 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24808 fcntl.
24809
24810 2010-07-06 Andreas Schwab <schwab@redhat.com>
24811
24812 [BZ #11577]
24813 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24814 dl_signal_cerror.
24815
24816 2010-07-06 Ulrich Drepper <drepper@redhat.com>
24817
24818 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24819 _PC_PIPE_BUF using F_GETPIPE_SZ.
24820
24821 2010-07-05 Roland McGrath <roland@redhat.com>
24822
24823 * manual/arith.texi (Rounding Functions): Fix rint description
24824 implicit in round description.
24825
24826 2010-07-02 Ulrich Drepper <drepper@redhat.com>
24827
24828 * elf/Makefile: Fix linking for a few tests to make recent linker
24829 happy.
24830
24831 2010-06-30 Andreas Schwab <schwab@redhat.com>
24832
24833 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24834 $(common-objpfx)libc_nonshared.a.
24835
24836 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
24837
24838 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24839 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24840 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24841 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24842 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24843 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24844 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24845 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24860 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24861 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24862 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24863 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24864 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24865 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24866 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24867 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24868 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24869 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24870 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24871 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24886
24887 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24888
24889 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24890 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24891 * string/memmove.c (memmove): Renamed to ...
24892 (MEMMOVE): ...this. Default to memmove.
24893 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24894 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24895 (END_CHK): Define.
24896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24897 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24898 mempcpy-ssse3-back memmove-ssse3-back.
24899 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24901 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24902 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24903 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24904 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24905 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24906 * sysdeps/x86_64/multiarch/memmove.c: New file.
24907 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24908 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24909 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24910 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24911 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24912 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24913 Define.
24914 (index_Fast_Copy_Backward): Define.
24915 (HAS_ARCH_FEATURE): Define.
24916 (HAS_FAST_REP_STRING): Define.
24917 (HAS_FAST_COPY_BACKWARD): Define.
24918
24919 2010-06-21 Andreas Schwab <schwab@redhat.com>
24920
24921 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24922 Restore proper fallback handling.
24923
24924 2010-06-19 Ulrich Drepper <drepper@redhat.com>
24925
24926 [BZ #11701]
24927 * posix/group_member.c (__group_member): Correct checking loop.
24928
24929 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24930 OOM in getpwuid_r correctly. Return error number when the caller
24931 should return, otherwise -1.
24932 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24933 call returning > 0 value.
24934 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24935
24936 2010-06-07 Andreas Schwab <schwab@redhat.com>
24937
24938 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24939 libc_nonshared.a from targets in modules-names.
24940
24941 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24942
24943 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24944 requires it.
24945
24946 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
24947
24948 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24949 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24951 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24952
24953 2010-06-02 Andreas Schwab <schwab@redhat.com>
24954
24955 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24956
24957 2010-06-14 Ulrich Drepper <drepper@redhat.com>
24958
24959 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24960 and F_GETPIPE_SZ.
24961 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24962 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24965 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24966 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24967
24968 2010-06-14 Roland McGrath <roland@redhat.com>
24969
24970 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24971
24972 2010-06-07 Jakub Jelinek <jakub@redhat.com>
24973
24974 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24975 __REDIRECT followed by __THROW.
24976 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24977 * posix/getopt.h (getopt): Likewise.
24978
24979 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24980
24981 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24982 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24983 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24984 in AT_FLAGS.
24985 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24986 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24987
24988 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
24989
24990 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24991
24992 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24993
24994 [BZ #11640]
24995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24996 Properly check family and model.
24997
24998 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24999
25000 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25001
25002 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
25003
25004 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25005
25006 2010-05-21 Ulrich Drepper <drepper@redhat.com>
25007
25008 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25009 symbol reference.
25010
25011 2010-05-19 Andreas Schwab <schwab@redhat.com>
25012
25013 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25014 symbol reference.
25015
25016 2010-05-21 Andreas Schwab <schwab@redhat.com>
25017
25018 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25019 and internal_recvmmsg.
25020 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25021 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25022 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25023 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25024
25025 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25026 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25027 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25028
25029 2010-05-20 Andreas Schwab <schwab@redhat.com>
25030
25031 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25032
25033 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
25034
25035 POWER7 optimizations.
25036 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25037 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25038
25039 2010-05-19 Ulrich Drepper <drepper@redhat.com>
25040
25041 * version.h: Update for 2.13 development version.
25042
25043 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
25044
25045 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25046 exceptions. Return 0.
25047
25048 2010-05-07 Roland McGrath <roland@redhat.com>
25049
25050 * elf/ldconfig.c (main): Add a const.
25051
25052 2010-05-06 Ulrich Drepper <drepper@redhat.com>
25053
25054 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25055 (args_options): Add no-idn option.
25056 (ahosts_keys_int): Add idn_flags to ai_flags.
25057 (parse_option): Handle 'i' option to clear idn_flags.
25058
25059 * malloc/malloc.c (_int_free): Possible race in the most recently
25060 added check. Only act on the data if no current modification
25061 happened.
25062
25063 See ChangeLog.17 for earlier changes.